diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..09e27ff0e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: Bug, help wanted +assignees: '' + +--- + + +_**1.** Thanks for coming! Before submitting please check if the issue has already been reported ever. With [GitHub's issue search (use this link)](https://github.com/ImprovedTube/ImprovedTube/issues?q=) (else removing "is:issue is:open" from the standard search)_ + +_**2.** If you find the issue you can answer/react there to give it your voice (or just say hello :) ),_ + - _If the status is "closed" (=fixed) recently, then Web Stores will also be updates soon. + If it was closed month-years ago, then it reappeared and must be fixed again._ +## Bug Report: + ⚬ *BUG*: + + ⚬ *HOW*: + +⚬ *EXPECTED (/preferred) behavior*: + + ⚬ *Screenshots*: +/ ⚬ *Context*: + +## Setup: +⚬ ImprovedTube Version: +⚬ Browser: +⚬ Settings: +⚬ OS: +⚬ Device: diff --git a/.github/ISSUE_TEMPLATE/feature-request---suggestion---idea.md b/.github/ISSUE_TEMPLATE/feature-request---suggestion---idea.md new file mode 100644 index 000000000..734119dbe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request---suggestion---idea.md @@ -0,0 +1,47 @@ +--- +name: Feature request / suggestion / idea +about: Suggest an idea for this project +title: '' +labels: Feature request, help wanted +assignees: '' + +--- + + + +⚬ _PROBLEM_: + + +⚬ _SOLUTION_: + + + ⚬ _ALTERNATIVES_: + + + ⚬ _RELEVANCE / SCOPE_: + + +⚬ _"SIDE EFFECTS"_: + + +⚬ _CONTEXT_: +// + Thank you! + +SHORT Table | (Summary) +------------ | ------------- +*Problem* | +*Solution* | +*Alternatives*| +*Scope* | +*Side effects*| +*Context* | diff --git a/.github/ISSUE_TEMPLATE/other-topic--plan--mission--3rd-party-solution------also-check--discussions-.md b/.github/ISSUE_TEMPLATE/other-topic--plan--mission--3rd-party-solution------also-check--discussions-.md new file mode 100644 index 000000000..4af9e623b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other-topic--plan--mission--3rd-party-solution------also-check--discussions-.md @@ -0,0 +1,10 @@ +--- +name: Other topic, plan, mission, 3rd party solution,... (also check /discussions) +about: Other contributions / issues +title: '' +labels: '' +assignees: ImprovedTube + +--- + + diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 000000000..a3abce130 --- /dev/null +++ b/.github/README.md @@ -0,0 +1,387 @@ +

ImprovedTube

+

Powerful but lightweight extension to enrich your video experience & content selection.

+Report a bug · +Request feature · +Contribute · +Donate +
+ +

Install

+ + + + + + + + + + + + + + + + + + + + + + + + +
StoreVersion
Chrome Web Store4.2
Microsoft Edge Addons4.2
Firefox Add-ons4.2
Opera Add-ons4.2
Whale Store4.2
or install manually : latest + +

Contributing

+For more info on how to contribute please see the contribution wiki. + +

Roadmap

+
+ + - Finding developers and patreons + - All bugs & wishes + - 🛈ToolTips & documentation + - Avoiding CPU-rendering by default + - Smart player buttons for all \ + - Smart content-filtering & discovery + - Full-page GUI, watch-history, dashboard + - Integrating data [#1452](https://github.com/code-for-charity/ImprovedTube-for-YouTube/issues/1452), [SB](https://github.com/mchangrh/sb-mirror) / [NB](https://github.com/andrewzlee/NeuralBlock) etc. + - Integrating code / features like [YCS](https://github.com/sonigy/YCS), [YR](https://github.com/MarcGuiselin/youtube-refined), [NY](https://github.com/raingart/Nova-YouTube-extension), [IC](https://github.com/ThomasTavernier/Improve-Crunchyroll) +
+ + +
   

Long 'ugly' Readme.md:

+ +

+«Improve YouTube!»   

+/ImprovedTube/ +is a lightweight & powerful extension to enrich your experience & enable your choice.

+

+ + + + +

+ +

+ [Report a bug] + · [Request feature] + · [Donate] + · [Features] +

+ +

YouTube Extension

+ +

Critiques

+recommended by firefox +by (only ~ 100)
+'Might be the best YouTube Extension Ever'-
+'enhances YouTube in meaningful ways'-
+'Strong add-on, full control. Yet clear & easy'-
+
+Big thanks ♡ to our contributors, dodieboy,
+translators/wiki-authors & donators :bowtie:
+
+ + +### The strongest Youtube Extension
80 proven features - the only one of a kind + Since 2012 we have gradually been adding lightweight features & keeping up with Youtube changes. +(throughout the years we witnessed the birth & fall of other promising & open YouTube Extensions [1](https://github.com/YePpHa/YouTubeCenter "YouTubeCenter"), [2](https://github.com/ParticleCore/Iridium "Iridium"), ... ) +Today adding something is easier & so motivating as there are 500 000 users. [[👪Join us]](https://github.com/code-for-charity/YouTube-Extension/discussions/1006 "github.com/Code-for-Charity"). + +#####
Spread the word [📣](Http://Twitter_Whatsapp_Discord_Youtube_Facebook_eMail_Telegram_Signal)
+        - +**W**hy arent there millions of users yet? We didn't write a guide or manual, let alone ads. This project can still fly much higher through your word of mouth & eventually enable us to work on all wishes & immediate fixes around the clock 🌱 + +

Roadmap

+ + - Finding developers and patreons + - All bugs & wishes + - 🛈ToolTips & documentation + - Avoiding CPU-rendering by default + - Smart player buttons for all \ + - Smart content-filtering & discovery + - Full-page GUI, watch-history, dashboard + - Integrating data [#1452](https://github.com/code-for-charity/ImprovedTube-for-YouTube/issues/1452), [SB](https://github.com/mchangrh/sb-mirror) / [NB](https://github.com/andrewzlee/NeuralBlock) etc. + - Integrating code / features like [YCS](https://github.com/sonigy/YCS), [YR](https://github.com/MarcGuiselin/youtube-refined), [NY](https://github.com/raingart/Nova-YouTube-extension), [IC](https://github.com/ThomasTavernier/Improve-Crunchyroll) +
+ + +

   +🏝🏕 To-DoList

  
+ +##### **0.** [ ] [**Bugs🐞**](https://github.com/code4charity/YouTube-Extension/issues?q=label%3Abug+sort%3Acomments-desc+is%3Aopen+-label%3A_+ "we aim to offer some bug-bounties. Please ask") (we try to offer some bug bounty. [Please ask](mailto:bugs@improvedtube.com?subject=TODO_BOUNTY_LINK "especially if you are at a cheap/poor place ❤️") .)
+##### **1.** **[ ]** [**Documentation, wiki, screenshots, video, ...**](https://github.com/code-for-charity/YouTube-Extension/wiki "We need to help people learning as easily as possible about our 90+ features. (Drafts welcome. This will become 🛈tooltips in the extension too!") +> We need to help people to learn as easily as possible about our [90+ features](https://github.com/ImprovedTube/ImprovedTube/wiki/Features). (Drafts welcome. This will become **🛈ToolTips** in the extension!")
+**[ ]**[Updating translations](https://github.com/code-for-charity/YouTube-Extension/wiki/Translation-HowTo " - some language files miss additions.") +**[ ]**proofreading [eng](https://github.com/ImprovedTube/ImprovedTube/blob/master/_locales/en/messages.json) +#### **2.** [ ][**Plans / Specifications 🧩**](https://github.com/code-for-charity/ImprovedTube-for-YouTube/issues?q=is%3Aissue+sort%3Acomments-desc+is%3Aopen+label%3A%22%F0%9F%A7%A9Plan+ready%22++-label%3A%22not+Goo.+Chrome%22+ "often unique & relevant (special)")
   **&**    [ ] [**organizational Discussions**](https://github.com/code-for-charity/YouTube-Extension/discussions?discussions_q=category%3AToDo++category%3AOrganization+ "Future & Structure") +##### **3.** [ ] [**Feature Requests🌟🧚**](https://github.com/code4charity/YouTube-Extension/issues?q=label%3A%22Feature+Request%22+sort%3Acomments-desc+is%3Aopen+-label%3A_++-label%3A%22not+Goo.+Chrome%22+ "- sometimes easy / CSS") - sometimes easy / CSS
     **+** [ ]  [**Wishes in discussions**](https://github.com/code-for-charity/YouTube-Extension/discussions?discussions_q=-category%3AToDo+-category%3AOrganization+ "Wishes, Ideas, Questions, News") + +###### **0.1. [ ]** Tidy: [(Rest/Unsorted 'issues')](https://github.com/code4charity/YouTube-Extension/issues?q=is%3Aissue+is%3Aopen+-label%3Abug+-label%3A%22Feature+Request%22+-label%3A%F0%9F%A7%A9Plan%20ready+-label%3A_+-label%3A%22not+Goo.+Chrome%22+sort%3Acreated-desc++-label%3A"Niche%2Frare+usecase%3F%2Ffun%3F"++-label%3Aunclear "Our github issues, which are not yet labled yet to appear in one of the ToDo-categories above") +> Further reading: [***"Contributing without programming"***](https://github.com/ImprovedTube/YouTube-Extension/discussions/753) & [*"Our CSS, JavaScript, json"*](https://github.com/ImprovedTube/ImprovedTube/pull/371#issuecomment-669725163) ( ***outdated**)* (*Newcomers are [we](https://github.com/ImprovedTube/ImprovedTube/issues/387#issuecomment-664980078)lcome tho! We review all edits & love to collaborate*) +
+ + +

+ 🎁Extensions & Projects

+ +#### [**`History Manager`**] [[**Dark Mode**](https://chrome.google.com/webstore/detail/dark-mode/declgfomkjdohhjbcfemjklfebflhefl " - Universal dark-mode!") [](https://github.com/code-for-charity/dark-mode)] [**unLock me**](https://chrome.google.com/webstore/detail/ctrl-f-freedom-%20-right-cl/ijngdimmjkngoglcjaheoadciaalbafl " - Unlock your Right-Click, Ctrl+F, Selection anywhere!")[](https://github.com/code-for-charity/unlock-keyboard-and-mouse)] [[**`Custom user agent`**](https://chrome.google.com/webstore/detail/custom-user-agent/ncgbkkljbaojkhljombpjejedphfhdjj)[](https://github.com/code-for-charity/user-agent)] [[`Regex Replace`](https://chrome.google.com/webstore/detail/regex-replace/ihcaaefaoebbcklmolaflgllidfamfgm)] +##### Research: [[Regex (Search)](https://chrome.google.com/webstore/detail/regex-search/pmihaiejckejbpjdnildimfkpcpnohlo)("Ctrl+F+Shift")[](https://github.com/code-for-charity/regex)] +#### **Video / Media:** (**to be integrated in ImprovedTube**...) [[**Looper**](https://chrome.google.com/webstore/detail/looper/hlnfnoahfgnjnbkdckfnolacbmoknlmi)[](https://github.com/code-for-charity/looper)] [[**Frame by Frame**](https://chrome.google.com/webstore/detail/frame-by-frame/cclnaabdfgnehogonpeddbgejclcjneh)[](https://github.com/code-for-charity/frame-by-frame)] [[**`unBlob`**](https://chrome.google.com/webstore/detail/unblob-alpha/odognhgojidbcgconbcipmgffjcmfaoj)[](https://github.com/code-for-charity/unblob)] (Equalizer[](https://github.com/code-for-charity/equalizer)) + +##### Home: (Start Page to be uploaded ) [[`TextEditor`]([https://chrome.google.com/webstore/detail/to-do/mniboiicchcpkffcdlaocnkfpbdihgii](https://chrome.google.com/webstore/detail/text-editor/bnbgafdjiinlgnjaedmfaablklnafpka?hl=de))[](https://github.com/code-for-charity/Editor)] [[`ToDo`](https://chrome.google.com/webstore/detail/to-do/mniboiicchcpkffcdlaocnkfpbdihgii)[](https://github.com/code-for-charity/todo)] [[`auto-scroll`](https://chrome.google.com/webstore/detail/auto-scroll/kpfalbhnppkbokafignonoppegdndlch "(missing in Linux)")] + +--- + +#### **Development:** [[**`Satus`**](https://github.com/code-for-charity/satus) - Our UI library] [[**`WebGL.js`**](https://github.com/code-for-charity/webgl.js) - WebGL Library] ([TE](https://github.com/victor-savinov/theme-engine),[P](https://github.com/victor-savinov/pluviam),[CodeEdit](https://github.com/victor-savinov/code-editor), [Viscum Player](https://github.com/victor-savinov/viscum-player)) + +#### Git Community: [🐣[`Regex Collector`](https://github.com/code4charity/the-RegEx-Collector--Queries--Patterns " - community-list of Regex")] [🌱[`Pull Requests bots`](https://github.com/code4charity/Open-Source-Bot--Github-Git-Pull-Request-Bot)] + +
+ +

     +🧰 Features      

+ + - Fit Video to window, default resolution or pop-up player + - Hiding distractions + - Youtube Themes, Colors & night schedule + - Video Repeat-, screenshot-, rotate-buttons + - Customizable hotkeys / shortcuts +
[Full List of Features]
+
+ +

      +🔧 Install from source

 
+ +1.) **Download & extract the [[latest🧪version]](https://github.com/code4charity/YouTube-Extension/archive/refs/heads/master.zip) or [[release]](https://github.com/code-for-charity/YouTube-Extension/releases)** +- **Safari**: + - 2.) [**#494**](https://github.com/code4charity/YouTube-Extension/issues/494#issuecomment-675098753) + +- **Chrome / Chromium / Brave / Edge / Vivaldi** + - 2.) Go to your Browser's Extensions page (*chrome://extensions/*) + - 3.) Activate `Developer mode` + - 4.) Click the `Load unpacked` button & Select the extracted folder + +- **Firefox / LibreWolf / Waterfox / IceCat** + - 2.) Go to `Add-ons` (*about:addons*) + - 3.) Click on `Extensions` tab + - 4.) Click on `Debug Add-ons` (*about:debugging#/runtime/this-firefox*) + - 5.) Click on `Load Temporary Add-on…` + - 6.) Select the `manifest.json` file from unzipped folder +
+ + + +

+🌎 Translators

+✔️EN +en_GB : +KorbinCode +
Proofreaders:___ (You?)
+✔️CN(zh_CN) : +niceRAM, +ausers
+✔️CN(zh_TW) : +Still34, +water903,
+suitangi
+ES : +Kioraga, +Compvictor, +dimateos
+HI : +monishamandal02, +BRAVO68WEB
+FR : +leghort, +Eymiks, +Solvabl
+AR : +Raayib
+✔️BN : +BRAVO68WEB
+RU : +qweered, +alexesprit
+✔️pt_BR : +dthiago, +Mike-Correa
+DavidBrazSan
+PT : +DrNopt
+ID : +Bagus23, +A.Muttaqin
+✔️DE : +Termuellinator, +css-smueller
+✔️JA : +utuhiro78
+TR : +onurdumangoz, +daswareinfach
+VN : +zeref-dragneel
+KO : +msc9533, +LYHyoung
+(Iranian) Persian : +_____(You?)
+✔️IT : +urfausto, +FedericoSlongo
+TH Thai : +______(You?)
+✔️PL : +FluidExtractor
+Ukrainian : +(You?)
+Hebrew : +(You?)
+Czech : +(You?)
+SE Swedish : +(You?)
+NL : +aron-hoogeveen, +Vistaus
+RO : +hateofhades
+SI : +AshenNethsara
+EL(Greek) : +molyvius
+DA Danish : +(You?)
+Hungarian : +(You?)
+FI Finnish : +(You?)
+Serbian : +(You?)
+Slovak : +(You?)
+BG Bulgarian : +(You?)
+no_NB : +comradekingu
+HR(Croatian) : +mbeara
+Croatian : +(You?)
+NO : +master3395, +comradekingu
+SK : +bbc-s
+Catalan, Valencian : +(You?)
+Estonian : +(You?)
+
+ = missing some additions/updates +
+ +
The following popular languages are
+spoken mainly. But dont hesitate to add
one of them. (Even if just for fun)

+Urdu +Nigerian Pidgin (English Creole)
+Western-&Eastern-Punjabi
+Marathi(Indo-European)Telugu
+Tamil Yue Chinese (incl. Cantonese)
+Tagalog (New name: Filipino)
Wu Chinese (incl. Shanghainese)
+HausaEgyptian Spoken Arabic
+SwahiliJavaneseKannadaGujarati
+Amharic, Bhojpuri,
+Min Nan Chinese (incl. Hokkien),
+Jin Chinese Yoruba Hakka Chinese,
+Burmese,
+Spoken Arabic: Sudanese & Algerian
+Lingala, Malaysian Malay
+(Combined these have more first-language
+speakers than English + Spanish + Hindi.
+And more second-language speakers than
+Chinese + Hindi + Spanish)
+
+
+ + +

     +📟 "Ticker"

  
+ +###### ❔[**ImprovedTube controls** in, under or around the video player or cursor](https://github.com/code4charity/YouTube-Extension/issues/1445).
❔[**Meaningful/Most similar extensions**? Social-Fixer, Youtube Enhancer, Simplify, ...](https://github.com/code4charity/YouTube-Extension/issues/1016).
📟 We are focused on updates, bugs & UX but please keep up your wishes for Features!
📟 Enjoy **our projects: global** [**Dark Mode**](https://chrome.google.com/webstore/detail/dark-mode/declgfomkjdohhjbcfemjklfebflhefl), to tweak CSS everywhere + Theme engine in the making, ...
📟 **2021:** Firefox, Edge, Opera, Whale added (please try&rate) +
+ +#####
💡 Got great ideas?
+ +We'll work on novel (new & unique) projects [github/**Wish-Factory**](https://github.com/code-for-charity/wish-factory "💡🎁") +
(or ideas@improvedtube.com) + +

     +🌾👩‍💻 "Behind the scenes"

  
+ +web store +web store analytics +youtube recommmendation +
+Do you need to run a popular extension, site, app or repo?
We'll love to help meaningful projects@improvedtube.com +
+ + + + + + + + +


     +📜Old Introduction:

     
+ +[ImprovedTube](https://chrome.google.com/webstore/detail/improve-youtube-open-sour/bnomihfieiccainjcjblhegjgglakjdd), +      is an extension we built to refine your YouTube experience. A one-stop-shop with many powerful features to enhance YouTube, yet liteweight. A larger player & tidy YouTube UI / hiding distractions were the first loved feature. And there was so much left to build and are many clever features to come still.        ImprovedTube is designed with our own UI library: [Satus](https://github.com/victor-savinov/satus) (to manage your settings efficiently & create familiar apps/['cousins](https://chrome.google.com/webstore/detail/dark-mode/declgfomkjdohhjbcfemjklfebflhefl) easily.)       Please spread the word: ImprovedTube is the only project of it's kind, because other open Youtube Extensions resigned. No other project provides so much CSS to adjust a website[🦄](https://github.com/search?q=stars%3A%3E700++size%3A%3E3000+++language%3ACSS++App+OR+Addon+OR+Extension+NOT+framework+NOT+apps&type=Repositories&s=updated&o=desc). +

+ + chrome-web-store-linkChrome-users

+ +**Some ImprovedTube features**: +- Video quality +- Themes and customisation +- Repeat-, screenshot-, rotate-buttons +- Pop-up player +- Ads management +- Hide Cards and Annotations +- Customise video page appearance (always expand description, hide related videos etc.) +- Channel page customisations +- Customisation of hotkeys/shortcuts +- Statistics +- Volume mixer +_[Full list](https://github.com/ImprovedTube/YouTube/wiki/Features)_ + +**🔧 Install from source** +1.) **Download & extract the [[latest🧪version]](https://github.com/code4charity/YouTube-Extension/archive/refs/heads/master.zip) or [[release]](https://github.com/code-for-charity/YouTube-Extension/releases)** +- **Safari**: + - 2.) [Issue #494](https://github.com/code4charity/YouTube-Extension/issues/494#issuecomment-675098753) + +- **Chrome / Chromium / Brave / Edge / Vivaldi** + - 2.) Go to your Browser's Extensions page (*chrome://extensions/*) + - 3.) Activate `Developer mode` + - 4.) Click the `Load unpacked` button & Select the extracted folder + +- **Firefox / LibreWolf / Waterfox / IceCat** + - 2.) Go to `Add-ons` (*about:addons*) + - 3.) Click on `Extensions` tab + - 4.) Click on `Debug Add-ons` (*about:debugging#/runtime/this-firefox*) + - 5.) Click on `Load Temporary Add-on…` + - 6.) Select the `manifest.json` file from unzipped folder + +#### Web browser support +|[Brave](https://brave.com)
Brave | [Chromium](https://github.com/chromium/chromium)
Chromium | [Chrome](https://chrome.google.com/webstore/detail/improve-youtube-open-sour/bnomihfieiccainjcjblhegjgglakjdd)
Chrome | [Edge](https://www.microsoft.com/edge)
Edge | [Firefox](https://foundation.mozilla.org)
Firefox | [Opera](https://addons.opera.com/en/extensions/details/install-chrome-extensions/)
Opera| [Safari](https://www.apple.com/safari/)
Safari | [Vivaldi](https://github.com/ric2b/Vivaldi-browser)
Vivaldi | +| --------- | --------- | --------- | --------- | --------- | --------- | --------- | --------- | +| 0.52+ | 49.0+ | 49.0+ | 79.0+ | 44.0+ | 36.0+ | x.x+ | 1.0+ | +
+ + +
diff --git a/.github/SECURITY.md b/.github/SECURITY.md new file mode 100644 index 000000000..893b6fe08 --- /dev/null +++ b/.github/SECURITY.md @@ -0,0 +1,3 @@ +info: ImprovedTube is a high layer product (in the Browser. Optionally with youtube.com permission only) and we need to pass the new Webstore reviews/audits (as updated in 2021 & 2023). Nonetheless, if an update ever is urgent please post here in public and / or write to bugs@improvedtube.com using the keyword ASAP. (for example if the youtube player isn't working properly for many people.) + + diff --git a/.github/github.png b/.github/github.png new file mode 100644 index 000000000..bebf88e66 Binary files /dev/null and b/.github/github.png differ diff --git a/.github/wiki/translations/0.png b/.github/wiki/translations/0.png new file mode 100644 index 000000000..c2d595b8a Binary files /dev/null and b/.github/wiki/translations/0.png differ diff --git a/.github/wiki/translations/1.png b/.github/wiki/translations/1.png new file mode 100644 index 000000000..f9486451b Binary files /dev/null and b/.github/wiki/translations/1.png differ diff --git a/.github/wiki/translations/2.png b/.github/wiki/translations/2.png new file mode 100644 index 000000000..8cdb865c6 Binary files /dev/null and b/.github/wiki/translations/2.png differ diff --git a/.github/wiki/translations/3.png b/.github/wiki/translations/3.png new file mode 100644 index 000000000..d8c04fa1f Binary files /dev/null and b/.github/wiki/translations/3.png differ diff --git a/.github/wiki/translations/4.png b/.github/wiki/translations/4.png new file mode 100644 index 000000000..6ecbaf888 Binary files /dev/null and b/.github/wiki/translations/4.png differ diff --git a/.github/wiki/translations/5.png b/.github/wiki/translations/5.png new file mode 100644 index 000000000..0c884f100 Binary files /dev/null and b/.github/wiki/translations/5.png differ diff --git a/.github/wiki/translations/6.png b/.github/wiki/translations/6.png new file mode 100644 index 000000000..cd376d390 Binary files /dev/null and b/.github/wiki/translations/6.png differ diff --git a/.github/wiki/translations/7.png b/.github/wiki/translations/7.png new file mode 100644 index 000000000..f5c79905d Binary files /dev/null and b/.github/wiki/translations/7.png differ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..cae39de5d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +## :) Check the pinned issues. And maybe the wiki, readme & discussions. + +# Thanks for caring ♥ diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..94fa821f5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,35 @@ +©️ 2012-2022 ( no warranty / liablity ) Thank you! +For simplicity & intellectual growth: Unless stated otherwise, all accepted pull-requests are assumed, +to come under a viral copyleft license, GNU agpl-3.0-7abcdef, for the world. And free of copyrights to the original maintainers. (these intellectual contributions are granted to the original maintainers free-of-charge, non-exclusively, for publishing & modification. Contributors do have the right to be mentioned in credits) +--- +DRAFT: +'FRIENDLY-/CHARITY-License' + The only complete Licence, + to cover contributors too, regulation & economic sustainability. + (Talk to us? ☺ if you are into international law): + FREEDOMS: + 1. PERSONAL / PRIVATE use: This was made for you ♡ (If you like, consider donating. Our work is efficient.) + - If you ever change or repurpose code privately, please take the time to show us ♡ + 2. CONTRIBUTORS: (Unlike all popular licences,) we would like to acknowledge, + that you become a shareholder of this project / cooperative, proportionally to the time well spent. + Please vote about our futures actions. + 3. PUBLISHERS: All unmodified distribution is welcome (essential)! permitted! + (just don't wrap it in ads or drive-by installs!) + 3.1. MODIFIED Versions or pieces of our code: + - Registered Charity organisations: you can modify / repurpose. (Just don't remove our links or state the source well.) + RESTRICTION: COMMERCIALLY modifying or repurosing any of the code that is not the full, such as 'version 3.8'. + Written permission/contract is required. No such permission was granted to as of 2023. + Exception: OS's (Operatings Systems. Debian, Fedora, etc.) + +(This licence file refers to: https://github.com/code4charity/YouTube-Extension +so that the license doesnt require virality) +--- +COMMENT/POSTAMBLE: +Reason for the specific restriction in 3.1.: + Some publishers use [our] code without permission commercially, with [excessive] adware/spyware. +Together they can have more users than the original, since software is often not chosen well. +Thus we rationally/responsibly have to care. + - Despite of the tendency for smart behavior, to be superior on a long-term, as assumed by licences like GNU, +(Marketing / competition / economy are just not fair in the present. Billions of users might not review every software choice) +(And for this project we can't imagine, that requiring to ask first will hinder any good cause but only help/motivate/inspire each other) + diff --git a/_locales/am/messages.json b/_locales/am/messages.json new file mode 100644 index 000000000..e09a061f4 --- /dev/null +++ b/_locales/am/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Force video to play from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 second skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "Add a popup-player-button to each thumbnail" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System preference: dark" + }, + "systemPeferenceLight": { + "message": "System preference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/ar/messages.json b/_locales/ar/messages.json similarity index 73% rename from unstable/_locales/ar/messages.json rename to _locales/ar/messages.json index b7bbca2e8..ccc33d042 100644 --- a/unstable/_locales/ar/messages.json +++ b/_locales/ar/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "اقتطاع عناوين الفصول" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "حول" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "تفعيل الترجمة" }, + "activateFullscreen": { + "message": "تفعيل ملء الشاشة" + }, "activated": { "message": "مفعل" }, "activatedFeatures": { "message": "الميزات المفعلة" }, - "activateFullscreen": { - "message": "تفعيل ملء الشاشة" - }, "activeFeatures": { "message": "الميزات النشطة" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "السماح لـ60إطار" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "دائما نشط" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "المحلل" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "المظهر العام" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "الصوت" @@ -86,6 +95,24 @@ "autoplay": { "message": "تشغيل تلقائي" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "إعادة تعيين والنسخ الاحتياطي" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "حظر الكل" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "ازرق" }, @@ -143,18 +185,27 @@ "channels": { "message": "القنوات" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "الحافظة" }, "codecH264": { "message": "h.الترميز 264" }, - "collapsed": { - "message": "ضغط" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "ضغط قسم الاشتراكات" }, + "collapsed": { + "message": "ضغط" + }, "comments": { "message": "التعليقات" }, @@ -167,12 +218,21 @@ "cores": { "message": "النواه" }, + "cropChapterTitles": { + "message": "اقتطاع عناوين الفصول" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "مخصص CSS" }, "customJs": { "message": "مخصص JS" }, + "customMiniPlayer": { + "message": "المشغل الصغير المخصص" + }, "cyan": { "message": "ازرق سماوي" }, @@ -191,6 +251,9 @@ "decreasePlaybackSpeed": { "message": "تقليل سرعة التشغيل" }, + "decreaseVolume": { + "message": "Decrease volume" + }, "decreaseVolume5": { "message": "5% خفض الصوت" }, @@ -200,14 +263,29 @@ "deepPurple": { "message": "أرجواني داكن" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "علامة تبويب القناة الافتراضية" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "حذف ملفات تعريف الارتباط من اليوتيوب" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "الوصف" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "صحراء" @@ -230,15 +308,27 @@ "dislike": { "message": "لم يعجبنى" }, - "donate": { - "message": "تبرع" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "الإفتراضي" }, + "donate": { + "message": "تبرع" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "قابل للسحب" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "البريد الإلكتروني" }, @@ -275,12 +365,33 @@ "font": { "message": "الخط" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "الحزء السفلي" }, + "forceSDR": { + "message": "SDR فرض" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "تثبيت سرعة التشغيل" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "فرض وضع المسرح" }, @@ -296,24 +407,33 @@ "general": { "message": "عام" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "جيتهب" }, "goToSearchBox": { "message": "انتقل إلى مربع البحث" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "كرت الشاشة" }, "green": { "message": "أخضر" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "صورة مصغرة عالية الدقة" }, - "hdThumbnails": { - "message": "صور مصغرة عالية الدقة" - }, "header": { "message": "الجزء العلوي" }, @@ -332,6 +452,21 @@ "hideCards": { "message": "إخفاء البطاقات" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "إخفاء التفاصيل" }, @@ -344,6 +479,18 @@ "hideFooter": { "message": "إخفاء الجزء السفلي" }, + "hideGradientBottom": { + "message": "إخفاء التدرج الأسود السفلي" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "إخفاء قائمة التشغيل" }, @@ -353,9 +500,24 @@ "hideScrollForDetails": { "message": "«إخفاء «التمرير للحصول على التفاصيل" }, + "hideSkipOverlay": { + "message": "Hide 5 second skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "إخفاء عدد المشاهدات" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "السجلّ" }, @@ -380,8 +542,11 @@ "importSettings": { "message": "استيراد الاعدادات" }, - "improvedtubeIconInBrowser": { - "message": "في المتصفح ImprovedTube ايقونة" + "improveLogo": { + "message": "تحسين الشعار" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "في اليوتيوب ImprovedTube ايقونة" @@ -392,12 +557,12 @@ "improvedtubeVersion": { "message": "ImprovedTube اصدار" }, - "improveLogo": { - "message": "تحسين الشعار" - }, "increasePlaybackSpeed": { "message": "زيادة سرعة التشغيل" }, + "increaseVolume": { + "message": "Increase volume" + }, "increaseVolume5": { "message": "5% زيادة الصوت" }, @@ -407,12 +572,24 @@ "items": { "message": "العناصر" }, + "language": { + "message": "Language" + }, "languages": { "message": "اللغات" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "اليوتيوب القديم" }, + "library": { + "message": "Library" + }, "light": { "message": "ضوء" }, @@ -425,12 +602,18 @@ "like": { "message": "اعحبني" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "الإعجابات" + "message": "Likes" }, "lime": { "message": "جير" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "قائمة" }, @@ -440,18 +623,39 @@ "liveChatType": { "message": "نوع المحادثة مباشرة" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "تطبيع الإزعاج" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "التعليم على الفيديو المشاهد" }, - "customMiniPlayer": { - "message": "المشغل الصغير المخصص" + "medium": { + "message": "Medium" }, "mixer": { "message": "مهندس الصوت" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "ألواني" }, @@ -470,32 +674,44 @@ "night": { "message": "ليل" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "لا يوجد ميزات نشطة" }, - "none": { - "message": "لاشيء" - }, "noOpenVideoTabs": { "message": "لا توجد علامات تبويب فيديو مفتوحة" }, + "none": { + "message": "لاشيء" + }, "normal": { "message": "عادي" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "قديم" }, "onAllVideos": { "message": "على جميع مقاطع الفيديو" }, + "onSubscribedChannels": { + "message": "على القنوات المشتركة" + }, "onlyActiveOnYoutube": { "message": "نشط فقط على اليوتيوب" }, "onlyOnePlayerInstancePlaying": { "message": "تشغيل مشغل واحد فقط" }, - "onSubscribedChannels": { - "message": "على القنوات المشتركة" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "برتقالي" @@ -506,6 +722,12 @@ "other": { "message": "آخر" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "الأذونات" }, @@ -521,6 +743,12 @@ "platform": { "message": "المنصة" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "تشغيل / ايقاف" + }, "playbackSpeed": { "message": "سرعة التشغيل" }, @@ -539,12 +767,12 @@ "playlists": { "message": "قوائم التشغيل" }, - "playPause": { - "message": "تشغيل / ايقاف" - }, "popupPlayer": { "message": "مشفل منبثق" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "التموضع" }, @@ -566,24 +794,39 @@ "quality": { "message": "الجودة" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "الذاكرة العشوائية" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "قيمنا" }, "red": { "message": "احمر" }, + "redDislikeButton": { + "message": "إظهار زر لم يعجبني باللون الأحمر" + }, "relatedVideos": { "message": "فيديوهات ذات علاقة" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "إزالة عمليات بحث مرتبطة بـ" }, "repeat": { "message": "تكرار" }, + "report": { + "message": "Report" + }, "reset": { "message": "إعادة تعيين" }, @@ -614,6 +857,12 @@ "screenshot": { "message": "لقطة شاشة" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "بحث" }, @@ -626,12 +875,21 @@ "seekForward10Seconds": { "message": "تقديم 10 ثوانٍ إلى الأمام" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "الإعدادات" }, "settingsSuccessfullyImported": { "message": "تم استيراد الإعدادات بنجاح" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "اختصارات" }, @@ -641,12 +899,27 @@ "showChannelVideosCount": { "message": "إظهار عدد مقاطع الفيديو للقناة" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "عشوائي" }, "sidebar": { "message": "الشريط الجانبي" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "مفتاح المسافة" }, @@ -656,6 +929,9 @@ "static": { "message": "ثابت" }, + "statsForNerds": { + "message": "عرض الإحصاءات المفصلة" + }, "step": { "message": "خطوة" }, @@ -668,6 +944,9 @@ "styles": { "message": "الأنماط" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "الاشتراكات" }, @@ -692,12 +971,18 @@ "textColor": { "message": "لون النص" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "المظاهر" }, "thisWillRemoveAllCookies": { "message": ".سيؤدي هذا إلى إزالة كافة ملفات تعريف الارتباط" }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "سيؤدي هذا إلى إزالة جميع ملفات تعريف ارتباط اليوتيوب" }, @@ -710,6 +995,9 @@ "thumbnails": { "message": "الصور المصغرة" }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "الوقت من" }, @@ -719,9 +1007,21 @@ "todayAt": { "message": "اليوم عند الساعة" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "تبديل وضع البطاقات" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "رسائل المحادثة الهامّة" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "التشغيل التلقائي للفيديو الدعائي" }, @@ -761,6 +1061,9 @@ "videos": { "message": "الفيديوهات" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "الصوت" }, @@ -770,12 +1073,21 @@ "watchTime": { "message": "وقت المشاهدة" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "عندما يتم تغيير علامة التبويب" }, "white": { "message": "أبيض" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "أصفر" }, @@ -792,18 +1104,6 @@ "message": "لغة اليوتيوب" }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "يحد اليوتيوب من جودة الفيديو الى ١٠٨٠ لـ الترميز h.264" - }, - "redDislikeButton": { - "message": "إظهار زر لم يعجبني باللون الأحمر" - }, - "hideGradientBottom": { - "message": "إخفاء التدرج الأسود السفلي" - }, - "statsForNerds": { - "message": "عرض الإحصاءات المفصلة" - }, - "toggleCards": { - "message": "Toggle cards" + "message": "h.264 يحد اليوتيوب من جودة الفيديو الى ١٠٨٠ لـ الترميز" } -} +} \ No newline at end of file diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/bg/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/bn/messages.json b/_locales/bn/messages.json similarity index 74% rename from unstable/_locales/bn/messages.json rename to _locales/bn/messages.json index d055ed657..1c5f6aab9 100644 --- a/unstable/_locales/bn/messages.json +++ b/_locales/bn/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "অধ্যায়ের শিরোনাম হ্রাস করুন" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "সম্পর্কিত" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "ক্যাপশন সক্রিয় করুন" }, + "activateFullscreen": { + "message": "পূর্ণ পর্দা সক্রিয় করুন" + }, "activated": { "message": "সক্রিয়" }, "activatedFeatures": { "message": "বৈশিষ্ট্য সক্রিয় করুন" }, - "activateFullscreen": { - "message": "পূর্ণ পর্দা সক্রিয় করুন" - }, "activeFeatures": { "message": "সক্রিয় বৈশিষ্" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "60 ফ্রেম প্রতি সেকেন্ অনুমতি দিনড" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "সর্বদা সক্রিয়" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "বিশ্লেষক" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "উপস্থিতি" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "শ্রুতি" @@ -86,6 +95,24 @@ "autoplay": { "message": "স্বয়ংক্রিয় চালু" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "পটভূমির রং" + }, + "backgroundOpacity": { + "message": "পটভূমি অস্বচ্ছতা" + }, "backupAndReset": { "message": "ব্যাকআপ এবং পুনরায় সেট করুন" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "সবাইকে ব্লক" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "নীল" }, @@ -143,18 +185,27 @@ "channels": { "message": "চ্যানেলগুলি" }, + "characterEdgeStyle": { + "message": "ক্যারেক্টার এজ স্টাইল" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "ক্লিপবোর্ড" }, "codecH264": { "message": "কোডেক h.264" }, - "collapsed": { - "message": "ভেঙে দেবো" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "সাবস্ক্রিপশন বিভাগ ভেঙে দেবো" }, + "collapsed": { + "message": "ভেঙে দেবো" + }, "comments": { "message": "মন্তব্য" }, @@ -167,12 +218,21 @@ "cores": { "message": "কোর" }, + "cropChapterTitles": { + "message": "অধ্যায়ের শিরোনাম হ্রাস করুন" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "কাস্টম CSS" }, "customJs": { "message": "কাস্টম JS" }, + "customMiniPlayer": { + "message": "কাস্টম মিনি প্লেয়ার" + }, "cyan": { "message": "হালকা নীল" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "গভীর বেগুনি" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "ডিফল্ট চ্যানেল ট্যাব" }, + "defaultContentCountry": { + "message": "ডিফল্ট বিষয়বস্তুর দেশ" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "ইউটিউব এর কুকি ডিলিট করুন" }, + "depressed": { + "message": "বিষণ্ণ" + }, "description": { - "message": "বর্ণনা" + "message": "Description" + }, + "description_ext": { + "message": "ইউটিউব পরিপাটি+স্মার্ট করুন! ইউটিউব ভিডিও কালার অ্যাড স্কিপ ভলিউম স্পিড চ্যানেল টুল স্টাইল এইচডি বিজ্ঞাপন অ্যাডব্লক অ্যাডব্লকার ট্যাগ কীওয়ার্ড প্লেলিস্ট" }, "desert": { "message": "মরুভূমি" @@ -230,15 +305,27 @@ "dislike": { "message": "অপছন্দ" }, - "donate": { - "message": "দান করুন" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "পরিবর্তন করবেন না" }, + "donate": { + "message": "দান করুন" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "টেনে আনে" }, + "dropShadow": { + "message": "ছায়া ফেলে দিন" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "ইমেল" }, @@ -275,12 +362,33 @@ "font": { "message": "হরফ" }, + "fontColor": { + "message": "অক্ষরের রং" + }, + "fontFamily": { + "message": "হরফ সংগ্রহ" + }, + "fontOpacity": { + "message": "হরফের অস্বচ্ছতা" + }, + "fontSize": { + "message": "অক্ষরের আকার" + }, "footer": { "message": "পাদচরণ" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "জোর করে শুরু থেকে ভিডিও চালান" + }, "forcedPlaybackSpeed": { "message": "জোর করে প্লেব্যাক গতি" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "জোর করে থিয়েটার মোড" }, @@ -296,24 +404,33 @@ "general": { "message": "সাধারণ" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "গিটহাব" }, "goToSearchBox": { "message": "অনুসন্ধান বাক্সে যান" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "জিপিইউ" }, "green": { "message": "সবুজ" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "এইচডি থাম্বনেল" }, - "hdThumbnails": { - "message": "এইচডি থামনেল গুলি" - }, "header": { "message": "শিরোনাম" }, @@ -332,6 +449,21 @@ "hideCards": { "message": "কার্ড লুকান" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "কান্ট্রি কোড লুকান" + }, + "hideDate": { + "message": "তারিখ লুকান" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "আড়াল বিস্তারিত" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "পাদলেখ লুকান" }, + "hideGradientBottom": { + "message": "গ্রেডিয়েন্ট নীচে লুকান" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "প্লেলিস্ট লুকান" }, @@ -353,9 +497,24 @@ "hideScrollForDetails": { "message": "«বিশদ জন্য স্ক্রোলs» লুকান" }, + "hideSkipOverlay": { + "message": "স্কিপ ওভারলে লুকান" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "দর্শন গণনা লুকান" }, + "hideVoiceSearchButton": { + "message": "বক্তৃতা সার্চ বাটন লুকান" + }, + "high": { + "message": "High" + }, "history": { "message": "ইতিহাস" }, @@ -380,8 +539,11 @@ "importSettings": { "message": "সেটিংস আমদানি করুন" }, - "improvedtubeIconInBrowser": { - "message": "ব্রাউজারে উন্নত YouTube আইকন" + "improveLogo": { + "message": "লোগো উন্নত করুন" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "ইউটিউবে উন্নত আইকন" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "উন্নত YouTube সংস্করণ" }, - "improveLogo": { - "message": "লোগো উন্নত করুন" - }, "increasePlaybackSpeed": { "message": "প্লেব্যাকের গতি বাড়ান" }, @@ -407,12 +566,24 @@ "items": { "message": "আইটেম" }, + "language": { + "message": "ভাষা" + }, "languages": { - "message": "Languages" + "message": "ভাষা" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" }, "legacyYoutube": { "message": "উত্তরাধিকার ইউটিউব" }, + "library": { + "message": "Library" + }, "light": { "message": "হালকাো" }, @@ -425,12 +596,18 @@ "like": { "message": "লাইক" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "লাইক গুলি" + "message": "Likes" }, "lime": { "message": "চুন" }, + "limitPageWidth": { + "message": "পৃষ্ঠার প্রস্থ সীমিত করুন" + }, "list": { "message": "তালিকা" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "লাইভ চ্যাট টাইপ" }, + "location": { + "message": "অবস্থান" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "আওয়াজের স্বাভাবিককরণ" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "দেখা ভিডিওগুলি চিহ্নিত করুন" }, - "customMiniPlayer": { - "message": "কাস্টম মিনি প্লেয়ার" + "medium": { + "message": "Medium" }, "mixer": { "message": "মিক্সার" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "আমার রং" }, @@ -470,32 +668,44 @@ "night": { "message": "রাত" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "কোনও সক্রিয় বৈশিষ্ট্য নেই" }, - "none": { - "message": "কিছুই না" - }, "noOpenVideoTabs": { "message": "কোনও খোলা ভিডিও ট্যাব নেই" }, + "none": { + "message": "কিছুই না" + }, "normal": { "message": "সাধারণ" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "পুরাতন" }, "onAllVideos": { "message": "সমস্ত ভিডিওতে" }, + "onSubscribedChannels": { + "message": "সাবস্ক্রাইব করা চ্যানেলগুলিতে" + }, "onlyActiveOnYoutube": { "message": "শুধুমাত্র ইউটিউবে সক্রিয়" }, "onlyOnePlayerInstancePlaying": { "message": "কেবলমাত্র একজন খেলোয়াড় খেলছে" }, - "onSubscribedChannels": { - "message": "সাবস্ক্রাইব করা চ্যানেলগুলিতে" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "কমলা" @@ -506,6 +716,12 @@ "other": { "message": "অন্যান্য" }, + "outline": { + "message": "রূপরেখা" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "অনুমতি" }, @@ -521,6 +737,12 @@ "platform": { "message": "প্ল্যাটফর্ম" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "খেলার / বিরতি" + }, "playbackSpeed": { "message": "প্লেব্যাক গতি" }, @@ -539,12 +761,12 @@ "playlists": { "message": "প্লেলিস্ট" }, - "playPause": { - "message": "খেলার / বিরতি" - }, "popupPlayer": { "message": "পপআপ প্লেয়ার" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "অবস্থান" }, @@ -566,24 +788,39 @@ "quality": { "message": "গুণ" }, + "raised": { + "message": "উত্থাপিত" + }, "ram": { "message": "র্যাম" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "মতামত দিন" }, "red": { "message": "লাল" }, + "redDislikeButton": { + "message": "অপছন্দ বাটন লাল রঙ দেখান" + }, "relatedVideos": { "message": "সংশ্লিষ্ট ভিডিও" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "সম্পর্কিত অনুসন্ধান ফলাফল সরান" }, "repeat": { "message": "পুনরাবৃত্তি" }, + "report": { + "message": "Report" + }, "reset": { "message": "রিসেট" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "স্ক্রিনশট" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "অনুসন্ধান করুন" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "10 সেকেন্ড এগিয়ে যান" }, + "seekNextChapter": { + "message": "পরবর্তী অধ্যায় সন্ধান করুন" + }, + "seekPreviousChapter": { + "message": "পূর্ববর্তী অধ্যায় সন্ধান করুন" + }, "settings": { "message": "সেটিংস" }, "settingsSuccessfullyImported": { "message": "সেটিংস সফলভাবে আমদানি করা হয়েছে" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "শর্টকাটস" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "চ্যানেল ভিডিও গণনা দেখান" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "ভিডিও অবশিষ্ট সময় দেখান" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "অদলবদল" }, "sidebar": { "message": "সাইডবার" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "স্পেসবার" }, @@ -656,6 +923,9 @@ "static": { "message": "স্থির" }, + "statsForNerds": { + "message": "ডেভলপারের জন্য পরিসংখ্যান দেখান" + }, "step": { "message": "পদক্ষেপ" }, @@ -668,6 +938,9 @@ "styles": { "message": "শৈলী" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "সাবস্ক্রিপশন" }, @@ -692,12 +965,18 @@ "textColor": { "message": "লেখার রঙ" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "থিমস" }, "thisWillRemoveAllCookies": { "message": "এটি সমস্ত কুকি মুছে ফেলবে।" }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "এটি সমস্ত ইউটিউব কুকিজ অপসারণ করবে" }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "থাম্বনেইলস" }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "সময় থেকে" }, @@ -719,9 +1001,21 @@ "todayAt": { "message": "আজ এ" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "কার্ড প্রতিস্থাপন করুন" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "শীর্ষ চ্যাট" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "ট্রেলার অটোপ্লে" }, @@ -761,6 +1055,9 @@ "videos": { "message": "ভিডিও" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "শব্দ" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "দেখার সময়" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "ট্যাব পরিবর্তন করা হয়" }, "white": { "message": "সাদা" }, + "windowColor": { + "message": "উইন্ডো রঙ" + }, + "windowOpacity": { + "message": "উইন্ডোর অস্বচ্ছতা" + }, "yellow": { "message": "হলুদ" }, @@ -793,17 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "ইউটিউব h.264 কোডেকের জন্য ভিডিও গুণমানকে 1080p এর মধ্যে সীমাবদ্ধ করে" - }, - "redDislikeButton": { - "message": "অপছন্দ বাটন লাল রঙ দেখান" - }, - "hideGradientBottom": { - "message": "গ্রেডিয়েন্ট নীচে লুকান" - }, - "statsForNerds": { - "message": "ডেভলপারের জন্য পরিসংখ্যান দেখান" - }, - "toggleCards": { - "message": "Toggle cards" } -} +} \ No newline at end of file diff --git a/_locales/ca/messages.json b/_locales/ca/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/ca/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/cs/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/da/messages.json b/_locales/da/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/da/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/de/messages.json b/_locales/de/messages.json similarity index 67% rename from unstable/_locales/de/messages.json rename to _locales/de/messages.json index ab89f880b..21546d558 100644 --- a/unstable/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Kapitel abschneiden" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Info" @@ -14,20 +23,20 @@ "activateCaptions": { "message": "Untertitel aktivieren" }, + "activateFullscreen": { + "message": "Vollbild aktivieren" + }, "activated": { "message": "Aktiviert" }, "activatedFeatures": { "message": "Aktivierte Features" }, - "activateFullscreen": { - "message": "Vollbild aktivieren" - }, "activeFeatures": { "message": "Aktive Funktionen" }, "addScrollToTop": { - "message": "«Nach Oben»-Button" + "message": "„Nach Oben“-Button" }, "ads": { "message": "Werbung" @@ -41,6 +50,9 @@ "allow60fps": { "message": "60fps zulassen" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Immer aktiv" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "Analyse" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Aussehen" }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" + "areYouSureYouWantToExportTheData": { + "message": "Daten wirklich exportieren?" }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Daten wirklich importieren?" }, "audio": { "message": "Audio" @@ -86,11 +95,29 @@ "autoplay": { "message": "Autoplay" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Hintergrundfarbe" + }, + "backgroundOpacity": { + "message": "Hintergrunddeckkraft" + }, "backupAndReset": { "message": "Sichern oder zurücksetzen" }, "baseOnSystemColorScheme": { - "message": "Basierend von Systemfarben" + "message": "Basierend auf Systemfarben" }, "belowPlayer": { "message": "Unter dem Player" @@ -104,6 +131,21 @@ "blockAll": { "message": "immer blockieren" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Musik blockieren" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Blau" }, @@ -120,7 +162,7 @@ "message": "Browser" }, "browserVersion": { - "message": "Browser Version" + "message": "Browser-Version" }, "bubbles": { "message": "Blasen" @@ -143,18 +185,27 @@ "channels": { "message": "Kanäle" }, + "characterEdgeStyle": { + "message": "Zeichenumrandung" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Zwischenablage" }, "codecH264": { "message": "Codec h.264" }, - "collapsed": { - "message": "Eingeklappt" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Abos einklappen" }, + "collapsed": { + "message": "Eingeklappt" + }, "comments": { "message": "Kommentare" }, @@ -167,12 +218,21 @@ "cores": { "message": "Kerne" }, + "cropChapterTitles": { + "message": "Kapitel abschneiden" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "CSS hinzufügen" }, "customJs": { "message": "JS hinzufügen" }, + "customMiniPlayer": { + "message": "Benutzerdefinierter Mini-Player" + }, "cyan": { "message": "Cyan" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "Dunkel-Lila" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { - "message": "Standard-Kanal Tab" + "message": "Standard-Kanal-Tab" + }, + "defaultContentCountry": { + "message": "Standard-Land für Inhalte" + }, + "deleteWatchedVideos": { + "message": "Gesehene Videos entfernen" }, "deleteYoutubeCookies": { "message": "YouTube-Cookies löschen" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Beschreibung" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Wüste" @@ -230,15 +305,27 @@ "dislike": { "message": "'Mag ich nicht'" }, - "donate": { - "message": "Spenden" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Nicht ändern" }, + "donate": { + "message": "Spenden" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Verschiebbar" }, + "dropShadow": { + "message": "Schlagschatten" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "E-Mail" }, @@ -275,12 +362,33 @@ "font": { "message": "Schriftart" }, + "fontColor": { + "message": "Schriftfarbe" + }, + "fontFamily": { + "message": "Schriftart Familie" + }, + "fontOpacity": { + "message": "Schriftdeckkraft" + }, + "fontSize": { + "message": "Schriftgröße" + }, "footer": { "message": "Fußzeile" }, + "forceSDR": { + "message": "SDR erzwingen" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Spiele Video erzwungen von Beginn ab" + }, "forcedPlaybackSpeed": { "message": "erzwungene Abspielgeschwindigkeit" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Kinomodus erzwingen" }, @@ -296,24 +404,33 @@ "general": { "message": "Allgemein" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "YouTube Suche" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Grün" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD-Vorschaubild" }, - "hdThumbnails": { - "message": "HD-Vorschaubilder" - }, "header": { "message": "Header / 'Kopfzeile'" }, @@ -332,6 +449,21 @@ "hideCards": { "message": "Karten ausblenden" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Ländercode ausblenden" + }, + "hideDate": { + "message": "Datum ausblenden" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Details ausblenden" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "Fußzeile ausblenden" }, + "hideGradientBottom": { + "message": "Farbverlauf ausblenden" + }, + "hidePlayerControlsBar": { + "message": "Kontrolleiste ausblenden" + }, + "hidePlayerControlsBarButtons": { + "message": "Player-Kontrollen ausblenden" + }, + "hidePlayerControlsBarOptions": { + "message": "Kontrollleistenoptionen ausblenden" + }, "hidePlaylist": { "message": "Playlists ausblenden" }, @@ -351,11 +495,26 @@ "message": "Rechte Buttons ausblenden" }, "hideScrollForDetails": { - "message": "«Für Details scrollen» ausblenden" + "message": "„Für Details scrollen“ ausblenden" + }, + "hideSkipOverlay": { + "message": "Überspringen Overlay ausblenden" + }, + "hideThumbnailOverlay": { + "message": "Thumbnail Overlay ausblenden" + }, + "hideThumbnails": { + "message": "Thumbnails ausblenden" }, "hideViewsCount": { "message": "Videoaufrufe ausblenden" }, + "hideVoiceSearchButton": { + "message": "Sprachsuche ausblenden" + }, + "high": { + "message": "Hoch" + }, "history": { "message": "Verlauf" }, @@ -363,10 +522,10 @@ "message": "Standard" }, "hover": { - "message": "Nur anzeigen wenn die Maus darauf zeigt" + "message": "Nur anzeigen bei Mausover" }, "hoverOnVideoPage": { - "message": "auf Video-Seiten nur wenn die Maus..." + "message": "auf Video-Seiten bei Mausover" }, "howLongAgoTheVideoWasUploaded": { "message": "Alter des Videos (seit Hochlade-Datum)" @@ -380,8 +539,11 @@ "importSettings": { "message": "Einstellungen importieren" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube Icon im Browser" + "improveLogo": { + "message": "Logo verbessern" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "ImprovedTube Icon auf YouTube" @@ -392,11 +554,8 @@ "improvedtubeVersion": { "message": "ImprovedTube Version" }, - "improveLogo": { - "message": "Logo verbessern" - }, "increasePlaybackSpeed": { - "message": "Abspiel Geschwingkeit erhöhen" + "message": "Abspielgeschwingkeit erhöhen" }, "increaseVolume": { "message": "Lautstärke erhöhen" @@ -407,12 +566,24 @@ "items": { "message": "Items" }, + "language": { + "message": "Sprache" + }, "languages": { "message": "Sprachen" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "Klassiches YouTube" }, + "library": { + "message": "Bibliothek" + }, "light": { "message": "Hell" }, @@ -425,12 +596,18 @@ "like": { "message": "Like" }, + "liked": { + "message": "Liked" + }, "likes": { "message": "Likes" }, "lime": { "message": "Limette" }, + "limitPageWidth": { + "message": "Seitenbreite limitieren" + }, "list": { "message": "Liste" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "Live-Chat Typ" }, + "location": { + "message": "Standort" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Lautstärke normalisieren" }, + "low": { + "message": "Niedrig" + }, "markWatchedVideos": { "message": "gesehene Videos markieren" }, - "customMiniPlayer": { - "message": "Benutzerdefinierter Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mischpult" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Seitenleiste nach links verschieben" + }, + "moveThumbnailsRight": { + "message": "Thumbnails nach rechts verschieben" + }, "myColors": { "message": "Meine Farben" }, @@ -470,32 +668,44 @@ "night": { "message": "Nacht" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Keine aktiven Features" }, - "none": { - "message": "Keine" - }, "noOpenVideoTabs": { "message": "Keine YouTube Videos geöffnet" }, + "none": { + "message": "Keine" + }, "normal": { "message": "Normal" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "Alt" }, "onAllVideos": { "message": "in allen Videos" }, + "onSubscribedChannels": { + "message": "nur in abonnierten Kanälen" + }, "onlyActiveOnYoutube": { "message": "nur auf YouTube rot färben" }, "onlyOnePlayerInstancePlaying": { "message": "Nur ein Video gleichzeitig" }, - "onSubscribedChannels": { - "message": "nur in abonnierten Kanälen" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Orange" @@ -506,6 +716,12 @@ "other": { "message": "Andere" }, + "outline": { + "message": "Umrandung" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "Berechtigungen" }, @@ -521,8 +737,14 @@ "platform": { "message": "Plattform" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, "playbackSpeed": { - "message": "Abspiel-Geschwindigkeit" + "message": "Abspielgeschwindigkeit" }, "player": { "message": "Player" @@ -539,12 +761,12 @@ "playlists": { "message": "Playlists" }, - "playPause": { - "message": "Play / Pause" - }, "popupPlayer": { "message": "Player in eigenem Fenster" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Position" }, @@ -566,23 +788,38 @@ "quality": { "message": "Qualität" }, + "raised": { + "message": "Erhöht" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Bewerte mich" + }, "rateUs": { - "message": "Bewerte mich!" + "message": "Bewerte uns!" }, "red": { "message": "Rot" }, + "redDislikeButton": { + "message": "Zeige 'Mag ich nicht' Button rot" + }, "relatedVideos": { - "message": "Verwandte Videos" + "message": "Ähnliche Videos" + }, + "remote": { + "message": "Auf TV abspielen" }, "removeRelatedSearchResults": { - "message": "Verwandte Suchergebnisse entfernen" + "message": "Ähnliche Suchergebnisse entfernen" }, "repeat": { - "message": "Repeat(Wiederholen)" + "message": "Repeat (Wiederholen)" + }, + "report": { + "message": "Report" }, "reset": { "message": "Zurücksetzen" @@ -606,7 +843,7 @@ "message": "Speichern als" }, "schedule": { - "message": "Nachtschaltung planen" + "message": "Zeitplan" }, "screen": { "message": "Bildschirm" @@ -614,6 +851,12 @@ "screenshot": { "message": "Screenshot" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Suche" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "10 Sekunden überspringen" }, + "seekNextChapter": { + "message": "Nächstes Kapitel" + }, + "seekPreviousChapter": { + "message": "Vorheriges Kapitel" + }, "settings": { "message": "Einstellungen" }, "settingsSuccessfullyImported": { "message": "Einstellungen erfolgreich importiert!" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Hotkeys" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "Anzahl Videos je Channel anzeigen" }, + "showLess": { + "message": "Weniger zeigen" + }, + "showMore": { + "message": "Mehr zeigen" + }, + "showRemainingDuration": { + "message": "Verbleibende Laufzeit anzeigen" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Zufallswiedergabe" }, "sidebar": { "message": "Seitenleiste" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Leertaste" }, @@ -656,20 +923,26 @@ "static": { "message": "Statisch" }, + "statsForNerds": { + "message": "Statistiken für Nerds" + }, "step": { "message": "Schritt" }, "stop": { - "message": "Stop" + "message": "Stopp" }, "style": { - "message": "Style" + "message": "Stil" }, "styles": { - "message": "Styles" + "message": "Stile" + }, + "subscribe": { + "message": "Abonnieren" }, "subscriptions": { - "message": "Abonnements" + "message": "Abos" }, "subtitles": { "message": "Untertitel" @@ -692,12 +965,18 @@ "textColor": { "message": "Textfarbe" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Farbschemen" }, "thisWillRemoveAllCookies": { "message": "Alle Cookies werden gelöscht" }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Alle YouTube Cookies werden gelöscht" }, @@ -705,25 +984,40 @@ "message": "Alle Einstellungen werden entfernt" }, "thisWillResetAllShortcuts": { - "message": "Alle Shortcuts werden entfernt" + "message": "Alle Shortcuts werden zurückgesetzt" }, "thumbnails": { "message": "Vorschaubilder" }, + "thumbnailsQuality": { + "message": "Thumbnailqualität" + }, "timeFrom": { "message": "Start" }, "timeTo": { - "message": "Stop" + "message": "Ende" }, "todayAt": { "message": "Heute um" }, + "toggleAutoplay": { + "message": "Autoplay umschalten" + }, + "toggleCards": { + "message": "Karten ausblenden" + }, + "toggleControls": { + "message": "Kontrollen umschalten" + }, "topChat": { - "message": "Top chat" + "message": "Top Chat" + }, + "trackWatchedVideos": { + "message": "Gesehene Videos protokollieren" }, "trailerAutoplay": { - "message": "Trailer autoplay (Kanal-Intro automatisch losspielen)" + "message": "Kanal-Intro automatisch abspielen" }, "translations": { "message": "Übersetzungen" @@ -732,10 +1026,10 @@ "message": "Transparenter Hintergrund" }, "trending": { - "message": "Trending" + "message": "Trends" }, "tryToReloadThePage": { - "message": "Versuche die Seite neu zu laden" + "message": "Versuche, die Seite neu zu laden" }, "type": { "message": "Typ" @@ -756,11 +1050,14 @@ "message": "Die Video-Beschreibung wird um den Kategorienamen erweitert" }, "videoFormats": { - "message": "Video Formate" + "message": "Videoformate" }, "videos": { "message": "Videos" }, + "viewMode": { + "message": "Darstellungsmodus" + }, "volume": { "message": "Lautstärke" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "Verbrauchte Zeit" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Beim Tab-Wechsel" }, "white": { "message": "Weiß" }, + "windowColor": { + "message": "Fensterfarbe" + }, + "windowOpacity": { + "message": "Fensterdeckkraft" + }, "yellow": { "message": "Gelb" }, @@ -793,17 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "YouTube begrenzt die Qualität auf 1080p für den h.264 Codec" - }, - "redDislikeButton": { - "message": "Zeige 'Mag ich nicht' Button rot" - }, - "hideGradientBottom": { - "message": "Farbverlauf ausblenden" - }, - "statsForNerds": { - "message": "Statistiken für Nerds" - }, - "toggleCards": { - "message": "Karten ausblenden" } -} +} \ No newline at end of file diff --git a/unstable/_locales/el/messages.json b/_locales/el/messages.json similarity index 75% rename from unstable/_locales/el/messages.json rename to _locales/el/messages.json index dc9d26bc9..99eeab957 100644 --- a/unstable/_locales/el/messages.json +++ b/_locales/el/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Περίκοψε τους τίτλους των κεφαλαίων" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Σχετικά" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Ενεργοποίηση Υπότιτλων" }, + "activateFullscreen": { + "message": "Ενεργοποίηση Πλήρους Οθόνη" + }, "activated": { "message": "Ενεργοποιήθηκε" }, "activatedFeatures": { "message": "Ενεργοποιημένες Λειτουργίες" }, - "activateFullscreen": { - "message": "Ενεργοποίηση Πλήρους Οθόνη" - }, "activeFeatures": { "message": "Ενεργές λειτουργίες" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "Επίτρεψε 60fps" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Πάντοτε ενεργό" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "Αναλυτής" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Εμφάνιση" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "Ήχος" @@ -86,6 +95,24 @@ "autoplay": { "message": "Αυτόματη αναπαραγωγή" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "Αντίγραφα ασφαλείας & reset" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "Αποκλείστε όλα" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Μπλε" }, @@ -143,18 +185,27 @@ "channels": { "message": "Κανάλια" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Clipboard" }, "codecH264": { "message": "Codec h.264" }, - "collapsed": { - "message": "Κλειστό" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Κλείσε το μενού συνδρομών" }, + "collapsed": { + "message": "Κλειστό" + }, "comments": { "message": "Σχόλιο" }, @@ -167,12 +218,21 @@ "cores": { "message": "Πυρήνες" }, + "cropChapterTitles": { + "message": "Περίκοψε τους τίτλους των κεφαλαίων" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "Εξατομίκευση CSS" }, "customJs": { "message": "Εξατομίκευση JS" }, + "customMiniPlayer": { + "message": "Εξατομικευμένο Mini-Player" + }, "cyan": { "message": "Κυανό" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "Βαθύ μοβ" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "Προεπιλεγμένη καρτέλα καναλιού" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "Κατάργησε τα cookies του YouTube" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Περιγραφή" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Έρημος" @@ -230,15 +305,27 @@ "dislike": { "message": "Δε μου αρέσει" }, - "donate": { - "message": "Συνεισφέρετε οικονομικά" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Να μην αλλάξει" }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Μετακινήσιμο με σύρση" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "Email" }, @@ -275,12 +362,33 @@ "font": { "message": "Γραμματοσειρά" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "Υποσέλιδο" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "Υποχρεωτική ταχύτητα αναπαραγωγής" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Υποχρεωτική λειτουργία κινηματογράφου" }, @@ -296,24 +404,33 @@ "general": { "message": "Γενικά" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Πήγαινε στο πεδίο αναζήτησης" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Πράσινο" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD Εικονίδιο βίντεο" }, - "hdThumbnails": { - "message": "HD Εικονίδια βίντεο" - }, "header": { "message": "Κεφαλίδα" }, @@ -332,6 +449,21 @@ "hideCards": { "message": "Απόκρυψε τις κάρτες" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Απόκρυψε τις λεπτομέρειες" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "Απόκρυψε το υποσέλιδο" }, + "hideGradientBottom": { + "message": "Απόκρυψε το κάτω μέρος της χρωματικής διαβάθμισης" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "Απόκρυψε τα playlists" }, @@ -353,9 +497,24 @@ "hideScrollForDetails": { "message": "Απόκρυψε το «Scroll for details»" }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "Απόκρυψε τον αριθμό προβολών" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "Ιστορικό" }, @@ -380,8 +539,11 @@ "importSettings": { "message": "Εισαγωγή ρυθμίσεων" }, - "improvedtubeIconInBrowser": { - "message": "Εικονίδιο ImprovedTube στο Browser" + "improveLogo": { + "message": "Λογότυπο Improve" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "Εικονίδιο ImprovedTube στο YouTube" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "Έκδοση ImprovedTube" }, - "improveLogo": { - "message": "Λογότυπο Improve" - }, "increasePlaybackSpeed": { "message": "Αύξησε την ταχύτητα αναπαραγωγής" }, @@ -407,12 +566,24 @@ "items": { "message": "Αντικείμενα" }, + "language": { + "message": "Language" + }, "languages": { "message": "Γλώσσες" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "Παλιά έκδοση YouTube" }, + "library": { + "message": "Library" + }, "light": { "message": "Ανοιχτόχρωμο" }, @@ -425,12 +596,18 @@ "like": { "message": "Μου αρέσει" }, + "liked": { + "message": "Liked" + }, "likes": { "message": "Likes" }, "lime": { "message": "Μοσχολέμονο" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "Λίστα" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "Τύπος live chat" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Κανονικοποίηση έντασης" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "Επισήμανση βίντεο που προβλήθηκαν" }, - "customMiniPlayer": { - "message": "Εξατομικευμένο Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mixer" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "Τα χρώματά μου" }, @@ -470,32 +668,44 @@ "night": { "message": "Νύχτα" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Καμία λειτουργία ενεργή" }, - "none": { - "message": "Κανένα" - }, "noOpenVideoTabs": { "message": "Καμία καρτέλα βίντεο ανοικτή" }, + "none": { + "message": "Κανένα" + }, "normal": { "message": "Κανονικό" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "Παλιό" }, "onAllVideos": { "message": "Σε όλα τα βίντεο" }, + "onSubscribedChannels": { + "message": "Σε κανάλια που έχει γίνει συνδρομή" + }, "onlyActiveOnYoutube": { "message": "Μόνο ενεργό στο YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Μόνο ένα player λειτουργεί" }, - "onSubscribedChannels": { - "message": "Σε κανάλια που έχει γίνει συνδρομή" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Πορτοκαλί" @@ -506,6 +716,12 @@ "other": { "message": "Άλλο" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "Άδεια" }, @@ -521,6 +737,12 @@ "platform": { "message": "Πλατφόρμα" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, "playbackSpeed": { "message": "Ταχύτητα αναπαραγωγής" }, @@ -539,12 +761,12 @@ "playlists": { "message": "Playlists" }, - "playPause": { - "message": "Play / Pause" - }, "popupPlayer": { "message": "Popup player" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Θέση" }, @@ -566,24 +788,39 @@ "quality": { "message": "Ποιότητα" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "Αξιολόγησέ μας" }, "red": { "message": "Κόκκινο" }, + "redDislikeButton": { + "message": "Δείξτε το πλήκτρο «Δε μου αρέσει» σε κόκκινο" + }, "relatedVideos": { "message": "Σχετικά videos" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "Αφαίρεσε σχετικά αποτελέσματα αναζήτησης" }, "repeat": { "message": "Επανάληψη" }, + "report": { + "message": "Report" + }, "reset": { "message": "Επαναφορά" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "Στιγμιότυπο" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Αναζήτηση" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "Μπροστά 10 δευτερόλεπτα" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "Ρυθμίσεις" }, "settingsSuccessfullyImported": { "message": "Επιτυχής εισαγωγή ρυθμίσεων" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Συντομεύσεις" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "Δείξε τις συνολικές προβολές του καναλιού" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Τυχαία αναπαραγωγή" }, "sidebar": { "message": "Sidebar" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Spacebar" }, @@ -656,6 +923,9 @@ "static": { "message": "Στατικό" }, + "statsForNerds": { + "message": "Δείξε τα Στατιστικά για Σπασίκλες" + }, "step": { "message": "Βήμα" }, @@ -668,6 +938,9 @@ "styles": { "message": "Στυλ" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "Συνδρομές" }, @@ -692,12 +965,18 @@ "textColor": { "message": "Χρώμα κειμένου" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Θέματα" }, "thisWillRemoveAllCookies": { "message": "Αυτό αφαιρεί όλα τα cookies." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Αυτό αφαιρεί όλα τα cookies του YouTube." }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "Εικονίδια" }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "Χρόνος από" }, @@ -719,9 +1001,21 @@ "todayAt": { "message": "Σήμερα στις" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "Top chat" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "Trailer autoplay" }, @@ -761,6 +1055,9 @@ "videos": { "message": "Βίντεο" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "Ένταση" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "Χρόνος προβολής" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Όταν αλλάζεις καρτέλα" }, "white": { "message": "Λευκό" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "Κίτρινο" }, @@ -793,17 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "Το YouTube περιορίζει την ποιότητα σε 1080p για το h.264 codec" - }, - "redDislikeButton": { - "message": "Δείξτε το πλήκτρο «Δε μου αρέσει» σε κόκκινο" - }, - "hideGradientBottom": { - "message": "Απόκρυψε το κάτω μέρος της χρωματικής διαβάθμισης" - }, - "statsForNerds": { - "message": "Δείξε τα Στατιστικά για Σπασίκλες" - }, - "toggleCards": { - "message": "Toggle cards" } -} +} \ No newline at end of file diff --git a/_locales/en/messages.json b/_locales/en/messages.json new file mode 100644 index 000000000..fbe808c47 --- /dev/null +++ b/_locales/en/messages.json @@ -0,0 +1,1124 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allYourSettingsWillBeErasedAndCanTBeRecovered": { + "message": "All your settings will be erased and can't be recovered" + }, + "allYourShortcutsWillBeErasedAndCanTBeRecovered": { + "message": "All your shortcuts will be erased and can't be recovered" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import this data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "bitness": { + "message": "Bitness" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brightness": { + "message": "Brightness" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "defaultPlaybackSpeed": { + "message": "Default Playback Speed" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Force video to play from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 second skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "homeScreen": { + "message": "Home screen" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "Add a popup-player-button to each thumbnail" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System preference: dark" + }, + "systemPeferenceLight": { + "message": "System preference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "watchedVideos": { + "message": "Watched videos" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} diff --git a/unstable/_locales/en/messages.json b/_locales/en_GB/messages.json similarity index 69% rename from unstable/_locales/en/messages.json rename to _locales/en_GB/messages.json index fef764abb..e81ad347e 100644 --- a/unstable/_locales/en/messages.json +++ b/_locales/en_GB/messages.json @@ -1,812 +1,1073 @@ -{ - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "about": { - "message": "About" - }, - "accept": { - "message": "Accept" - }, - "activate": { - "message": "Activate" - }, - "activateCaptions": { - "message": "Activate captions" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activateFullscreen": { - "message": "Activate fullscreen" - }, - "activeFeatures": { - "message": "Active features" - }, - "addScrollToTop": { - "message": "Add «Scroll to top»" - }, - "ads": { - "message": "Ads" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "Allow" - }, - "allow60fps": { - "message": "Allow 60fps" - }, - "alwaysActive": { - "message": "Always active" - }, - "alwaysShowProgressBar": { - "message": "Always show progress bar" - }, - "amber": { - "message": "Amber" - }, - "analyzer": { - "message": "Analyzer" - }, - "appearance": { - "message": "Appearance" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Audio formats" - }, - "auto": { - "message": "Auto" - }, - "autoFullscreen": { - "message": "Auto-fullscreen" - }, - "autopauseWhenSwitchingTabs": { - "message": "Autopause when switching tabs" - }, - "autoplay": { - "message": "Autoplay" - }, - "backupAndReset": { - "message": "Backup & reset" - }, - "baseOnSystemColorScheme": { - "message": "Base on system color scheme" - }, - "belowPlayer": { - "message": "Below player" - }, - "black": { - "message": "Black" - }, - "blacklist": { - "message": "Blacklist" - }, - "blockAll": { - "message": "Block all" - }, - "blue": { - "message": "Blue" - }, - "blueGray": { - "message": "Blue gray" - }, - "bluelight": { - "message": "Bluelight" - }, - "brown": { - "message": "Brown" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Browser version" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Buttons" - }, - "cancel": { - "message": "Cancel" - }, - "categories": { - "message": "Categories" - }, - "channel": { - "message": "Channel" - }, - "channels": { - "message": "Channels" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapsed": { - "message": "Collapsed" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "comments": { - "message": "Comments" - }, - "confirmationBeforeClosing": { - "message": "Confirmation before closing" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Cores" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Dark" - }, - "darkTheme": { - "message": "Dark theme" - }, - "dateAndTime": { - "message": "Date & time" - }, - "dawn": { - "message": "Dawn" - }, - "decreasePlaybackSpeed": { - "message": "Decrease playback speed" - }, - "decreaseVolume": { - "message": "Decrease volume" - }, - "deepOrange": { - "message": "Deep orange" - }, - "deepPurple": { - "message": "Deep purple" - }, - "defaultChannelTab": { - "message": "Default channel tab" - }, - "deleteYoutubeCookies": { - "message": "Delete YouTube cookies" - }, - "description": { - "message": "Description" - }, - "desert": { - "message": "Desert" - }, - "details": { - "message": "Details" - }, - "developerOptions": { - "message": "Developer options" - }, - "device": { - "message": "Device" - }, - "dim": { - "message": "Dim" - }, - "disabled": { - "message": "Disabled" - }, - "dislike": { - "message": "Dislike" - }, - "donate": { - "message": "Donate" - }, - "doNotChange": { - "message": "Don't change" - }, - "draggable": { - "message": "Draggable" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Empty" - }, - "enabled": { - "message": "Enabled" - }, - "enabledForced": { - "message": "Enabled (forced)" - }, - "expanded": { - "message": "Expanded" - }, - "exportSettings": { - "message": "Export settings" - }, - "extension": { - "message": "Extension" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filters" - }, - "fitToWindow": { - "message": "Fit to window" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Footer" - }, - "forcedPlaybackSpeed": { - "message": "Forced playback speed" - }, - "forcedTheaterMode": { - "message": "Forced theater mode" - }, - "forcedVolume": { - "message": "Forced volume" - }, - "foundABug": { - "message": "Found a bug?" - }, - "fullWindow": { - "message": "Full window" - }, - "general": { - "message": "General" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Go to search box" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Green" - }, - "hdThumbnail": { - "message": "HD thumbnail" - }, - "hdThumbnails": { - "message": "HD thumbnails" - }, - "header": { - "message": "Header" - }, - "hidden": { - "message": "Hidden" - }, - "hiddenOnVideoPage": { - "message": "Hidden on video page" - }, - "hideAnimatedThumbnails": { - "message": "Hide animated thumbnails" - }, - "hideAnnotations": { - "message": "Hide annotations" - }, - "hideCards": { - "message": "Hide cards" - }, - "hideDetails": { - "message": "Hide details" - }, - "hideEndscreen": { - "message": "Hide endscreen" - }, - "hideFeaturedContent": { - "message": "Hide featured content" - }, - "hideFooter": { - "message": "Hide footer" - }, - "hidePlaylist": { - "message": "Hide playlist" - }, - "hideRightButtons": { - "message": "Hide right buttons" - }, - "hideScrollForDetails": { - "message": "Hide «Scroll for details»" - }, - "hideViewsCount": { - "message": "Hide views count" - }, - "history": { - "message": "History" - }, - "home": { - "message": "Home" - }, - "hover": { - "message": "Hover" - }, - "hoverOnVideoPage": { - "message": "Hover on video page" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "How long ago the video was uploaded" - }, - "icons": { - "message": "Icons" - }, - "iconsOnly": { - "message": "Icons only" - }, - "importSettings": { - "message": "Import settings" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon in Browser" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icon on YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube language" - }, - "improvedtubeVersion": { - "message": "ImprovedTube version" - }, - "improveLogo": { - "message": "Improve logo" - }, - "increasePlaybackSpeed": { - "message": "Increase playback speed" - }, - "increaseVolume": { - "message": "Increase volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Languages" - }, - "legacyYoutube": { - "message": "Legacy YouTube" - }, - "light": { - "message": "Light" - }, - "lightBlue": { - "message": "Light blue" - }, - "lightGreen": { - "message": "Light green" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "List" - }, - "liveChat": { - "message": "Live chat" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "Loudness normalization" - }, - "markWatchedVideos": { - "message": "Mark watched videos" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "Name" - }, - "nativeMiniPlayer": { - "message": "Native mini player" - }, - "new": { - "message": "New" - }, - "nextVideo": { - "message": "Next video" - }, - "night": { - "message": "Night" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "none": { - "message": "None" - }, - "noOpenVideoTabs": { - "message": "No open video tabs" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Old" - }, - "onAllVideos": { - "message": "On all videos" - }, - "onlyActiveOnYoutube": { - "message": "Only active on YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "onSubscribedChannels": { - "message": "On subscribed channels" - }, - "orange": { - "message": "Orange" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Other" - }, - "permissions": { - "message": "Permissions" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Pink" - }, - "plain": { - "message": "Plain" - }, - "platform": { - "message": "Platform" - }, - "playbackSpeed": { - "message": "Playback speed" - }, - "player": { - "message": "Player" - }, - "playerColor": { - "message": "Player color" - }, - "playerSize": { - "message": "Player size" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlists" - }, - "playPause": { - "message": "Play / Pause" - }, - "popupPlayer": { - "message": "Popup player" - }, - "position": { - "message": "Position" - }, - "pressAnyKeyOrScroll": { - "message": "Press any key or use mouse wheel." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Press any key or use mouse wheel" - }, - "previousVideo": { - "message": "Previous video" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "Purple" - }, - "quality": { - "message": "Quality" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Rate us" - }, - "red": { - "message": "Red" - }, - "relatedVideos": { - "message": "Related videos" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "Repeat" - }, - "reset": { - "message": "Reset" - }, - "resetAllSettings": { - "message": "Reset all settings" - }, - "resetAllShortcuts": { - "message": "Reset all shortcuts" - }, - "reverse": { - "message": "Reverse" - }, - "rotate": { - "message": "Rotate" - }, - "save": { - "message": "Save" - }, - "saveAs": { - "message": "Save as" - }, - "schedule": { - "message": "Schedule" - }, - "screen": { - "message": "Screen" - }, - "screenshot": { - "message": "Screenshot" - }, - "search": { - "message": "Search" - }, - "searchBarOnly": { - "message": "Search bar only" - }, - "seekBackward10Seconds": { - "message": "Seek backward 10 seconds" - }, - "seekForward10Seconds": { - "message": "Seek forward 10 seconds" - }, - "settings": { - "message": "Settings" - }, - "settingsSuccessfullyImported": { - "message": "Settings successfully imported" - }, - "shortcuts": { - "message": "Shortcuts" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "Show channel videos count" - }, - "shuffle": { - "message": "Shuffle" - }, - "sidebar": { - "message": "Sidebar" - }, - "spacebar": { - "message": "Spacebar" - }, - "squaredUserImages": { - "message": "Squared user images" - }, - "static": { - "message": "Static" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Stop" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "Subscriptions" - }, - "subtitles": { - "message": "Subtitles" - }, - "sunset": { - "message": "Sunset" - }, - "sunsetToSunrise": { - "message": "Sunset to sunrise" - }, - "systemPeferenceDark": { - "message": "System peference: dark" - }, - "systemPeferenceLight": { - "message": "System peference: light" - }, - "teal": { - "message": "Teal" - }, - "textColor": { - "message": "Text color" - }, - "themes": { - "message": "Themes" - }, - "thisWillRemoveAllCookies": { - "message": "This will remove all cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "This will remove all YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "This will reset all settings." - }, - "thisWillResetAllShortcuts": { - "message": "This will reset all shortcuts" - }, - "thumbnails": { - "message": "Thumbnails" - }, - "timeFrom": { - "message": "Time from" - }, - "timeTo": { - "message": "Time to" - }, - "todayAt": { - "message": "Today at" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Trailer autoplay" - }, - "translations": { - "message": "Translations" - }, - "transparentBackground": { - "message": "Transparent background" - }, - "trending": { - "message": "Trending" - }, - "tryToReloadThePage": { - "message": "Try to reload the page" - }, - "type": { - "message": "Type" - }, - "upNextAutoplay": { - "message": "Up next autoplay" - }, - "use24HourFormat": { - "message": "Use 24-hour format" - }, - "version": { - "message": "Version" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "Video formats" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Watch later" - }, - "watchTime": { - "message": "Watch time" - }, - "whenTabIsChanged": { - "message": "When tab is changed" - }, - "white": { - "message": "White" - }, - "yellow": { - "message": "Yellow" - }, - "youtubeHeaderLeft": { - "message": "YouTube Header (left)" - }, - "youtubeHeaderRight": { - "message": "YouTube Header (right)" - }, - "youtubeHomePage": { - "message": "YouTube home page" - }, - "youtubeLanguage": { - "message": "YouTube language" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limits video quality to 1080p for h.264 codec" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" - }, - "geoPreference": { - "message": "Geo Preference" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import this data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Force video to play from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 second skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "Add a popup-player-button to each thumbnail" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System preference: dark" + }, + "systemPeferenceLight": { + "message": "System preference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/en_US/messages.json b/_locales/en_US/messages.json new file mode 100644 index 000000000..e81ad347e --- /dev/null +++ b/_locales/en_US/messages.json @@ -0,0 +1,1073 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import this data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Force video to play from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 second skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "Add a popup-player-button to each thumbnail" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System preference: dark" + }, + "systemPeferenceLight": { + "message": "System preference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/es/messages.json b/_locales/es/messages.json new file mode 100644 index 000000000..c0731f5bc --- /dev/null +++ b/_locales/es/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Acerca de" + }, + "accept": { + "message": "Aceptar" + }, + "activate": { + "message": "Activar" + }, + "activateCaptions": { + "message": "Activar subtítulos" + }, + "activateFullscreen": { + "message": "Activar pantalla completa" + }, + "activated": { + "message": "Activado" + }, + "activatedFeatures": { + "message": "Características activadas" + }, + "activeFeatures": { + "message": "Activar características" + }, + "addScrollToTop": { + "message": "Añadir «Volver arriba»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "Todo" + }, + "allow": { + "message": "Permitir" + }, + "allow60fps": { + "message": "Permitir 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Siempre activo" + }, + "alwaysShowProgressBar": { + "message": "Siempre mostrar barra de progreso" + }, + "amber": { + "message": "Ámbar" + }, + "analyzer": { + "message": "Analizador" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Apariencia" + }, + "areYouSureYouWantToExportTheData": { + "message": "¿Estas seguro que deseas exportar la informacion?" + }, + "areYouSureYouWantToImportTheData": { + "message": "¿Estas seguro que deseas importar la informacion?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Formatos de audio" + }, + "auto": { + "message": "Automático" + }, + "autoFullscreen": { + "message": "Pantalla completa automática" + }, + "autopauseWhenSwitchingTabs": { + "message": "Pausar al cambiar de pestaña" + }, + "autoplay": { + "message": "Reproducción automática" + }, + "avoidAv1": { + "message": "Evitar AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Evitar AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Evitar AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Evitar renderizar con CPU cuando sea posible" + }, + "backgroundColor": { + "message": "Color de fondo" + }, + "backgroundOpacity": { + "message": "Opacidad de fondo" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Según tema del sistema" + }, + "belowPlayer": { + "message": "Debajo del reproductor" + }, + "black": { + "message": "Negro" + }, + "blacklist": { + "message": "Lista negra" + }, + "blockAll": { + "message": "Bloquear todo" + }, + "blockAv1": { + "message": "Bloquear AV1" + }, + "blockH264": { + "message": "Bloquear H.264" + }, + "blockMusic": { + "message": "Bloquear musica" + }, + "blockVp8": { + "message": "Bloquear VP8" + }, + "blockVp9": { + "message": "Bloquear VP9" + }, + "blue": { + "message": "Azul" + }, + "blueGray": { + "message": "Gris azulado" + }, + "bluelight": { + "message": "Luz azul" + }, + "brown": { + "message": "Marrón" + }, + "browser": { + "message": "Navegador" + }, + "browserVersion": { + "message": "Version del navegador" + }, + "bubbles": { + "message": "Burbujas" + }, + "bug": { + "message": "Error (Bug)" + }, + "buttons": { + "message": "Botones" + }, + "cancel": { + "message": "Cancelar" + }, + "categories": { + "message": "Categorías" + }, + "channel": { + "message": "Canal" + }, + "channels": { + "message": "Canales" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Portapapeles" + }, + "codecH264": { + "message": "Códec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Compactar sección de suscripciones" + }, + "collapsed": { + "message": "Compacto" + }, + "comments": { + "message": "Comentarios" + }, + "confirmationBeforeClosing": { + "message": "Confirmar antes de cerrar" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Núcleos" + }, + "cropChapterTitles": { + "message": "Recortar título de capítulos" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "CSS personalizado" + }, + "customJs": { + "message": "JS personalizado" + }, + "customMiniPlayer": { + "message": "Mini-Reproductor personalizado" + }, + "cyan": { + "message": "Cian" + }, + "dark": { + "message": "Oscuro" + }, + "darkTheme": { + "message": "Tema oscuro" + }, + "dateAndTime": { + "message": "Fecha y hora" + }, + "dawn": { + "message": "Amanecer" + }, + "decreasePlaybackSpeed": { + "message": "Disminuir velocidad de reproducción" + }, + "decreaseVolume": { + "message": "Bajar volumen" + }, + "deepOrange": { + "message": "Naranja profundo" + }, + "deepPurple": { + "message": "Violeta profundo" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Pestaña del canal por defecto" + }, + "defaultContentCountry": { + "message": "Contenido del pais por defecto" + }, + "deleteWatchedVideos": { + "message": "Eliminar videos vistos" + }, + "deleteYoutubeCookies": { + "message": "Borrar cookies de YouTube" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Descripcion" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desierto" + }, + "details": { + "message": "Detalles" + }, + "developerOptions": { + "message": "Opciones de desarrollador" + }, + "device": { + "message": "Dispositivo" + }, + "dim": { + "message": "Oscuro" + }, + "disabled": { + "message": "Desactivado" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "No cambiar" + }, + "donate": { + "message": "Donar" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Arrastrable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Vacío" + }, + "enabled": { + "message": "Activado" + }, + "enabledForced": { + "message": "Activado (forzado)" + }, + "expanded": { + "message": "Expandido" + }, + "exportSettings": { + "message": "Exportar configuración" + }, + "extension": { + "message": "Extensión" + }, + "file": { + "message": "Archivo" + }, + "filters": { + "message": "Filtros" + }, + "fitToWindow": { + "message": "Ajustar a la ventana" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Fuente" + }, + "fontColor": { + "message": "Color de fuente" + }, + "fontFamily": { + "message": "Tipografia de fuente" + }, + "fontOpacity": { + "message": "Opacidad de fuente" + }, + "fontSize": { + "message": "Tamaño de fuente" + }, + "footer": { + "message": "Pie de pagina" + }, + "forceSDR": { + "message": "Forzar SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forzar la reproduccion del video desde el inicio" + }, + "forcedPlaybackSpeed": { + "message": "Forzar velocidad de reproducción" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forzar modo teatro" + }, + "forcedVolume": { + "message": "Forzar volumen" + }, + "foundABug": { + "message": "¿Encontraste un error (bug)?" + }, + "fullWindow": { + "message": "Pantalla completa" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Ir a la barra de búsqueda" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Verde" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniatura HD" + }, + "header": { + "message": "Encabezado" + }, + "hidden": { + "message": "Oculto" + }, + "hiddenOnVideoPage": { + "message": "Oculto en la página de video" + }, + "hideAnimatedThumbnails": { + "message": "Ocultar miniaturas animadas" + }, + "hideAnnotations": { + "message": "Ocultar anotaciones" + }, + "hideCards": { + "message": "Ocultar tarjetas" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Ocultar código de país" + }, + "hideDate": { + "message": "Ocultar fecha" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Ocultar detalles" + }, + "hideEndscreen": { + "message": "Ocultar pantalla final" + }, + "hideFeaturedContent": { + "message": "Ocultar contenido destacado" + }, + "hideFooter": { + "message": "Ocultar pie de página" + }, + "hideGradientBottom": { + "message": "Ocultar parte inferior degradada" + }, + "hidePlayerControlsBar": { + "message": "Ocultar la barra del reproductor" + }, + "hidePlayerControlsBarButtons": { + "message": "Ocultar los controles de la barra del reproductor" + }, + "hidePlayerControlsBarOptions": { + "message": "Ocultar opciones de control del reproductor" + }, + "hidePlaylist": { + "message": "Ocultar playlist" + }, + "hideRightButtons": { + "message": "Ocultar botones de la derecha" + }, + "hideScrollForDetails": { + "message": "Ocultar «Desliza hacia abajo para ver más detalles»" + }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Ocultar miniaturas" + }, + "hideViewsCount": { + "message": "Ocultar contador de visitas" + }, + "hideVoiceSearchButton": { + "message": "Ocultar boton de busqueda por voz" + }, + "high": { + "message": "Alto" + }, + "history": { + "message": "Historial" + }, + "home": { + "message": "Inicio" + }, + "hover": { + "message": "Cursor sobre (hover)" + }, + "hoverOnVideoPage": { + "message": "Cursor sobre (hover) en página de video" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Hace cuánto tiempo se subió el video" + }, + "icons": { + "message": "Iconos" + }, + "iconsOnly": { + "message": "Solo iconos" + }, + "importSettings": { + "message": "Importar configuración" + }, + "improveLogo": { + "message": "Mejorar logo" + }, + "improvedtubeButtons": { + "message": "Botones ImprovedTube" + }, + "improvedtubeIconOnYoutube": { + "message": "Icono ImprovedTube en YouTube" + }, + "improvedtubeLanguage": { + "message": "Idioma de ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Version de ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Aumentar velocidad de reproducción" + }, + "increaseVolume": { + "message": "Subir volumen" + }, + "indigo": { + "message": "Índigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Idioma" + }, + "languages": { + "message": "Idiomas" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": " YouTube antiguo" + }, + "library": { + "message": "Biblioteca" + }, + "light": { + "message": "Claro" + }, + "lightBlue": { + "message": "Azul claro" + }, + "lightGreen": { + "message": "Verde claro" + }, + "like": { + "message": "Me gusta" + }, + "liked": { + "message": "Me gusta" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lima" + }, + "limitPageWidth": { + "message": "Limitar ancho de la pagina" + }, + "list": { + "message": "Lista" + }, + "liveChat": { + "message": "Chat en directo" + }, + "liveChatType": { + "message": "Tipo de chat en directo" + }, + "location": { + "message": "Ubicación" + }, + "loop": { + "message": "Bucle" + }, + "loudnessNormalization": { + "message": "Normalización de volumen" + }, + "low": { + "message": "Bajo" + }, + "markWatchedVideos": { + "message": "Marcar videos vistos" + }, + "medium": { + "message": "Medio" + }, + "mixer": { + "message": "Mezclador" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Mover barra lateral a la izquierda" + }, + "moveThumbnailsRight": { + "message": "Mover miniaturas a la derecha" + }, + "myColors": { + "message": "Mis colores" + }, + "name": { + "message": "Nombre" + }, + "nativeMiniPlayer": { + "message": "Mini-Reproductor nativo" + }, + "new": { + "message": "Nuevo" + }, + "nextVideo": { + "message": "Siguiente video" + }, + "night": { + "message": "Noche" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "Sin características activas" + }, + "noOpenVideoTabs": { + "message": "Sin pestañas de video abiertas" + }, + "none": { + "message": "Ninguno" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Viejo" + }, + "onAllVideos": { + "message": "En todos los videos" + }, + "onSubscribedChannels": { + "message": "En canales suscritos" + }, + "onlyActiveOnYoutube": { + "message": "Solo activo en YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Solo una pestaña reproduciendo" + }, + "openPopupPlayer": { + "message": "Abrir video/lista de reproduccion en una nueva ventana" + }, + "orange": { + "message": "Naranja" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Otro" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permisos" + }, + "pictureInPicture": { + "message": "Imagen en imagen" + }, + "pink": { + "message": "Rosa" + }, + "plain": { + "message": "Plano" + }, + "platform": { + "message": "Plataforma" + }, + "playAllButton": { + "message": "Boton \"Reproducir todo\"" + }, + "playPause": { + "message": "Reproducir / pausar" + }, + "playbackSpeed": { + "message": "Velocidad de reproducción" + }, + "player": { + "message": "Reproductor" + }, + "playerColor": { + "message": "Color del reproductor" + }, + "playerSize": { + "message": "Tamaño del reproductor" + }, + "playlist": { + "message": "Lista de reproducción" + }, + "playlists": { + "message": "Listas de reproducción" + }, + "popupPlayer": { + "message": "Reproductor emergente" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Posición" + }, + "pressAnyKeyOrScroll": { + "message": "Aprieta una tecla o haz scroll" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Aprieta una tecla o usa la rueda del ratón" + }, + "previousVideo": { + "message": "Reproducir video anterior" + }, + "primaryColor": { + "message": "Color Primario" + }, + "purple": { + "message": "Morado" + }, + "quality": { + "message": "Calidad" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Califícame" + }, + "rateUs": { + "message": "Califíquenos" + }, + "red": { + "message": "Rojo" + }, + "redDislikeButton": { + "message": "Mostrar el botón de dislike de color rojo" + }, + "relatedVideos": { + "message": "Vídeos relacionados" + }, + "remote": { + "message": "Reproducir en el televisor" + }, + "removeRelatedSearchResults": { + "message": "Quitar resultados relacionados" + }, + "repeat": { + "message": "Repetir" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reiniciar" + }, + "resetAllSettings": { + "message": "Restablecer todos los ajustes" + }, + "resetAllShortcuts": { + "message": "Restablecer todos los atajos" + }, + "reverse": { + "message": "Revertir" + }, + "rotate": { + "message": "Rotar" + }, + "save": { + "message": "Guardar" + }, + "saveAs": { + "message": "Guardar como" + }, + "schedule": { + "message": "Programar" + }, + "screen": { + "message": "Pantalla" + }, + "screenshot": { + "message": "Captura de pantalla" + }, + "scrollBar": { + "message": "Barra de desplazamiento" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Búsqueda" + }, + "searchBarOnly": { + "message": "Solo barra de búsqueda" + }, + "seekBackward10Seconds": { + "message": "Retroceder 10 segundos" + }, + "seekForward10Seconds": { + "message": "Adelantar 10 segundos" + }, + "seekNextChapter": { + "message": "Saltar al siguente capitulo" + }, + "seekPreviousChapter": { + "message": "Saltar al capitulo anterior" + }, + "settings": { + "message": "Ajustes" + }, + "settingsSuccessfullyImported": { + "message": "Ajustes importados correctamente" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Atajos" + }, + "showCardsOnMouseHover": { + "message": "Mostrar tarjetas al pasar el ratón" + }, + "showChannelVideosCount": { + "message": "Mostrar recuento de videos del canal" + }, + "showLess": { + "message": "Mostrar menos" + }, + "showMore": { + "message": "Mostrar mas" + }, + "showRemainingDuration": { + "message": "Mostrar la duración restante del video" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Aleatorio" + }, + "sidebar": { + "message": "Barra lateral" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Espacio" + }, + "squaredUserImages": { + "message": "Fotos de perfil cuadradas" + }, + "static": { + "message": "Estático" + }, + "statsForNerds": { + "message": "Mostrar estadísticas para Nerds" + }, + "step": { + "message": "Paso" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Estilo" + }, + "styles": { + "message": "Estilos" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Suscripciones" + }, + "subtitles": { + "message": "Subtítulos" + }, + "sunset": { + "message": "Atardecer" + }, + "sunsetToSunrise": { + "message": "De atardecer a amanecer" + }, + "systemPeferenceDark": { + "message": "Preferencia del sistema: Oscuro" + }, + "systemPeferenceLight": { + "message": "Preferencia del sistema: Claro" + }, + "teal": { + "message": "Verde azulado" + }, + "textColor": { + "message": "Color del texto" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Temas" + }, + "thisWillRemoveAllCookies": { + "message": "Esto borrará todas las cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Esto borrará todas las cookies de YouTube" + }, + "thisWillResetAllSettings": { + "message": "Esto restablecerá todos los ajustes" + }, + "thisWillResetAllShortcuts": { + "message": "Esto restablecerá todos los atajos" + }, + "thumbnails": { + "message": "Miniaturas" + }, + "thumbnailsQuality": { + "message": "Calidad de miniaturas" + }, + "timeFrom": { + "message": "Desde" + }, + "timeTo": { + "message": "Hasta" + }, + "todayAt": { + "message": "Hoy a las" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Reproducción automática de trailer" + }, + "translations": { + "message": "Traducciones" + }, + "transparentBackground": { + "message": "Fondo transparente" + }, + "trending": { + "message": "Tendencias" + }, + "tryToReloadThePage": { + "message": "Intentar recargar la página" + }, + "type": { + "message": "Tipo" + }, + "upNextAutoplay": { + "message": "Siguiente reproducción automática" + }, + "use24HourFormat": { + "message": "Usar formato 24 horas" + }, + "version": { + "message": "Versión" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "La descripción del video se expandirá para obtener el nombre de la categoría." + }, + "videoFormats": { + "message": "Formatos de video" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volumen" + }, + "watchLater": { + "message": "Ver más tarde" + }, + "watchTime": { + "message": "Visualizaciones" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Al cambiar de pestaña" + }, + "white": { + "message": "Blanco" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Opacidad de la ventana" + }, + "yellow": { + "message": "Amarillo" + }, + "youtubeHeaderLeft": { + "message": "Encabezado YouTube (izq)" + }, + "youtubeHeaderRight": { + "message": "Encabezado YouTube (der)" + }, + "youtubeHomePage": { + "message": "Página de inicio de YouTube" + }, + "youtubeLanguage": { + "message": "Idioma de YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limita calidad de video a 1080p para el codec h.264" + } +} \ No newline at end of file diff --git a/unstable/_locales/es/messages.json b/_locales/es_419/messages.json similarity index 72% rename from unstable/_locales/es/messages.json rename to _locales/es_419/messages.json index 7a3613457..a051e0b78 100644 --- a/unstable/_locales/es/messages.json +++ b/_locales/es_419/messages.json @@ -1,809 +1,1073 @@ -{ - "cropChapterTitles": { - "message": "Recortar título de capítulos" - }, - "about": { - "message": "Acerca de" - }, - "accept": { - "message": "Aceptar" - }, - "activate": { - "message": "Activar" - }, - "activateCaptions": { - "message": "Activar subtítulos" - }, - "activated": { - "message": "Activado" - }, - "activatedFeatures": { - "message": "Características activadas" - }, - "activateFullscreen": { - "message": "Activar pantalla completa" - }, - "activeFeatures": { - "message": "Activar características" - }, - "addScrollToTop": { - "message": "Añadir «Volver arriba»" - }, - "ads": { - "message": "Ads" - }, - "all": { - "message": "Todo" - }, - "allow": { - "message": "Permitir" - }, - "allow60fps": { - "message": "Permitir 60fps" - }, - "alwaysActive": { - "message": "Siempre activo" - }, - "alwaysShowProgressBar": { - "message": "Siempre mostrar barra de progreso" - }, - "amber": { - "message": "Ámbar" - }, - "analyzer": { - "message": "Analizador" - }, - "appearance": { - "message": "Apariencia" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Formatos de audio" - }, - "auto": { - "message": "Automático" - }, - "autoFullscreen": { - "message": "Pantalla completa automática" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausar al cambiar de pestaña" - }, - "autoplay": { - "message": "Reproducción automática" - }, - "backupAndReset": { - "message": "Backup & reset" - }, - "baseOnSystemColorScheme": { - "message": "Según tema del sistema" - }, - "belowPlayer": { - "message": "Debajo del reproductor" - }, - "black": { - "message": "Negro" - }, - "blacklist": { - "message": "Lista negra" - }, - "blockAll": { - "message": "Bloquear todo" - }, - "blue": { - "message": "Azul" - }, - "blueGray": { - "message": "Gris azulado" - }, - "bluelight": { - "message": "Luz azul" - }, - "brown": { - "message": "Marrón" - }, - "browser": { - "message": "Navegador" - }, - "browserVersion": { - "message": "Version del navegador" - }, - "bubbles": { - "message": "Burbujas" - }, - "bug": { - "message": "Error (Bug)" - }, - "buttons": { - "message": "Botones" - }, - "cancel": { - "message": "Cancelar" - }, - "categories": { - "message": "Categorías" - }, - "channel": { - "message": "Canal" - }, - "channels": { - "message": "Canales" - }, - "clipboard": { - "message": "Portapapeles" - }, - "codecH264": { - "message": "Códec h.264" - }, - "collapsed": { - "message": "Compacto" - }, - "collapseOfSubscriptionSections": { - "message": "Compactar sección de suscripciones" - }, - "comments": { - "message": "Comentarios" - }, - "confirmationBeforeClosing": { - "message": "Confirmar antes de cerrar" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Núcleos" - }, - "customCss": { - "message": "CSS personalizado" - }, - "customJs": { - "message": "JS personalizado" - }, - "cyan": { - "message": "Cian" - }, - "dark": { - "message": "Oscuro" - }, - "darkTheme": { - "message": "Tema oscuro" - }, - "dateAndTime": { - "message": "Fecha y hora" - }, - "dawn": { - "message": "Amanecer" - }, - "decreasePlaybackSpeed": { - "message": "Disminuir velocidad de reproducción" - }, - "decreaseVolume": { - "message": "Bajar volumen" - }, - "deepOrange": { - "message": "Naranja profundo" - }, - "deepPurple": { - "message": "Violeta profundo" - }, - "defaultChannelTab": { - "message": "Pestaña del canal por defecto" - }, - "deleteYoutubeCookies": { - "message": "Borrar cookies de YouTube" - }, - "description": { - "message": "Descripción" - }, - "desert": { - "message": "Desierto" - }, - "details": { - "message": "Detalles" - }, - "developerOptions": { - "message": "Opciones de desarrollador" - }, - "device": { - "message": "Dispositivo" - }, - "dim": { - "message": "Oscuro" - }, - "disabled": { - "message": "Desactivado" - }, - "dislike": { - "message": "Dislike" - }, - "donate": { - "message": "Donar" - }, - "doNotChange": { - "message": "No cambiar" - }, - "draggable": { - "message": "Arrastrable" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Vacío" - }, - "enabled": { - "message": "Activado" - }, - "enabledForced": { - "message": "Activado (forzado)" - }, - "expanded": { - "message": "Expandido" - }, - "exportSettings": { - "message": "Exportar configuración" - }, - "extension": { - "message": "Extensión" - }, - "file": { - "message": "Archivo" - }, - "filters": { - "message": "Filtros" - }, - "fitToWindow": { - "message": "Ajustar a la ventana" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Fuente" - }, - "footer": { - "message": "Pie" - }, - "forcedPlaybackSpeed": { - "message": "Forzar velocidad de reproducción" - }, - "forcedTheaterMode": { - "message": "Forzar modo teatro" - }, - "forcedVolume": { - "message": "Forzar volumen" - }, - "foundABug": { - "message": "¿Encontraste un error (bug)?" - }, - "fullWindow": { - "message": "Pantalla completa" - }, - "general": { - "message": "General" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Ir a barra de búsqueda" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura HD" - }, - "hdThumbnails": { - "message": "Miniaturas HD" - }, - "header": { - "message": "Encabezado" - }, - "hidden": { - "message": "Oculto" - }, - "hiddenOnVideoPage": { - "message": "Oculto en la página de video" - }, - "hideAnimatedThumbnails": { - "message": "Ocultar miniaturas animadas" - }, - "hideAnnotations": { - "message": "Ocultar anotaciones" - }, - "hideCards": { - "message": "Ocultar tarjetas" - }, - "hideDetails": { - "message": "Ocultar detalles" - }, - "hideEndscreen": { - "message": "Ocultar pantalla final" - }, - "hideFeaturedContent": { - "message": "Ocultar contenido destacado" - }, - "hideFooter": { - "message": "Ocultar pie de página" - }, - "hidePlaylist": { - "message": "Ocultar playlist" - }, - "hideRightButtons": { - "message": "Ocultar botones de la derecha" - }, - "hideScrollForDetails": { - "message": "Ocultar «Desliza hacia abajo para ver más detalles»" - }, - "hideViewsCount": { - "message": "Ocultar contador de visitas" - }, - "history": { - "message": "Historial" - }, - "home": { - "message": "Inicio" - }, - "hover": { - "message": "Cursor sobre (hover)" - }, - "hoverOnVideoPage": { - "message": "Cursor sobre (hover) en página de video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Hace cuánto tiempo se subió el video" - }, - "icons": { - "message": "Iconos" - }, - "iconsOnly": { - "message": "Solo iconos" - }, - "importSettings": { - "message": "Importar configuración" - }, - "improvedtubeIconInBrowser": { - "message": "Icono ImprovedTube en el navegador" - }, - "improvedtubeIconOnYoutube": { - "message": "Icono ImprovedTube en YouTube" - }, - "improvedtubeLanguage": { - "message": "Idioma de ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Version de ImprovedTube" - }, - "improveLogo": { - "message": "Mejorar logo" - }, - "increasePlaybackSpeed": { - "message": "Aumentar velocidad de reproducción" - }, - "increaseVolume": { - "message": "Subir volumen" - }, - "indigo": { - "message": "Índigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Idiomas" - }, - "legacyYoutube": { - "message": " YouTube antiguo" - }, - "light": { - "message": "Claro" - }, - "lightBlue": { - "message": "Azul claro" - }, - "lightGreen": { - "message": "Verde claro" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes" - }, - "lime": { - "message": "Lima" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Chat en directo" - }, - "liveChatType": { - "message": "Tipo de chat en directo" - }, - "loudnessNormalization": { - "message": "Normalización de volumen" - }, - "markWatchedVideos": { - "message": "Marcar videos vistos" - }, - "customMiniPlayer": { - "message": "Mini-Reproductor personalizado" - }, - "mixer": { - "message": "Mezclador" - }, - "myColors": { - "message": "Mis colores" - }, - "name": { - "message": "Nombre" - }, - "nativeMiniPlayer": { - "message": "Mini-Reproductor nativo" - }, - "new": { - "message": "Nuevo" - }, - "nextVideo": { - "message": "Siguiente video" - }, - "night": { - "message": "Noche" - }, - "noActiveFeatures": { - "message": "Sin características activas" - }, - "none": { - "message": "Ninguno" - }, - "noOpenVideoTabs": { - "message": "Sin pestañas de video abiertas" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Viejo" - }, - "onAllVideos": { - "message": "En todos los videos" - }, - "onlyActiveOnYoutube": { - "message": "Solo activo en YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Solo una pestaña reproduciendo" - }, - "onSubscribedChannels": { - "message": "En canales suscritos" - }, - "orange": { - "message": "Naranja" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Otro" - }, - "permissions": { - "message": "Permisos" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Plano" - }, - "platform": { - "message": "Plataforma" - }, - "playbackSpeed": { - "message": "Velocidad de reproducción" - }, - "player": { - "message": "Reproductor" - }, - "playerColor": { - "message": "Color del reproductor" - }, - "playerSize": { - "message": "Tamaño del reproductor" - }, - "playlist": { - "message": "Lista de reproducción" - }, - "playlists": { - "message": "Listas de reproducción" - }, - "playPause": { - "message": "Reproducir / pausar" - }, - "popupPlayer": { - "message": "Reproductor emergente" - }, - "position": { - "message": "Posición" - }, - "pressAnyKeyOrScroll": { - "message": "Aprieta una tecla o haz scroll" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Aprieta una tecla o usa la rueda del ratón" - }, - "previousVideo": { - "message": "Reproducir video anterior" - }, - "primaryColor": { - "message": "Color Primario" - }, - "purple": { - "message": "Morado" - }, - "quality": { - "message": "Calidad" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Califíquenos" - }, - "red": { - "message": "Rojo" - }, - "relatedVideos": { - "message": "Vídeos relacionados" - }, - "removeRelatedSearchResults": { - "message": "Quitar resultados relacionados" - }, - "repeat": { - "message": "Repetir" - }, - "reset": { - "message": "Reiniciar" - }, - "resetAllSettings": { - "message": "Restablecer todos los ajustes" - }, - "resetAllShortcuts": { - "message": "Restablecer todos los atajos" - }, - "reverse": { - "message": "Revertir" - }, - "rotate": { - "message": "Rotar" - }, - "save": { - "message": "Guardar" - }, - "saveAs": { - "message": "Guardar como" - }, - "schedule": { - "message": "Programar" - }, - "screen": { - "message": "Pantalla" - }, - "screenshot": { - "message": "Captura de pantalla" - }, - "search": { - "message": "Búsqueda" - }, - "searchBarOnly": { - "message": "Solo barra de búsqueda" - }, - "seekBackward10Seconds": { - "message": "Retroceder 10 segundos" - }, - "seekForward10Seconds": { - "message": "Adelantar 10 segundos" - }, - "settings": { - "message": "Ajustes" - }, - "settingsSuccessfullyImported": { - "message": "Ajustes importados correctamente" - }, - "shortcuts": { - "message": "Atajos" - }, - "showCardsOnMouseHover": { - "message": "Mostrar tarjetas al pasar el ratón" - }, - "showChannelVideosCount": { - "message": "Mostrar recuento de videos del canal" - }, - "shuffle": { - "message": "Aleatorio" - }, - "sidebar": { - "message": "Barra lateral" - }, - "spacebar": { - "message": "Espacio" - }, - "squaredUserImages": { - "message": "Fotos de perfil cuadradas" - }, - "static": { - "message": "Estático" - }, - "step": { - "message": "Paso" - }, - "stop": { - "message": "Stop" - }, - "style": { - "message": "Estilo" - }, - "styles": { - "message": "Estilos" - }, - "subscriptions": { - "message": "Suscripciones" - }, - "subtitles": { - "message": "Subtítulos" - }, - "sunset": { - "message": "Atardecer" - }, - "sunsetToSunrise": { - "message": "De atardecer a amanecer" - }, - "systemPeferenceDark": { - "message": "Preferencia del sistema: Oscuro" - }, - "systemPeferenceLight": { - "message": "Preferencia del sistema: Claro" - }, - "teal": { - "message": "Verde azulado" - }, - "textColor": { - "message": "Color del texto" - }, - "themes": { - "message": "Temas" - }, - "thisWillRemoveAllCookies": { - "message": "Esto borrará todas las cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Esto borrará todas las cookies de YouTube" - }, - "thisWillResetAllSettings": { - "message": "Esto restablecerá todos los ajustes" - }, - "thisWillResetAllShortcuts": { - "message": "Esto restablecerá todos los atajos" - }, - "thumbnails": { - "message": "Miniaturas" - }, - "timeFrom": { - "message": "Desde" - }, - "timeTo": { - "message": "Hasta" - }, - "todayAt": { - "message": "Hoy a las" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Reproducción automática de trailer" - }, - "translations": { - "message": "Traducciones" - }, - "transparentBackground": { - "message": "Fondo transparente" - }, - "trending": { - "message": "Tendencias" - }, - "tryToReloadThePage": { - "message": "Trata de recargar la página" - }, - "type": { - "message": "Tipo" - }, - "upNextAutoplay": { - "message": "Siguiente reproducción automática" - }, - "use24HourFormat": { - "message": "Usar formato 24 horas" - }, - "version": { - "message": "Versión" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "La descripción del video se expandirá para obtener el nombre de la categoría." - }, - "videoFormats": { - "message": "Formatos de video" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volumen" - }, - "watchLater": { - "message": "Ver más tarde" - }, - "watchTime": { - "message": "Visualizaciones" - }, - "whenTabIsChanged": { - "message": "Al cambiar de pestaña" - }, - "white": { - "message": "Blanco" - }, - "yellow": { - "message": "Amarillo" - }, - "youtubeHeaderLeft": { - "message": "Encabezado YouTube (izq)" - }, - "youtubeHeaderRight": { - "message": "Encabezado YouTube (der)" - }, - "youtubeHomePage": { - "message": "Página de inicio de YouTube" - }, - "youtubeLanguage": { - "message": "Idioma de YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limita calidad de video a 1080p para el codec h.264" - }, - "redDislikeButton": { - "message": "Mostrar el botón de dislike de color rojo" - }, - "hideGradientBottom": { - "message": "Ocultar parte inferior degradada" - }, - "statsForNerds": { - "message": "Mostrar estadísticas para Nerds" - }, - "toggleCards": { - "message": "Toggle cards" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Acerca de" + }, + "accept": { + "message": "Aceptar" + }, + "activate": { + "message": "Activar" + }, + "activateCaptions": { + "message": "Activar subtítulos" + }, + "activateFullscreen": { + "message": "Activar pantalla completa" + }, + "activated": { + "message": "Activado" + }, + "activatedFeatures": { + "message": "Características activadas" + }, + "activeFeatures": { + "message": "Activar características" + }, + "addScrollToTop": { + "message": "Añadir «Volver arriba»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "Todo" + }, + "allow": { + "message": "Permitir" + }, + "allow60fps": { + "message": "Permitir 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Siempre activo" + }, + "alwaysShowProgressBar": { + "message": "Siempre mostrar barra de progreso" + }, + "amber": { + "message": "Ámbar" + }, + "analyzer": { + "message": "Analizador" + }, + "appearance": { + "message": "Apariencia" + }, + "areYouSureYouWantToExportTheData": { + "message": "¿Estas seguro que deseas exportar la informacion?" + }, + "areYouSureYouWantToImportTheData": { + "message": "¿Estas seguro que deseas importar la informacion?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Formatos de audio" + }, + "auto": { + "message": "Automático" + }, + "autoFullscreen": { + "message": "Pantalla completa automática" + }, + "autopauseWhenSwitchingTabs": { + "message": "Pausar al cambiar de pestaña" + }, + "autoplay": { + "message": "Reproducción automática" + }, + "avoidAv1": { + "message": "Evitar AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Evitar AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Evitar AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Evitar renderizar con CPU cuando sea posible" + }, + "backgroundColor": { + "message": "Color de fondo" + }, + "backgroundOpacity": { + "message": "Opacidad de fondo" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Según tema del sistema" + }, + "belowPlayer": { + "message": "Debajo del reproductor" + }, + "black": { + "message": "Negro" + }, + "blacklist": { + "message": "Lista negra" + }, + "blockAll": { + "message": "Bloquear todo" + }, + "blockAv1": { + "message": "Bloquear AV1" + }, + "blockH264": { + "message": "Bloquear H.264" + }, + "blockMusic": { + "message": "Bloquear musica" + }, + "blockVp8": { + "message": "Bloquear VP8" + }, + "blockVp9": { + "message": "Bloquear VP9" + }, + "blue": { + "message": "Azul" + }, + "blueGray": { + "message": "Gris azulado" + }, + "bluelight": { + "message": "Luz azul" + }, + "brown": { + "message": "Marrón" + }, + "browser": { + "message": "Navegador" + }, + "browserVersion": { + "message": "Version del navegador" + }, + "bubbles": { + "message": "Burbujas" + }, + "bug": { + "message": "Error (Bug)" + }, + "buttons": { + "message": "Botones" + }, + "cancel": { + "message": "Cancelar" + }, + "categories": { + "message": "Categorías" + }, + "channel": { + "message": "Canal" + }, + "channels": { + "message": "Canales" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Portapapeles" + }, + "codecH264": { + "message": "Códec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Compactar sección de suscripciones" + }, + "collapsed": { + "message": "Compacto" + }, + "comments": { + "message": "Comentarios" + }, + "confirmationBeforeClosing": { + "message": "Confirmar antes de cerrar" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Núcleos" + }, + "cropChapterTitles": { + "message": "Recortar título de capítulos" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "CSS personalizado" + }, + "customJs": { + "message": "JS personalizado" + }, + "customMiniPlayer": { + "message": "Mini-Reproductor personalizado" + }, + "cyan": { + "message": "Cian" + }, + "dark": { + "message": "Oscuro" + }, + "darkTheme": { + "message": "Tema oscuro" + }, + "dateAndTime": { + "message": "Fecha y hora" + }, + "dawn": { + "message": "Amanecer" + }, + "decreasePlaybackSpeed": { + "message": "Disminuir velocidad de reproducción" + }, + "decreaseVolume": { + "message": "Bajar volumen" + }, + "deepOrange": { + "message": "Naranja profundo" + }, + "deepPurple": { + "message": "Violeta profundo" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Pestaña del canal por defecto" + }, + "defaultContentCountry": { + "message": "Contenido del pais por defecto" + }, + "deleteWatchedVideos": { + "message": "Eliminar videos vistos" + }, + "deleteYoutubeCookies": { + "message": "Borrar cookies de YouTube" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Descripcion" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desierto" + }, + "details": { + "message": "Detalles" + }, + "developerOptions": { + "message": "Opciones de desarrollador" + }, + "device": { + "message": "Dispositivo" + }, + "dim": { + "message": "Oscuro" + }, + "disabled": { + "message": "Desactivado" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "No cambiar" + }, + "donate": { + "message": "Donar" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Arrastrable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Vacío" + }, + "enabled": { + "message": "Activado" + }, + "enabledForced": { + "message": "Activado (forzado)" + }, + "expanded": { + "message": "Expandido" + }, + "exportSettings": { + "message": "Exportar configuración" + }, + "extension": { + "message": "Extensión" + }, + "file": { + "message": "Archivo" + }, + "filters": { + "message": "Filtros" + }, + "fitToWindow": { + "message": "Ajustar a la ventana" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Fuente" + }, + "fontColor": { + "message": "Color de fuente" + }, + "fontFamily": { + "message": "Tipografia de fuente" + }, + "fontOpacity": { + "message": "Opacidad de fuente" + }, + "fontSize": { + "message": "Tamaño de fuente" + }, + "footer": { + "message": "Pie de pagina" + }, + "forceSDR": { + "message": "Forzar SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forzar la reproduccion del video desde el inicio" + }, + "forcedPlaybackSpeed": { + "message": "Forzar velocidad de reproducción" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forzar modo teatro" + }, + "forcedVolume": { + "message": "Forzar volumen" + }, + "foundABug": { + "message": "¿Encontraste un error (bug)?" + }, + "fullWindow": { + "message": "Pantalla completa" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Ir a la barra de búsqueda" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Verde" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniatura HD" + }, + "header": { + "message": "Encabezado" + }, + "hidden": { + "message": "Oculto" + }, + "hiddenOnVideoPage": { + "message": "Oculto en la página de video" + }, + "hideAnimatedThumbnails": { + "message": "Ocultar miniaturas animadas" + }, + "hideAnnotations": { + "message": "Ocultar anotaciones" + }, + "hideCards": { + "message": "Ocultar tarjetas" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Ocultar código de país" + }, + "hideDate": { + "message": "Ocultar fecha" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Ocultar detalles" + }, + "hideEndscreen": { + "message": "Ocultar pantalla final" + }, + "hideFeaturedContent": { + "message": "Ocultar contenido destacado" + }, + "hideFooter": { + "message": "Ocultar pie de página" + }, + "hideGradientBottom": { + "message": "Ocultar parte inferior degradada" + }, + "hidePlayerControlsBar": { + "message": "Ocultar la barra del reproductor" + }, + "hidePlayerControlsBarButtons": { + "message": "Ocultar los controles de la barra del reproductor" + }, + "hidePlayerControlsBarOptions": { + "message": "Ocultar opciones de control del reproductor" + }, + "hidePlaylist": { + "message": "Ocultar playlist" + }, + "hideRightButtons": { + "message": "Ocultar botones de la derecha" + }, + "hideScrollForDetails": { + "message": "Ocultar «Desliza hacia abajo para ver más detalles»" + }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Ocultar miniaturas" + }, + "hideViewsCount": { + "message": "Ocultar contador de visitas" + }, + "hideVoiceSearchButton": { + "message": "Ocultar boton de busqueda por voz" + }, + "high": { + "message": "Alto" + }, + "history": { + "message": "Historial" + }, + "home": { + "message": "Inicio" + }, + "hover": { + "message": "Cursor sobre (hover)" + }, + "hoverOnVideoPage": { + "message": "Cursor sobre (hover) en página de video" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Hace cuánto tiempo se subió el video" + }, + "icons": { + "message": "Iconos" + }, + "iconsOnly": { + "message": "Solo iconos" + }, + "importSettings": { + "message": "Importar configuración" + }, + "improveLogo": { + "message": "Mejorar logo" + }, + "improvedtubeButtons": { + "message": "Botones ImprovedTube" + }, + "improvedtubeIconOnYoutube": { + "message": "Icono ImprovedTube en YouTube" + }, + "improvedtubeLanguage": { + "message": "Idioma de ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Version de ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Aumentar velocidad de reproducción" + }, + "increaseVolume": { + "message": "Subir volumen" + }, + "indigo": { + "message": "Índigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Idioma" + }, + "languages": { + "message": "Idiomas" + }, + "legacyYoutube": { + "message": " YouTube antiguo" + }, + "library": { + "message": "Biblioteca" + }, + "light": { + "message": "Claro" + }, + "lightBlue": { + "message": "Azul claro" + }, + "lightGreen": { + "message": "Verde claro" + }, + "like": { + "message": "Me gusta" + }, + "liked": { + "message": "Me gusta" + }, + "lime": { + "message": "Lima" + }, + "limitPageWidth": { + "message": "Limitar ancho de la pagina" + }, + "list": { + "message": "Lista" + }, + "liveChat": { + "message": "Chat en directo" + }, + "liveChatType": { + "message": "Tipo de chat en directo" + }, + "location": { + "message": "Ubicación" + }, + "loop": { + "message": "Bucle" + }, + "loudnessNormalization": { + "message": "Normalización de volumen" + }, + "low": { + "message": "Bajo" + }, + "markWatchedVideos": { + "message": "Marcar videos vistos" + }, + "medium": { + "message": "Medio" + }, + "mixer": { + "message": "Mezclador" + }, + "more": { + "message": "More" + }, + "moveSidebarLeft": { + "message": "Mover barra lateral a la izquierda" + }, + "moveThumbnailsRight": { + "message": "Mover miniaturas a la derecha" + }, + "myColors": { + "message": "Mis colores" + }, + "name": { + "message": "Nombre" + }, + "nativeMiniPlayer": { + "message": "Mini-Reproductor nativo" + }, + "new": { + "message": "Nuevo" + }, + "nextVideo": { + "message": "Siguiente video" + }, + "night": { + "message": "Noche" + }, + "noActiveFeatures": { + "message": "Sin características activas" + }, + "noOpenVideoTabs": { + "message": "Sin pestañas de video abiertas" + }, + "none": { + "message": "Ninguno" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Viejo" + }, + "onAllVideos": { + "message": "En todos los videos" + }, + "onSubscribedChannels": { + "message": "En canales suscritos" + }, + "onlyActiveOnYoutube": { + "message": "Solo activo en YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Solo una pestaña reproduciendo" + }, + "openPopupPlayer": { + "message": "Abrir video/lista de reproduccion en una nueva ventana" + }, + "orange": { + "message": "Naranja" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Otro" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permisos" + }, + "pictureInPicture": { + "message": "Imagen en imagen" + }, + "pink": { + "message": "Rosa" + }, + "plain": { + "message": "Plano" + }, + "platform": { + "message": "Plataforma" + }, + "playAllButton": { + "message": "Boton \"Reproducir todo\"" + }, + "playPause": { + "message": "Reproducir / pausar" + }, + "playbackSpeed": { + "message": "Velocidad de reproducción" + }, + "player": { + "message": "Reproductor" + }, + "playerColor": { + "message": "Color del reproductor" + }, + "playerSize": { + "message": "Tamaño del reproductor" + }, + "playlist": { + "message": "Lista de reproducción" + }, + "playlists": { + "message": "Listas de reproducción" + }, + "popupPlayer": { + "message": "Reproductor emergente" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Posición" + }, + "pressAnyKeyOrScroll": { + "message": "Aprieta una tecla o haz scroll" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Aprieta una tecla o usa la rueda del ratón" + }, + "previousVideo": { + "message": "Reproducir video anterior" + }, + "primaryColor": { + "message": "Color Primario" + }, + "purple": { + "message": "Morado" + }, + "quality": { + "message": "Calidad" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Califícame" + }, + "rateUs": { + "message": "Califíquenos" + }, + "red": { + "message": "Rojo" + }, + "redDislikeButton": { + "message": "Mostrar el botón de dislike de color rojo" + }, + "relatedVideos": { + "message": "Vídeos relacionados" + }, + "remote": { + "message": "Reproducir en el televisor" + }, + "removeRelatedSearchResults": { + "message": "Quitar resultados relacionados" + }, + "repeat": { + "message": "Repetir" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reiniciar" + }, + "resetAllSettings": { + "message": "Restablecer todos los ajustes" + }, + "resetAllShortcuts": { + "message": "Restablecer todos los atajos" + }, + "reverse": { + "message": "Revertir" + }, + "rotate": { + "message": "Rotar" + }, + "save": { + "message": "Guardar" + }, + "saveAs": { + "message": "Guardar como" + }, + "schedule": { + "message": "Programar" + }, + "screen": { + "message": "Pantalla" + }, + "screenshot": { + "message": "Captura de pantalla" + }, + "scrollBar": { + "message": "Barra de desplazamiento" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Búsqueda" + }, + "searchBarOnly": { + "message": "Solo barra de búsqueda" + }, + "seekBackward10Seconds": { + "message": "Retroceder 10 segundos" + }, + "seekForward10Seconds": { + "message": "Adelantar 10 segundos" + }, + "seekNextChapter": { + "message": "Saltar al siguente capitulo" + }, + "seekPreviousChapter": { + "message": "Saltar al capitulo anterior" + }, + "settings": { + "message": "Ajustes" + }, + "settingsSuccessfullyImported": { + "message": "Ajustes importados correctamente" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Atajos" + }, + "showCardsOnMouseHover": { + "message": "Mostrar tarjetas al pasar el ratón" + }, + "showChannelVideosCount": { + "message": "Mostrar recuento de videos del canal" + }, + "showLess": { + "message": "Mostrar menos" + }, + "showMore": { + "message": "Mostrar mas" + }, + "showRemainingDuration": { + "message": "Mostrar la duración restante del video" + }, + "shuffle": { + "message": "Aleatorio" + }, + "sidebar": { + "message": "Barra lateral" + }, + "spacebar": { + "message": "Espacio" + }, + "squaredUserImages": { + "message": "Fotos de perfil cuadradas" + }, + "static": { + "message": "Estático" + }, + "statsForNerds": { + "message": "Mostrar estadísticas para Nerds" + }, + "step": { + "message": "Paso" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Estilo" + }, + "styles": { + "message": "Estilos" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Suscripciones" + }, + "subtitles": { + "message": "Subtítulos" + }, + "sunset": { + "message": "Atardecer" + }, + "sunsetToSunrise": { + "message": "De atardecer a amanecer" + }, + "systemPeferenceDark": { + "message": "Preferencia del sistema: Oscuro" + }, + "systemPeferenceLight": { + "message": "Preferencia del sistema: Claro" + }, + "teal": { + "message": "Verde azulado" + }, + "textColor": { + "message": "Color del texto" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Temas" + }, + "thisWillRemoveAllCookies": { + "message": "Esto borrará todas las cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Esto borrará todas las cookies de YouTube" + }, + "thisWillResetAllSettings": { + "message": "Esto restablecerá todos los ajustes" + }, + "thisWillResetAllShortcuts": { + "message": "Esto restablecerá todos los atajos" + }, + "thumbnails": { + "message": "Miniaturas" + }, + "thumbnailsQuality": { + "message": "Calidad de miniaturas" + }, + "timeFrom": { + "message": "Desde" + }, + "timeTo": { + "message": "Hasta" + }, + "todayAt": { + "message": "Hoy a las" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Reproducción automática de trailer" + }, + "translations": { + "message": "Traducciones" + }, + "transparentBackground": { + "message": "Fondo transparente" + }, + "trending": { + "message": "Tendencias" + }, + "tryToReloadThePage": { + "message": "Intentar recargar la página" + }, + "type": { + "message": "Tipo" + }, + "upNextAutoplay": { + "message": "Siguiente reproducción automática" + }, + "use24HourFormat": { + "message": "Usar formato 24 horas" + }, + "version": { + "message": "Versión" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "La descripción del video se expandirá para obtener el nombre de la categoría." + }, + "videoFormats": { + "message": "Formatos de video" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volumen" + }, + "watchLater": { + "message": "Ver más tarde" + }, + "watchTime": { + "message": "Visualizaciones" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Al cambiar de pestaña" + }, + "white": { + "message": "Blanco" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Opacidad de la ventana" + }, + "yellow": { + "message": "Amarillo" + }, + "youtubeHeaderLeft": { + "message": "Encabezado YouTube (izq)" + }, + "youtubeHeaderRight": { + "message": "Encabezado YouTube (der)" + }, + "youtubeHomePage": { + "message": "Página de inicio de YouTube" + }, + "youtubeLanguage": { + "message": "Idioma de YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limita calidad de video a 1080p para el codec h.264" + } +} \ No newline at end of file diff --git a/_locales/et/messages.json b/_locales/et/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/et/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/fa/messages.json b/_locales/fa/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/fa/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/fi/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/fil/messages.json b/_locales/fil/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/fil/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/fr/messages.json b/_locales/fr/messages.json similarity index 70% rename from unstable/_locales/fr/messages.json rename to _locales/fr/messages.json index 99f18a4cf..d00907833 100644 --- a/unstable/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -1,809 +1,1103 @@ -{ - "cropChapterTitles": { - "message": "Couper les titres des chapitres" - }, - "about": { - "message": "À propos" - }, - "accept": { - "message": "Accepter" - }, - "activate": { - "message": "Activer" - }, - "activateCaptions": { - "message": "Activer les sous-titres" - }, - "activated": { - "message": "Activé" - }, - "activatedFeatures": { - "message": "Fonctionnalités activées" - }, - "activateFullscreen": { - "message": "Activer le plein écran" - }, - "activeFeatures": { - "message": "Fonctionnalités actives" - }, - "addScrollToTop": { - "message": "Ajouter « Remonter en haut »" - }, - "ads": { - "message": "Publicités" - }, - "all": { - "message": "Voir tout" - }, - "allow": { - "message": "Permettre" - }, - "allow60fps": { - "message": "Jouer à 60 fps" - }, - "alwaysActive": { - "message": "Toujours activé" - }, - "alwaysShowProgressBar": { - "message": "Toujours afficher la barre de progression" - }, - "amber": { - "message": "Ambre" - }, - "analyzer": { - "message": "Analyser" - }, - "appearance": { - "message": "Apparence" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Formats de fichier audio" - }, - "auto": { - "message": "Auto" - }, - "autoFullscreen": { - "message": "Plein écran automatique" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pause automatique lors d'un changement d'onglet" - }, - "autoplay": { - "message": "Lecture automatique" - }, - "backupAndReset": { - "message": "Sauvegarde et réinitialisation" - }, - "baseOnSystemColorScheme": { - "message": "Selon les paramètres du système" - }, - "belowPlayer": { - "message": "Sous le player" - }, - "black": { - "message": "Noir" - }, - "blacklist": { - "message": "Liste noire" - }, - "blockAll": { - "message": "Tout bloquer" - }, - "blue": { - "message": "Bleu" - }, - "blueGray": { - "message": "Gris-bleu" - }, - "bluelight": { - "message": "Bleu pâle" - }, - "brown": { - "message": "Brun" - }, - "browser": { - "message": "Navigateur web" - }, - "browserVersion": { - "message": "Version du navigateur web" - }, - "bubbles": { - "message": "Bulles" - }, - "bug": { - "message": "Bogue" - }, - "buttons": { - "message": "Boutons" - }, - "cancel": { - "message": "Annuler" - }, - "categories": { - "message": "Catégories" - }, - "channel": { - "message": "Chaîne" - }, - "channels": { - "message": "Chaînes" - }, - "clipboard": { - "message": "Presse-papiers" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapsed": { - "message": "Réduire" - }, - "collapseOfSubscriptionSections": { - "message": "Réduire la section des abonnements" - }, - "comments": { - "message": "Commentaires" - }, - "confirmationBeforeClosing": { - "message": "Confirmation avant la fermeture" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Noyaux" - }, - "customCss": { - "message": "CSS customisé" - }, - "customJs": { - "message": "JS customisé" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Sombre" - }, - "darkTheme": { - "message": "Thème sombre" - }, - "dateAndTime": { - "message": "Date et temps" - }, - "dawn": { - "message": "Aube" - }, - "decreasePlaybackSpeed": { - "message": "Réduire la vitesse de lecture" - }, - "decreaseVolume": { - "message": "Réduire le volume" - }, - "deepOrange": { - "message": "Orange foncé" - }, - "deepPurple": { - "message": "Violet foncé" - }, - "defaultChannelTab": { - "message": "Onglet par défaut d'une chaîne" - }, - "deleteYoutubeCookies": { - "message": "Supprimer les cookies YouTube" - }, - "description": { - "message": "Description" - }, - "desert": { - "message": "Desert" - }, - "details": { - "message": "Détails" - }, - "developerOptions": { - "message": "Options de développeur" - }, - "device": { - "message": "Appareil" - }, - "dim": { - "message": "Assombrir" - }, - "disabled": { - "message": "Désactivé" - }, - "dislike": { - "message": "Je n'aime pas" - }, - "donate": { - "message": "Donner" - }, - "doNotChange": { - "message": "Ne pas changer" - }, - "draggable": { - "message": "Draggable" - }, - "email": { - "message": "Courriel" - }, - "empty": { - "message": "Vide" - }, - "enabled": { - "message": "Activé" - }, - "enabledForced": { - "message": "Activé (forcé)" - }, - "expanded": { - "message": "Étendu" - }, - "exportSettings": { - "message": "Exporter les réglages" - }, - "extension": { - "message": "Extension" - }, - "file": { - "message": "Fichier" - }, - "filters": { - "message": "Filtres" - }, - "fitToWindow": { - "message": "Ajuster à la fenêtre" - }, - "flash": { - "message": "Clignoter" - }, - "font": { - "message": "Police" - }, - "footer": { - "message": "Bas de page" - }, - "forcedPlaybackSpeed": { - "message": "Vitesse de lecture forcée" - }, - "forcedTheaterMode": { - "message": "Forcer le mode théâtre" - }, - "forcedVolume": { - "message": "Forcer le volume" - }, - "foundABug": { - "message": "Un bogue?" - }, - "fullWindow": { - "message": "Fenêtre pleine" - }, - "general": { - "message": "Général" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Aller à la barre de recherche" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Vert" - }, - "hdThumbnail": { - "message": "Vignette HD" - }, - "hdThumbnails": { - "message": "Vignettes HD" - }, - "header": { - "message": "Tête de page" - }, - "hidden": { - "message": "Caché" - }, - "hiddenOnVideoPage": { - "message": "Caché sur la page de la vidéo" - }, - "hideAnimatedThumbnails": { - "message": "Vignettes sans animation" - }, - "hideAnnotations": { - "message": "Cacher les annotations" - }, - "hideCards": { - "message": "Cacher les cartes" - }, - "hideDetails": { - "message": "Cacher les détails" - }, - "hideEndscreen": { - "message": "Cacher l'écran de fin" - }, - "hideFeaturedContent": { - "message": "Cacher le contenu recommandé" - }, - "hideFooter": { - "message": "Cacher le pied de page" - }, - "hidePlaylist": { - "message": "Cacher la liste de lecture" - }, - "hideRightButtons": { - "message": "Cacher les boutons à droite" - }, - "hideScrollForDetails": { - "message": "Cacher « Faire défiler pour les détails »" - }, - "hideViewsCount": { - "message": "Voir le compte des vues" - }, - "history": { - "message": "Historique" - }, - "home": { - "message": "Accueil" - }, - "hover": { - "message": "Survoler" - }, - "hoverOnVideoPage": { - "message": "Survoler la page de la vidéo" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Depuis combien de temps la vidéo a été téléversé?" - }, - "icons": { - "message": "Icônes" - }, - "iconsOnly": { - "message": "Uniquement les icônes" - }, - "importSettings": { - "message": "Importer les réglages" - }, - "improvedtubeIconInBrowser": { - "message": "Afficher l'icône ImprovedTube dans le navigateur web" - }, - "improvedtubeIconOnYoutube": { - "message": "Afficher l'icône ImprovedTube sur YouTube" - }, - "improvedtubeLanguage": { - "message": "Langue d'ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Version d'ImprovedTube" - }, - "improveLogo": { - "message": "Améliorer le logo" - }, - "increasePlaybackSpeed": { - "message": "Accélérer la vitesse de lecture" - }, - "increaseVolume": { - "message": "Augmenter le volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Objets" - }, - "languages": { - "message": "Langues" - }, - "legacyYoutube": { - "message": "Ancienne version de Youtube" - }, - "light": { - "message": "Clair" - }, - "lightBlue": { - "message": "Bleu clair" - }, - "lightGreen": { - "message": "Vert clair" - }, - "like": { - "message": "J'aime" - }, - "likes": { - "message": "J'aime" - }, - "lime": { - "message": "Citron vert" - }, - "list": { - "message": "Liste" - }, - "liveChat": { - "message": "Chat en direct" - }, - "liveChatType": { - "message": "Type de chat en direct" - }, - "loudnessNormalization": { - "message": "Normalisation de l'intensité sonore" - }, - "markWatchedVideos": { - "message": "Marquer les vidéos déjà visionnées" - }, - "customMiniPlayer": { - "message": "Mini-lecteur personnalisé" - }, - "mixer": { - "message": "Mélangeur de volume" - }, - "myColors": { - "message": "Mes couleurs" - }, - "name": { - "message": "Nom" - }, - "nativeMiniPlayer": { - "message": "Mini-lecteur natif" - }, - "new": { - "message": "Nouveau" - }, - "nextVideo": { - "message": "Prochaine vidéo" - }, - "night": { - "message": "Nuit" - }, - "noActiveFeatures": { - "message": "Pas de fonctionalité active" - }, - "none": { - "message": "Aucun" - }, - "noOpenVideoTabs": { - "message": "Aucun onglet de vidéo ouvert" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Vieux" - }, - "onAllVideos": { - "message": "Pour toutes les vidéos" - }, - "onlyActiveOnYoutube": { - "message": "Uniquement actif sur YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Une seule instance à la fois" - }, - "onSubscribedChannels": { - "message": "Sur les chaînes auxquelles je suis abonné" - }, - "orange": { - "message": "Orange" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Autres" - }, - "permissions": { - "message": "Permissions" - }, - "pictureInPicture": { - "message": "Image dans l'image" - }, - "pink": { - "message": "Rose" - }, - "plain": { - "message": "Ordinaire" - }, - "platform": { - "message": "Platforme" - }, - "playbackSpeed": { - "message": "Vitesse de lecture" - }, - "player": { - "message": "Lecteur" - }, - "playerColor": { - "message": "Couleur du lecteur" - }, - "playerSize": { - "message": "Taille du lecteur" - }, - "playlist": { - "message": "Liste de lecture" - }, - "playlists": { - "message": "Listes de lecture" - }, - "playPause": { - "message": "Jouer / Pause" - }, - "popupPlayer": { - "message": "Détacher le lecteur" - }, - "position": { - "message": "Position" - }, - "pressAnyKeyOrScroll": { - "message": "Appuyez sur n'importe quelle touche ou utilisez la molette de la souris." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Appuyez sur n'importe quelle touche ou utilisez la molette de la souris." - }, - "previousVideo": { - "message": "Vidéo précédente" - }, - "primaryColor": { - "message": "Couleur primaire" - }, - "purple": { - "message": "Violet" - }, - "quality": { - "message": "Qualité" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Nous évaluer" - }, - "red": { - "message": "Rouge" - }, - "relatedVideos": { - "message": "Vidéos associés" - }, - "removeRelatedSearchResults": { - "message": "Supprimer les résultats de recherche associés" - }, - "repeat": { - "message": "Lire en boucle" - }, - "reset": { - "message": "Réintialiser" - }, - "resetAllSettings": { - "message": "Réinitialiser les réglages" - }, - "resetAllShortcuts": { - "message": "Réinitialiser les raccourcis" - }, - "reverse": { - "message": "Inverser" - }, - "rotate": { - "message": "Faire pivoter la vidéo" - }, - "save": { - "message": "Sauvegarder" - }, - "saveAs": { - "message": "Sauvegarder sous" - }, - "schedule": { - "message": "Planifier" - }, - "screen": { - "message": "Écran" - }, - "screenshot": { - "message": "Capture d'écran" - }, - "search": { - "message": "Rechercher" - }, - "searchBarOnly": { - "message": "Uniquement la barre de recherche" - }, - "seekBackward10Seconds": { - "message": "Reculer de 10 secondes" - }, - "seekForward10Seconds": { - "message": "Avancer de 10 secondes" - }, - "settings": { - "message": "Réglages" - }, - "settingsSuccessfullyImported": { - "message": "Importation des réglages réussie" - }, - "shortcuts": { - "message": "Raccourcis" - }, - "showCardsOnMouseHover": { - "message": "Afficher les cartes au survol de la souris" - }, - "showChannelVideosCount": { - "message": "Afficher le nombre de vidéos de la chaîne" - }, - "shuffle": { - "message": "Aléatoire" - }, - "sidebar": { - "message": "Barre latérale" - }, - "spacebar": { - "message": "Barre d'espace" - }, - "squaredUserImages": { - "message": "Images des utilisateurs carrées" - }, - "static": { - "message": "Statique" - }, - "step": { - "message": "Étape" - }, - "stop": { - "message": "Arrêter" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "Abonnements" - }, - "subtitles": { - "message": "Activer les sous-titres" - }, - "sunset": { - "message": "Coucher de soleil" - }, - "sunsetToSunrise": { - "message": "Du coucher au lever du Soleil" - }, - "systemPeferenceDark": { - "message": "Préférence système : sombre" - }, - "systemPeferenceLight": { - "message": "Préférence système : clair" - }, - "teal": { - "message": "Sarcelle" - }, - "textColor": { - "message": "Couleur du texte" - }, - "themes": { - "message": "Thèmes" - }, - "thisWillRemoveAllCookies": { - "message": "Supprimer tous les cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Supprimer tous les cookies Youtube." - }, - "thisWillResetAllSettings": { - "message": "Réintialiser les réglages." - }, - "thisWillResetAllShortcuts": { - "message": "Réintialiser les raccourcis." - }, - "thumbnails": { - "message": "Vignettes" - }, - "timeFrom": { - "message": "Temps de" - }, - "timeTo": { - "message": "Temps au" - }, - "todayAt": { - "message": "Aujourd'hui à" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Démarrage automatique des annonces" - }, - "translations": { - "message": "Traductions" - }, - "transparentBackground": { - "message": "Arrière-plan transparent" - }, - "trending": { - "message": "Tendances" - }, - "tryToReloadThePage": { - "message": "Essayez de rafraîchir la page" - }, - "type": { - "message": "Type" - }, - "upNextAutoplay": { - "message": "Prochaine lecture automatique" - }, - "use24HourFormat": { - "message": "Utiliser le format 24 h" - }, - "version": { - "message": "Version" - }, - "video": { - "message": "Vidéo" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "La description de la vidéo sera développée pour obtenir le nom de la catégorie" - }, - "videoFormats": { - "message": "Formats de vidéo" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "À regarder plus tard" - }, - "watchTime": { - "message": "Temps de visionnage" - }, - "whenTabIsChanged": { - "message": "Quand l'onglet change" - }, - "white": { - "message": "Blanc" - }, - "yellow": { - "message": "Jaune" - }, - "youtubeHeaderLeft": { - "message": "En-tête YouTube (à gauche)" - }, - "youtubeHeaderRight": { - "message": "En-tête YouTube (à droite)" - }, - "youtubeHomePage": { - "message": "Page d'accueil de YouTube" - }, - "youtubeLanguage": { - "message": "Langue de YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limite la qualité vidéo à 1080p pour le codec h.264" - }, - "redDislikeButton": { - "message": "Afficher la couleur rouge du bouton Je n'aime pas" - }, - "hideGradientBottom": { - "message": "Masquer le dégradé du bas" - }, - "statsForNerds": { - "message": "Statistiques pour nerd" - }, - "toggleCards": { - "message": "Toggle cards" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "À propos" + }, + "accept": { + "message": "Accepter" + }, + "activate": { + "message": "Activer" + }, + "activateCaptions": { + "message": "Activer les sous-titres" + }, + "activateFullscreen": { + "message": "Activer le plein écran" + }, + "activated": { + "message": "Activé" + }, + "activatedFeatures": { + "message": "Fonctionnalités activées" + }, + "activeFeatures": { + "message": "Fonctionnalités actives" + }, + "addScrollToTop": { + "message": "Ajouter « Remonter en haut »" + }, + "ads": { + "message": "Publicités" + }, + "all": { + "message": "Voir tout" + }, + "allow": { + "message": "Permettre" + }, + "allow60fps": { + "message": "Jouer à 60 fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Toujours activé" + }, + "alwaysShowProgressBar": { + "message": "Toujours afficher la barre de progression" + }, + "amber": { + "message": "Ambre" + }, + "analyzer": { + "message": "Analyser" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Apparence" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Formats de fichier audio" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Plein écran automatique" + }, + "autopauseWhenSwitchingTabs": { + "message": "Pause automatique lors d'un changement d'onglet" + }, + "autoplay": { + "message": "Lecture automatique" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Sauvegarde et réinitialisation" + }, + "baseOnSystemColorScheme": { + "message": "Selon les paramètres du système" + }, + "belowPlayer": { + "message": "Sous le player" + }, + "black": { + "message": "Noir" + }, + "blacklist": { + "message": "Liste noire" + }, + "blockAll": { + "message": "Tout bloquer" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Bleu" + }, + "blueGray": { + "message": "Gris-bleu" + }, + "bluelight": { + "message": "Bleu pâle" + }, + "brown": { + "message": "Brun" + }, + "browser": { + "message": "Navigateur web" + }, + "browserVersion": { + "message": "Version du navigateur web" + }, + "bubbles": { + "message": "Bulles" + }, + "bug": { + "message": "Bogue" + }, + "buttons": { + "message": "Boutons" + }, + "cancel": { + "message": "Retour" + }, + "categories": { + "message": "Catégories" + }, + "channel": { + "message": "Chaîne" + }, + "channels": { + "message": "Chaînes" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Presse-papiers" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Réduire la section des abonnements" + }, + "collapsed": { + "message": "Réduire" + }, + "comments": { + "message": "Commentaires" + }, + "confirmationBeforeClosing": { + "message": "Confirmation avant la fermeture" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Noyaux" + }, + "cropChapterTitles": { + "message": "Couper les titres des chapitres" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "CSS customisé" + }, + "customJs": { + "message": "JS customisé" + }, + "customMiniPlayer": { + "message": "Mini-lecteur personnalisé" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Sombre" + }, + "darkTheme": { + "message": "Thème sombre" + }, + "dateAndTime": { + "message": "Date et temps" + }, + "dawn": { + "message": "Aube" + }, + "decreasePlaybackSpeed": { + "message": "Réduire la vitesse de lecture" + }, + "decreaseVolume": { + "message": "Réduire le volume" + }, + "deepOrange": { + "message": "Orange foncé" + }, + "deepPurple": { + "message": "Violet foncé" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Onglet par défaut d'une chaîne" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Supprimer les cookies YouTube" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Détails" + }, + "developerOptions": { + "message": "Options de développeur" + }, + "device": { + "message": "Appareil" + }, + "dim": { + "message": "Assombrir" + }, + "disabled": { + "message": "Désactivé" + }, + "dislike": { + "message": "Je n'aime pas" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Ne pas changer" + }, + "donate": { + "message": "Donner" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Courriel" + }, + "empty": { + "message": "Vide" + }, + "enabled": { + "message": "Activé" + }, + "enabledForced": { + "message": "Activé (forcé)" + }, + "expanded": { + "message": "Étendu" + }, + "exportSettings": { + "message": "Exporter les réglages" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "Fichier" + }, + "filters": { + "message": "Filtres" + }, + "fitToWindow": { + "message": "Ajuster à la fenêtre" + }, + "flash": { + "message": "Clignoter" + }, + "font": { + "message": "Police" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Bas de page" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Vitesse de lecture forcée" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forcer le mode théâtre" + }, + "forcedVolume": { + "message": "Forcer le volume" + }, + "foundABug": { + "message": "Un bogue?" + }, + "fullWindow": { + "message": "Fenêtre pleine" + }, + "general": { + "message": "Général" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Barre de recherche" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Vert" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniature HD" + }, + "header": { + "message": "Tête de page" + }, + "hidden": { + "message": "Caché" + }, + "hiddenOnVideoPage": { + "message": "Caché sur la page de la vidéo" + }, + "hideAnimatedThumbnails": { + "message": "Miniatures sans animation" + }, + "hideAnnotations": { + "message": "Cacher les annotations" + }, + "hideCards": { + "message": "Cacher les cartes" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Cacher les détails" + }, + "hideEndscreen": { + "message": "Cacher l'écran de fin" + }, + "hideFeaturedContent": { + "message": "Cacher le contenu recommandé" + }, + "hideFooter": { + "message": "Cacher le pied de page" + }, + "hideGradientBottom": { + "message": "Masquer le dégradé du bas" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Cacher la liste de lecture" + }, + "hideRightButtons": { + "message": "Cacher les boutons à droite" + }, + "hideScrollForDetails": { + "message": "Cacher « Faire défiler pour les détails »" + }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Voir le compte des vues" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "Historique" + }, + "home": { + "message": "Accueil" + }, + "hover": { + "message": "Survoler" + }, + "hoverOnVideoPage": { + "message": "Survoler la page de la vidéo" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Depuis combien de temps la vidéo a été téléversé?" + }, + "icons": { + "message": "Icônes" + }, + "iconsOnly": { + "message": "Uniquement les icônes" + }, + "importSettings": { + "message": "Importer les réglages" + }, + "improveLogo": { + "message": "Améliorer le logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "Afficher l'icône ImprovedTube sur YouTube" + }, + "improvedtubeLanguage": { + "message": "Langue d'ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Version d'ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Accélérer la vitesse de lecture" + }, + "increaseVolume": { + "message": "Augmenter le volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Objets" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Langues" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Ancienne version de Youtube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Clair" + }, + "lightBlue": { + "message": "Bleu clair" + }, + "lightGreen": { + "message": "Vert clair" + }, + "like": { + "message": "J'aime" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Citron vert" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "Liste" + }, + "liveChat": { + "message": "Chat en direct" + }, + "liveChatType": { + "message": "Type de chat en direct" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Normalisation de l'intensité sonore" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Marquer les vidéos déjà visionnées" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mélangeur de volume" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "Mes couleurs" + }, + "name": { + "message": "Nom" + }, + "nativeMiniPlayer": { + "message": "Mini-lecteur natif" + }, + "new": { + "message": "Nouveau" + }, + "nextVideo": { + "message": "Prochaine vidéo" + }, + "night": { + "message": "Nuit" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "Pas de fonctionalité active" + }, + "noOpenVideoTabs": { + "message": "Aucun onglet de vidéo ouvert" + }, + "none": { + "message": "Aucun" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Vieux" + }, + "onAllVideos": { + "message": "Pour toutes les vidéos" + }, + "onSubscribedChannels": { + "message": "Sur les chaînes auxquelles je suis abonné" + }, + "onlyActiveOnYoutube": { + "message": "Uniquement actif sur YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Une seule instance à la fois" + }, + "openPopupPlayer": { + "message": "Ouvrir Video/playlist dans un nouvelle onglet" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Autres" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Image dans l'image" + }, + "pink": { + "message": "Rose" + }, + "plain": { + "message": "Ordinaire" + }, + "platform": { + "message": "Platforme" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Lire / Pause" + }, + "playbackSpeed": { + "message": "Vitesse de lecture" + }, + "player": { + "message": "Lecteur" + }, + "playerColor": { + "message": "Couleur du lecteur" + }, + "playerSize": { + "message": "Taille du lecteur" + }, + "playlist": { + "message": "Liste de lecture" + }, + "playlists": { + "message": "Listes de lecture" + }, + "popupPlayer": { + "message": "Détacher le lecteur" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Appuyez sur n'importe quelle touche ou utilisez la molette de la souris." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Appuyez sur n'importe quelle touche ou utilisez la molette de la souris." + }, + "previousVideo": { + "message": "Vidéo précédente" + }, + "primaryColor": { + "message": "Couleur primaire" + }, + "purple": { + "message": "Violet" + }, + "quality": { + "message": "Qualité" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Nous évaluer" + }, + "red": { + "message": "Rouge" + }, + "redDislikeButton": { + "message": "Afficher la couleur rouge du bouton Je n'aime pas" + }, + "relatedVideos": { + "message": "Vidéos associés" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Supprimer les résultats de recherche associés" + }, + "repeat": { + "message": "Lire en boucle" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Réintialiser" + }, + "resetAllSettings": { + "message": "Annuler réglages" + }, + "resetAllShortcuts": { + "message": "Annuler raccourcis" + }, + "reverse": { + "message": "Inverser" + }, + "rotate": { + "message": "Faire pivoter la vidéo" + }, + "save": { + "message": "Ok" + }, + "saveAs": { + "message": "Sauvegarder sous" + }, + "schedule": { + "message": "Plage horaire" + }, + "screen": { + "message": "Écran" + }, + "screenshot": { + "message": "Capture d'écran" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Rechercher" + }, + "searchBarOnly": { + "message": "Uniquement la barre de recherche" + }, + "seekBackward10Seconds": { + "message": "Reculer de 10 secondes" + }, + "seekForward10Seconds": { + "message": "Avancer de 10 secondes" + }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, + "settings": { + "message": "Réglages" + }, + "settingsSuccessfullyImported": { + "message": "Importation des réglages réussie" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Raccourcis" + }, + "showCardsOnMouseHover": { + "message": "Afficher les cartes au survol de la souris" + }, + "showChannelVideosCount": { + "message": "Afficher le nombre de vidéos de la chaîne" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Aléatoire" + }, + "sidebar": { + "message": "Barre latérale" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Barre d'espace" + }, + "squaredUserImages": { + "message": "Images des utilisateurs carrées" + }, + "static": { + "message": "Statique" + }, + "statsForNerds": { + "message": "Statistiques pour nerd" + }, + "step": { + "message": "Étape" + }, + "stop": { + "message": "Arrêter" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Abonnements" + }, + "subtitles": { + "message": "Activer les sous-titres" + }, + "sunset": { + "message": "Coucher de soleil" + }, + "sunsetToSunrise": { + "message": "Du coucher au lever du Soleil" + }, + "systemPeferenceDark": { + "message": "Préférence système : sombre" + }, + "systemPeferenceLight": { + "message": "Préférence système : clair" + }, + "teal": { + "message": "Sarcelle" + }, + "textColor": { + "message": "Couleur du texte" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Thèmes" + }, + "thisWillRemoveAllCookies": { + "message": "Supprimer tous les cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Supprimer tous les cookies Youtube." + }, + "thisWillResetAllSettings": { + "message": "Réintialiser les réglages." + }, + "thisWillResetAllShortcuts": { + "message": "Réintialiser les raccourcis." + }, + "thumbnails": { + "message": "Miniature" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Temps de" + }, + "timeTo": { + "message": "Temps au" + }, + "todayAt": { + "message": "Aujourd'hui à" + }, + "toggleAutoplay": { + "message": "Basculer lecture auto" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Démarrage automatique des annonces" + }, + "translations": { + "message": "Traductions" + }, + "transparentBackground": { + "message": "Arrière-plan transparent" + }, + "trending": { + "message": "Tendances" + }, + "tryToReloadThePage": { + "message": "Essayez de rafraîchir la page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Prochaine lecture automatique" + }, + "use24HourFormat": { + "message": "Utiliser le format 24 h" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Vidéo" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "La description de la vidéo sera développée pour obtenir le nom de la catégorie" + }, + "videoFormats": { + "message": "Formats de vidéo" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "À regarder plus tard" + }, + "watchTime": { + "message": "Temps de visionnage" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Quand l'onglet change" + }, + "white": { + "message": "Blanc" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Jaune" + }, + "youtubeHeaderLeft": { + "message": "En-tête YouTube (à gauche)" + }, + "youtubeHeaderRight": { + "message": "En-tête YouTube (à droite)" + }, + "youtubeHomePage": { + "message": "Page d'accueil de YouTube" + }, + "youtubeLanguage": { + "message": "Langue de YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limite la qualité vidéo à 1080p pour le codec h.264" + } +} \ No newline at end of file diff --git a/_locales/gu/messages.json b/_locales/gu/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/gu/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/he/messages.json b/_locales/he/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/he/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/hin/messages.json b/_locales/hi/messages.json similarity index 74% rename from unstable/_locales/hin/messages.json rename to _locales/hi/messages.json index 33b85badd..55748793a 100644 --- a/unstable/_locales/hin/messages.json +++ b/_locales/hi/messages.json @@ -1,810 +1,1094 @@ -{ - "cropChapterTitles": { - "message": "फसल अध्याय के शीर्षक" - }, - "about": { - "message": "के बारे में" - }, - "accept": { - "message": "स्वीकार" - }, - "activate": { - "message": "सक्रिय" - }, - "activateCaptions": { - "message": "कैप्शन सक्रिय करें" - }, - "activated": { - "message": "सक्रिय" - }, - "activatedFeatures": { - "message": "सक्रिय विशेषताएं" - }, - "activateFullscreen": { - "message": "पूर्णस्क्रीन सक्रिय करें" - }, - "activeFeatures": { - "message": "सक्रिय विशेषताएं" - }, - "addScrollToTop": { - "message": "«शीर्ष पर स्क्रॉल करें» जोड़ें" - }, - "ads": { - "message": "विज्ञापन" - }, - "all": { - "message": "सब" - }, - "allow": { - "message": "अनुमति" - }, - "allow60fps": { - "message": "60fps की अनुमति दें" - }, - "alwaysActive": { - "message": "हमेशा सक्रिय" - }, - "alwaysShowProgressBar": { - "message": "हमेशा प्रगति बार दिखाएं" - }, - "amber": { - "message": "अंबर" - }, - "analyzer": { - "message": "विश्लेषक" - }, - "appearance": { - "message": "दिखावट" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "ऑडियो" - }, - "audioFormats": { - "message": "ऑडियो प्रारूप" - }, - "auto": { - "message": "खुद ब खुद" - }, - "autoFullscreen": { - "message": "स्वत: पूर्ण स्क्रीन" - }, - "autopauseWhenSwitchingTabs": { - "message": "टैब स्विच करते समय ऑटोपॉज" - }, - "autoplay": { - "message": "स्वत: प्ले" - }, - "backupAndReset": { - "message": "बैकअप पुनर्स्थापित करना" - }, - "baseOnSystemColorScheme": { - "message": "सिस्टम रंग योजना के आधार पर" - }, - "belowPlayer": { - "message": "प्लेयर के नीचे" - }, - "black": { - "message": "काला" - }, - "blacklist": { - "message": "काला सूची में डालना" - }, - "blockAll": { - "message": "सभी को अवरोधित करें" - }, - "blue": { - "message": "नीला" - }, - "blueGray": { - "message": "नीला स्लेटी" - }, - "bluelight": { - "message": "नीली बत्ती" - }, - "brown": { - "message": "भूरा" - }, - "browser": { - "message": "ब्राउज़र" - }, - "browserVersion": { - "message": "ब्राउज़र संस्करण" - }, - "bubbles": { - "message": "बुलबुले" - }, - "bug": { - "message": "बग" - }, - "buttons": { - "message": "बटन" - }, - "cancel": { - "message": "रद्द" - }, - "categories": { - "message": "श्रेणियाँ" - }, - "channel": { - "message": "चैनल" - }, - "channels": { - "message": "चैनल" - }, - "clipboard": { - "message": "क्लिपबोर्ड" - }, - "codecH264": { - "message": "कोडक ज 64२६४ 64" - }, - "collapsed": { - "message": "संक्षिप्त" - }, - "collapseOfSubscriptionSections": { - "message": "सदस्यता वर्गों का पतन" - }, - "comments": { - "message": "टिप्पणियाँ" - }, - "confirmationBeforeClosing": { - "message": "बंद करने से पहले पुष्टि" - }, - "cookies": { - "message": "कुकीज़" - }, - "cores": { - "message": "कोर" - }, - "customCss": { - "message": "कस्टम सीएसएस" - }, - "customJs": { - "message": "कस्टम जेएस" - }, - "cyan": { - "message": "सियान" - }, - "dark": { - "message": "अंधेरा" - }, - "darkTheme": { - "message": "डार्क थीम" - }, - "dateAndTime": { - "message": "दिनांक और समय" - }, - "dawn": { - "message": "भोर" - }, - "decreasePlaybackSpeed": { - "message": "पार्श्व गति में कमी" - }, - "decreaseVolume": { - "message": "ध्वनि कम" - }, - "deepOrange": { - "message": "गहरा नारंगी" - }, - "deepPurple": { - "message": "गहरा बैंगनी" - }, - "defaultChannelTab": { - "message": "डिफ़ॉल्ट चैनल टैब" - }, - "deleteYoutubeCookies": { - "message": "यूट्यूब कुकीज़ हटाएं" - }, - "description": { - "message": "विवरण" - }, - "desert": { - "message": "रेगिस्तान" - }, - "details": { - "message": "विवरण" - }, - "developerOptions": { - "message": "डेवलपर विकल्प" - }, - "device": { - "message": "युक्ति" - }, - "dim": { - "message": "मंद" - }, - "disabled": { - "message": "विकलांग" - }, - "dislike": { - "message": "नापसन्द" - }, - "donate": { - "message": "दान" - }, - "doNotChange": { - "message": "मत बदलो" - }, - "draggable": { - "message": "खींचने योग्य" - }, - "email": { - "message": "ईमेल" - }, - "empty": { - "message": "खाली" - }, - "enabled": { - "message": "सक्रिय" - }, - "enabledForced": { - "message": "सक्रिय(मजबूर)" - }, - "expanded": { - "message": "विस्तारित" - }, - "exportSettings": { - "message": "निर्यात सेटिंग्स" - }, - "extension": { - "message": "एक्सटेंशन" - }, - "file": { - "message": "फ़ाइल" - }, - "filters": { - "message": "फिल्टर" - }, - "fitToWindow": { - "message": "स्क्रीन फिट" - }, - "flash": { - "message": "चमक" - }, - "font": { - "message": "फ़ॉन्ट" - }, - "footer": { - "message": "पाद लेख" - }, - "forcedPlaybackSpeed": { - "message": "जबरन पार्श्व गति" - }, - "forcedTheaterMode": { - "message": "जबरन थिएटर मोड" - }, - "forcedVolume": { - "message": "जबरन ध्वनि" - }, - "foundABug": { - "message": "बग मिला?" - }, - "fullWindow": { - "message": "पूर्ण स्क्रीन" - }, - "general": { - "message": "सामान्य" - }, - "github": { - "message": "गिटहब" - }, - "goToSearchBox": { - "message": "सर्च बॉक्स पर जाएं" - }, - "gpu": { - "message": "जी पी यू" - }, - "green": { - "message": "हरा" - }, - "hdThumbnail": { - "message": "एच डी थंबनेल" - }, - "hdThumbnails": { - "message": "एच डी थंबनेल" - }, - "header": { - "message": "हैडर" - }, - "hidden": { - "message": "छिपा हुआ" - }, - "hiddenOnVideoPage": { - "message": "वीडियो पेज पर छिपा हुआ" - }, - "hideAnimatedThumbnails": { - "message": "वीडियो पेज पर छिपा हुआ" - }, - "hideAnnotations": { - "message": "एनोटेशन छुपाएं" - }, - "hideCards": { - "message": "पत्ते छिपाओ" - }, - "hideDetails": { - "message": "जानकारी छिपाएँ" - }, - "hideEndscreen": { - "message": "अंत स्क्रीन छिपाएँ" - }, - "hideFeaturedContent": { - "message": "विशेषताओं को छिपाएँ" - }, - "hideFooter": { - "message": "पाद छिपाएँ" - }, - "hidePlaylist": { - "message": "प्लेलिस्ट छिपाएं" - }, - "hideRightButtons": { - "message": "दाएं बटन छुपाएं" - }, - "hideScrollForDetails": { - "message": "छिपाएँ «विवरण के लिए स्क्रॉल»" - }, - "hideViewsCount": { - "message": "व्यू काउंट छिपाएं" - }, - "history": { - "message": "इतिहास" - }, - "home": { - "message": "घर" - }, - "hover": { - "message": "होवर" - }, - "hoverOnVideoPage": { - "message": "वीडियो पेज पर होवर" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "वीडियो कितनी देर पहले अपलोड किया गया था" - }, - "icons": { - "message": "प्रतीक" - }, - "iconsOnly": { - "message": "केवल प्रतीक" - }, - "importSettings": { - "message": "सेटिंग आयात करना" - }, - "improvedtubeIconInBrowser": { - "message": "ब्राउज़र में बेहतर आइकन" - }, - "improvedtubeIconOnYoutube": { - "message": "यूट्यूब पर बेहतर आइकन" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube भाषा" - }, - "improvedtubeVersion": { - "message": "ImprovedTube संस्करण" - }, - "improveLogo": { - "message": "लोगो सुधारो" - }, - "increasePlaybackSpeed": { - "message": "प्लेबैक स्पीड बढ़ाएं" - }, - "increaseVolume": { - "message": "ध्वनि बढ़ाएं" - }, - "indigo": { - "message": "नील" - }, - "items": { - "message": "आइटम" - }, - "languages": { - "message": "बोली" - }, - "legacyYoutube": { - "message": "विरासत यूट्यूब" - }, - "light": { - "message": "हलका" - }, - "lightBlue": { - "message": "हल्का नीला" - }, - "lightGreen": { - "message": "हल्का हरा" - }, - "like": { - "message": "पसंद" - }, - "likes": { - "message": "को यह पसंद है" - }, - "lime": { - "message": "पीला हरा रंग" - }, - "list": { - "message": "सूची" - }, - "liveChat": { - "message": "सीधी बातचीत" - }, - "liveChatType": { - "message": "लाइव चैट प्रकार" - }, - "loudnessNormalization": { - "message": "जोर से सामान्य होना" - }, - "markWatchedVideos": { - "message": "चिह्नित वीडियो देखे गए" - }, - "customMiniPlayer": { - "message": "कस्टम मिनी प्लेयर" - }, - "mixer": { - "message": "मिक्सर" - }, - "myColors": { - "message": "मेरे रंग" - }, - "name": { - "message": "नाम" - }, - "nativeMiniPlayer": { - "message": "मूल निवासी मिनी प्लेयर" - }, - "new": { - "message": "नया" - }, - "nextVideo": { - "message": "अगला वीडियो" - }, - "night": { - "message": "रात" - }, - "noActiveFeatures": { - "message": "कोई सक्रिय सुविधाएँ नहीं" - }, - "none": { - "message": "कोई नहीं" - }, - "noOpenVideoTabs": { - "message": "कोई खुला वीडियो टैब नहीं" - }, - "normal": { - "message": "साधारण" - }, - "old": { - "message": "पुराना" - }, - "onAllVideos": { - "message": "सभी वीडियो पर" - }, - "onlyActiveOnYoutube": { - "message": "केवल यूट्यूब पर सक्रिय है" - }, - "onlyOnePlayerInstancePlaying": { - "message": "केवल एक प्लेयर का चल रहा है" - }, - "onSubscribedChannels": { - "message": "सदस्यता प्राप्त चैनलों पर" - }, - "orange": { - "message": "नारंगी रंग" - }, - "os": { - "message": "ओ एस" - }, - "other": { - "message": "अन्य" - }, - "permissions": { - "message": "अनुमतियां" - }, - "pictureInPicture": { - "message": "चित्र में चित्र" - }, - "pink": { - "message": "गुलाबी" - }, - "plain": { - "message": "सादा" - }, - "platform": { - "message": "मंच" - }, - "playbackSpeed": { - "message": "प्लेबैक स्पीड" - }, - "player": { - "message": "प्लेयर" - }, - "playerColor": { - "message": "प्लेयर रंग" - }, - "playerSize": { - "message": "प्लेयर आकार" - }, - "playlist": { - "message": "प्लेलिस्ट" - }, - "playlists": { - "message": "प्लेलिस्ट" - }, - "playPause": { - "message": "प्ले / ठहराव" - }, - "popupPlayer": { - "message": "पॉप अप प्लेयर" - }, - "position": { - "message": "स्थान" - }, - "pressAnyKeyOrScroll": { - "message": "किसी भी कुंजी को दबाएं या माउस व्हील का उपयोग करें।" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "किसी भी कुंजी को दबाएं या माउस व्हील का उपयोग करें।" - }, - "previousVideo": { - "message": "पिछला वीडियो" - }, - "primaryColor": { - "message": "प्राथमिक रंग" - }, - "purple": { - "message": "बैंगनी" - }, - "quality": { - "message": "गुणवत्ता" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "हमें रेटिंग दें" - }, - "red": { - "message": "लाल" - }, - "relatedVideos": { - "message": "संबंधित वीडियो" - }, - "removeRelatedSearchResults": { - "message": "संबंधित खोज परिणाम निकालें" - }, - "repeat": { - "message": "दोहराना" - }, - "reset": { - "message": "रीसेट" - }, - "resetAllSettings": { - "message": "सभी सेटिंग्स को रीसेट" - }, - "resetAllShortcuts": { - "message": "सभी शॉर्टकट रीसेट करें" - }, - "reverse": { - "message": "उलटना" - }, - "rotate": { - "message": "घुमाएँ" - }, - "save": { - "message": "सहेजें" - }, - "saveAs": { - "message": "के रूप रक्षित करें" - }, - "schedule": { - "message": "अनुसूची" - }, - "screen": { - "message": "स्क्रीन" - }, - "screenshot": { - "message": "स्क्रीनशॉट" - }, - "search": { - "message": "खोज" - }, - "searchBarOnly": { - "message": "केवल बार खोजें" - }, - "seekBackward10Seconds": { - "message": "पिछड़े 10 सेकंड की तलाश करें" - }, - "seekForward10Seconds": { - "message": "पिछड़े 10 सेकंड की तलाश करें" - }, - "settings": { - "message": "समायोजन" - }, - "settingsSuccessfullyImported": { - "message": "सेटिंग्स सफलतापूर्वक आयात की गईं" - }, - "shortcuts": { - "message": "शॉर्टकट" - }, - "showCardsOnMouseHover": { - "message": "माउस होवर पर कार्ड दिखाएं" - }, - "showChannelVideosCount": { - "message": "चैनल वीडियो काउंट दिखाएं" - }, - "shuffle": { - "message": "मिश्रण" - }, - "sidebar": { - "message": "साइडबार" - }, - "spacebar": { - "message": "स्पेस बार" - }, - "squaredUserImages": { - "message": "चुकता उपयोगकर्ता चित्र" - }, - "static": { - "message": "स्थिर" - }, - "step": { - "message": "चरण" - }, - "stop": { - "message": "रुकें" - }, - "style": { - "message": "अंदाज" - }, - "styles": { - "message": "शैलियाँ" - }, - "subscriptions": { - "message": "सदस्यता" - }, - "subtitles": { - "message": "उपशीर्षक" - }, - "sunset": { - "message": "सूर्यास्त" - }, - "sunsetToSunrise": { - "message": "सूर्योदय से सूर्यास्त" - }, - "systemPeferenceDark": { - "message": "सिस्टम प्राथमिकताएं: अंधेरा" - }, - "systemPeferenceLight": { - "message": "सिस्टम वरीयताएँ: प्रकाश" - }, - "teal": { - "message": "टील रंग" - }, - "textColor": { - "message": "लिखावट का रंग" - }, - "themes": { - "message": "विषय-वस्तु" - }, - "thisWillRemoveAllCookies": { - "message": "यह सभी कुकीज़ को हटा देगा।" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "यह सभी यूट्यूब कुकीज़ को हटा देगा।" - }, - "thisWillResetAllSettings": { - "message": "यह सभी सेटिंग्स को रीसेट कर देगा।" - }, - "thisWillResetAllShortcuts": { - "message": "यह सभी शॉर्टकट रीसेट कर देगा।" - }, - "thumbnails": { - "message": "थंबनेल" - }, - "timeFrom": { - "message": "से समय" - }, - "timeTo": { - "message": "समय पर" - }, - "todayAt": { - "message": "आज इस समय" - }, - "topChat": { - "message": "शीर्ष चैट" - }, - "trailerAutoplay": { - "message": "ट्रेलर ऑटोप्ले" - }, - "translations": { - "message": "अनुवाद" - }, - "transparentBackground": { - "message": "पारदर्शी पृष्ठभूमि" - }, - "trending": { - "message": "रुझान" - }, - "tryToReloadThePage": { - "message": "पृष्ठ को पुनः लोड करने का प्रयास करें" - }, - "type": { - "message": "टाइप" - }, - "upNextAutoplay": { - "message": "अगले ऑटोप्ले पर" - }, - "use24HourFormat": { - "message": "24-घंटे के प्रारूप का उपयोग करें" - }, - "version": { - "message": "संस्करण" - }, - "video": { - "message": "वीडियो" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "श्रेणी का नाम प्राप्त करने के लिए वीडियो विवरण का विस्तार किया जाएगा।" - }, - "videoFormats": { - "message": "वीडियो प्रारूप" - }, - "videos": { - "message": "वीडियो" - }, - "volume": { - "message": "ध्वनि" - }, - "watchLater": { - "message": "बाद में देखना" - }, - "watchTime": { - "message": "समय देखें" - }, - "whenTabIsChanged": { - "message": "जब टैब बदला जाता है" - }, - "white": { - "message": "सफेद" - }, - "yellow": { - "message": "पीला" - }, - "youtubeHeaderLeft": { - "message": "यूट्यूब हैडर (बाएं)" - }, - "youtubeHeaderRight": { - "message": "यूट्यूब हैडर (दाएं)" - }, - "youtubeHomePage": { - "message": "यूट्यूब होम पेज" - }, - "youtubeLanguage": { - "message": "यूट्यूब भाषा" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "यूट्यूब h.264 कोडेक के लिए वीडियो की गुणवत्ता 1080 पी तक सीमित है" - }, - "redDislikeButton": { - "message": "नापसंद बटन लाल रंग दिखाएं" - }, - "hideGradientBottom": { - "message": "ग्रेडिएंट बॉटम छुपाएं" - }, - "statsForNerds": { - "message": "डेवलपर के लिए आँकड़े दिखाएँ" - }, - "toggleCards": { - "message": "Toggle cards" - } -} - +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "के बारे में" + }, + "accept": { + "message": "स्वीकार" + }, + "activate": { + "message": "सक्रिय" + }, + "activateCaptions": { + "message": "कैप्शन सक्रिय करें" + }, + "activateFullscreen": { + "message": "पूर्णस्क्रीन सक्रिय करें" + }, + "activated": { + "message": "सक्रिय" + }, + "activatedFeatures": { + "message": "सक्रिय विशेषताएं" + }, + "activeFeatures": { + "message": "सक्रिय विशेषताएं" + }, + "addScrollToTop": { + "message": "«शीर्ष पर स्क्रॉल करें» जोड़ें" + }, + "ads": { + "message": "विज्ञापन" + }, + "all": { + "message": "सब" + }, + "allow": { + "message": "अनुमति" + }, + "allow60fps": { + "message": "60fps की अनुमति दें" + }, + "alwaysActive": { + "message": "हमेशा सक्रिय" + }, + "alwaysShowProgressBar": { + "message": "हमेशा प्रगति बार दिखाएं" + }, + "amber": { + "message": "अंबर" + }, + "analyzer": { + "message": "विश्लेषक" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "दिखावट" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "ऑडियो" + }, + "audioFormats": { + "message": "ऑडियो प्रारूप" + }, + "auto": { + "message": "खुद ब खुद" + }, + "autoFullscreen": { + "message": "स्वत: पूर्ण स्क्रीन" + }, + "autopauseWhenSwitchingTabs": { + "message": "टैब स्विच करते समय ऑटोपॉज" + }, + "autoplay": { + "message": "स्वत: प्ले" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "पीछे का रंग" + }, + "backgroundOpacity": { + "message": "पृष्ठभूमि अस्पष्टता" + }, + "backupAndReset": { + "message": "बैकअप पुनर्स्थापित करना" + }, + "baseOnSystemColorScheme": { + "message": "सिस्टम रंग योजना के आधार पर" + }, + "belowPlayer": { + "message": "प्लेयर के नीचे" + }, + "black": { + "message": "काला" + }, + "blacklist": { + "message": "काला सूची में डालना" + }, + "blockAll": { + "message": "सभी को अवरोधित करें" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "नीला" + }, + "blueGray": { + "message": "नीला स्लेटी" + }, + "bluelight": { + "message": "नीली बत्ती" + }, + "brown": { + "message": "भूरा" + }, + "browser": { + "message": "ब्राउज़र" + }, + "browserVersion": { + "message": "ब्राउज़र संस्करण" + }, + "bubbles": { + "message": "बुलबुले" + }, + "bug": { + "message": "बग" + }, + "buttons": { + "message": "बटन" + }, + "cancel": { + "message": "रद्द" + }, + "categories": { + "message": "श्रेणियाँ" + }, + "channel": { + "message": "चैनल" + }, + "channels": { + "message": "चैनल" + }, + "characterEdgeStyle": { + "message": "कैरेक्टर एज स्टाइल" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "क्लिपबोर्ड" + }, + "codecH264": { + "message": "कोडक H264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "सदस्यता वर्गों का पतन" + }, + "collapsed": { + "message": "संक्षिप्त" + }, + "comments": { + "message": "टिप्पणियाँ" + }, + "confirmationBeforeClosing": { + "message": "बंद करने से पहले पुष्टि" + }, + "cookies": { + "message": "कुकीज़" + }, + "cores": { + "message": "कोर" + }, + "cropChapterTitles": { + "message": "फसल अध्याय के शीर्षक" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "कस्टम सीएसएस" + }, + "customJs": { + "message": "कस्टम जेएस" + }, + "customMiniPlayer": { + "message": "कस्टम मिनी प्लेयर" + }, + "cyan": { + "message": "सियान" + }, + "dark": { + "message": "अंधेरा" + }, + "darkTheme": { + "message": "डार्क थीम" + }, + "dateAndTime": { + "message": "दिनांक और समय" + }, + "dawn": { + "message": "भोर" + }, + "decreasePlaybackSpeed": { + "message": "पार्श्व गति में कमी" + }, + "decreaseVolume": { + "message": "ध्वनि कम" + }, + "deepOrange": { + "message": "गहरा नारंगी" + }, + "deepPurple": { + "message": "गहरा बैंगनी" + }, + "default": { + "message": "डिफ़ॉल्ट" + }, + "defaultChannelTab": { + "message": "डिफ़ॉल्ट चैनल टैब" + }, + "defaultContentCountry": { + "message": "डिफॉल्ट विषय देश" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "यूट्यूब कुकीज़ हटाएं" + }, + "depressed": { + "message": "उदास" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "YouTube को व्यवस्थित एवं स्मार्ट बनाएं! यूट्यूब वीडियो कलर एड स्किप वॉल्यूम स्पीड चैनल टूल स्टाइल एचडी विज्ञापन एडब्लॉकर टैग कीवर्ड प्लेलिस्ट" + }, + "desert": { + "message": "रेगिस्तान" + }, + "details": { + "message": "विवरण" + }, + "developerOptions": { + "message": "डेवलपर विकल्प" + }, + "device": { + "message": "युक्ति" + }, + "dim": { + "message": "मंद" + }, + "disabled": { + "message": "विकलांग" + }, + "dislike": { + "message": "नापसन्द" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "मत बदलो" + }, + "donate": { + "message": "दान" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "खींचने योग्य" + }, + "dropShadow": { + "message": "परछाई डालना" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "ईमेल" + }, + "empty": { + "message": "खाली" + }, + "enabled": { + "message": "सक्रिय" + }, + "enabledForced": { + "message": "सक्रिय(मजबूर)" + }, + "expanded": { + "message": "विस्तारित" + }, + "exportSettings": { + "message": "निर्यात सेटिंग्स" + }, + "extension": { + "message": "एक्सटेंशन" + }, + "file": { + "message": "फ़ाइल" + }, + "filters": { + "message": "फिल्टर" + }, + "fitToWindow": { + "message": "स्क्रीन फिट" + }, + "flash": { + "message": "चमक" + }, + "font": { + "message": "लिपि" + }, + "fontColor": { + "message": "लिपि का रंग" + }, + "fontFamily": { + "message": "लिपीओ का काि संग्रह" + }, + "fontOpacity": { + "message": "लिपि की अस्पष्टता" + }, + "fontSize": { + "message": "लिपीओ का आकार" + }, + "footer": { + "message": "पाद लेख" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "जबरदस्ती वीडियो शुरू से प्ले करें" + }, + "forcedPlaybackSpeed": { + "message": "जबरन पार्श्व गति" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "जबरन थिएटर मोड" + }, + "forcedVolume": { + "message": "जबरन ध्वनि" + }, + "foundABug": { + "message": "बग मिला?" + }, + "fullWindow": { + "message": "पूर्ण स्क्रीन" + }, + "general": { + "message": "सामान्य" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "गिटहब" + }, + "goToSearchBox": { + "message": "सर्च बॉक्स पर जाएं" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "जी पी यू" + }, + "green": { + "message": "हरा" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "एच डी थंबनेल" + }, + "header": { + "message": "हैडर" + }, + "hidden": { + "message": "छिपा हुआ" + }, + "hiddenOnVideoPage": { + "message": "वीडियो पेज पर छिपा हुआ" + }, + "hideAnimatedThumbnails": { + "message": "वीडियो पेज पर छिपा हुआ" + }, + "hideAnnotations": { + "message": "एनोटेशन छुपाएं" + }, + "hideCards": { + "message": "पत्ते छिपाओ" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "देश कोड छुपाएं" + }, + "hideDate": { + "message": "तारीख छुपाएं" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "जानकारी छिपाएँ" + }, + "hideEndscreen": { + "message": "अंत स्क्रीन छिपाएँ" + }, + "hideFeaturedContent": { + "message": "विशेषताओं को छिपाएँ" + }, + "hideFooter": { + "message": "पाद छिपाएँ" + }, + "hideGradientBottom": { + "message": "ग्रेडिएंट बॉटम छुपाएं" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "प्लेलिस्ट छिपाएं" + }, + "hideRightButtons": { + "message": "दाएं बटन छुपाएं" + }, + "hideScrollForDetails": { + "message": "छिपाएँ «विवरण के लिए स्क्रॉल»" + }, + "hideSkipOverlay": { + "message": "स्किप ओवरले छुपाएं" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "व्यू काउंट छिपाएं" + }, + "hideVoiceSearchButton": { + "message": "ध्वनि खोज बटन छुपाएं" + }, + "high": { + "message": "High" + }, + "history": { + "message": "इतिहास" + }, + "home": { + "message": "घर" + }, + "hover": { + "message": "होवर" + }, + "hoverOnVideoPage": { + "message": "वीडियो पेज पर होवर" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "वीडियो कितनी देर पहले अपलोड किया गया था" + }, + "icons": { + "message": "प्रतीक" + }, + "iconsOnly": { + "message": "केवल प्रतीक" + }, + "importSettings": { + "message": "सेटिंग आयात करना" + }, + "improveLogo": { + "message": "लोगो सुधारो" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "यूट्यूब पर बेहतर आइकन" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube भाषा" + }, + "improvedtubeVersion": { + "message": "ImprovedTube संस्करण" + }, + "increasePlaybackSpeed": { + "message": "प्लेबैक स्पीड बढ़ाएं" + }, + "increaseVolume": { + "message": "ध्वनि बढ़ाएं" + }, + "indigo": { + "message": "नील" + }, + "items": { + "message": "आइटम" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "बोली" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "विरासत यूट्यूब" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "हलका" + }, + "lightBlue": { + "message": "हल्का नीला" + }, + "lightGreen": { + "message": "हल्का हरा" + }, + "like": { + "message": "पसंद" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "पीला हरा रंग" + }, + "limitPageWidth": { + "message": "पृष्ठ की चौड़ाई सीमित करें" + }, + "list": { + "message": "सूची" + }, + "liveChat": { + "message": "सीधी बातचीत" + }, + "liveChatType": { + "message": "लाइव चैट प्रकार" + }, + "location": { + "message": "स्थान" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "जोर से सामान्य होना" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "चिह्नित वीडियो देखे गए" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "मिक्सर" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "मेरे रंग" + }, + "name": { + "message": "नाम" + }, + "nativeMiniPlayer": { + "message": "मूल निवासी मिनी प्लेयर" + }, + "new": { + "message": "नया" + }, + "nextVideo": { + "message": "अगला वीडियो" + }, + "night": { + "message": "रात" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "कोई सक्रिय सुविधाएँ नहीं" + }, + "noOpenVideoTabs": { + "message": "कोई खुला वीडियो टैब नहीं" + }, + "none": { + "message": "कोई नहीं" + }, + "normal": { + "message": "साधारण" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "पुराना" + }, + "onAllVideos": { + "message": "सभी वीडियो पर" + }, + "onSubscribedChannels": { + "message": "सदस्यता प्राप्त चैनलों पर" + }, + "onlyActiveOnYoutube": { + "message": "केवल यूट्यूब पर सक्रिय है" + }, + "onlyOnePlayerInstancePlaying": { + "message": "केवल एक प्लेयर का चल रहा है" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "नारंगी रंग" + }, + "os": { + "message": "ओ एस" + }, + "other": { + "message": "अन्य" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "अनुमतियां" + }, + "pictureInPicture": { + "message": "चित्र में चित्र" + }, + "pink": { + "message": "गुलाबी" + }, + "plain": { + "message": "सादा" + }, + "platform": { + "message": "मंच" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "प्ले / ठहराव" + }, + "playbackSpeed": { + "message": "प्लेबैक स्पीड" + }, + "player": { + "message": "प्लेयर" + }, + "playerColor": { + "message": "प्लेयर रंग" + }, + "playerSize": { + "message": "प्लेयर आकार" + }, + "playlist": { + "message": "प्लेलिस्ट" + }, + "playlists": { + "message": "प्लेलिस्ट" + }, + "popupPlayer": { + "message": "पॉप अप प्लेयर" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "स्थान" + }, + "pressAnyKeyOrScroll": { + "message": "किसी भी कुंजी को दबाएं या माउस व्हील का उपयोग करें।" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "किसी भी कुंजी को दबाएं या माउस व्हील का उपयोग करें।" + }, + "previousVideo": { + "message": "पिछला वीडियो" + }, + "primaryColor": { + "message": "प्राथमिक रंग" + }, + "purple": { + "message": "बैंगनी" + }, + "quality": { + "message": "गुणवत्ता" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "हमें रेटिंग दें" + }, + "red": { + "message": "लाल" + }, + "redDislikeButton": { + "message": "नापसंद बटन लाल रंग दिखाएं" + }, + "relatedVideos": { + "message": "संबंधित वीडियो" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "संबंधित खोज परिणाम निकालें" + }, + "repeat": { + "message": "दोहराना" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "रीसेट" + }, + "resetAllSettings": { + "message": "सभी सेटिंग्स को रीसेट" + }, + "resetAllShortcuts": { + "message": "सभी शॉर्टकट रीसेट करें" + }, + "reverse": { + "message": "उलटना" + }, + "rotate": { + "message": "घुमाएँ" + }, + "save": { + "message": "सहेजें" + }, + "saveAs": { + "message": "के रूप रक्षित करें" + }, + "schedule": { + "message": "अनुसूची" + }, + "screen": { + "message": "स्क्रीन" + }, + "screenshot": { + "message": "स्क्रीनशॉट" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "खोज" + }, + "searchBarOnly": { + "message": "केवल बार खोजें" + }, + "seekBackward10Seconds": { + "message": "पिछड़े 10 सेकंड की तलाश करें" + }, + "seekForward10Seconds": { + "message": "पिछड़े 10 सेकंड की तलाश करें" + }, + "seekNextChapter": { + "message": "अगले अध्याय पर चलें" + }, + "seekPreviousChapter": { + "message": "पिछले अध्याय पर चलें" + }, + "settings": { + "message": "समायोजन" + }, + "settingsSuccessfullyImported": { + "message": "सेटिंग्स सफलतापूर्वक आयात की गईं" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "शॉर्टकट" + }, + "showCardsOnMouseHover": { + "message": "माउस होवर पर कार्ड दिखाएं" + }, + "showChannelVideosCount": { + "message": "चैनल वीडियो काउंट दिखाएं" + }, + "showLess": { + "message": "कम दिखाएं" + }, + "showMore": { + "message": "और दिखाएं" + }, + "showRemainingDuration": { + "message": "वीडियो की बची हुई अवधि दिखाएं" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "मिश्रण" + }, + "sidebar": { + "message": "साइडबार" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "स्पेस बार" + }, + "squaredUserImages": { + "message": "चुकता उपयोगकर्ता चित्र" + }, + "static": { + "message": "स्थिर" + }, + "statsForNerds": { + "message": "डेवलपर के लिए आँकड़े दिखाएँ" + }, + "step": { + "message": "चरण" + }, + "stop": { + "message": "रुकें" + }, + "style": { + "message": "अंदाज" + }, + "styles": { + "message": "शैलियाँ" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "सदस्यता" + }, + "subtitles": { + "message": "उपशीर्षक" + }, + "sunset": { + "message": "सूर्यास्त" + }, + "sunsetToSunrise": { + "message": "सूर्योदय से सूर्यास्त" + }, + "systemPeferenceDark": { + "message": "सिस्टम प्राथमिकताएं: अंधेरा" + }, + "systemPeferenceLight": { + "message": "सिस्टम वरीयताएँ: प्रकाश" + }, + "teal": { + "message": "टील रंग" + }, + "textColor": { + "message": "लिखावट का रंग" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "विषय-वस्तु" + }, + "thisWillRemoveAllCookies": { + "message": "यह सभी कुकीज़ को हटा देगा।" + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "यह सभी यूट्यूब कुकीज़ को हटा देगा।" + }, + "thisWillResetAllSettings": { + "message": "यह सभी सेटिंग्स को रीसेट कर देगा।" + }, + "thisWillResetAllShortcuts": { + "message": "यह सभी शॉर्टकट रीसेट कर देगा।" + }, + "thumbnails": { + "message": "थंबनेल" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "से समय" + }, + "timeTo": { + "message": "समय पर" + }, + "todayAt": { + "message": "आज इस समय" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, + "topChat": { + "message": "शीर्ष चैट" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "ट्रेलर ऑटोप्ले" + }, + "translations": { + "message": "अनुवाद" + }, + "transparentBackground": { + "message": "पारदर्शी पृष्ठभूमि" + }, + "trending": { + "message": "रुझान" + }, + "tryToReloadThePage": { + "message": "पृष्ठ को पुनः लोड करने का प्रयास करें" + }, + "type": { + "message": "टाइप" + }, + "upNextAutoplay": { + "message": "अगले ऑटोप्ले पर" + }, + "use24HourFormat": { + "message": "24-घंटे के प्रारूप का उपयोग करें" + }, + "version": { + "message": "संस्करण" + }, + "video": { + "message": "वीडियो" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "श्रेणी का नाम प्राप्त करने के लिए वीडियो विवरण का विस्तार किया जाएगा।" + }, + "videoFormats": { + "message": "वीडियो प्रारूप" + }, + "videos": { + "message": "वीडियो" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "ध्वनि" + }, + "watchLater": { + "message": "बाद में देखना" + }, + "watchTime": { + "message": "समय देखें" + }, + "whenTabIsChanged": { + "message": "जब टैब बदला जाता है" + }, + "white": { + "message": "सफेद" + }, + "windowColor": { + "message": "विंडो का रंग" + }, + "windowOpacity": { + "message": "विंडो की अस्पष्टता" + }, + "yellow": { + "message": "पीला" + }, + "youtubeHeaderLeft": { + "message": "यूट्यूब हैडर (बाएं)" + }, + "youtubeHeaderRight": { + "message": "यूट्यूब हैडर (दाएं)" + }, + "youtubeHomePage": { + "message": "यूट्यूब होम पेज" + }, + "youtubeLanguage": { + "message": "यूट्यूब भाषा" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "यूट्यूब h.264 कोडेक के लिए वीडियो की गुणवत्ता 1080 पी तक सीमित है" + } +} \ No newline at end of file diff --git a/_locales/hr/messages.json b/_locales/hr/messages.json new file mode 100644 index 000000000..2e90cc824 --- /dev/null +++ b/_locales/hr/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "O" + }, + "accept": { + "message": "Prihvati" + }, + "activate": { + "message": "Aktiviraj" + }, + "activateCaptions": { + "message": "Aktiviraj naslove" + }, + "activateFullscreen": { + "message": "Aktiviraj puni zaslon" + }, + "activated": { + "message": "Aktivirano" + }, + "activatedFeatures": { + "message": "Aktivirane značajke" + }, + "activeFeatures": { + "message": "Aktivne značajke" + }, + "addScrollToTop": { + "message": "Dodaj «Pomaknite se na vrh»" + }, + "ads": { + "message": "Oglasi" + }, + "all": { + "message": "Sve" + }, + "allow": { + "message": "Dopusti" + }, + "allow60fps": { + "message": "Dopusti 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Uvijek aktivan" + }, + "alwaysShowProgressBar": { + "message": "Uvijek prikaži traku napretka" + }, + "amber": { + "message": "Jantar" + }, + "analyzer": { + "message": "Analizator" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Izgled" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formati" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Automatski prikaz preko cijelog zaslona" + }, + "autopauseWhenSwitchingTabs": { + "message": "Automatska pauza prilikom zamjene kartica" + }, + "autoplay": { + "message": "Auto Play" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Sigurnosna kopija i resetiranje" + }, + "baseOnSystemColorScheme": { + "message": "Na temelju shema boja sustava" + }, + "belowPlayer": { + "message": "Ispod Playera" + }, + "black": { + "message": "Crno" + }, + "blacklist": { + "message": "Crna lista" + }, + "blockAll": { + "message": "Blokiraj sve" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Plava" + }, + "blueGray": { + "message": "Plavo siva" + }, + "bluelight": { + "message": "Svijetlo plava" + }, + "brown": { + "message": "Smeđa" + }, + "browser": { + "message": "Preglednik" + }, + "browserVersion": { + "message": "Verzija preglednika" + }, + "bubbles": { + "message": "Mjehurići" + }, + "bug": { + "message": "Greška" + }, + "buttons": { + "message": "Gumbi" + }, + "cancel": { + "message": "Otkaži" + }, + "categories": { + "message": "Kategorije" + }, + "channel": { + "message": "Kanal" + }, + "channels": { + "message": "Kanali" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Međuspremnik" + }, + "codecH264": { + "message": "Kodek h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Skupljanje pretplatničkih odjeljaka" + }, + "collapsed": { + "message": "Skupljeno" + }, + "comments": { + "message": "Komentari" + }, + "confirmationBeforeClosing": { + "message": "Potvrda prije zatvaranja" + }, + "cookies": { + "message": "Kolačići" + }, + "cores": { + "message": "Jezgre" + }, + "cropChapterTitles": { + "message": "Izreži naslove poglavlja" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Prilagođeni CSS" + }, + "customJs": { + "message": "Prilagođeni JS" + }, + "customMiniPlayer": { + "message": "Prilagođeni Mini-Player" + }, + "cyan": { + "message": "Cijan" + }, + "dark": { + "message": "Tamno" + }, + "darkTheme": { + "message": "Tamna tema" + }, + "dateAndTime": { + "message": "Datum & vrijeme" + }, + "dawn": { + "message": "Zora" + }, + "decreasePlaybackSpeed": { + "message": "Smanji brzinu reprodukcije" + }, + "decreaseVolume": { + "message": "Smanji glasnoću" + }, + "deepOrange": { + "message": "Duboko narančasta" + }, + "deepPurple": { + "message": "Duboko ljubičasta" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Zadana kartica kanala" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Izbrišite YouTube kolačiće" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Zasluga" + }, + "details": { + "message": "Pojedinosti" + }, + "developerOptions": { + "message": "Opcije za programere" + }, + "device": { + "message": "Uređaj" + }, + "dim": { + "message": "Priguši" + }, + "disabled": { + "message": "Onemogućeno" + }, + "dislike": { + "message": "Ne sviđa mi se" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Nemoj mijenjati" + }, + "donate": { + "message": "Doniraj" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Povuci" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "E-mail" + }, + "empty": { + "message": "Prazno" + }, + "enabled": { + "message": "Omogućeno" + }, + "enabledForced": { + "message": "Omogućeno (prisilno)" + }, + "expanded": { + "message": "Prošireno" + }, + "exportSettings": { + "message": "Izvoz postavki" + }, + "extension": { + "message": "Proširenje" + }, + "file": { + "message": "Datoteka" + }, + "filters": { + "message": "Filteri" + }, + "fitToWindow": { + "message": "Prilagodi prozoru" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Podnožje" + }, + "forceSDR": { + "message": "Prisilno SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Prisiljena brzina reprodukcije" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Prisiljen kazališni način" + }, + "forcedVolume": { + "message": "Prisiljena glasnoća" + }, + "foundABug": { + "message": "Pronašli ste grešku?" + }, + "fullWindow": { + "message": "Puni prozor" + }, + "general": { + "message": "Općenito" + }, + "geoPreference": { + "message": "Geografske preferencije" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Idite na okvir za pretraživanje" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Zelena" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD sličica" + }, + "header": { + "message": "Zaglavlje" + }, + "hidden": { + "message": "Skriven" + }, + "hiddenOnVideoPage": { + "message": "Skriveno na stranici videozapisa" + }, + "hideAnimatedThumbnails": { + "message": "Sakrij animirane sličice" + }, + "hideAnnotations": { + "message": "Sakrij napomene" + }, + "hideCards": { + "message": "Sakrij kartice" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Sakrij detalje" + }, + "hideEndscreen": { + "message": "Sakrij završni zaslon" + }, + "hideFeaturedContent": { + "message": "Sakrij istaknuti sadržaj" + }, + "hideFooter": { + "message": "Sakrij podnožje" + }, + "hideGradientBottom": { + "message": "Sakrij sjenu oko trake playera" + }, + "hidePlayerControlsBar": { + "message": "Sakrij kontrole playera" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Sakrij popis za reprodukciju" + }, + "hideRightButtons": { + "message": "Sakrij desne gumbe" + }, + "hideScrollForDetails": { + "message": "Sakrij «Pomakni za detalje»" + }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Sakrij gumbe na sličicama" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Sakrij broj pregleda" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "Povijest" + }, + "home": { + "message": "Početna" + }, + "hover": { + "message": "Pređite mišem preko" + }, + "hoverOnVideoPage": { + "message": "Zadržite pokazivač miša na stranici videozapisa" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Prije koliko je vremena video prenesen" + }, + "icons": { + "message": "Ikone" + }, + "iconsOnly": { + "message": "Samo ikone" + }, + "importSettings": { + "message": "Uvezi postavke" + }, + "improveLogo": { + "message": "Poboljšajte logotip" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "Ikona ImprovedTube na YouTubeu" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube jezik" + }, + "improvedtubeVersion": { + "message": "ImprovedTube verzija" + }, + "increasePlaybackSpeed": { + "message": "Povećajte brzinu reprodukcije" + }, + "increaseVolume": { + "message": "Povećajte glasnoću" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Predmeti" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Jezici" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Naslijeđeni YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Svjetlo" + }, + "lightBlue": { + "message": "Svjetlo plava" + }, + "lightGreen": { + "message": "Svjetlo zelena" + }, + "like": { + "message": "Sviđa mi se" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Limeta" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "Lista" + }, + "liveChat": { + "message": "Chat uživo" + }, + "liveChatType": { + "message": "Vrsta chata uživo" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Normalizacija glasnoće" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Označi pogledane videozapise" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mikser" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "Moje boje" + }, + "name": { + "message": "Naziv" + }, + "nativeMiniPlayer": { + "message": "Izvorni mini player" + }, + "new": { + "message": "Novo" + }, + "nextVideo": { + "message": "Sljedeći video" + }, + "night": { + "message": "Noć" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "Nema aktivnih značajki" + }, + "noOpenVideoTabs": { + "message": "Nema otvorenih video kartica" + }, + "none": { + "message": "Nijedna" + }, + "normal": { + "message": "Normalno" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Staro" + }, + "onAllVideos": { + "message": "Na svim video zapisima" + }, + "onSubscribedChannels": { + "message": "Na pretplaćenim kanalima" + }, + "onlyActiveOnYoutube": { + "message": "Aktivno samo na YouTubeu" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Svira samo jedna instanca playera" + }, + "openPopupPlayer": { + "message": "Otvorite videozapis / popis za reprodukciju u novom prozoru" + }, + "orange": { + "message": "Narančasto" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Ostalo" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Dopuštenja" + }, + "pictureInPicture": { + "message": "Slika u slici" + }, + "pink": { + "message": "Ružičasto" + }, + "plain": { + "message": "Jednostavno" + }, + "platform": { + "message": "Platforma" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Reprodukcija / pauza" + }, + "playbackSpeed": { + "message": "Brzina reprodukcije" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Boja playera" + }, + "playerSize": { + "message": "Veličina playera" + }, + "playlist": { + "message": "Popis za reprodukciju" + }, + "playlists": { + "message": "Popisi za reprodukciju" + }, + "popupPlayer": { + "message": "Player u skočnom prozoru" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Položaj" + }, + "pressAnyKeyOrScroll": { + "message": "Pritisnite bilo koju tipku ili upotrijebite kotačić miša." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Pritisnite bilo koju tipku ili upotrijebite kotačić miša" + }, + "previousVideo": { + "message": "Prethodni videozapis" + }, + "primaryColor": { + "message": "Primarna boja" + }, + "purple": { + "message": "Ljubičasta" + }, + "quality": { + "message": "Kvaliteta" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "Radna memorija" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Ocijenite nas" + }, + "red": { + "message": "Crvena" + }, + "redDislikeButton": { + "message": "Prikaži ne sviđa mi se botun u crvenoj boji" + }, + "relatedVideos": { + "message": "Slični videozapisi" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Uklonite slične rezultate pretraživanja" + }, + "repeat": { + "message": "Ponovi" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Resetiraj" + }, + "resetAllSettings": { + "message": "Resetirajte sve postavke" + }, + "resetAllShortcuts": { + "message": "Resetirajte sve prečace" + }, + "reverse": { + "message": "Preokreni" + }, + "rotate": { + "message": "Rotiraj" + }, + "save": { + "message": "Sačuvaj" + }, + "saveAs": { + "message": "Sačuvaj kao" + }, + "schedule": { + "message": "Stavi na raspored" + }, + "screen": { + "message": "Zaslon" + }, + "screenshot": { + "message": "Snimka zaslona" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Pretraži" + }, + "searchBarOnly": { + "message": "Samo traka za pretraživanje" + }, + "seekBackward10Seconds": { + "message": "Traži unatrag 10 sekundi" + }, + "seekForward10Seconds": { + "message": "Traži 10 sekundi prema naprijed" + }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, + "settings": { + "message": "Postavke" + }, + "settingsSuccessfullyImported": { + "message": "Postavke su uspješno uvezene" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Prečaci" + }, + "showCardsOnMouseHover": { + "message": "Pokaži kartice prilikom prelaska miša" + }, + "showChannelVideosCount": { + "message": "Prikaži broj videozapisa na kanalu" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Nasumično" + }, + "sidebar": { + "message": "Bočna traka" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Tipka razmaka" + }, + "squaredUserImages": { + "message": "Korisničke slike u kvadratu" + }, + "static": { + "message": "Statički" + }, + "statsForNerds": { + "message": "Prikaži statistiku za štrebere" + }, + "step": { + "message": "Korak" + }, + "stop": { + "message": "Stani" + }, + "style": { + "message": "Stil" + }, + "styles": { + "message": "Stilovi" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Pretplate" + }, + "subtitles": { + "message": "Titlovi" + }, + "sunset": { + "message": "Zalazak sunca" + }, + "sunsetToSunrise": { + "message": "Od zalaska do izlaska sunca" + }, + "systemPeferenceDark": { + "message": "Postavke sustava: tamno" + }, + "systemPeferenceLight": { + "message": "Postavke sustava: svjetlo" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Boja teksta" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Teme" + }, + "thisWillRemoveAllCookies": { + "message": "Ovo će ukloniti sve kolačiće." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Ovo će ukloniti sve YouTube kolačiće" + }, + "thisWillResetAllSettings": { + "message": "Ovo će resetirati sve postavke." + }, + "thisWillResetAllShortcuts": { + "message": "Ovo će resetirati sve prečace" + }, + "thumbnails": { + "message": "Sličice" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Vrijeme od" + }, + "timeTo": { + "message": "Vrijeme do" + }, + "todayAt": { + "message": "Danas u" + }, + "toggleAutoplay": { + "message": "Uključi / isključi automatsku reprodukciju" + }, + "toggleCards": { + "message": "Uključi / isključi kartice" + }, + "toggleControls": { + "message": "Uključi / isključi kontrole playera" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Automatska reprodukcija kratkog filma" + }, + "translations": { + "message": "Prijevodi" + }, + "transparentBackground": { + "message": "Prozirna pozadina" + }, + "trending": { + "message": "U trendu" + }, + "tryToReloadThePage": { + "message": "Pokušajte ponovo učitati stranicu" + }, + "type": { + "message": "Tip" + }, + "upNextAutoplay": { + "message": "Sljedeća automatska reprodukcija" + }, + "use24HourFormat": { + "message": "Koristite 24-satni format" + }, + "version": { + "message": "Verzija" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "Opis videozapisa biti će proširen kako bi se dobio naziv kategorije" + }, + "videoFormats": { + "message": "Video formati" + }, + "videos": { + "message": "Videozapisi" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Glasnoća" + }, + "watchLater": { + "message": "Gledaj kasnije" + }, + "watchTime": { + "message": "Vrijeme gledanja" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Kada se kartica promijeni" + }, + "white": { + "message": "Bijela" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Žuta" + }, + "youtubeHeaderLeft": { + "message": "YouTube zaglavlje (lijevo)" + }, + "youtubeHeaderRight": { + "message": "YouTube zaglavlje (desno)" + }, + "youtubeHomePage": { + "message": "YouTube početna stranica" + }, + "youtubeLanguage": { + "message": "YouTube jezik" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube ograničava kvalitetu videozapisa na 1080p za h.264 kodek" + } +} \ No newline at end of file diff --git a/_locales/hu/messages.json b/_locales/hu/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/hu/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/id/messages.json b/_locales/id/messages.json similarity index 69% rename from unstable/_locales/id/messages.json rename to _locales/id/messages.json index 75f9af70b..54b743b49 100644 --- a/unstable/_locales/id/messages.json +++ b/_locales/id/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Hilangkan judul babak" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Tentang" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Aktifkan keterangan" }, + "activateFullscreen": { + "message": "Aktifkan layar penuh" + }, "activated": { "message": "Diaktifkan" }, "activatedFeatures": { "message": "Fitur diaktifkan" }, - "activateFullscreen": { - "message": "Aktifkan layar penuh" - }, "activeFeatures": { "message": "Fitur yang aktif" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "Izinkan 60fps" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Selalu aktif" }, @@ -51,22 +63,19 @@ "message": "Amber" }, "analyzer": { - "message": "Analisa" + "message": "Pengnalisa" + }, + "animations": { + "message": "Animations" }, "appearance": { "message": "Tampilan" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "Suara" @@ -86,6 +95,24 @@ "autoplay": { "message": "Putar secara otomatis" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "Cadangkan & setel ulang" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "Blokir semua" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Biru" }, @@ -143,18 +185,27 @@ "channels": { "message": "Saluran" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Clipboard" }, "codecH264": { "message": "Codec h.264" }, - "collapsed": { - "message": "Tutup" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Tutup bagian berlangganan" }, + "collapsed": { + "message": "Tutup" + }, "comments": { "message": "Komentar" }, @@ -167,12 +218,21 @@ "cores": { "message": "Inti" }, + "cropChapterTitles": { + "message": "Potong bagian judul " + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "Kostum CSS" }, "customJs": { "message": "Kostum JS" }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, "cyan": { "message": "Cyan" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "Ungu tua" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "Tab saluran standar" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "Hapus kuki youtube" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Deskripsi" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Gurun" @@ -230,15 +305,27 @@ "dislike": { "message": "Tidak Suka" }, - "donate": { - "message": "Donasi" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Jangan ubah" }, + "donate": { + "message": "Donasi" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Dapat diseret" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "Surel" }, @@ -275,12 +362,33 @@ "font": { "message": "Font" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "Catatan kaki" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "Paksa kecepatan pemutaran" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Paksa mode teater" }, @@ -296,22 +404,31 @@ "general": { "message": "Umum" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Ke kotak pencarian" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Hijau" }, - "hdThumbnail": { - "message": "Gambar kecil HD" + "hardwareInformation": { + "message": "Hardware information" }, - "hdThumbnails": { + "hd": { + "message": "HD" + }, + "hdThumbnail": { "message": "Gambar kecil HD" }, "header": { @@ -332,6 +449,21 @@ "hideCards": { "message": "Sembunyikan kartu" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Sembunyikan detail" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "Sembunyikan catatan kaki" }, + "hideGradientBottom": { + "message": "Sembunyikan Gradient Bagian Bawah" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "Sembunyikan daftar putar" }, @@ -353,9 +497,24 @@ "hideScrollForDetails": { "message": "Sembunyikan «gulir untuk detail»" }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "Sembunyikan jumlah penayangan" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "Sejarah" }, @@ -380,8 +539,11 @@ "importSettings": { "message": "Impor pengaturan" }, - "improvedtubeIconInBrowser": { - "message": "Ikon ImprovedTube di peramban" + "improveLogo": { + "message": "Tingkatkan kualitas logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "Ikon ImprovedTube di YouTube" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "Versi ImprovedTube" }, - "improveLogo": { - "message": "Tingkatkan kualitas logo" - }, "increasePlaybackSpeed": { "message": "Tingkatkan kecepatan pemutaran" }, @@ -407,12 +566,24 @@ "items": { "message": "Item" }, + "language": { + "message": "Language" + }, "languages": { "message": "Bahasa" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "YouTube lama" }, + "library": { + "message": "Library" + }, "light": { "message": "Terang" }, @@ -425,12 +596,18 @@ "like": { "message": "Suka" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "Suka" + "message": "Likes" }, "lime": { "message": "Limau" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "Daftar" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "Jenis obrolan langsung" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Normalkan suara" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "Tandai video yang ditonton" }, - "customMiniPlayer": { - "message": "Custom Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mixer" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "Warna saya" }, @@ -470,32 +668,44 @@ "night": { "message": "Malam" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Tidak ada fitur aktif" }, - "none": { - "message": "Tidak ada" - }, "noOpenVideoTabs": { "message": "Tidak ada tab video terbuka" }, + "none": { + "message": "Tidak ada" + }, "normal": { "message": "Normal" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "Lama" }, "onAllVideos": { "message": "Disetiap video" }, + "onSubscribedChannels": { + "message": "Di saluran berlangganan" + }, "onlyActiveOnYoutube": { "message": "Hanya aktif di YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Hanya mainkan satu pemutar" }, - "onSubscribedChannels": { - "message": "Di saluran berlangganan" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Oranye" @@ -506,6 +716,12 @@ "other": { "message": "Lainnya" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "Perizinan" }, @@ -521,6 +737,12 @@ "platform": { "message": "Platform" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Mulai / Jeda" + }, "playbackSpeed": { "message": "Kecepatan pemutar" }, @@ -539,12 +761,12 @@ "playlists": { "message": "Daftar putar" }, - "playPause": { - "message": "Mulai / Jeda" - }, "popupPlayer": { "message": "Pemutar sembulan" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Posisi" }, @@ -566,24 +788,39 @@ "quality": { "message": "Kualitas video" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "Nilai Kami" }, "red": { "message": "Merah" }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, "relatedVideos": { "message": "Video terkait" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "Hapus hasil pencarian terkait" }, "repeat": { "message": "Putar ulang" }, + "report": { + "message": "Report" + }, "reset": { "message": "Setel ulang" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "Tangkapan layar" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Cari" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "Maju 10 detik" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "Pengaturan" }, "settingsSuccessfullyImported": { "message": "Berhasil mengimpor pengaturan" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Pintasan" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "Tampilkan jumlah video saluran" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Putar secara acak" }, "sidebar": { "message": "Bilah samping" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Bilah spasi" }, @@ -656,6 +923,9 @@ "static": { "message": "Statis" }, + "statsForNerds": { + "message": "Tampilkan statistik bagi para 'kutu buku'" + }, "step": { "message": "Langkah" }, @@ -668,6 +938,9 @@ "styles": { "message": "Mode" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "Berlangganan" }, @@ -692,12 +965,18 @@ "textColor": { "message": "Warna teks" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Tema" }, "thisWillRemoveAllCookies": { "message": "Ini akan menghapus semua kuki." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Ini akan menghapus semua kuki YouTube" }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "Gambar kecil" }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "Waktu dari" }, @@ -719,9 +1001,21 @@ "todayAt": { "message": "Hari ini di" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Alihkan kartu" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "Obrolan teratas" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "Putar otomatis cuplikan" }, @@ -761,6 +1055,9 @@ "videos": { "message": "Video" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "Suara" }, @@ -770,20 +1067,29 @@ "watchTime": { "message": "Waktu tayang" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Saat tab berubah" }, "white": { "message": "Putih" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "Kuning" }, "youtubeHeaderLeft": { - "message": "Kepala YouTube (kiri)" + "message": "Header YouTube (kiri)" }, "youtubeHeaderRight": { - "message": "Kepala YouTube (kanan)" + "message": "Header YouTube (kanan)" }, "youtubeHomePage": { "message": "Beranda YouTube" @@ -793,14 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "YouTube membatasi kualitas video hingga 1080p untuk codec h.264" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" } -} +} \ No newline at end of file diff --git a/unstable/_locales/it/messages.json b/_locales/it/messages.json similarity index 63% rename from unstable/_locales/it/messages.json rename to _locales/it/messages.json index 6117426a9..07017091d 100644 --- a/unstable/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -1,806 +1,1103 @@ -{ - "cropChapterTitles": { - "message": "Ritaglia titoli dei capitoli" - }, - "about": { - "message": "Al riguardo" - }, - "translations": { - "message": "Traduzioni" - }, - "customCss": { - "message": "CSS personalizzato" - }, - "myColors": { - "message": "Miei colori" - }, - "accept": { - "message": "Accetta" - }, - "activate": { - "message": "Attivo/a" - }, - "activateCaptions": { - "message": "Attiva didascalie" - }, - "activated": { - "message": "Attivato/a" - }, - "activatedFeatures": { - "message": "Funzionalità attivate" - }, - "activateFullscreen": { - "message": "Attiva schermo intero" - }, - "activeFeatures": { - "message": "Funzioni disponibili" - }, - "addScrollToTop": { - "message": "Aggiungi «Scorri in cima»" - }, - "ads": { - "message": "Pubblicità" - }, - "all": { - "message": "Tutte" - }, - "allow": { - "message": "Permetti" - }, - "allow60fps": { - "message": "Permetti 60 fps" - }, - "alwaysActive": { - "message": "Sempre attivo" - }, - "alwaysShowProgressBar": { - "message": "Mostra sempre barra di avanzamento" - }, - "amber": { - "message": "Ambra" - }, - "analyzer": { - "message": "Analizzatore" - }, - "appearance": { - "message": "Aspetto" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Formati audio" - }, - "auto": { - "message": "Automatico" - }, - "autoFullscreen": { - "message": "Schermo intero automatico" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausa automatica al cambio scheda" - }, - "autoplay": { - "message": "Avvio automatico" - }, - "backupAndReset": { - "message": "Backup e reimpostazione" - }, - "baseOnSystemColorScheme": { - "message": "Basato sullo schema colore di sistema" - }, - "belowPlayer": { - "message": "Sotto il lettore" - }, - "black": { - "message": "Nero" - }, - "blacklist": { - "message": "Lista nera" - }, - "blockAll": { - "message": "Blocca tutte" - }, - "blue": { - "message": "Blu" - }, - "blueGray": { - "message": "Grigio blu" - }, - "bluelight": { - "message": "Luce blu" - }, - "brown": { - "message": "Marrone" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Versione browser" - }, - "bubbles": { - "message": "Bolle" - }, - "bug": { - "message": "Difetto" - }, - "buttons": { - "message": "Pulsanti" - }, - "cancel": { - "message": "Annulla" - }, - "categories": { - "message": "Categorie" - }, - "channel": { - "message": "Canale" - }, - "channels": { - "message": "Canali" - }, - "clipboard": { - "message": "Appunti" - }, - "codecH264": { - "message": "Codec H.264" - }, - "collapsed": { - "message": "Compressa/i" - }, - "collapseOfSubscriptionSections": { - "message": "Comprimi sezioni di sottoscrizione" - }, - "comments": { - "message": "Commenti" - }, - "confirmationBeforeClosing": { - "message": "Conferma prima della chiusura" - }, - "cookies": { - "message": "Cookie" - }, - "cores": { - "message": "Core" - }, - "customJs": { - "message": "JS personalizzato" - }, - "cyan": { - "message": "Ciano" - }, - "dark": { - "message": "Scuro" - }, - "darkTheme": { - "message": "Tema scuro" - }, - "dateAndTime": { - "message": "Data e ora" - }, - "dawn": { - "message": "Albeggio" - }, - "decreasePlaybackSpeed": { - "message": "Riduci velocità riproduzione" - }, - "decreaseVolume": { - "message": "Riduci volume" - }, - "deepOrange": { - "message": "Arancione profondo" - }, - "deepPurple": { - "message": "Viola profondo" - }, - "defaultChannelTab": { - "message": "Scheda predefinita canale" - }, - "deleteYoutubeCookies": { - "message": "Cancella cookie di YouTube" - }, - "description": { - "message": "Descrizione" - }, - "desert": { - "message": "Deserto" - }, - "details": { - "message": "Dettagli" - }, - "developerOptions": { - "message": "Opzioni per gli sviluppatori" - }, - "device": { - "message": "Dispositivo" - }, - "dim": { - "message": "Smorzamento" - }, - "disabled": { - "message": "Disabilitato" - }, - "dislike": { - "message": "Non gradire" - }, - "donate": { - "message": "Donare" - }, - "doNotChange": { - "message": "Non cambiare" - }, - "draggable": { - "message": "Trascinabile" - }, - "email": { - "message": "E-mail" - }, - "empty": { - "message": "Vuota" - }, - "enabled": { - "message": "Abilitato" - }, - "enabledForced": { - "message": "Abilitato (forzato)" - }, - "expanded": { - "message": "Estesa" - }, - "exportSettings": { - "message": "Esporta impostazioni" - }, - "extension": { - "message": "Estensione" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filtri" - }, - "fitToWindow": { - "message": "Adatta alla finestra" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Footer" - }, - "forcedPlaybackSpeed": { - "message": "Velocità riproduzione forzata" - }, - "forcedTheaterMode": { - "message": "Modalità cinema forzata" - }, - "forcedVolume": { - "message": "Volume forzato" - }, - "foundABug": { - "message": "Trovato un bug?" - }, - "fullWindow": { - "message": "Finestra intera" - }, - "general": { - "message": "Generale" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Vai alla casella di ricerca" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura in altà qualità" - }, - "hdThumbnails": { - "message": "Miniature in alta qualità" - }, - "header": { - "message": "Intestazione" - }, - "hidden": { - "message": "Nascosta/i" - }, - "hiddenOnVideoPage": { - "message": "Nascosta nella pagina video" - }, - "hideAnimatedThumbnails": { - "message": "Nascondi miniature animate" - }, - "hideAnnotations": { - "message": "Nascondi annotazioni" - }, - "hideCards": { - "message": "Nascondi tessere di fine video" - }, - "hideDetails": { - "message": "Nascondi dettagli" - }, - "hideEndscreen": { - "message": "Nascondi finale video" - }, - "hideFeaturedContent": { - "message": "Nascondi contenuti in primo piano" - }, - "hideFooter": { - "message": "Nascondi footer" - }, - "hidePlaylist": { - "message": "Nascondi playlist" - }, - "hideRightButtons": { - "message": "Nascondi pulsanti sulla destra" - }, - "hideScrollForDetails": { - "message": "Nascondi «Scorri per dettagli»" - }, - "hideViewsCount": { - "message": "Nascondi contatore visualizzazioni" - }, - "history": { - "message": "Cronologia" - }, - "home": { - "message": "Pagina iniziale" - }, - "hover": { - "message": "In sospensione" - }, - "hoverOnVideoPage": { - "message": "In sospensione sulla pagine del video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Quanto tempo fa il video è stato caricato" - }, - "icons": { - "message": "Icone" - }, - "iconsOnly": { - "message": "Solo icone" - }, - "importSettings": { - "message": "Importa impostazioni" - }, - "improvedtubeIconInBrowser": { - "message": "Icona ImprovedTube nel browser" - }, - "improvedtubeIconOnYoutube": { - "message": "Icona ImprovedTube su YouTube" - }, - "improvedtubeLanguage": { - "message": "Lingua ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Versione ImprovedTube" - }, - "improveLogo": { - "message": "Migliora logo" - }, - "increasePlaybackSpeed": { - "message": "Aumenta velocità riproduzione" - }, - "increaseVolume": { - "message": "Aumenta volume" - }, - "indigo": { - "message": "Indaco" - }, - "items": { - "message": "Oggetti" - }, - "languages": { - "message": "Lingue" - }, - "legacyYoutube": { - "message": "YouTube versione legacy" - }, - "light": { - "message": "Chiaro" - }, - "lightBlue": { - "message": "Blu chiaro" - }, - "lightGreen": { - "message": "Verde chiaro" - }, - "like": { - "message": "Mi piace" - }, - "likes": { - "message": "Numero di Mi piace" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Chat dal vivo" - }, - "liveChatType": { - "message": "Tipologia chat dal vivo" - }, - "loudnessNormalization": { - "message": "Normalizzazione rumorosità" - }, - "markWatchedVideos": { - "message": "Contrassegna video visti" - }, - "customMiniPlayer": { - "message": "Mini lettore personalizzato" - }, - "mixer": { - "message": "Mixer" - }, - "name": { - "message": "Nome" - }, - "nativeMiniPlayer": { - "message": "Mini lettore nativo" - }, - "new": { - "message": "Nuovo" - }, - "nextVideo": { - "message": "Prossimo video" - }, - "night": { - "message": "Notte" - }, - "noActiveFeatures": { - "message": "Nessuna funzionalità attivata" - }, - "none": { - "message": "Alcuno/a" - }, - "noOpenVideoTabs": { - "message": "Nessuna scheda video aperta" - }, - "normal": { - "message": "Standard" - }, - "old": { - "message": "Vecchio" - }, - "onAllVideos": { - "message": "Su tutti i video" - }, - "onlyActiveOnYoutube": { - "message": "Attivo solo su YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Istanza unica di riproduzione attiva" - }, - "onSubscribedChannels": { - "message": "Su canali iscritti" - }, - "orange": { - "message": "Arancione" - }, - "os": { - "message": "Sistema operativo" - }, - "other": { - "message": "Altro" - }, - "permissions": { - "message": "Autorizzazioni" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Pianura" - }, - "platform": { - "message": "Piattaforma" - }, - "playbackSpeed": { - "message": "Velocità riproduzione" - }, - "player": { - "message": "Lettore" - }, - "playerColor": { - "message": "Colore lettore" - }, - "playerSize": { - "message": "Dimensione lettore" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlist" - }, - "playPause": { - "message": "Avvio / Pausa" - }, - "popupPlayer": { - "message": "Lettore pop-up" - }, - "position": { - "message": "Posizione" - }, - "pressAnyKeyOrScroll": { - "message": "Premere un qualunque tasto o scorrere" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Premere un qualunque tasto o usare rotella del mouse" - }, - "previousVideo": { - "message": "Video precedente" - }, - "primaryColor": { - "message": "Colore primario" - }, - "purple": { - "message": "Viola" - }, - "quality": { - "message": "Qualità" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Valutaci" - }, - "red": { - "message": "Rosso" - }, - "relatedVideos": { - "message": "Video correlati" - }, - "removeRelatedSearchResults": { - "message": "Rimuovi risultati di ricerca correlati" - }, - "repeat": { - "message": "Ripeti" - }, - "reset": { - "message": "Reimpostazione" - }, - "resetAllSettings": { - "message": "Reimposta tutte le impostazioni" - }, - "resetAllShortcuts": { - "message": "Reimposta tutte le scorciatoie" - }, - "reverse": { - "message": "Inverti" - }, - "rotate": { - "message": "Ruota" - }, - "save": { - "message": "Salva" - }, - "saveAs": { - "message": "Salva come" - }, - "schedule": { - "message": "Programmazione" - }, - "screen": { - "message": "Schermo" - }, - "screenshot": { - "message": "Screenshot" - }, - "search": { - "message": "Ricerca" - }, - "searchBarOnly": { - "message": "Cerca solamente nella barra" - }, - "seekBackward10Seconds": { - "message": "Muovi indietro 10 secondi" - }, - "seekForward10Seconds": { - "message": "Muovi avanti 10 secondi" - }, - "settings": { - "message": "Impostazioni" - }, - "settingsSuccessfullyImported": { - "message": "Impostazioni importate con successo" - }, - "shortcuts": { - "message": "Scorciatoie" - }, - "showCardsOnMouseHover": { - "message": "Mostra tessere di fine video al passaggio del mouse" - }, - "showChannelVideosCount": { - "message": "Mostra contatore visualizzazioni canale" - }, - "shuffle": { - "message": "Riproduzione casuale" - }, - "sidebar": { - "message": "Barra laterale" - }, - "spacebar": { - "message": "Barra spaziatrice" - }, - "squaredUserImages": { - "message": "Immagini utenti squadrate" - }, - "static": { - "message": "Statica" - }, - "stop": { - "message": "Arresto" - }, - "style": { - "message": "Stile" - }, - "styles": { - "message": "Stili" - }, - "subscriptions": { - "message": "Sottoscrizioni" - }, - "subtitles": { - "message": "Sottotitoli" - }, - "sunset": { - "message": "Tramonto" - }, - "sunsetToSunrise": { - "message": "Dal tramonto all'alba" - }, - "systemPeferenceDark": { - "message": "Preferenza di sistema: scuro" - }, - "systemPeferenceLight": { - "message": "Preferenza di sistema: chiaro" - }, - "teal": { - "message": "Verde acqua" - }, - "textColor": { - "message": "Colore testo" - }, - "themes": { - "message": "Temi" - }, - "thisWillRemoveAllCookies": { - "message": "Questo rimuoverà tutti i cookie" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Questo rimuoverà tutti i cookie di YouTube" - }, - "thisWillResetAllSettings": { - "message": "Questo rimuoverà tutte le impostazioni" - }, - "thisWillResetAllShortcuts": { - "message": "Questo Reimposterà tutte le scorciatoie" - }, - "thumbnails": { - "message": "Miniature" - }, - "timeFrom": { - "message": "Dalle ore" - }, - "timeTo": { - "message": "Alle ore" - }, - "todayAt": { - "message": "Oggi alle" - }, - "topChat": { - "message": "Chat superiore" - }, - "trailerAutoplay": { - "message": "Avvio automatico trailer" - }, - "transparentBackground": { - "message": "Sfondo trasparente" - }, - "trending": { - "message": "Di tendenza" - }, - "tryToReloadThePage": { - "message": "Provare a ricaricare la pagina" - }, - "type": { - "message": "Tipologia" - }, - "upNextAutoplay": { - "message": "Avvio automatico prossimo video" - }, - "use24HourFormat": { - "message": "Usa formato a 24 ore" - }, - "version": { - "message": "Numero versione" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "La descrizione del video verrà espansa per ottenere il nome della categoria" - }, - "videoFormats": { - "message": "Formati video" - }, - "videos": { - "message": "Video" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Guarda più tardi" - }, - "watchTime": { - "message": "Tempo di visione" - }, - "whenTabIsChanged": { - "message": "Quando la scheda è cambiata" - }, - "white": { - "message": "Bianco" - }, - "yellow": { - "message": "Giallo" - }, - "youtubeHeaderLeft": { - "message": "Intestazione YouTube (sinistra)" - }, - "youtubeHeaderRight": { - "message": "Intestazione YouTube (destra)" - }, - "youtubeHomePage": { - "message": "Pagina iniziale YouTube" - }, - "youtubeLanguage": { - "message": "Lingua YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limita la qualità video a 1080p per il codec h.264" - }, - "redDislikeButton": { - "message": "Mostra pulsante Non mi piace in rosso" - }, - "hideGradientBottom": { - "message": "Nascondi fondo gradiente" - }, - "statsForNerds": { - "message": "Visualizza statistiche per nerd" - }, - "toggleCards": { - "message": "Dis/attiva tessere di fine video" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Al riguardo" + }, + "accept": { + "message": "Accetta" + }, + "activate": { + "message": "Attivo/a" + }, + "activateCaptions": { + "message": "Attiva didascalie" + }, + "activateFullscreen": { + "message": "Attiva schermo intero" + }, + "activated": { + "message": "Attivato/a" + }, + "activatedFeatures": { + "message": "Funzionalità attivate" + }, + "activeFeatures": { + "message": "Funzioni disponibili" + }, + "addScrollToTop": { + "message": "Aggiungi «Scorri in cima»" + }, + "ads": { + "message": "Pubblicità" + }, + "all": { + "message": "Tutte" + }, + "allow": { + "message": "Permetti" + }, + "allow60fps": { + "message": "Permetti 60 fps" + }, + "always": { + "message": "Sempre" + }, + "alwaysActive": { + "message": "Sempre attivo" + }, + "alwaysShowProgressBar": { + "message": "Mostra sempre barra di avanzamento" + }, + "amber": { + "message": "Ambra" + }, + "analyzer": { + "message": "Analizzatore" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Aspetto" + }, + "areYouSureYouWantToExportTheData": { + "message": "Sicuri di voler esportare i dati?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Sicuri di voler importare i dati?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Formati audio" + }, + "auto": { + "message": "Automatico" + }, + "autoFullscreen": { + "message": "Schermo intero automatico" + }, + "autopauseWhenSwitchingTabs": { + "message": "Pausa automatica al cambio di scheda" + }, + "autoplay": { + "message": "Avvio automatico" + }, + "avoidAv1": { + "message": "Evita AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Evita AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Evita AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Evita rendering tramite CPU quando possibile" + }, + "backgroundColor": { + "message": "Colore di sfondo" + }, + "backgroundOpacity": { + "message": "Opacità di sfondo" + }, + "backupAndReset": { + "message": "Backup e reimpostazione" + }, + "baseOnSystemColorScheme": { + "message": "Basato sullo schema di colore del sistema" + }, + "belowPlayer": { + "message": "Sotto il lettore" + }, + "black": { + "message": "Nero" + }, + "blacklist": { + "message": "Lista nera" + }, + "blockAll": { + "message": "Blocca tutte" + }, + "blockAv1": { + "message": "Blocca AV1" + }, + "blockH264": { + "message": "Blocca H.264" + }, + "blockMusic": { + "message": "Blocca musica" + }, + "blockVp8": { + "message": "Blocca VP8" + }, + "blockVp9": { + "message": "Blocca VP9" + }, + "blue": { + "message": "Blu" + }, + "blueGray": { + "message": "Grigio blu" + }, + "bluelight": { + "message": "Luce blu" + }, + "brown": { + "message": "Marrone" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Versione browser" + }, + "bubbles": { + "message": "Bolle" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Pulsanti" + }, + "cancel": { + "message": "Annulla" + }, + "categories": { + "message": "Categorie" + }, + "channel": { + "message": "Canale" + }, + "channels": { + "message": "Canali" + }, + "characterEdgeStyle": { + "message": "Stile del bordo carattere" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Appunti" + }, + "codecH264": { + "message": "Codec H.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Comprimi sezioni di sottoscrizione" + }, + "collapsed": { + "message": "Compressa/i" + }, + "comments": { + "message": "Commenti" + }, + "confirmationBeforeClosing": { + "message": "Conferma prima della chiusura" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Core" + }, + "cropChapterTitles": { + "message": "Ritaglia titoli dei capitoli" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "CSS personalizzato" + }, + "customJs": { + "message": "JS personalizzato" + }, + "customMiniPlayer": { + "message": "Mini lettore personalizzato" + }, + "cyan": { + "message": "Ciano" + }, + "dark": { + "message": "Scuro" + }, + "darkTheme": { + "message": "Tema scuro" + }, + "dateAndTime": { + "message": "Data e ora" + }, + "dawn": { + "message": "Albeggio" + }, + "decreasePlaybackSpeed": { + "message": "Riduci velocità di riproduzione" + }, + "decreaseVolume": { + "message": "Diminuisci volume" + }, + "deepOrange": { + "message": "Arancione intenso" + }, + "deepPurple": { + "message": "Viola intenso" + }, + "default": { + "message": "Predefinito" + }, + "defaultChannelTab": { + "message": "Scheda predefinita" + }, + "defaultContentCountry": { + "message": "Paese del contenuto predefinito" + }, + "deleteWatchedVideos": { + "message": "Elimina video guardati" + }, + "deleteYoutubeCookies": { + "message": "Cancella cookie YouTube" + }, + "depressed": { + "message": "Depresso" + }, + "description": { + "message": "Descrizione" + }, + "description_ext": { + "message": "Rendi YouTube ordinato & intelligente! YouTube colore video salta annuncio volume velocità canale utensile stile HD annunci blocca-annunci etichette tags keyword playlist" + }, + "desert": { + "message": "Deserto" + }, + "details": { + "message": "Dettagli" + }, + "developerOptions": { + "message": "Opzioni per sviluppatori" + }, + "device": { + "message": "Dispositivo" + }, + "dim": { + "message": "Smorzamento" + }, + "disabled": { + "message": "Disabilitata" + }, + "dislike": { + "message": "Non mi piace" + }, + "displayDayOfTheWeak": { + "message": "Mostra il giorno della settimana" + }, + "doNotChange": { + "message": "Non cambiare" + }, + "donate": { + "message": "Donazione" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Trascinabile" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Mostra il tempo rimanente con riferimento alla velocità di riproduzione" + }, + "email": { + "message": "E-mail" + }, + "empty": { + "message": "Vuota" + }, + "enabled": { + "message": "Abilitato" + }, + "enabledForced": { + "message": "Abilitato (forzato)" + }, + "expanded": { + "message": "Estesa" + }, + "exportSettings": { + "message": "Esporta impostazioni" + }, + "extension": { + "message": "Estensione" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filtri" + }, + "fitToWindow": { + "message": "Adatta alla finestra" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Colore font" + }, + "fontFamily": { + "message": "Famiglia font" + }, + "fontOpacity": { + "message": "Opacità font" + }, + "fontSize": { + "message": "Dimensione font" + }, + "footer": { + "message": "Piè di pagina" + }, + "forceSDR": { + "message": "Forza SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Riproduzione forzata di video dall'inizio" + }, + "forcedPlaybackSpeed": { + "message": "Velocità di riproduzione forzata" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Modalità cinema forzata" + }, + "forcedVolume": { + "message": "Volume forzato" + }, + "foundABug": { + "message": "Trovato un bug?" + }, + "fullWindow": { + "message": "Finestra intera" + }, + "general": { + "message": "Generale" + }, + "geoPreference": { + "message": "Preferenza Geo" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Vai alla casella di ricerca" + }, + "googleApiKey": { + "message": "Chiave API di Google" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Verde" + }, + "hardwareInformation": { + "message": "Informazioni hardware" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniatura in altà qualità" + }, + "header": { + "message": "Intestazione" + }, + "hidden": { + "message": "Nascosta/i" + }, + "hiddenOnVideoPage": { + "message": "Nascosta nella pagina video" + }, + "hideAnimatedThumbnails": { + "message": "Nascondi miniature animate" + }, + "hideAnnotations": { + "message": "Nascondi annotazioni" + }, + "hideCards": { + "message": "Nascondi tessere di fine video" + }, + "hideCategories": { + "message": "Nascondi categorie" + }, + "hideCommentsCount": { + "message": "Nascondi il numero dei commenti" + }, + "hideCountryCode": { + "message": "Nascondi codice paese" + }, + "hideDate": { + "message": "Nascondi data" + }, + "hideDetailButton": { + "message": "Nascondi il pulsante dei dettagli" + }, + "hideDetails": { + "message": "Nascondi dettagli" + }, + "hideEndscreen": { + "message": "Nascondi finale video" + }, + "hideFeaturedContent": { + "message": "Nascondi contenuti in primo piano" + }, + "hideFooter": { + "message": "Nascondi piè di pagina" + }, + "hideGradientBottom": { + "message": "Nascondi fondo gradiente" + }, + "hidePlayerControlsBar": { + "message": "Nascondi barra dei controlli del lettore" + }, + "hidePlayerControlsBarButtons": { + "message": "Nascondi pulsanti della barra dei controlli del lettore" + }, + "hidePlayerControlsBarOptions": { + "message": "Nascondi opzioni di controllo del lettore" + }, + "hidePlaylist": { + "message": "Nascondi scaletta" + }, + "hideRightButtons": { + "message": "Nascondi pulsanti sulla destra" + }, + "hideScrollForDetails": { + "message": "Nascondi «Scorri per dettagli»" + }, + "hideSkipOverlay": { + "message": "Nascondi \"Salta overlay\"" + }, + "hideThumbnailOverlay": { + "message": "Nascondi overlay miniature" + }, + "hideThumbnails": { + "message": "Nascondi miniature" + }, + "hideViewsCount": { + "message": "Nascondi contatore visualizzazioni" + }, + "hideVoiceSearchButton": { + "message": "Nascondi buttone di ricerca vocale" + }, + "high": { + "message": "Alto" + }, + "history": { + "message": "Cronologia" + }, + "home": { + "message": "Pagina iniziale" + }, + "hover": { + "message": "In sospensione" + }, + "hoverOnVideoPage": { + "message": "In sospensione sulla pagine del video" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Quanto tempo fa il video è stato caricato" + }, + "icons": { + "message": "Icone" + }, + "iconsOnly": { + "message": "Solo icone" + }, + "importSettings": { + "message": "Importa impostazioni" + }, + "improveLogo": { + "message": "Migliora logo YouTube" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "Icona su YouTube" + }, + "improvedtubeLanguage": { + "message": "Lingua" + }, + "improvedtubeVersion": { + "message": "Versione" + }, + "increasePlaybackSpeed": { + "message": "Incrementa velocità di riproduzione" + }, + "increaseVolume": { + "message": "Aumenta volume" + }, + "indigo": { + "message": "Indaco" + }, + "items": { + "message": "Oggetti" + }, + "language": { + "message": "Lingua" + }, + "languages": { + "message": "Lingue" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "YouTube versione legacy" + }, + "library": { + "message": "Librerie" + }, + "light": { + "message": "Chiaro" + }, + "lightBlue": { + "message": "Blu chiaro" + }, + "lightGreen": { + "message": "Verde chiaro" + }, + "like": { + "message": "Mi piace" + }, + "liked": { + "message": "Piaciuto" + }, + "likes": { + "message": "Mi piace" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limita larghezza pagina" + }, + "list": { + "message": "Lista" + }, + "liveChat": { + "message": "Chat dal vivo" + }, + "liveChatType": { + "message": "Tipologia chat dal vivo" + }, + "location": { + "message": "Luogo" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Normalizzazione rumorosità" + }, + "low": { + "message": "Basso" + }, + "markWatchedVideos": { + "message": "Contrassegna video visti" + }, + "medium": { + "message": "Medio" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "Di piú" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Sposta barra laterale a sinistra" + }, + "moveThumbnailsRight": { + "message": "Sposta miniature a destra" + }, + "myColors": { + "message": "Miei colori" + }, + "name": { + "message": "Nome" + }, + "nativeMiniPlayer": { + "message": "Mini lettore nativo" + }, + "new": { + "message": "Nuovo" + }, + "nextVideo": { + "message": "Prossimo video" + }, + "night": { + "message": "Notte" + }, + "nightMode": { + "message": "Molta notturna" + }, + "noActiveFeatures": { + "message": "Nessuna funzione attivata" + }, + "noOpenVideoTabs": { + "message": "Nessuna scheda video aperta" + }, + "none": { + "message": "Nessuno" + }, + "normal": { + "message": "Standard" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Vecchio" + }, + "onAllVideos": { + "message": "Su tutti i video" + }, + "onSubscribedChannels": { + "message": "In canali sottoscritti" + }, + "onlyActiveOnYoutube": { + "message": "Attivo solo su YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Istanza unica di riproduzione attiva" + }, + "openPopupPlayer": { + "message": "Apri video/playlist in una nuova finestra" + }, + "orange": { + "message": "Arancione" + }, + "os": { + "message": "Sistema Operativo" + }, + "other": { + "message": "Altro" + }, + "outline": { + "message": "Contorno" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Autorizzazioni" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Rosa" + }, + "plain": { + "message": "Pianura" + }, + "platform": { + "message": "Piattaforma" + }, + "playAllButton": { + "message": "\"Riproduci tutto\" pulsante" + }, + "playPause": { + "message": "Avvio/Pausa" + }, + "playbackSpeed": { + "message": "Velocità di riproduzione" + }, + "player": { + "message": "Lettore" + }, + "playerColor": { + "message": "Colore lettore" + }, + "playerSize": { + "message": "Dimensione lettore" + }, + "playlist": { + "message": "Scaletta" + }, + "playlists": { + "message": "Scalette" + }, + "popupPlayer": { + "message": "Lettore pop-up" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Posizione" + }, + "pressAnyKeyOrScroll": { + "message": "Premere un qualunque tasto o scorrere" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Premere un qualunque tasto o usare rotella del mouse" + }, + "previousVideo": { + "message": "Video precedente" + }, + "primaryColor": { + "message": "Colore primario" + }, + "purple": { + "message": "Viola" + }, + "quality": { + "message": "Qualità" + }, + "raised": { + "message": "Rialzato" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Valutami" + }, + "rateUs": { + "message": "Valutaci" + }, + "red": { + "message": "Rosso" + }, + "redDislikeButton": { + "message": "Mostra pulsante Non mi piace in rosso" + }, + "relatedVideos": { + "message": "Video correlati" + }, + "remote": { + "message": "Riproduci su tv" + }, + "removeRelatedSearchResults": { + "message": "Rimuovi risultati di ricerca correlati" + }, + "repeat": { + "message": "Ripeti" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reimposta" + }, + "resetAllSettings": { + "message": "Reimposta tutte le impostazioni" + }, + "resetAllShortcuts": { + "message": "Reimposta tutte le scorciatoie" + }, + "reverse": { + "message": "Inverti" + }, + "rotate": { + "message": "Ruota" + }, + "save": { + "message": "Salva" + }, + "saveAs": { + "message": "Salva come" + }, + "schedule": { + "message": "Programmazione" + }, + "screen": { + "message": "Schermo" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Barra di scorrimento" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Ricerca" + }, + "searchBarOnly": { + "message": "Cerca solamente nella barra" + }, + "seekBackward10Seconds": { + "message": "Muovi indietro 10 secondi" + }, + "seekForward10Seconds": { + "message": "Muovi avanti 10 secondi" + }, + "seekNextChapter": { + "message": "Cerca prossimo capitolo" + }, + "seekPreviousChapter": { + "message": "Cerca precedente capitolo" + }, + "settings": { + "message": "Impostazioni" + }, + "settingsSuccessfullyImported": { + "message": "Impostazioni importate con successo" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Scorciatoie" + }, + "showCardsOnMouseHover": { + "message": "Mostra tessere di fine video al passaggio del puntatore" + }, + "showChannelVideosCount": { + "message": "Mostra contatore visualizzazioni canale" + }, + "showLess": { + "message": "Mostra meno" + }, + "showMore": { + "message": "Mostra altro" + }, + "showRemainingDuration": { + "message": "Mostra durata residua del video" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Riproduzione casuale" + }, + "sidebar": { + "message": "Barra laterale" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Barra spaziatrice" + }, + "squaredUserImages": { + "message": "Immagini utente squadrate" + }, + "static": { + "message": "Statica" + }, + "statsForNerds": { + "message": "Visualizza statistiche per nerd" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Arresto" + }, + "style": { + "message": "Stile" + }, + "styles": { + "message": "Stili" + }, + "subscribe": { + "message": "Sottoscrivi" + }, + "subscriptions": { + "message": "Sottoscrizioni" + }, + "subtitles": { + "message": "Sottotitoli" + }, + "sunset": { + "message": "Tramonto" + }, + "sunsetToSunrise": { + "message": "Dal tramonto all'alba" + }, + "systemPeferenceDark": { + "message": "Preferenza di sistema: scuro" + }, + "systemPeferenceLight": { + "message": "Preferenza di sistema: chiaro" + }, + "teal": { + "message": "Verde acqua" + }, + "textColor": { + "message": "Colore testo" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Temi" + }, + "thisWillRemoveAllCookies": { + "message": "Questo rimuoverà tutti i cookies" + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Questo rimuoverà tutti i cookies di YouTube" + }, + "thisWillResetAllSettings": { + "message": "Questo reimposterà l'intera configurazione" + }, + "thisWillResetAllShortcuts": { + "message": "Questo reimposterà tutte le scorciatoie" + }, + "thumbnails": { + "message": "Miniature" + }, + "thumbnailsQuality": { + "message": "Qualità miniature" + }, + "timeFrom": { + "message": "Dalle ore" + }, + "timeTo": { + "message": "Alle ore" + }, + "todayAt": { + "message": "Oggi alle" + }, + "toggleAutoplay": { + "message": "Dis/attiva riproduzione automatica" + }, + "toggleCards": { + "message": "Dis/attiva tessere di fine video" + }, + "toggleControls": { + "message": "Attiva/disattiva i controlli" + }, + "topChat": { + "message": "Chat superiore" + }, + "trackWatchedVideos": { + "message": "Traccia video guardati" + }, + "trailerAutoplay": { + "message": "Avvio automatico trailer" + }, + "translations": { + "message": "Traduzioni" + }, + "transparentBackground": { + "message": "Sfondo trasparente" + }, + "trending": { + "message": "In tendenza" + }, + "tryToReloadThePage": { + "message": "Provare a ricaricare la pagina" + }, + "type": { + "message": "Tipologia" + }, + "upNextAutoplay": { + "message": "Riproduzione automatica video successivo" + }, + "use24HourFormat": { + "message": "Usa formato a 24 ore" + }, + "version": { + "message": "Numero versione" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "La descrizione del video verrà espansa per ottenere il nome della categoria" + }, + "videoFormats": { + "message": "Formati video" + }, + "videos": { + "message": "Video" + }, + "viewMode": { + "message": "Modalità cinema" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Guarda più tardi" + }, + "watchTime": { + "message": "Tempo di visione" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Quando si cambia scheda" + }, + "white": { + "message": "Bianco" + }, + "windowColor": { + "message": "Colore finestra" + }, + "windowOpacity": { + "message": "Opacità finestra" + }, + "yellow": { + "message": "Giallo" + }, + "youtubeHeaderLeft": { + "message": "Intestazione YouTube (sinistra)" + }, + "youtubeHeaderRight": { + "message": "Intestazione YouTube (destra)" + }, + "youtubeHomePage": { + "message": "Pagina iniziale YouTube" + }, + "youtubeLanguage": { + "message": "Lingua YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limita la qualità video a 1080p per il codec h.264" + } +} diff --git a/unstable/_locales/ja/messages.json b/_locales/ja/messages.json similarity index 69% rename from unstable/_locales/ja/messages.json rename to _locales/ja/messages.json index e145212e3..5b1df834c 100644 --- a/unstable/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "チャプターのタイトルをトリミングする" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "このソフトについて" @@ -14,20 +23,20 @@ "activateCaptions": { "message": "キャプションを有効にする" }, + "activateFullscreen": { + "message": "全画面にする" + }, "activated": { "message": "有効化" }, "activatedFeatures": { "message": "有効化された機能" }, - "activateFullscreen": { - "message": "全画面にする" - }, "activeFeatures": { "message": "機能の切り替え" }, "addScrollToTop": { - "message": "「一番上にスクロール」のボタンを追加する" + "message": "\"一番上にスクロール\" ボタンを追加する" }, "ads": { "message": "広告" @@ -39,7 +48,10 @@ "message": "許可" }, "allow60fps": { - "message": "60fpsを許可する" + "message": "60fps を許可する" + }, + "always": { + "message": "Always" }, "alwaysActive": { "message": "常に有効" @@ -53,20 +65,17 @@ "analyzer": { "message": "分析" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "外観" }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" + "areYouSureYouWantToExportTheData": { + "message": "データをエクスポートしてもよろしいですか?" }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "データをインポートしてもよろしいですか?" }, "audio": { "message": "音声" @@ -86,6 +95,24 @@ "autoplay": { "message": "自動再生" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "背景色" + }, + "backgroundOpacity": { + "message": "背景の不透明度" + }, "backupAndReset": { "message": "バックアップとリセット" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "すべてブロックする" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "音楽をブロックする" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "青" }, @@ -143,18 +185,27 @@ "channels": { "message": "チャンネル" }, + "characterEdgeStyle": { + "message": "文字の縁のスタイル" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "クリップボード" }, "codecH264": { - "message": "H.264コーデック" + "message": "H.264 コーデック" }, - "collapsed": { - "message": "畳む" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "サブスクリプション部分を畳む" }, + "collapsed": { + "message": "畳む" + }, "comments": { "message": "コメント" }, @@ -167,12 +218,21 @@ "cores": { "message": "コア数" }, + "cropChapterTitles": { + "message": "チャプターのタイトルをトリミングする" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "カスタム CSS" }, "customJs": { "message": "カスタム JS" }, + "customMiniPlayer": { + "message": "カスタムミニプレーヤー" + }, "cyan": { "message": "シアン" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "深い紫" }, + "default": { + "message": "デフォルト" + }, "defaultChannelTab": { "message": "デフォルトのチャンネルタブ" }, + "defaultContentCountry": { + "message": "デフォルトのコンテンツの地域" + }, + "deleteWatchedVideos": { + "message": "視聴した動画を削除する" + }, "deleteYoutubeCookies": { "message": "YouTube の Cookie を削除する" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "説明" + "message": "Description" + }, + "description_ext": { + "message": "YouTube をスマートに整理しましょう! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "砂漠" @@ -230,15 +305,27 @@ "dislike": { "message": "低評価" }, - "donate": { - "message": "寄付する" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "変更しない" }, + "donate": { + "message": "寄付する" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "ドラッグ可能にする" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "Email" }, @@ -275,12 +362,33 @@ "font": { "message": "フォント" }, + "fontColor": { + "message": "フォントの色" + }, + "fontFamily": { + "message": "フォントファミリー" + }, + "fontOpacity": { + "message": "フォントの不透明度" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "フッター" }, + "forceSDR": { + "message": "SDR を強制する" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "強制的に動画を最初から再生する" + }, "forcedPlaybackSpeed": { "message": "再生速度を指定する" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "シアターモードにする" }, @@ -296,22 +404,31 @@ "general": { "message": "一般" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "検索ボックスに行く" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "緑" }, - "hdThumbnail": { - "message": "HDサムネイル" + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" }, - "hdThumbnails": { + "hdThumbnail": { "message": "HDサムネイル" }, "header": { @@ -332,6 +449,21 @@ "hideCards": { "message": "カードを隠す" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "地域コードを隠す" + }, + "hideDate": { + "message": "日付を隠す" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "詳細を隠す" }, @@ -339,11 +471,23 @@ "message": "再生終了時の画面を隠す" }, "hideFeaturedContent": { - "message": "おすすめチャンネルを非表示にする" + "message": "おすすめチャンネルを隠す" }, "hideFooter": { "message": "フッターを隠す" }, + "hideGradientBottom": { + "message": "グラデーションの下部を隠す" + }, + "hidePlayerControlsBar": { + "message": "プレーヤーのコントロールバーを隠す" + }, + "hidePlayerControlsBarButtons": { + "message": "プレーヤーのコントロールバーボタンを隠す" + }, + "hidePlayerControlsBarOptions": { + "message": "プレーヤーのコントロールオプションを隠す" + }, "hidePlaylist": { "message": "再生リストを隠す" }, @@ -351,11 +495,26 @@ "message": "右ボタンを隠す" }, "hideScrollForDetails": { - "message": "「スクロールして詳細を表示」を隠す" + "message": "\"スクロールして詳細を表示\" を隠す" + }, + "hideSkipOverlay": { + "message": "スキップオーバーレイを隠す" + }, + "hideThumbnailOverlay": { + "message": "サムネイルオーバーレイを隠す" + }, + "hideThumbnails": { + "message": "サムネイルを隠す" }, "hideViewsCount": { "message": "視聴数を隠す" }, + "hideVoiceSearchButton": { + "message": "音声検索ボタンを隠す" + }, + "high": { + "message": "高" + }, "history": { "message": "履歴" }, @@ -380,11 +539,14 @@ "importSettings": { "message": "設定をインポートする" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTubeアイコンをブラウザに表示する" + "improveLogo": { + "message": "ロゴを改善する" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { - "message": "ImprovedTubeアイコンをYouTubeに表示する" + "message": "ImprovedTube アイコンを YouTube に表示する" }, "improvedtubeLanguage": { "message": "ImprovedTube の言語" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "ImprovedTube のバージョン" }, - "improveLogo": { - "message": "ロゴを改良する" - }, "increasePlaybackSpeed": { "message": "再生速度を上げる" }, @@ -407,12 +566,24 @@ "items": { "message": "アイテム" }, + "language": { + "message": "言語" + }, "languages": { "message": "言語" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "古い YouTube にする" }, + "library": { + "message": "ライブラリー" + }, "light": { "message": "ライト" }, @@ -425,12 +596,18 @@ "like": { "message": "高評価" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "評価" + "message": "Likes" }, "lime": { "message": "ライム" }, + "limitPageWidth": { + "message": "ページ幅を制限する" + }, "list": { "message": "リスト" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "ライブチャットの種類" }, + "location": { + "message": "地域" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "音量のノーマリゼーション" }, + "low": { + "message": "低" + }, "markWatchedVideos": { "message": "視聴した動画にマークを付ける" }, - "customMiniPlayer": { - "message": "カスタムミニプレーヤー" + "medium": { + "message": "中" }, "mixer": { "message": "ミキサー" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "サイドバーを左に移動" + }, + "moveThumbnailsRight": { + "message": "サイドバーを右に移動" + }, "myColors": { "message": "色設定" }, @@ -470,32 +668,44 @@ "night": { "message": "夜" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "有効化された機能がありません" }, - "none": { - "message": "なし" - }, "noOpenVideoTabs": { "message": "開いている動画タブがありません" }, + "none": { + "message": "なし" + }, "normal": { "message": "標準" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "OK" + }, "old": { "message": "Old" }, "onAllVideos": { "message": "すべて許可する" }, + "onSubscribedChannels": { + "message": "登録したチャンネルでは許可する" + }, "onlyActiveOnYoutube": { "message": "YouTube で有効" }, "onlyOnePlayerInstancePlaying": { "message": "1つのプレーヤーインスタンスのみにする" }, - "onSubscribedChannels": { - "message": "登録したチャンネルでは許可する" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "オレンジ" @@ -506,6 +716,12 @@ "other": { "message": "その他" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "オーバーレイ" + }, "permissions": { "message": "権限" }, @@ -521,6 +737,12 @@ "platform": { "message": "プラットフォーム" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "再生/一時停止" + }, "playbackSpeed": { "message": "再生速度" }, @@ -539,12 +761,12 @@ "playlists": { "message": "再生リスト" }, - "playPause": { - "message": "再生/一時停止" - }, "popupPlayer": { "message": "ポップアッププレーヤー" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "位置" }, @@ -566,24 +788,39 @@ "quality": { "message": "画質" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "評価する" }, "red": { "message": "赤" }, + "redDislikeButton": { + "message": "低評価ボタンを赤色で表示する" + }, "relatedVideos": { "message": "関連動画" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "関連動画を検索結果から削除する" }, "repeat": { "message": "リピート" }, + "report": { + "message": "Report" + }, "reset": { "message": "リセット" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "スクリーンショット" }, + "scrollBar": { + "message": "スクロールバー" + }, + "sd": { + "message": "SD" + }, "search": { "message": "検索" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "10秒進む" }, + "seekNextChapter": { + "message": "次のチャプターへ進む" + }, + "seekPreviousChapter": { + "message": "前のチャプターへ戻る" + }, "settings": { "message": "設定" }, "settingsSuccessfullyImported": { "message": "設定を正常にインポートしました" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "ショートカット" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "チャンネルの動画数を表示する" }, + "showLess": { + "message": "一部を表示" + }, + "showMore": { + "message": "もっと見る" + }, + "showRemainingDuration": { + "message": "動画の残り時間を表示する" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "シャッフル" }, "sidebar": { "message": "サイドバー" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "スペースキー" }, @@ -656,6 +923,9 @@ "static": { "message": "スタティック" }, + "statsForNerds": { + "message": "マニア向けの統計を表示する" + }, "step": { "message": "ステップ" }, @@ -668,6 +938,9 @@ "styles": { "message": "スタイル" }, + "subscribe": { + "message": "登録" + }, "subscriptions": { "message": "登録チャンネル" }, @@ -692,12 +965,18 @@ "textColor": { "message": "文字の色" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "テーマ" }, "thisWillRemoveAllCookies": { "message": "これはすべての Cookie を削除します。" }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "YouTube のすべての Cookie を削除します" }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "サムネイル" }, + "thumbnailsQuality": { + "message": "サムネイルの品質" + }, "timeFrom": { "message": "この時間から" }, @@ -719,9 +1001,21 @@ "todayAt": { "message": "測定時刻" }, + "toggleAutoplay": { + "message": "自動再生を切り替える" + }, + "toggleCards": { + "message": "カードを切り替える" + }, + "toggleControls": { + "message": "コントロールを切り替える" + }, "topChat": { "message": "上位チャット" }, + "trackWatchedVideos": { + "message": "視聴した動画を記録する" + }, "trailerAutoplay": { "message": "トレーラーを自動再生する" }, @@ -761,6 +1055,9 @@ "videos": { "message": "動画" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "音量" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "視聴時間" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "タブを変更したとき" }, "white": { "message": "白" }, + "windowColor": { + "message": "ウィンドウの色" + }, + "windowOpacity": { + "message": "ウィンドウの不透明度" + }, "yellow": { "message": "黄" }, @@ -792,18 +1098,6 @@ "message": "YouTube の言語" }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube はH.264コーデックの画質を1080pに制限しています" - }, - "redDislikeButton": { - "message": "低評価ボタンを赤色で表示する" - }, - "hideGradientBottom": { - "message": "グラデーションの下部を隠す" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" + "message": "YouTube は H.264 コーデックの画質を 1080p に制限しています" } -} +} \ No newline at end of file diff --git a/_locales/kn/messages.json b/_locales/kn/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/kn/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/ko/messages.json b/_locales/ko/messages.json similarity index 59% rename from unstable/_locales/ko/messages.json rename to _locales/ko/messages.json index de0c78b91..e5b8a210d 100644 --- a/unstable/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "제목 자르기" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "정보" @@ -14,20 +23,20 @@ "activateCaptions": { "message": "자막 활성화" }, + "activateFullscreen": { + "message": "전체화면 활성화" + }, "activated": { "message": "활성화됨" }, "activatedFeatures": { "message": "활성화된 기능" }, - "activateFullscreen": { - "message": "전체화면 활성화" - }, "activeFeatures": { "message": "활성 기능" }, "addScrollToTop": { - "message": "<<맨위로>> 추가" + "message": "<<맨 위로>> 버튼 추가" }, "ads": { "message": "광고" @@ -39,13 +48,16 @@ "message": "허용" }, "allow60fps": { - "message": "60에프피에스(fps) 허용" + "message": "60 fps 허용" + }, + "always": { + "message": "항상" }, "alwaysActive": { "message": "항상 활성화" }, "alwaysShowProgressBar": { - "message": "재생 진행 상태 항상 표시" + "message": "재생 진행상태(Progress Bar) 항상 표시" }, "amber": { "message": "호박색" @@ -53,20 +65,17 @@ "analyzer": { "message": "분석" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "외관" }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" + "areYouSureYouWantToExportTheData": { + "message": "데이터를 내보낼까요?" }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "데이터를 불러올까요?" }, "audio": { "message": "오디오" @@ -81,16 +90,34 @@ "message": "자동 전체화면" }, "autopauseWhenSwitchingTabs": { - "message": "탭전환시 자동 일시정지" + "message": "탭 전환 시 자동 일시중지" }, "autoplay": { "message": "자동재생" }, + "avoidAv1": { + "message": "AV1 막기" + }, + "avoidAv1Vp8Vp9": { + "message": "AV1, VP8, VP9 막기" + }, + "avoidAv1Vp9": { + "message": "AV1, VP9 막기" + }, + "avoidCpuRenderingWhenPossible": { + "message": "가능한 경우 CPU 렌더링 막기" + }, + "backgroundColor": { + "message": "배경 색상" + }, + "backgroundOpacity": { + "message": "배경 투명도" + }, "backupAndReset": { "message": "백업 & 리셋" }, "baseOnSystemColorScheme": { - "message": "시스템 색 구성표 기반" + "message": "시스템 색상 구성표 기반" }, "belowPlayer": { "message": "플레이어 아래" @@ -104,6 +131,21 @@ "blockAll": { "message": "모두 차단" }, + "blockAv1": { + "message": "AV1 차단" + }, + "blockH264": { + "message": "H.264 차단" + }, + "blockMusic": { + "message": "음악 차단" + }, + "blockVp8": { + "message": "VP8 차단" + }, + "blockVp9": { + "message": "VP9 차단" + }, "blue": { "message": "파랑" }, @@ -143,23 +185,32 @@ "channels": { "message": "채널" }, + "characterEdgeStyle": { + "message": "글꼴 테두리 스타일" + }, + "clip": { + "message": "클립" + }, "clipboard": { "message": "클립보드" }, "codecH264": { "message": "코덱 h.264" }, - "collapsed": { - "message": "축소됨" + "codecs": { + "message": "코덱" }, "collapseOfSubscriptionSections": { - "message": "구독섹션 축소" + "message": "구독 섹션 접기" + }, + "collapsed": { + "message": "접기" }, "comments": { "message": "댓글" }, "confirmationBeforeClosing": { - "message": "닫기전에 확인하기" + "message": "창을 닫기 전에 확인하기" }, "cookies": { "message": "쿠키" @@ -167,12 +218,21 @@ "cores": { "message": "코어" }, + "cropChapterTitles": { + "message": "긴 챕터 이름 자르기" + }, + "custom": { + "message": "사용자 지정" + }, "customCss": { "message": "사용자 지정 캐스캐이팅 스타일 시트(CSS)" }, "customJs": { "message": "사용자 지정 자바스크립트(JS)" }, + "customMiniPlayer": { + "message": "커스텀 미니플레이어" + }, "cyan": { "message": "옥색" }, @@ -183,13 +243,13 @@ "message": "다크 테마" }, "dateAndTime": { - "message": "날짜 & 시간" + "message": "날짜와 시간" }, "dawn": { "message": "석양" }, "decreasePlaybackSpeed": { - "message": "되감기 속도 감소" + "message": "재생 속도 빠르게" }, "decreaseVolume": { "message": "볼륨 감소" @@ -200,14 +260,29 @@ "deepPurple": { "message": "진한 보라" }, + "default": { + "message": "기본값" + }, "defaultChannelTab": { "message": "기본 채널 탭" }, + "defaultContentCountry": { + "message": "기본 콘텐츠 지역" + }, + "deleteWatchedVideos": { + "message": "시청한 영상 삭제" + }, "deleteYoutubeCookies": { "message": "유튜브 쿠키 삭제" }, + "depressed": { + "message": "음각" + }, "description": { - "message": "설명" + "message": "영상 설명란" + }, + "description_ext": { + "message": "유튜브를 깔끔하고 스마트하게 만들어줍니다! 유튜브 비디오의 색상, 광고 제거, 음량, 배속, 채널 툴, 스타일, HD, 광고 차단, 태그, 키워드, 재생목록" }, "desert": { "message": "사막" @@ -219,7 +294,7 @@ "message": "개발자 옵션" }, "device": { - "message": "기기" + "message": "디바이스" }, "dim": { "message": "어둡게" @@ -230,15 +305,27 @@ "dislike": { "message": "싫어요" }, - "donate": { - "message": "후원하기" + "displayDayOfTheWeak": { + "message": "요일 표시" }, "doNotChange": { "message": "바꾸지 않음" }, + "donate": { + "message": "후원하기" + }, + "download": { + "message": "오프라인 저장" + }, "draggable": { "message": "드래그 가능" }, + "dropShadow": { + "message": "그림자" + }, + "durationWithSpeed": { + "message": "남은 시간을 재생속도에 맞춰 표시하기" + }, "email": { "message": "이메일" }, @@ -249,7 +336,7 @@ "message": "활성화" }, "enabledForced": { - "message": "활성화 (강제)" + "message": "강제 활성화" }, "expanded": { "message": "확장" @@ -258,7 +345,7 @@ "message": "설정 내보내기" }, "extension": { - "message": "확대" + "message": "확장 프로그램" }, "file": { "message": "파일" @@ -267,7 +354,7 @@ "message": "필터" }, "fitToWindow": { - "message": "창크기에 맞추기" + "message": "창 크기에 맞추기" }, "flash": { "message": "플래시" @@ -275,11 +362,32 @@ "font": { "message": "글꼴" }, + "fontColor": { + "message": "글꼴 색상" + }, + "fontFamily": { + "message": "글꼴 설정" + }, + "fontOpacity": { + "message": "글꼴 투명도" + }, + "fontSize": { + "message": "글꼴 크기" + }, "footer": { "message": "하단" }, + "forceSDR": { + "message": "SDR 강제 적용" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "영상을 무조건 처음부터 보기" + }, "forcedPlaybackSpeed": { - "message": "되감기 속도 강제설정" + "message": "재생 속도 강제 설정" + }, + "forcedPlaybackSpeedMusic": { + "message": "유튜브 뮤직 재생 속도 강제 설정" }, "forcedTheaterMode": { "message": "강제 영화관 모드" @@ -288,7 +396,7 @@ "message": "볼륨 강제설정" }, "foundABug": { - "message": "버그신고" + "message": "버그 신고" }, "fullWindow": { "message": "전체 화면" @@ -296,47 +404,74 @@ "general": { "message": "일반" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "깃허브(GitHub)" }, "goToSearchBox": { "message": "검색창으로 이동" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "그래픽 처리 장치" }, "green": { "message": "초록" }, - "hdThumbnail": { - "message": "HD 썸네일" + "hardwareInformation": { + "message": "하드웨어 정보" }, - "hdThumbnails": { - "message": "HD 썸네일" + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD 섬네일" }, "header": { "message": "헤더" }, "hidden": { - "message": "숨김" + "message": "숨기기" }, "hiddenOnVideoPage": { - "message": "비디오 페이지 숨기기" + "message": "영상이 있을 때 숨기기" }, "hideAnimatedThumbnails": { - "message": "썸네일 애니메이션 숨기기" + "message": "섬네일 재생 끄기" }, "hideAnnotations": { "message": "설명 숨기기" }, + "hideAvatars": { + "message": "사용자 사진 숨기기" + }, "hideCards": { "message": "카드 숨기기" }, + "hideCategories": { + "message": "카테고리 숨기기" + }, + "hideCommentsCount": { + "message": "댓글 개수 숨기기" + }, + "hideCountryCode": { + "message": "국가코드 숨기기" + }, + "hideDate": { + "message": "날짜 숨기기" + }, + "hideDetailButton": { + "message": "상세 버튼 숨기기" + }, "hideDetails": { - "message": "상세설명 숨기기" + "message": "영상 설명란 숨기기" }, "hideEndscreen": { - "message": "종료후 화면 숨기기" + "message": "영상 끝난 후 추천 영상 숨기기" }, "hideFeaturedContent": { "message": "추천 영상 숨기기" @@ -344,6 +479,18 @@ "hideFooter": { "message": "하단 숨기기" }, + "hideGradientBottom": { + "message": "영상 아래 그라데이션 숨기기" + }, + "hidePlayerControlsBar": { + "message": "플레이어 컨트롤 바 숨기기" + }, + "hidePlayerControlsBarButtons": { + "message": "플레이어 컨트롤 버튼 숨기기" + }, + "hidePlayerControlsBarOptions": { + "message": "플레이어 컨트롤 옵션 숨기기" + }, "hidePlaylist": { "message": "재생 목록 숨기기" }, @@ -353,20 +500,35 @@ "hideScrollForDetails": { "message": "«스크롤 하여 자세한 설명» 숨기기" }, + "hideSkipOverlay": { + "message": "\"오버레이 건너뛰기\" 숨기기" + }, + "hideThumbnailOverlay": { + "message": "섬네일 오버레이 숨기기" + }, + "hideThumbnails": { + "message": "섬네일 숨기기" + }, "hideViewsCount": { - "message": "조회수 숨기기" + "message": "조회 수 숨기기" + }, + "hideVoiceSearchButton": { + "message": "\"음성으로 찾기\" 버튼 숨기기" + }, + "high": { + "message": "고화질" }, "history": { - "message": "히스토리" + "message": "시청 기록" }, "home": { "message": "홈" }, "hover": { - "message": "띄우기" + "message": "마우스를 올리면 띄우기" }, "hoverOnVideoPage": { - "message": "비디오 페이지 띄우기" + "message": "영상이 있을 때 마우스를 올리면 띄우기" }, "howLongAgoTheVideoWasUploaded": { "message": "업로드 시기" @@ -380,23 +542,23 @@ "importSettings": { "message": "설정 불러오기" }, - "improvedtubeIconInBrowser": { - "message": "향상된 브라우저 아이콘" + "improveLogo": { + "message": "향상된 로고" + }, + "improvedtubeButtons": { + "message": "ImprovedTube 버튼" }, "improvedtubeIconOnYoutube": { - "message": "향상된 유튜브 아이콘" + "message": "ImprovedTube 아이콘" }, "improvedtubeLanguage": { - "message": "향상된 유튜브 언어" + "message": "ImprovedTube 언어" }, "improvedtubeVersion": { - "message": "향상된 유튜브 버전" - }, - "improveLogo": { - "message": "향상된 로고" + "message": "ImprovedTube 버전" }, "increasePlaybackSpeed": { - "message": "되감기 속도 증가" + "message": "재생 속도 느리게" }, "increaseVolume": { "message": "볼륨 증가" @@ -407,12 +569,24 @@ "items": { "message": "요소" }, + "language": { + "message": "언어" + }, "languages": { "message": "언어" }, + "layerAnimationScale": { + "message": "레이어 애니메이션 배속" + }, + "layout": { + "message": "모양" + }, "legacyYoutube": { "message": "레거시 유튜브" }, + "library": { + "message": "보관함" + }, "light": { "message": "밝게" }, @@ -425,12 +599,18 @@ "like": { "message": "좋아요" }, + "liked": { + "message": "좋아요 표시한 동영상" + }, "likes": { - "message": "좋아요" + "message": "Likes" }, "lime": { "message": "라임" }, + "limitPageWidth": { + "message": "페이지 너비 제한" + }, "list": { "message": "리스트" }, @@ -440,20 +620,41 @@ "liveChatType": { "message": "실시간 채팅 유형" }, + "location": { + "message": "지역" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "볼륨 자동조정" }, + "low": { + "message": "저화질" + }, "markWatchedVideos": { "message": "시청한 영상 표시" }, - "customMiniPlayer": { - "message": "커스텀 미니플레이어" + "medium": { + "message": "보통 화질" }, "mixer": { "message": "믹서" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "가장 많이 본 채널" + }, + "moveSidebarLeft": { + "message": "사이드바 왼쪽으로 이동" + }, + "moveThumbnailsRight": { + "message": "섬네일 오른쪽으로 이동" + }, "myColors": { - "message": "내 컬러" + "message": "내 색상" }, "name": { "message": "이름" @@ -468,25 +669,37 @@ "message": "다음 영상" }, "night": { - "message": "저녘" + "message": "저녁" + }, + "nightMode": { + "message": "수면 도움 모드" }, "noActiveFeatures": { "message": "활성 기능 없음" }, - "none": { - "message": "없음" - }, "noOpenVideoTabs": { "message": "열린 비디오 탭 없음" }, + "none": { + "message": "없음" + }, "normal": { "message": "기본" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "오래됨" }, "onAllVideos": { - "message": "모든 비디오" + "message": "모든 동영상" + }, + "onSubscribedChannels": { + "message": "구독한 채널" }, "onlyActiveOnYoutube": { "message": "유튜브만 활성화" @@ -494,8 +707,8 @@ "onlyOnePlayerInstancePlaying": { "message": "하나의 플레이어만 재생" }, - "onSubscribedChannels": { - "message": "구독한 채널" + "openPopupPlayer": { + "message": "동영상/재생목록을 새 창에서 열기" }, "orange": { "message": "주황" @@ -506,6 +719,12 @@ "other": { "message": "기타" }, + "outline": { + "message": "외곽선" + }, + "overlay": { + "message": "오버레이" + }, "permissions": { "message": "권한" }, @@ -521,14 +740,20 @@ "platform": { "message": "플랫폼" }, + "playAllButton": { + "message": "\"모두 재생\" 버튼" + }, + "playPause": { + "message": "재생 / 일시중지" + }, "playbackSpeed": { - "message": "되감기 속도" + "message": "영상 재생 속도" }, "player": { "message": "플레이어" }, "playerColor": { - "message": "플레이어 컬러" + "message": "플레이어 색상" }, "playerSize": { "message": "플레이어 크기" @@ -539,12 +764,12 @@ "playlists": { "message": "플레이리스트" }, - "playPause": { - "message": "재생 / 일시정지" - }, "popupPlayer": { "message": "팝업 플레이어" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "위치" }, @@ -564,26 +789,41 @@ "message": "보라" }, "quality": { - "message": "퀄리티" + "message": "화질" + }, + "raised": { + "message": "양각" }, "ram": { "message": "램" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "평가하기" }, "red": { "message": "빨강" }, + "redDislikeButton": { + "message": "싫어요 버튼 빨간색으로 표시" + }, "relatedVideos": { "message": "관련 영상" }, + "remote": { + "message": "TV에서 재생" + }, "removeRelatedSearchResults": { - "message": "관련 검색결과 제거" + "message": "관련 검색 결과 제거" }, "repeat": { "message": "반복" }, + "report": { + "message": "신고" + }, "reset": { "message": "리셋" }, @@ -594,16 +834,16 @@ "message": "모든 단축키 리셋" }, "reverse": { - "message": "반대로" + "message": "거꾸로" }, "rotate": { "message": "회전" }, "save": { - "message": "저장" + "message": "오프라인 저장" }, "saveAs": { - "message": "다른이름으로 저장" + "message": "다른 이름으로 저장" }, "schedule": { "message": "스케줄" @@ -614,6 +854,12 @@ "screenshot": { "message": "스크린샷" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "검색" }, @@ -626,20 +872,41 @@ "seekForward10Seconds": { "message": "앞으로 10초" }, + "seekNextChapter": { + "message": "다음 챕터 보기" + }, + "seekPreviousChapter": { + "message": "이전 챕터 보기" + }, "settings": { "message": "설정" }, "settingsSuccessfullyImported": { "message": "설정 내보내기 완료" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "단축키" }, "showCardsOnMouseHover": { - "message": "마우스 올릴 때 카드보기" + "message": "마우스 올릴 때 카드 보기" }, "showChannelVideosCount": { - "message": "채널의 비디오수 표시" + "message": "채널의 동영상 수 표시" + }, + "showLess": { + "message": "간략히" + }, + "showMore": { + "message": "더보기" + }, + "showRemainingDuration": { + "message": "동영상 남은 시간 표시" + }, + "showVersion": { + "message": "버전 표시" }, "shuffle": { "message": "셔플" @@ -647,17 +914,23 @@ "sidebar": { "message": "사이드바" }, + "softwareInformation": { + "message": "소프트웨어 정보" + }, "spacebar": { "message": "스페이스바" }, "squaredUserImages": { - "message": "정사각형 프로필사진" + "message": "정사각형 프로필 사진" }, "static": { - "message": "고정" + "message": "밑으로 내릴 때 숨기기" + }, + "statsForNerds": { + "message": "전문 통계 표시" }, "step": { - "message": "스텝" + "message": "간격" }, "stop": { "message": "정지" @@ -668,6 +941,9 @@ "styles": { "message": "스타일" }, + "subscribe": { + "message": "구독하기" + }, "subscriptions": { "message": "구독" }, @@ -678,7 +954,7 @@ "message": "일몰" }, "sunsetToSunrise": { - "message": "일몰부터 일출까지" + "message": "적용 시간 설정" }, "systemPeferenceDark": { "message": "개인 설정: 다크" @@ -692,12 +968,18 @@ "textColor": { "message": "텍스트 색상" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "테마" }, "thisWillRemoveAllCookies": { "message": "모든 쿠키를 삭제합니다." }, + "thisWillRemoveAllWatchedVideos": { + "message": "모든 시청한 영상을 삭제합니다." + }, "thisWillRemoveAllYouTubeCookies": { "message": "모든 유튜브 쿠키를 삭제합니다." }, @@ -708,20 +990,35 @@ "message": "모든 단축키를 초기화 합니다." }, "thumbnails": { - "message": "썸네일" + "message": "섬네일" + }, + "thumbnailsQuality": { + "message": "섬네일 화질" }, "timeFrom": { - "message": "다음시간 부터" + "message": "이 시간 부터" }, "timeTo": { - "message": "다음시간 까지" + "message": "이 시간 까지" }, "todayAt": { "message": "오늘의" }, + "toggleAutoplay": { + "message": "자동재생 켜기/끄기" + }, + "toggleCards": { + "message": "카드 켜기/끄기" + }, + "toggleControls": { + "message": "컨트롤 켜기/끄기" + }, "topChat": { "message": "탑 챗" }, + "trackWatchedVideos": { + "message": "시청한 동영상 추적" + }, "trailerAutoplay": { "message": "트레일러 자동재생" }, @@ -741,41 +1038,53 @@ "message": "타입" }, "upNextAutoplay": { - "message": "다음영상 자동재생" + "message": "다음 영상 자동재생" }, "use24HourFormat": { "message": "24시간 형식 사용" }, "version": { - "message": "버젼" + "message": "버전" }, "video": { "message": "영상" }, "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "카테고리의 이름을 얻기 위해 비디오 설명이 확장됩니다" + "message": "카테고리의 이름을 얻기 위해 동영상 설명이 확장됩니다" }, "videoFormats": { - "message": "비디오 형식" + "message": "동영상 형식" }, "videos": { - "message": "비디오" + "message": "동영상" + }, + "viewMode": { + "message": "영화관 모드 전환" }, "volume": { "message": "음량" }, "watchLater": { - "message": "나중에 보기" + "message": "나중에 볼 동영상" }, "watchTime": { "message": "시간 보기" }, + "whenPaused": { + "message": "일시중지 중에" + }, "whenTabIsChanged": { - "message": "탭이 바뀔때" + "message": "탭이 바뀔 때" }, "white": { "message": "하양" }, + "windowColor": { + "message": "자막 칸 색상" + }, + "windowOpacity": { + "message": "자막 칸 투명도" + }, "yellow": { "message": "노랑" }, @@ -792,15 +1101,6 @@ "message": "유튜브 언어" }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "유튜브는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다" - }, - "hideGradientBottom": { - "message": "그라데이션 맨 아래로 숨기기" - }, - "statsForNerds": { - "message": "너드 통계 표시" - }, - "toggleCards": { - "message": "토글 카드" + "message": "유튜브는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다." } } diff --git a/_locales/lt/messages.json b/_locales/lt/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/lt/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/lv/messages.json b/_locales/lv/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/lv/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/ml/messages.json b/_locales/ml/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/ml/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/mr/messages.json b/_locales/mr/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/mr/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/ms/messages.json b/_locales/ms/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/ms/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/nb_NO/messages.json b/_locales/nb_NO/messages.json similarity index 72% rename from unstable/_locales/nb_NO/messages.json rename to _locales/nb_NO/messages.json index a88c72545..ad97a3a45 100644 --- a/unstable/_locales/nb_NO/messages.json +++ b/_locales/nb_NO/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Beskjær kapitteltitler" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Om" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Aktiver underteksting" }, + "activateFullscreen": { + "message": "Aktiver fullskjerm" + }, "activated": { "message": "Aktivert" }, "activatedFeatures": { "message": "Aktiverte funksjoner" }, - "activateFullscreen": { - "message": "Aktiver fullskjerm" - }, "activeFeatures": { "message": "Aktive funksjoner" }, @@ -53,20 +62,17 @@ "analyzer": { "message": "Analysator" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Utseende" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "Lyd" @@ -86,6 +92,24 @@ "autoplay": { "message": "Autoplay" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "Sikkerhetskopiering og tilbakestilling" }, @@ -104,6 +128,21 @@ "blockAll": { "message": "Blokker alle" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Blå" }, @@ -143,18 +182,27 @@ "channels": { "message": "Kanaler" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Utklippstavle" }, "codecH264": { "message": "H.264-kodek" }, - "collapsed": { - "message": "kollapset" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Kollaps av abonnementsdelene" }, + "collapsed": { + "message": "kollapset" + }, "comments": { "message": "Kommentarer" }, @@ -167,12 +215,21 @@ "cores": { "message": "Kjerner" }, + "cropChapterTitles": { + "message": "Beskjær kapitteltitler" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "Tilpasset CSS" }, "customJs": { "message": "Tilpasset JS" }, + "customMiniPlayer": { + "message": "Egendefinert miniavspiller" + }, "cyan": { "message": "Blålilla" }, @@ -200,14 +257,29 @@ "deepPurple": { "message": "Mørkelilla" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "Forvalgt kanalfane" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "Slett YouTube-informasjonskapsler" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Beskrivelse" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Ørken" @@ -230,15 +302,27 @@ "dislike": { "message": "Mislik" }, - "donate": { - "message": "Doner" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Ikke endre" }, + "donate": { + "message": "Doner" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Flyttbare" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "E-post" }, @@ -275,12 +359,33 @@ "font": { "message": "Font" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "Bunntekst" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "Tvungen avspillingshastighet" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Tvunget teater-modus" }, @@ -296,24 +401,33 @@ "general": { "message": "Generelt" }, + "geoPreference": { + "message": "Geo-preferanse" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Gå til søkefeltet" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Grønn" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD-miniatyrbilde" }, - "hdThumbnails": { - "message": "HD-miniatyrbilder" - }, "header": { "message": "Overskrift" }, @@ -332,6 +446,21 @@ "hideCards": { "message": "Skjul kort" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Skjul detaljer" }, @@ -344,6 +473,18 @@ "hideFooter": { "message": "Skjul bunntekst" }, + "hideGradientBottom": { + "message": "Skjul bunn-fargeovergang" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "Skjul spilleliste" }, @@ -353,9 +494,24 @@ "hideScrollForDetails": { "message": "Skjul «Bla for detaljer»" }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "Skjul visningsteller" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "Historie" }, @@ -380,8 +536,11 @@ "importSettings": { "message": "Importer innstillinger" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube-ikonet i nettleseren" + "improveLogo": { + "message": "Forbedre logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "ImprovedTube-ikonet på YouTube" @@ -392,9 +551,6 @@ "improvedtubeVersion": { "message": "ImprovedTube-versjon" }, - "improveLogo": { - "message": "Forbedre logo" - }, "increasePlaybackSpeed": { "message": "Øk avspillingshastigheten" }, @@ -407,12 +563,24 @@ "items": { "message": "Elementer" }, + "language": { + "message": "Language" + }, "languages": { "message": "Språk" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "Gammeldags YouTube" }, + "library": { + "message": "Library" + }, "light": { "message": "Lys" }, @@ -425,12 +593,18 @@ "like": { "message": "Gunst" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "Begunstninger" + "message": "Likes" }, "lime": { "message": "Lime" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "Liste" }, @@ -440,18 +614,39 @@ "liveChatType": { "message": "Sanntidssludringstype" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Lydstyrkenormalisering" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "Marker sette videoer" }, - "customMiniPlayer": { - "message": "Egendefinert miniavspiller" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mikser" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "Mine farger" }, @@ -470,32 +665,41 @@ "night": { "message": "Natt" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Ingen aktive funksjoner" }, - "none": { - "message": "Ingen" - }, "noOpenVideoTabs": { "message": "Ingen åpne videofaner" }, + "none": { + "message": "Ingen" + }, "normal": { "message": "Normal" }, + "ok": { + "message": "Ok" + }, "old": { "message": "Gammel" }, "onAllVideos": { "message": "På alle videoer" }, + "onSubscribedChannels": { + "message": "På abonnementskanaler" + }, "onlyActiveOnYoutube": { "message": "Kun aktiv på YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Kun én avspiller viser noe" }, - "onSubscribedChannels": { - "message": "På abonnementskanaler" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Oransje" @@ -506,6 +710,12 @@ "other": { "message": "Andre" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "rettigheter" }, @@ -521,6 +731,12 @@ "platform": { "message": "Plattform" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Spill / Pause" + }, "playbackSpeed": { "message": "Avspillingshastighet" }, @@ -539,12 +755,12 @@ "playlists": { "message": "Spillelister" }, - "playPause": { - "message": "Spill / Pause" - }, "popupPlayer": { "message": "Oppsprettsspiller" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Posisjon" }, @@ -566,24 +782,39 @@ "quality": { "message": "Kvalitet" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "Minne" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "Rangere oss" }, "red": { "message": "Rød" }, + "redDislikeButton": { + "message": "Vis tommel ned i rød farge" + }, "relatedVideos": { "message": "Relaterte videoer" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "Fjern relaterte søkeresultater" }, "repeat": { "message": "Gjenta" }, + "report": { + "message": "Report" + }, "reset": { "message": "Tilbakestill" }, @@ -614,6 +845,12 @@ "screenshot": { "message": "Skjeravbildning" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Søk" }, @@ -626,12 +863,21 @@ "seekForward10Seconds": { "message": "Spol 10 sekunder fremover" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "Innstillinger" }, "settingsSuccessfullyImported": { "message": "Innstillinger importert" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Snarveier" }, @@ -641,12 +887,27 @@ "showChannelVideosCount": { "message": "Vis antall kanaler" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Tilfeldig rekkefølge" }, "sidebar": { "message": "Sidepanel" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Mellomrom" }, @@ -656,6 +917,9 @@ "static": { "message": "Statisk" }, + "statsForNerds": { + "message": "Vis statistikk for nerder" + }, "step": { "message": "Steg" }, @@ -668,6 +932,9 @@ "styles": { "message": "Stiler" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "Abonnementer" }, @@ -692,12 +959,18 @@ "textColor": { "message": "Tekstfarge" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Drakter" }, "thisWillRemoveAllCookies": { "message": "Dette vil fjerne alle informasjonskapsler." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Dette vil fjerne alle YouTube-informasjonskapsler" }, @@ -710,6 +983,9 @@ "thumbnails": { "message": "miniatyrbilder " }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "Fra" }, @@ -719,9 +995,21 @@ "todayAt": { "message": "I dag kl." }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Veksle kort" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "Hovedsludring" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "Trailer autospilling" }, @@ -761,6 +1049,9 @@ "videos": { "message": "Videoer" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "Lydstyrke" }, @@ -776,6 +1067,12 @@ "white": { "message": "Hvit" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "Gul" }, @@ -793,20 +1090,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "YouTube begrenser videokvaliteten til 1080p for H.264-kodeket" - }, - "redDislikeButton": { - "message": "Vis tommel ned i rød farge" - }, - "hideGradientBottom": { - "message": "Skjul bunn-fargeovergang" - }, - "statsForNerds": { - "message": "Vis statistikk for nerder" - }, - "toggleCards": { - "message": "Veksle kort" - } - "geoPreference": { - "message": "Geo-preferanse" } -} +} \ No newline at end of file diff --git a/unstable/_locales/nl/messages.json b/_locales/nl/messages.json similarity index 59% rename from unstable/_locales/nl/messages.json rename to _locales/nl/messages.json index ea3fedfe3..296218f25 100644 --- a/unstable/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Crop chapter titles" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Over" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Activeer bijschriften" }, + "activateFullscreen": { + "message": "Activeer volledig scherm" + }, "activated": { "message": "Geactiveerd" }, "activatedFeatures": { "message": "Geactiveerde features" }, - "activateFullscreen": { - "message": "Activeer volledig scherm" - }, "activeFeatures": { "message": "Actieve features" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "60fps toestaan" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Altijd actief" }, @@ -53,32 +65,29 @@ "analyzer": { "message": "Analyse" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Uiterlijk" }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" + "areYouSureYouWantToExportTheData": { + "message": "Weet je zeker dat je deze data wilt exporteren?" }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Weet je zeker dat je deze wilt importeren? " }, "audio": { - "message": "Audio" + "message": "Geluid" }, "audioFormats": { - "message": "Audio formaten" + "message": "Geluidsformaten" }, "auto": { "message": "Automatisch" }, "autoFullscreen": { - "message": "Automatisch volledig scherm" + "message": "Automatisch naar volledig scherm" }, "autopauseWhenSwitchingTabs": { "message": "Automatisch pauzeren bij het wisselen van tabbladen" @@ -86,8 +95,26 @@ "autoplay": { "message": "Automatisch afspelen" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Achtergrondkleur" + }, + "backgroundOpacity": { + "message": "Doorzichtigheid achtergrond" + }, "backupAndReset": { - "message": "Backup maken & reseten" + "message": "Backup maken & resetten" }, "baseOnSystemColorScheme": { "message": "Baseer op kleurenschema van systeem" @@ -104,14 +131,29 @@ "blockAll": { "message": "Alles blokkeren" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Blokkeer muziek" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Blauw" }, "blueGray": { - "message": "Blauw grijs" + "message": "Blauwgrijs" }, "bluelight": { - "message": "Blauw licht" + "message": "Lichtblauw" }, "brown": { "message": "Bruin" @@ -120,13 +162,13 @@ "message": "Browser" }, "browserVersion": { - "message": "Browser versie" + "message": "Browserversie" }, "bubbles": { "message": "Bubbels" }, "bug": { - "message": "Insect" + "message": "Bug" }, "buttons": { "message": "Knoppen" @@ -135,7 +177,7 @@ "message": "Annuleren" }, "categories": { - "message": "Categoriën" + "message": "Categorieën" }, "channel": { "message": "Kanaal" @@ -143,17 +185,26 @@ "channels": { "message": "Kanalen" }, + "characterEdgeStyle": { + "message": "Stijl omlijning letters" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Klembord" }, "codecH264": { - "message": "Encoderen in h.264" + "message": "Encoderen in H.264" }, - "collapsed": { - "message": "Ingeklapt" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { - "message": "Uitklappen van abonnee sectie" + "message": "Uitklappen van abonneesecties" + }, + "collapsed": { + "message": "Ingeklapt" }, "comments": { "message": "Reacties" @@ -167,12 +218,21 @@ "cores": { "message": "Kernen" }, + "cropChapterTitles": { + "message": "Schrap hoofdstuktitels" + }, + "custom": { + "message": "Aangepast" + }, "customCss": { "message": "Aangepaste CSS" }, "customJs": { "message": "Aangepaste JS" }, + "customMiniPlayer": { + "message": "Aangepaste MiniPlayer" + }, "cyan": { "message": "Cyaan" }, @@ -195,19 +255,34 @@ "message": "Verminder volume" }, "deepOrange": { - "message": "Donker oranje" + "message": "Donkeroranje" }, "deepPurple": { - "message": "donker aars" + "message": "Donkerpaars" + }, + "default": { + "message": "Standaard" }, "defaultChannelTab": { "message": "Standaard kanaaltabblad" }, + "defaultContentCountry": { + "message": "Standaardland voor inhoud" + }, + "deleteWatchedVideos": { + "message": "Verwijder bekeken video's" + }, "deleteYoutubeCookies": { "message": "YouTube-cookies verwijderen" }, + "depressed": { + "message": "Uitgedrukt" + }, "description": { - "message": "Beschrijving" + "message": "Description" + }, + "description_ext": { + "message": "Maak YouTube opgeruimd+slim! YouTube video kleur advertentie skippen overslaan volume snelheid kanaal gereedschap stijl HD advertenties adblock adblocker tags zoektermen afspeelijsten" }, "desert": { "message": "Woestijn" @@ -230,17 +305,29 @@ "dislike": { "message": "Niet leuk vinden" }, - "donate": { - "message": "Doneer" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Niet aanpassen" }, + "donate": { + "message": "Doneer" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Sleepbaar" }, + "dropShadow": { + "message": "Toon Schaduw" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { - "message": "E-mail" + "message": "E-mailadres" }, "empty": { "message": "Leeg" @@ -275,45 +362,75 @@ "font": { "message": "Lettertype" }, + "fontColor": { + "message": "Kleur lettertype" + }, + "fontFamily": { + "message": "Lettertype-familie" + }, + "fontOpacity": { + "message": "Doorzichtigheid lettertype" + }, + "fontSize": { + "message": "Lettergrootte" + }, "footer": { "message": "Voettekst" }, + "forceSDR": { + "message": "Forceer SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forceer video's af te spelen vanaf het begin" + }, "forcedPlaybackSpeed": { - "message": "Afspeelsnelheid afdwingen" + "message": "Forceer afspeelsnelheid" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" }, "forcedTheaterMode": { - "message": "Altijd theatermodus gebruiken" + "message": "Forceer Theatermodus" }, "forcedVolume": { - "message": "Volume afdwingen" + "message": "Forceer volume" }, "foundABug": { "message": "Heb je een bug gevonden?" }, "fullWindow": { - "message": "Volledige venstergrootte" + "message": "Volledig scherm" }, "general": { "message": "Algemeen" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Ga naar de zoekbalk" }, + "googleApiKey": { + "message": "Google API-key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Groen" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD-miniatuurvoorbeeld" }, - "hdThumbnails": { - "message": "HD-miniatuurvoorbeelden" - }, "header": { "message": "Kop" }, @@ -324,7 +441,7 @@ "message": "Verborgen op videopagina" }, "hideAnimatedThumbnails": { - "message": "Geen bewegende miniatuurvoorbeelden" + "message": "Verberg geanimeerde miniatuurvoorbeelden" }, "hideAnnotations": { "message": "Verberg annotaties" @@ -332,6 +449,21 @@ "hideCards": { "message": "Verberg kaarten" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Verberg landcode" + }, + "hideDate": { + "message": "Verberg datum" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Verberg details" }, @@ -344,17 +476,44 @@ "hideFooter": { "message": "Verberg voettekst" }, + "hideGradientBottom": { + "message": "Verberg Gradient Onderkant" + }, + "hidePlayerControlsBar": { + "message": "Verberg afspeelbalk" + }, + "hidePlayerControlsBarButtons": { + "message": "Verberg knoppen voor afspeelcontrole" + }, + "hidePlayerControlsBarOptions": { + "message": "Verberg opties voor afspeelbalk" + }, "hidePlaylist": { "message": "Verberg afspeellijst" }, "hideRightButtons": { - "message": "Verberg rechter knoppen" + "message": "Verberg knoppen rechterkant" }, "hideScrollForDetails": { - "message": "Verberg «Scroll for details»" + "message": "Verberg «Scrollen voor meer details»" + }, + "hideSkipOverlay": { + "message": "Verberg knop voor overslaan omslag" + }, + "hideThumbnailOverlay": { + "message": "Verberg miniatuurafbeeldingen omslag" + }, + "hideThumbnails": { + "message": "Verberg miniatuurafbeeldingen" }, "hideViewsCount": { - "message": "Verberg views teller" + "message": "Verberg aantal afgespeeld" + }, + "hideVoiceSearchButton": { + "message": "Verberg zoekknop via stem" + }, + "high": { + "message": "Hoog" }, "history": { "message": "Geschiedenis" @@ -369,31 +528,31 @@ "message": "Overzweven met cursor op videopagina" }, "howLongAgoTheVideoWasUploaded": { - "message": "Uploaddatum tonen" + "message": "Toon uploaddatum" }, "icons": { - "message": "Iconen" + "message": "Pictogrammen" }, "iconsOnly": { "message": "Alleen pictogrammen" }, "importSettings": { - "message": "Instellingen importeren" + "message": "Importeer instellingen" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube-pictogram in browser" + "improveLogo": { + "message": "YouTube-logo verbeteren" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icoon op YouTube" + "message": "ImprovedTube-icoon instellen voor YouTube" }, "improvedtubeLanguage": { - "message": "ImprovedTube taal" + "message": "Taal voor ImprovedTube" }, "improvedtubeVersion": { - "message": "ImprovedTube versie" - }, - "improveLogo": { - "message": "YouTube-logo verbeteren" + "message": "ImprovedTube-versie" }, "increasePlaybackSpeed": { "message": "Verhoog afspeelsnelheid" @@ -407,51 +566,90 @@ "items": { "message": "Items" }, + "language": { + "message": "Taal" + }, "languages": { "message": "Talen" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { - "message": "Oude YouTube-uiterlijk" + "message": "Klassieke YouTube-uiterlijk" + }, + "library": { + "message": "Bibliotheek" }, "light": { "message": "Licht" }, "lightBlue": { - "message": "Licht blauw" + "message": "Lichtblauw" }, "lightGreen": { - "message": "Licht groen" + "message": "Lichtgroen" }, "like": { "message": "Vind ik leuk" }, + "liked": { + "message": "Leuk gevonden" + }, "likes": { - "message": "Vind-ik-leuks" + "message": "Likes" }, "lime": { "message": "Limoen" }, + "limitPageWidth": { + "message": "Limiteer paginabreedte" + }, "list": { "message": "Lijst" }, "liveChat": { - "message": "Live berichtenvenster" + "message": "Live Chat" }, "liveChatType": { - "message": "Live berichtenvenster type" + "message": "Type Live Chat" + }, + "location": { + "message": "Locatie" + }, + "loop": { + "message": "Lus" }, "loudnessNormalization": { "message": "Volume normaliseren" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { - "message": "Merk bekeken videos aan" + "message": "Markeer bekeken video's" }, - "customMiniPlayer": { - "message": "Custom Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mixer" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Verplaats zijbalk naar links" + }, + "moveThumbnailsRight": { + "message": "Verplaats miniatuurafbeeldingen naar links" + }, "myColors": { "message": "Mijn kleuren" }, @@ -470,32 +668,44 @@ "night": { "message": "Nacht" }, - "noActiveFeatures": { - "message": "Geen actieve features" + "nightMode": { + "message": "Night mode" }, - "none": { - "message": "Geen" + "noActiveFeatures": { + "message": "Geen actieve functies" }, "noOpenVideoTabs": { "message": "Geen openstaande videotabbladen" }, + "none": { + "message": "Geen" + }, "normal": { "message": "Normaal" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "OK" + }, "old": { "message": "Oud" }, "onAllVideos": { "message": "Bij alle videos" }, + "onSubscribedChannels": { + "message": "Op geabonneerde kanalen" + }, "onlyActiveOnYoutube": { "message": "Alleen actief op YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Slechts één actieve speler toestaan" }, - "onSubscribedChannels": { - "message": "Op geabonneerde kanalen" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Oranje" @@ -506,11 +716,17 @@ "other": { "message": "Anders" }, + "outline": { + "message": "Uitlijning" + }, + "overlay": { + "message": "Omslag" + }, "permissions": { "message": "Machtigingen" }, "pictureInPicture": { - "message": "Afbeelding-in-Afbeelding" + "message": "Picture-in-Picture" }, "pink": { "message": "Roze" @@ -521,6 +737,12 @@ "platform": { "message": "Platform" }, + "playAllButton": { + "message": "\"Alles afspelen\"-knop" + }, + "playPause": { + "message": "Video afspelen/pauzeren" + }, "playbackSpeed": { "message": "Afspeelsnelheid" }, @@ -539,17 +761,17 @@ "playlists": { "message": "Afspeellijsten" }, - "playPause": { - "message": "Video afspelen/pauzeren" - }, "popupPlayer": { "message": "Pop-upspeler" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Positie" }, "pressAnyKeyOrScroll": { - "message": "Druk op een toets of muiswiel." + "message": "Druk op een toets of scroll met muiswiel." }, "pressAnyKeyOrUseMouseWheel": { "message": "Druk op een toets of gebruik muiswiel" @@ -566,24 +788,39 @@ "quality": { "message": "Kwaliteit" }, + "raised": { + "message": "Opgeklapt" + }, "ram": { - "message": "RAM" + "message": "Geheugen (RAM)" + }, + "rateMe": { + "message": "Beoordeel mij" }, "rateUs": { - "message": "Geef ons een beoordeling" + "message": "Beoordeel ons" }, "red": { "message": "Rood" }, + "redDislikeButton": { + "message": "Laat Vind ik niet leuk-knop zien in het rood" + }, "relatedVideos": { "message": "Gerelateerde video's" }, + "remote": { + "message": "Speel af op TV" + }, "removeRelatedSearchResults": { "message": "Verwijder resultaten van gerelateerde videos" }, "repeat": { "message": "Herhalen" }, + "report": { + "message": "Report" + }, "reset": { "message": "Herstel" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "Schermafbeelding" }, + "scrollBar": { + "message": "Scrollbalk" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Zoeken" }, @@ -621,10 +864,16 @@ "message": "Alleen zoekbalk" }, "seekBackward10Seconds": { - "message": "Zoek 10 seconde terug" + "message": "Ga 10 seconden terug" }, "seekForward10Seconds": { - "message": "Zoek 10 seconde naar voren" + "message": "Ga 10 seconden naar voren" + }, + "seekNextChapter": { + "message": "Ga naar volgend hoofdstuk" + }, + "seekPreviousChapter": { + "message": "Ga naar vorig hoofdstuk" }, "settings": { "message": "Instellingen" @@ -632,35 +881,56 @@ "settingsSuccessfullyImported": { "message": "Instellingen succesvol geïmporteerd" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Sneltoetsen" }, "showCardsOnMouseHover": { - "message": "Laat kaarten zien onder muisaanwijzer" + "message": "Laat infokaarten zien onder muisaanwijzer" }, "showChannelVideosCount": { "message": "Aantal kanaalvideo's tonen" }, + "showLess": { + "message": "Minder zien" + }, + "showMore": { + "message": "Meer zien" + }, + "showRemainingDuration": { + "message": "Laat resterende afspeelduur zien" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Willekeurig" }, "sidebar": { "message": "Zijbalk" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Spatiebalk" }, "squaredUserImages": { - "message": "Vierkante gebruikersafbeeldingen" + "message": "Vierkante profielfoto's" }, "static": { "message": "Statisch" }, + "statsForNerds": { + "message": "Toon statistieken voor Nerds" + }, "step": { "message": "Stap" }, "stop": { - "message": "Stoppen" + "message": "Stop" }, "style": { "message": "Stijl" @@ -668,11 +938,14 @@ "styles": { "message": "Stijlen" }, + "subscribe": { + "message": "Abonneer" + }, "subscriptions": { "message": "Abonnementen" }, "subtitles": { - "message": "Ondertiteling tonen" + "message": "Ondertiteling" }, "sunset": { "message": "Zonsondergang" @@ -681,16 +954,19 @@ "message": "Zonsondergang tot zonsopkomst" }, "systemPeferenceDark": { - "message": "Systeem voorkeur: donker" + "message": "Systeemvoorkeur: donker" }, "systemPeferenceLight": { - "message": "Systeem voorkeur: licht" + "message": "Systeemvoorkeur: licht" }, "teal": { "message": "Groenblauw" }, "textColor": { - "message": "Tekst kleur" + "message": "Tekstkleur" + }, + "thanks": { + "message": "Thanks" }, "themes": { "message": "Thema's" @@ -698,18 +974,24 @@ "thisWillRemoveAllCookies": { "message": "Dit verwijdert alle cookies." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { - "message": "Dit verwijdert alle YouTube cookies" + "message": "Dit verwijdert alle YouTube-cookies" }, "thisWillResetAllSettings": { - "message": "Dit herstelt alle instellingen." + "message": "Dit wist alle instellingen." }, "thisWillResetAllShortcuts": { - "message": "Dit herstelt alle snelkoppelingen" + "message": "Dit wist alle snelkoppelingen" }, "thumbnails": { "message": "Miniatuurvoorbeelden" }, + "thumbnailsQuality": { + "message": "Kwaliteit miniatuurvoorbeelden" + }, "timeFrom": { "message": "Tijd vanaf" }, @@ -719,11 +1001,23 @@ "todayAt": { "message": "Vandaag om" }, + "toggleAutoplay": { + "message": "Automatisch afspelen aanzetten" + }, + "toggleCards": { + "message": "Infokaarten aanzetten" + }, + "toggleControls": { + "message": "Controleknoppen aanzetten" + }, "topChat": { "message": "Top-chat" }, + "trackWatchedVideos": { + "message": "Houd afgespeelde video's bij" + }, "trailerAutoplay": { - "message": "Trailer automatisch afspelen" + "message": "Automatisch afspelen van trailers" }, "translations": { "message": "vertalingen" @@ -732,7 +1026,7 @@ "message": "Doorzichtige achtergrond" }, "trending": { - "message": "Populair" + "message": "Trending" }, "tryToReloadThePage": { "message": "Probeer de pagina te herladen" @@ -744,7 +1038,7 @@ "message": "Volgende in wachtrij automatisch afspelen" }, "use24HourFormat": { - "message": "24-uurstijd gebruiken" + "message": "24-uursnotatie gebruiken" }, "version": { "message": "Versie" @@ -753,14 +1047,17 @@ "message": "Video" }, "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video omschrijving wordt uitgeklapt om de naam van de categorie te verkrijgen" + "message": "De video-omschrijving wordt uitgeklapt om de naam van de categorie te verkrijgen" }, "videoFormats": { - "message": "Video formaten" + "message": "Videoformaten" }, "videos": { "message": "Video's" }, + "viewMode": { + "message": "Afspeelmodus" + }, "volume": { "message": "Volume" }, @@ -768,14 +1065,23 @@ "message": "Later bekijken" }, "watchTime": { - "message": "Kijk tijd" + "message": "Tijd van bekijken" + }, + "whenPaused": { + "message": "When paused" }, "whenTabIsChanged": { - "message": "Wanneer het tabblat veranderd" + "message": "Wanneer het tabblad is veranderd" }, "white": { "message": "Wit" }, + "windowColor": { + "message": "Vensterkleur" + }, + "windowOpacity": { + "message": "Doorzichtigheid venster" + }, "yellow": { "message": "Geel" }, @@ -789,21 +1095,9 @@ "message": "YouTube-startpagina" }, "youtubeLanguage": { - "message": "YouTube taal" + "message": "Taal van YouTube" }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limiteerd video kwaliteit tot 1080p voor h.264 codec" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" + "message": "YouTube limiteert videokwaliteit tot 1080p voor H.264 codec" } -} +} \ No newline at end of file diff --git a/stable/_locales/no/messages.json b/_locales/no/messages.json similarity index 70% rename from stable/_locales/no/messages.json rename to _locales/no/messages.json index eaeadf3b3..872888c20 100644 --- a/stable/_locales/no/messages.json +++ b/_locales/no/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Crop chapter titles" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Om" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Aktiver texting" }, + "activateFullscreen": { + "message": "Aktiver fullskjerm" + }, "activated": { "message": "Aktivert" }, "activatedFeatures": { "message": "Aktiverte funksjoner" }, - "activateFullscreen": { - "message": "Aktiver fullskjerm" - }, "activeFeatures": { "message": "Aktive funksjoner" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "Tillat 60fps" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Alltid aktiv" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "Analysator" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Utseende" }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "Lyd" @@ -86,6 +95,24 @@ "autoplay": { "message": "Autoplay" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "Sikkerhetskopiering og tilbakestilling" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "Blokker alle" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Blå" }, @@ -143,18 +185,27 @@ "channels": { "message": "Kanaler" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Utklippstavle" }, "codecH264": { "message": "Codec h.264" }, - "collapsed": { - "message": "kollapset" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Kollaps av abonnements seksjonene" }, + "collapsed": { + "message": "kollapset" + }, "comments": { "message": "Kommentarer" }, @@ -167,12 +218,21 @@ "cores": { "message": "Kjerner" }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "Tilpasset CSS" }, "customJs": { "message": "Tilpasset JS" }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, "cyan": { "message": "Cyan" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "Mørkelilla" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "Standard kanalfane" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "Slett YouTube-informasjonskapsler" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Beskrivelse" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Ørken" @@ -230,15 +305,27 @@ "dislike": { "message": "Mislik" }, - "donate": { - "message": "Doner" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Ikke endre" }, + "donate": { + "message": "Doner" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Flyttbare" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "E-post" }, @@ -275,12 +362,33 @@ "font": { "message": "Font" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "Bunntekst" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "Tvungen avspillingshastighet" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Tvunget teater-modus" }, @@ -296,24 +404,33 @@ "general": { "message": "Generell" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Gå til søkefeltet" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Grønn" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD-miniatyrbilde" }, - "hdThumbnails": { - "message": "HD-miniatyrbilder" - }, "header": { "message": "Overskrift" }, @@ -332,6 +449,21 @@ "hideCards": { "message": "Skjul kort" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Skjul detaljer" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "Skjul bunntekst " }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "Skjul spilleliste" }, @@ -353,9 +497,24 @@ "hideScrollForDetails": { "message": "Skjul «Bla for detaljer»" }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "Skjul visninger teller" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "Historie" }, @@ -380,8 +539,11 @@ "importSettings": { "message": "Importer innstillinger" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube-ikonet i nettleseren" + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "ImprovedTube-ikonet på YouTube" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "ImprovedTube versjon" }, - "improveLogo": { - "message": "Improve logo" - }, "increasePlaybackSpeed": { "message": "Øk avspillingshastigheten" }, @@ -407,12 +566,24 @@ "items": { "message": "Elementer" }, + "language": { + "message": "Language" + }, "languages": { "message": "Språk" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "Legacy YouTube" }, + "library": { + "message": "Library" + }, "light": { "message": "Lys" }, @@ -425,12 +596,18 @@ "like": { "message": "Like" }, + "liked": { + "message": "Liked" + }, "likes": { "message": "Likes" }, "lime": { "message": "Lime" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "Liste" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "Live chat type" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Høytthetsnormalisering" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "Marker sette videoer" }, - "customMiniPlayer": { - "message": "Custom Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mikser" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "Mine farger" }, @@ -470,32 +668,44 @@ "night": { "message": "Natt" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Ingen aktive funksjoner" }, - "none": { - "message": "Ingen" - }, "noOpenVideoTabs": { "message": "Ingen åpne videofaner" }, + "none": { + "message": "Ingen" + }, "normal": { "message": "Normal" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "Gammel" }, "onAllVideos": { "message": "På alle videoer" }, + "onSubscribedChannels": { + "message": "På abonnementskanaler" + }, "onlyActiveOnYoutube": { "message": "Bare aktiv på YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Bare en spillerforekomst som spiller" }, - "onSubscribedChannels": { - "message": "På abonnementskanaler" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Oransje" @@ -506,6 +716,12 @@ "other": { "message": "Andre" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "rettigheter" }, @@ -521,6 +737,12 @@ "platform": { "message": "Plattform" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Spill / Pause" + }, "playbackSpeed": { "message": "Avspillingshastighet" }, @@ -539,12 +761,12 @@ "playlists": { "message": "Spillelister" }, - "playPause": { - "message": "Spill / Pause" - }, "popupPlayer": { "message": "Popup-spiller" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Posisjon" }, @@ -566,24 +788,39 @@ "quality": { "message": "Quality" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "Rangere oss" }, "red": { "message": "Rød" }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, "relatedVideos": { "message": "Relaterte videoer" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "Fjern relaterte søkeresultater" }, "repeat": { "message": "Gjenta" }, + "report": { + "message": "Report" + }, "reset": { "message": "Tilbakestill" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "Skjermbilde" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Søk" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "Spol 10 sekunder frem" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "Innstillinger" }, "settingsSuccessfullyImported": { "message": "Innstillinger importert" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Snarveier" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "Vis antall kanaler" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Tilfeldig rekkefølge" }, "sidebar": { "message": "Sidepanel" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Mellomrom" }, @@ -656,6 +923,9 @@ "static": { "message": "Statisk" }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, "step": { "message": "Steg" }, @@ -668,6 +938,9 @@ "styles": { "message": "Stiler" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "Abonnementer" }, @@ -692,12 +965,18 @@ "textColor": { "message": "Tekstfarge" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Temaer" }, "thisWillRemoveAllCookies": { "message": "Dette vil fjerne alle informasjonskapsler." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Dette vil fjerne alle YouTube-informasjonskapsler" }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "miniatyrbilder " }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "Tid fra" }, @@ -719,9 +1001,21 @@ "todayAt": { "message": "I dag kl" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "Hoved chat" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "Trailer autospilling" }, @@ -761,6 +1055,9 @@ "videos": { "message": "Videoer" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "Volume" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "Tid sett" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Når fanen endres" }, "white": { "message": "Hvit" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "Gul" }, @@ -793,8 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "YouTube begrenser videokvaliteten til 1080p for h.264-kodeken" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" } -} +} \ No newline at end of file diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json new file mode 100644 index 000000000..621200578 --- /dev/null +++ b/_locales/pl/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Informacje" + }, + "accept": { + "message": "Akceptuj" + }, + "activate": { + "message": "Aktywuj" + }, + "activateCaptions": { + "message": "Aktywuj napisy" + }, + "activateFullscreen": { + "message": "Aktywuj tryb pełnoekranowy" + }, + "activated": { + "message": "Aktywowane" + }, + "activatedFeatures": { + "message": "Aktywowane funkcje" + }, + "activeFeatures": { + "message": "Aktywne funkcje" + }, + "addScrollToTop": { + "message": "Dodaj «Przewiń do góry»" + }, + "ads": { + "message": "Reklamy" + }, + "all": { + "message": "Wszystkie" + }, + "allow": { + "message": "Zezwól" + }, + "allow60fps": { + "message": "Zezwól na 60fps" + }, + "always": { + "message": "Zawsze" + }, + "alwaysActive": { + "message": "Zawsze aktywne" + }, + "alwaysShowProgressBar": { + "message": "Zawsze pokazuj pasek postępu" + }, + "amber": { + "message": "Bursztynowy" + }, + "analyzer": { + "message": "Analizator" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Wygląd" + }, + "areYouSureYouWantToExportTheData": { + "message": "Jesteś pewien że chcesz wyeksportować dane?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Jesteś pewien że chcesz zaimportować dane?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Formaty audio" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Automatyczny tryb pełnoekranowy" + }, + "autopauseWhenSwitchingTabs": { + "message": "Automatyczna pauza przy zmianie kart" + }, + "autoplay": { + "message": "Autoodtwarzanie" + }, + "avoidAv1": { + "message": "Unikaj AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Unikaj AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Unikaj AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Unikaj renderowania CPU gdy tylko możliwe" + }, + "backgroundColor": { + "message": "Kolor tła" + }, + "backgroundOpacity": { + "message": "Przezroczystość tła" + }, + "backupAndReset": { + "message": "Kopia zapasowa i reset" + }, + "baseOnSystemColorScheme": { + "message": "Bazuj na systemowym schemacie kolorów" + }, + "belowPlayer": { + "message": "Pod odtwarzaczem" + }, + "black": { + "message": "Czarny" + }, + "blacklist": { + "message": "Czarna lista" + }, + "blockAll": { + "message": "Blokuj wszystkie" + }, + "blockAv1": { + "message": "Blokuj AV1" + }, + "blockH264": { + "message": "Blokuj H.264" + }, + "blockMusic": { + "message": "Blokuj muzykę" + }, + "blockVp8": { + "message": "Blokuj VP8" + }, + "blockVp9": { + "message": "Blokuj VP9" + }, + "blue": { + "message": "Niebieski" + }, + "blueGray": { + "message": "Szaroniebieski" + }, + "bluelight": { + "message": "Niebieskie światło" + }, + "brown": { + "message": "Brązowy" + }, + "browser": { + "message": "Przeglądarka" + }, + "browserVersion": { + "message": "Wersja przeglądarki" + }, + "bubbles": { + "message": "Dymki" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Przyciski" + }, + "cancel": { + "message": "Anuluj" + }, + "categories": { + "message": "Kategorie" + }, + "channel": { + "message": "Kanał" + }, + "channels": { + "message": "Kanały" + }, + "characterEdgeStyle": { + "message": "Styl krawędzi znaków" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Schowek" + }, + "codecH264": { + "message": "Kodek h.264" + }, + "codecs": { + "message": "Kodeki" + }, + "collapseOfSubscriptionSections": { + "message": "Zwinięcie sekcji subskrypcji" + }, + "collapsed": { + "message": "Zwinięte" + }, + "comments": { + "message": "Komentarze" + }, + "confirmationBeforeClosing": { + "message": "Potwierdzenie przy zamknięciu" + }, + "cookies": { + "message": "Ciasteczka" + }, + "cores": { + "message": "Rdzenie" + }, + "cropChapterTitles": { + "message": "Przycinaj tytuły rozdziałów" + }, + "custom": { + "message": "Niestandardowy" + }, + "customCss": { + "message": "Niestandardowy CSS" + }, + "customJs": { + "message": "Niestandardowy JS" + }, + "customMiniPlayer": { + "message": "Niestandardowy Mini-Odtwarzacz" + }, + "cyan": { + "message": "Cyjan" + }, + "dark": { + "message": "Ciemny" + }, + "darkTheme": { + "message": "Ciemny motyw" + }, + "dateAndTime": { + "message": "Data i godzina" + }, + "dawn": { + "message": "Świt" + }, + "decreasePlaybackSpeed": { + "message": "Zmniejsz prędkość odtwarzania" + }, + "decreaseVolume": { + "message": "Zmniejsz głośność" + }, + "deepOrange": { + "message": "Głęboki pomarańczowy" + }, + "deepPurple": { + "message": "Głęboki fioletowy" + }, + "default": { + "message": "Domyślna" + }, + "defaultChannelTab": { + "message": "Domyślna zakładka na kanałach" + }, + "defaultContentCountry": { + "message": "Domyślny kraj zawartości" + }, + "deleteWatchedVideos": { + "message": "Usuń obejrzane wideo" + }, + "deleteYoutubeCookies": { + "message": "Usuń ciasteczka YouTube" + }, + "depressed": { + "message": "Wklęsłe" + }, + "description": { + "message": "Opis" + }, + "description_ext": { + "message": "Spraw, aby YouTube był uporządkowany i inteligentny! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Pustynia" + }, + "details": { + "message": "Szczegóły" + }, + "developerOptions": { + "message": "Ustawienia deweloperskie" + }, + "device": { + "message": "Urządzenie" + }, + "dim": { + "message": "Przyciemnij" + }, + "disabled": { + "message": "Wyłączony" + }, + "dislike": { + "message": "Nie podoba mi się" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Nie zmieniaj" + }, + "donate": { + "message": "Dotacja" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Przeciągalne" + }, + "dropShadow": { + "message": "Cień" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Pusty" + }, + "enabled": { + "message": "Włączony" + }, + "enabledForced": { + "message": "Włączony (wymuszony)" + }, + "expanded": { + "message": "Rozwinięty" + }, + "exportSettings": { + "message": "Eksport ustawień" + }, + "extension": { + "message": "Rozszerzenie" + }, + "file": { + "message": "Plik" + }, + "filters": { + "message": "Filtry" + }, + "fitToWindow": { + "message": "Dopasuj do okna" + }, + "flash": { + "message": "Błysk" + }, + "font": { + "message": "Czcionka" + }, + "fontColor": { + "message": "Kolor czcionki" + }, + "fontFamily": { + "message": "Rodzaj czcionki" + }, + "fontOpacity": { + "message": "Przezroczystość czcionki" + }, + "fontSize": { + "message": "Rozmiar czcionki" + }, + "footer": { + "message": "Stopka" + }, + "forceSDR": { + "message": "Wymuś SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Wymuś odtwarzanie wideo od początku" + }, + "forcedPlaybackSpeed": { + "message": "Wymuś prędkość odtwarzania" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Wymuś tryb kinowy" + }, + "forcedVolume": { + "message": "Wymuś poziom głośności" + }, + "foundABug": { + "message": "Znalazłeś błąd?" + }, + "fullWindow": { + "message": "Pełne okno" + }, + "general": { + "message": "Ogólne" + }, + "geoPreference": { + "message": "Geo preferencja" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Idź do paska wyszukiwania" + }, + "googleApiKey": { + "message": "Klucz Google API" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Zielony" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniatura HD" + }, + "header": { + "message": "Nagłówek" + }, + "hidden": { + "message": "Ukryty" + }, + "hiddenOnVideoPage": { + "message": "Ukryty na stronie z wideo" + }, + "hideAnimatedThumbnails": { + "message": "Ukryj animowane miniatury" + }, + "hideAnnotations": { + "message": "Ukryj adnotacje" + }, + "hideCards": { + "message": "Ukryj karty" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Ukryj kod kraju" + }, + "hideDate": { + "message": "Ukryj datę" + }, + "hideDetailButton": { + "message": "Ukryj przycisk Szczegóły" + }, + "hideDetails": { + "message": "Ukryj szczegóły" + }, + "hideEndscreen": { + "message": "Ukryj ekran końcowy" + }, + "hideFeaturedContent": { + "message": "Ukryj wyróżnioną zawartość" + }, + "hideFooter": { + "message": "Ukryj stopkę" + }, + "hideGradientBottom": { + "message": "Ukryj cień dookoła paska odtwarzania" + }, + "hidePlayerControlsBar": { + "message": "Ukryj pasek sterowania odtwarzaczem" + }, + "hidePlayerControlsBarButtons": { + "message": "Ukryj przyciski paska sterowania odtwarzaczem" + }, + "hidePlayerControlsBarOptions": { + "message": "Ukryj przyciski paska sterowania odtwarzaczem - ustawienia" + }, + "hidePlaylist": { + "message": "Ukryj playliste" + }, + "hideRightButtons": { + "message": "Ukryj przyciski po prawej" + }, + "hideScrollForDetails": { + "message": "Ukryj «Przewiń do szczegółów»" + }, + "hideSkipOverlay": { + "message": "Ukryj nakładkę pomijania" + }, + "hideThumbnailOverlay": { + "message": "Ukryj przyciski na miniaturach" + }, + "hideThumbnails": { + "message": "Ukryj miniatury" + }, + "hideViewsCount": { + "message": "Ukryj ilość wyświetleń" + }, + "hideVoiceSearchButton": { + "message": "Ukryj przycisk wyszukiwania głosowego" + }, + "high": { + "message": "Wysoka" + }, + "history": { + "message": "Historia" + }, + "home": { + "message": "Strona główna" + }, + "hover": { + "message": "Najedź" + }, + "hoverOnVideoPage": { + "message": "Najedź na stronie wideo" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Jak dawno wideo zostało przesłane" + }, + "icons": { + "message": "Ikony" + }, + "iconsOnly": { + "message": "Tylko ikony" + }, + "importSettings": { + "message": "Import ustawień" + }, + "improveLogo": { + "message": "Ulepsz logo" + }, + "improvedtubeButtons": { + "message": "Przyciski ImprovedTube" + }, + "improvedtubeIconOnYoutube": { + "message": "Ikona ImprovedTube na YouTube" + }, + "improvedtubeLanguage": { + "message": "Język ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Wersja ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Zwiększ prędkość odtwarzania" + }, + "increaseVolume": { + "message": "Zwiększ głośność" + }, + "indigo": { + "message": "Indygo" + }, + "items": { + "message": "Przedmioty" + }, + "language": { + "message": "Język" + }, + "languages": { + "message": "Języki" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Stara wersja YouTube" + }, + "library": { + "message": "Biblioteka" + }, + "light": { + "message": "Jasny" + }, + "lightBlue": { + "message": "Jasnoniebieski" + }, + "lightGreen": { + "message": "Jasnozielony" + }, + "like": { + "message": "Polub" + }, + "liked": { + "message": "Polubione" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Limonkowy" + }, + "limitPageWidth": { + "message": "Ogranicz szerokość strony" + }, + "list": { + "message": "Lista" + }, + "liveChat": { + "message": "Czat na żywo" + }, + "liveChatType": { + "message": "Rodzaj czatu na żywo" + }, + "location": { + "message": "Położenie" + }, + "loop": { + "message": "Pętla" + }, + "loudnessNormalization": { + "message": "Normalizacja głośności" + }, + "low": { + "message": "Niska" + }, + "markWatchedVideos": { + "message": "Oznacz obejrzane wideo" + }, + "medium": { + "message": "Średnia" + }, + "mixer": { + "message": "Mikser" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Przenieś panel boczny na lewo" + }, + "moveThumbnailsRight": { + "message": "Przenieś miniatury na prawo" + }, + "myColors": { + "message": "Moje kolory" + }, + "name": { + "message": "Nazwa" + }, + "nativeMiniPlayer": { + "message": "Natywny mini-odtwarzacz" + }, + "new": { + "message": "Nowe" + }, + "nextVideo": { + "message": "Następne wideo" + }, + "night": { + "message": "Noc" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "Brak aktywnych funkcji" + }, + "noOpenVideoTabs": { + "message": "Brak otwartych kart wideo" + }, + "none": { + "message": "Brak" + }, + "normal": { + "message": "Normalny" + }, + "off": { + "message": "Wyłączone" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Stary" + }, + "onAllVideos": { + "message": "Na wszystkich wideo" + }, + "onSubscribedChannels": { + "message": "Na subskrybowanych kanałach" + }, + "onlyActiveOnYoutube": { + "message": "Aktywny tylko na YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Odtwarzanie tylko w jednej instancji odtwarzacza" + }, + "openPopupPlayer": { + "message": "Otwórz wideo/playliste w nowym oknie" + }, + "orange": { + "message": "Pomarańczowy" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Inne" + }, + "outline": { + "message": "Kontur" + }, + "overlay": { + "message": "Nakładka" + }, + "permissions": { + "message": "Uprawnienia" + }, + "pictureInPicture": { + "message": "Obraz w Obrazie" + }, + "pink": { + "message": "Różowy" + }, + "plain": { + "message": "Zwykły" + }, + "platform": { + "message": "Platforma" + }, + "playAllButton": { + "message": "Przycisk \"Odtwórz wszystko\"" + }, + "playPause": { + "message": "Odtwarzanie / Pauza" + }, + "playbackSpeed": { + "message": "Prędkość odtwarzania" + }, + "player": { + "message": "Odtwarzacz" + }, + "playerColor": { + "message": "Kolor odtwarzacza" + }, + "playerSize": { + "message": "Rozmiar odtwarzacza" + }, + "playlist": { + "message": "Lista odtwarzania" + }, + "playlists": { + "message": "Listy odtwarzania" + }, + "popupPlayer": { + "message": "Odtwarzacz popout" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Pozycja" + }, + "pressAnyKeyOrScroll": { + "message": "Wciśnij dowolny przycisk lub użyj kółka myszy." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Wciśnij dowolny przycisk lub użyj kółka myszy" + }, + "previousVideo": { + "message": "Poprzednie wideo" + }, + "primaryColor": { + "message": "Kolor główny" + }, + "purple": { + "message": "Fioletowy" + }, + "quality": { + "message": "Jakość" + }, + "raised": { + "message": "Podniesione" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Oceń mnie" + }, + "rateUs": { + "message": "Oceń nas" + }, + "red": { + "message": "Czerwony" + }, + "redDislikeButton": { + "message": "Koloruj przycisk 'Nie lubię' na czerwono" + }, + "relatedVideos": { + "message": "Powiązane filmy" + }, + "remote": { + "message": "Odtwarzaj na telewizorze" + }, + "removeRelatedSearchResults": { + "message": "Usuń powiązane wyniki wyszukiwania" + }, + "repeat": { + "message": "Powtarzaj" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Resetuj wszystkie ustawienia" + }, + "resetAllShortcuts": { + "message": "Resetuj wszystkie skróty" + }, + "reverse": { + "message": "Odwróć" + }, + "rotate": { + "message": "Obróć" + }, + "save": { + "message": "Zapisz" + }, + "saveAs": { + "message": "Zapisz jako" + }, + "schedule": { + "message": "Harmonogram" + }, + "screen": { + "message": "Ekran" + }, + "screenshot": { + "message": "Zrzut ekranu" + }, + "scrollBar": { + "message": "Pasek przewijania" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Wyszukaj" + }, + "searchBarOnly": { + "message": "Tylko pasek wyszukiwania" + }, + "seekBackward10Seconds": { + "message": "Przewiń 10 sekund do tyłu" + }, + "seekForward10Seconds": { + "message": "Przewiń 10 sekund do przodu" + }, + "seekNextChapter": { + "message": "Przewiń do następnego rozdziału" + }, + "seekPreviousChapter": { + "message": "Przewiń do poprzedniego rozdziału" + }, + "settings": { + "message": "Ustawienia" + }, + "settingsSuccessfullyImported": { + "message": "Ustawienia pomyślnie zaimportowane" + }, + "share": { + "message": "Udostępnij" + }, + "shortcuts": { + "message": "Skróty" + }, + "showCardsOnMouseHover": { + "message": "Pokaż karty po najechaniu myszą" + }, + "showChannelVideosCount": { + "message": "Pokaż ilość wideo na kanale" + }, + "showLess": { + "message": "Pokaż mniej" + }, + "showMore": { + "message": "Pokaż więcej" + }, + "showRemainingDuration": { + "message": "Pokaż pozostały czas trwania filmu" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Losowo" + }, + "sidebar": { + "message": "Panel boczny" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacja" + }, + "squaredUserImages": { + "message": "Kwadratowe avatary użytkowników" + }, + "static": { + "message": "Statyczne" + }, + "statsForNerds": { + "message": "Statystyki dla nerdów" + }, + "step": { + "message": "Stopień" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Styl" + }, + "styles": { + "message": "Style" + }, + "subscribe": { + "message": "Subskrybuj" + }, + "subscriptions": { + "message": "Subskrypcje" + }, + "subtitles": { + "message": "Napisy" + }, + "sunset": { + "message": "Zachód" + }, + "sunsetToSunrise": { + "message": "Od zachodu do wschodu słońca" + }, + "systemPeferenceDark": { + "message": "Preferencja systemowa: ciemne" + }, + "systemPeferenceLight": { + "message": "Preferencja systemowa: jasne" + }, + "teal": { + "message": "Morski" + }, + "textColor": { + "message": "Kolor tekstu" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Motywy" + }, + "thisWillRemoveAllCookies": { + "message": "To usunie wszystkie ciasteczka." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "To usunie wszystkie obejrzane wideo." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "To usunie wszystkie ciasteczka YouTube." + }, + "thisWillResetAllSettings": { + "message": "To zresetuje wszystkie ustawienia." + }, + "thisWillResetAllShortcuts": { + "message": "To zresetuje wszystkie skróty" + }, + "thumbnails": { + "message": "Miniatury" + }, + "thumbnailsQuality": { + "message": "Jakość miniatur" + }, + "timeFrom": { + "message": "Od" + }, + "timeTo": { + "message": "Do" + }, + "todayAt": { + "message": "Dzisiaj o" + }, + "toggleAutoplay": { + "message": "Przełącz autoodtwarzanie" + }, + "toggleCards": { + "message": "Przełącz karty" + }, + "toggleControls": { + "message": "Przełącz widoczność sterowania odtwarzaczew" + }, + "topChat": { + "message": "Czat na górze" + }, + "trackWatchedVideos": { + "message": "Śledź obejrzane wideo" + }, + "trailerAutoplay": { + "message": "Autoodtwarzanie zwiastunów" + }, + "translations": { + "message": "Tłumaczenia" + }, + "transparentBackground": { + "message": "Przezroczyste tło" + }, + "trending": { + "message": "Na czasie" + }, + "tryToReloadThePage": { + "message": "Spróbuj odświeżyć stronę" + }, + "type": { + "message": "Typ" + }, + "upNextAutoplay": { + "message": "Autoodwarzanie następnego wideo" + }, + "use24HourFormat": { + "message": "Używaj 24-godzinnego formatu czasu" + }, + "version": { + "message": "Wersja" + }, + "video": { + "message": "Wideo" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "Opis wideo zostanie rozwinięty aby pozyskać nazwę kategorii" + }, + "videoFormats": { + "message": "Formaty wideo" + }, + "videos": { + "message": "Wideo" + }, + "viewMode": { + "message": "Tryb widoku" + }, + "volume": { + "message": "Głośność" + }, + "watchLater": { + "message": "Obejrzyj później" + }, + "watchTime": { + "message": "Czas oglądania" + }, + "whenPaused": { + "message": "Kiedy wideo jest zatrzymane" + }, + "whenTabIsChanged": { + "message": "Kiedy zostaje zmieniona karta" + }, + "white": { + "message": "Biały" + }, + "windowColor": { + "message": "Kolor okna" + }, + "windowOpacity": { + "message": "Przezroczystość okna" + }, + "yellow": { + "message": "Żółty" + }, + "youtubeHeaderLeft": { + "message": "Nagłówek YouTube (lewy)" + }, + "youtubeHeaderRight": { + "message": "Nagłówek YouTube (prawy)" + }, + "youtubeHomePage": { + "message": "Strona główna YouTube" + }, + "youtubeLanguage": { + "message": "Język YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube ogranicza jakość wideo do 1080p przy kodeku h.264" + } +} \ No newline at end of file diff --git a/unstable/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json similarity index 56% rename from unstable/_locales/pt_BR/messages.json rename to _locales/pt_BR/messages.json index e827be780..e0007b9fd 100644 --- a/unstable/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -1,809 +1,1103 @@ -{ - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "about": { - "message": "Sobre" - }, - "accept": { - "message": "Accept" - }, - "activate": { - "message": "Activate" - }, - "activateCaptions": { - "message": "Ativar legendas" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activateFullscreen": { - "message": "Ativar tela cheia" - }, - "activeFeatures": { - "message": "Funções ativas" - }, - "addScrollToTop": { - "message": "Habilitar botão «Voltar ao Topo»" - }, - "ads": { - "message": "Anúncios" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "Permitir" - }, - "allow60fps": { - "message": "Permitir 60fps" - }, - "alwaysActive": { - "message": "Sempre ativo" - }, - "alwaysShowProgressBar": { - "message": "Sempre exibir a barra de progresso" - }, - "amber": { - "message": "Âmbar" - }, - "analyzer": { - "message": "Analítico" - }, - "appearance": { - "message": "Aparência" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "Áudio" - }, - "audioFormats": { - "message": "Formatos de áudio" - }, - "auto": { - "message": "Automático" - }, - "autoFullscreen": { - "message": "Tela cheia automática" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausar vídeo ao alternar entre abas" - }, - "autoplay": { - "message": "Reprodução automática" - }, - "backupAndReset": { - "message": "Backup & Restauração" - }, - "baseOnSystemColorScheme": { - "message": "Baseado nas cores do sistema" - }, - "belowPlayer": { - "message": "Abaixo do player" - }, - "black": { - "message": "Preto" - }, - "blacklist": { - "message": "Lista negra" - }, - "blockAll": { - "message": "Bloquear tudo" - }, - "blue": { - "message": "Azul" - }, - "blueGray": { - "message": "Cinza Azulado" - }, - "bluelight": { - "message": "Filtrar luz azul" - }, - "brown": { - "message": "Marrom" - }, - "browser": { - "message": "Navegador" - }, - "browserVersion": { - "message": "Versão do navegador" - }, - "bubbles": { - "message": "Bolhas" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Botões" - }, - "cancel": { - "message": "Cancelar" - }, - "categories": { - "message": "Categorias" - }, - "channel": { - "message": "Canal" - }, - "channels": { - "message": "Canais" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapsed": { - "message": "Retraído" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "comments": { - "message": "Comentários" - }, - "confirmationBeforeClosing": { - "message": "Alerta ao fechar a página" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Núcleos" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "cyan": { - "message": "Ciano" - }, - "dark": { - "message": "Obscuro" - }, - "darkTheme": { - "message": "Tema escuro" - }, - "dateAndTime": { - "message": "Data & Hora" - }, - "dawn": { - "message": "Alvorecer" - }, - "decreasePlaybackSpeed": { - "message": "Diminuir velocidade" - }, - "decreaseVolume": { - "message": "Diminuir volume" - }, - "deepOrange": { - "message": "Laranja Escuro" - }, - "deepPurple": { - "message": "Roxo Escuro" - }, - "defaultChannelTab": { - "message": "Aba padrão do canal" - }, - "deleteYoutubeCookies": { - "message": "Deletar cookies do YouTube" - }, - "description": { - "message": "Descrição" - }, - "desert": { - "message": "Deserto" - }, - "details": { - "message": "Detalhes" - }, - "developerOptions": { - "message": "Developer options" - }, - "device": { - "message": "Dispositivo" - }, - "dim": { - "message": "Escurecer" - }, - "disabled": { - "message": "Desabilitado" - }, - "dislike": { - "message": "Não Gostei." - }, - "donate": { - "message": "Doar" - }, - "doNotChange": { - "message": "Não alterar" - }, - "draggable": { - "message": "Arrastável" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Vazio" - }, - "enabled": { - "message": "Habilitado" - }, - "enabledForced": { - "message": "Enabled (forced)" - }, - "expanded": { - "message": "Expandido" - }, - "exportSettings": { - "message": "Exportar configurações" - }, - "extension": { - "message": "Extensão" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filtros" - }, - "fitToWindow": { - "message": "Ajustar à janela" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Rodapé" - }, - "forcedPlaybackSpeed": { - "message": "Forced playback speed" - }, - "forcedTheaterMode": { - "message": "Forçar modo teatro" - }, - "forcedVolume": { - "message": "Forçar volume" - }, - "foundABug": { - "message": "Encontrou um bug?" - }, - "fullWindow": { - "message": "Preencher a janela" - }, - "general": { - "message": "Geral" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Selecionar barra de pesquisa" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura em HD" - }, - "hdThumbnails": { - "message": "Miniaturas em HD" - }, - "header": { - "message": "Cabeçalho" - }, - "hidden": { - "message": "Oculto" - }, - "hiddenOnVideoPage": { - "message": "Oculto na página de vídeo" - }, - "hideAnimatedThumbnails": { - "message": "Desabilitar miniaturas animadas" - }, - "hideAnnotations": { - "message": "Ocultar anotações" - }, - "hideCards": { - "message": "Ocultar cards" - }, - "hideDetails": { - "message": "Ocultar detalhes" - }, - "hideEndscreen": { - "message": "Ocultar tela final" - }, - "hideFeaturedContent": { - "message": "Ocultar conteúdo em destaque" - }, - "hideFooter": { - "message": "Ocultar rodapé" - }, - "hidePlaylist": { - "message": "Ocultar playlist" - }, - "hideRightButtons": { - "message": "Ocultar botões à direita" - }, - "hideScrollForDetails": { - "message": "Ocultar «Rolar Para Ver Detalhes»" - }, - "hideViewsCount": { - "message": "Ocultar visualizações" - }, - "history": { - "message": "Histórico" - }, - "home": { - "message": "Início" - }, - "hover": { - "message": "Retrátil" - }, - "hoverOnVideoPage": { - "message": "Retrátil na página de video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Tempo decorrido desde a publicação" - }, - "icons": { - "message": "Ícones" - }, - "iconsOnly": { - "message": "Apenas ícones" - }, - "importSettings": { - "message": "Importar configurações" - }, - "improvedtubeIconInBrowser": { - "message": "Ícone do ImprovedTube no navegador" - }, - "improvedtubeIconOnYoutube": { - "message": "Ícone do ImprovedTube no YouTube" - }, - "improvedtubeLanguage": { - "message": "Idioma do ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Versão do ImprovedTube" - }, - "improveLogo": { - "message": "Aprimorar logomarca" - }, - "increasePlaybackSpeed": { - "message": "Aumentar velocidade" - }, - "increaseVolume": { - "message": "Diminuir volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Itens" - }, - "languages": { - "message": "Idiomas" - }, - "legacyYoutube": { - "message": "YouTube antigo" - }, - "light": { - "message": "Claro" - }, - "lightBlue": { - "message": "Azul Claro" - }, - "lightGreen": { - "message": "Verde Claro" - }, - "like": { - "message": "Gostei!" - }, - "likes": { - "message": "Avaliações" - }, - "lime": { - "message": "Verde Limão" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Bate-Papo Ao Vivo" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "Normalização de volume" - }, - "markWatchedVideos": { - "message": "Mark watched videos" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "Nome" - }, - "nativeMiniPlayer": { - "message": "Mini player nativo" - }, - "new": { - "message": "Novo" - }, - "nextVideo": { - "message": "Próximo vídeo" - }, - "night": { - "message": "Noite" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "none": { - "message": "Nenhum" - }, - "noOpenVideoTabs": { - "message": "Nenhuma aba de vídeo aberta" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Antigo" - }, - "onAllVideos": { - "message": "Em todos os vídeos" - }, - "onlyActiveOnYoutube": { - "message": "Ativo apenas no YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "onSubscribedChannels": { - "message": "Apenas em inscrições" - }, - "orange": { - "message": "Laranja" - }, - "os": { - "message": "Sistema Operacional" - }, - "other": { - "message": "Outras opções" - }, - "permissions": { - "message": "Permissões" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Panície" - }, - "platform": { - "message": "Plataforma" - }, - "playbackSpeed": { - "message": "Velocidade de reprodução" - }, - "player": { - "message": "Player" - }, - "playerColor": { - "message": "Cor do player" - }, - "playerSize": { - "message": "Tamanho do player" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlists" - }, - "playPause": { - "message": "Reproduzir / Pausar" - }, - "popupPlayer": { - "message": "Player externo" - }, - "position": { - "message": "Posição" - }, - "pressAnyKeyOrScroll": { - "message": "Pressione qualquer tecla ou use a roda do mouse" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Pressione qualquer tecla ou use a roda do mouse" - }, - "previousVideo": { - "message": "Vídeo anterior" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "Roxo" - }, - "quality": { - "message": "Qualidade" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Avalie-nos!" - }, - "red": { - "message": "Vermelho" - }, - "relatedVideos": { - "message": "Vídeos relacionados" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "Repetir" - }, - "reset": { - "message": "Restaurar" - }, - "resetAllSettings": { - "message": "Restaurar todas as configurações" - }, - "resetAllShortcuts": { - "message": "Reset all shortcuts" - }, - "reverse": { - "message": "Reverso" - }, - "rotate": { - "message": "Rotacionar" - }, - "save": { - "message": "Salvar" - }, - "saveAs": { - "message": "Salvar como" - }, - "schedule": { - "message": "Agendamento" - }, - "screen": { - "message": "Tela" - }, - "screenshot": { - "message": "Captura de tela" - }, - "search": { - "message": "Pesquisar" - }, - "searchBarOnly": { - "message": "Apenas barra de pesquisa" - }, - "seekBackward10Seconds": { - "message": "Retroceder 10 segundos" - }, - "seekForward10Seconds": { - "message": "Avançar 10 segundos" - }, - "settings": { - "message": "Configurações" - }, - "settingsSuccessfullyImported": { - "message": "Configurações importadas com sucesso" - }, - "shortcuts": { - "message": "Atalhos" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "Número de vídeos do canal" - }, - "shuffle": { - "message": "Aleatório" - }, - "sidebar": { - "message": "Painel lateral" - }, - "spacebar": { - "message": "Espaço" - }, - "squaredUserImages": { - "message": "Avatares quadrados" - }, - "static": { - "message": "Estático" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Parar" - }, - "style": { - "message": "Estilo" - }, - "styles": { - "message": "Estilos" - }, - "subscriptions": { - "message": "Inscrições" - }, - "subtitles": { - "message": "Legendas" - }, - "sunset": { - "message": "Pôr do Sol" - }, - "sunsetToSunrise": { - "message": "Durante a noite" - }, - "systemPeferenceDark": { - "message": "Preferência do sistema: Escuro" - }, - "systemPeferenceLight": { - "message": "Preferência do sistema: Claro" - }, - "teal": { - "message": "Verde Azulado" - }, - "textColor": { - "message": "Text color" - }, - "themes": { - "message": "Temas" - }, - "thisWillRemoveAllCookies": { - "message": "Todos os cookies serão removidos." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Todos os cookies do YouTube serão removidos" - }, - "thisWillResetAllSettings": { - "message": "As configurações padrão serão restauradas." - }, - "thisWillResetAllShortcuts": { - "message": "This will reset all shortcuts" - }, - "thumbnails": { - "message": "Miniaturas" - }, - "timeFrom": { - "message": "Horário inicial" - }, - "timeTo": { - "message": "Horário final" - }, - "todayAt": { - "message": "Hoje às" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Reproduzir trailer" - }, - "translations": { - "message": "Translations" - }, - "transparentBackground": { - "message": "Fundo transparente" - }, - "trending": { - "message": "Em Alta" - }, - "tryToReloadThePage": { - "message": "Recarregue a página" - }, - "type": { - "message": "Tipo" - }, - "upNextAutoplay": { - "message": "Reproduzir vídeo em seguida" - }, - "use24HourFormat": { - "message": "Usar formato de 24 horas" - }, - "version": { - "message": "Versão" - }, - "video": { - "message": "Vídeo" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "A descrição se expandirá para acessar a categoria do vídeo" - }, - "videoFormats": { - "message": "Formatos de vídeo" - }, - "videos": { - "message": "Vídeos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Assistir mais tarde" - }, - "watchTime": { - "message": "Tempo de exibição" - }, - "whenTabIsChanged": { - "message": "Quando alternar entre abas" - }, - "white": { - "message": "Branco" - }, - "yellow": { - "message": "Amarelo" - }, - "youtubeHeaderLeft": { - "message": "No cabeçalho à esquerda" - }, - "youtubeHeaderRight": { - "message": "No cabeçalho à direita" - }, - "youtubeHomePage": { - "message": "Página inicial do YouTube" - }, - "youtubeLanguage": { - "message": "Idioma do YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "O YouTube limita o codec h.264 à resolução de 1080p" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Sobre" + }, + "accept": { + "message": "Aceitar" + }, + "activate": { + "message": "Ativar" + }, + "activateCaptions": { + "message": "Ativar legendas" + }, + "activateFullscreen": { + "message": "Ativar tela cheia" + }, + "activated": { + "message": "Ativado" + }, + "activatedFeatures": { + "message": "Recursos ativados" + }, + "activeFeatures": { + "message": "Recursos ativos" + }, + "addScrollToTop": { + "message": "Adicionar «Voltar ao Topo»" + }, + "ads": { + "message": "Anúncios" + }, + "all": { + "message": "Todos" + }, + "allow": { + "message": "Permitir" + }, + "allow60fps": { + "message": "Permitir 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Sempre ativo" + }, + "alwaysShowProgressBar": { + "message": "Sempre exibir a barra de progresso" + }, + "amber": { + "message": "Âmbar" + }, + "analyzer": { + "message": "Analisador" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Aparência" + }, + "areYouSureYouWantToExportTheData": { + "message": "Tem certeza de que deseja exportar os dados?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Tem certeza de que deseja importar os dados?" + }, + "audio": { + "message": "Áudio" + }, + "audioFormats": { + "message": "Formatos de áudio" + }, + "auto": { + "message": "Automático" + }, + "autoFullscreen": { + "message": "Tela cheia automática" + }, + "autopauseWhenSwitchingTabs": { + "message": "Pausar vídeo automáticamente ao alternar entre abas" + }, + "autoplay": { + "message": "Reprodução automática" + }, + "avoidAv1": { + "message": "Evitar AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Evitar AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Evitar AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Evite renderização da CPU quando possível" + }, + "backgroundColor": { + "message": "Cor de fundo" + }, + "backgroundOpacity": { + "message": "Opacidade do fundo" + }, + "backupAndReset": { + "message": "Backup & Restauração" + }, + "baseOnSystemColorScheme": { + "message": "Baseado nas cores do sistema" + }, + "belowPlayer": { + "message": "Abaixo do player" + }, + "black": { + "message": "Preto" + }, + "blacklist": { + "message": "Lista Negra" + }, + "blockAll": { + "message": "Bloquear tudo" + }, + "blockAv1": { + "message": "Bloquear AV1" + }, + "blockH264": { + "message": "Bloquear H.264" + }, + "blockMusic": { + "message": "Bloquear música" + }, + "blockVp8": { + "message": "Bloquear VP8" + }, + "blockVp9": { + "message": "Bloquear VP9" + }, + "blue": { + "message": "Azul" + }, + "blueGray": { + "message": "Cinza azulado" + }, + "bluelight": { + "message": "Filtrar luz azul" + }, + "brown": { + "message": "Marrom" + }, + "browser": { + "message": "Navegador" + }, + "browserVersion": { + "message": "Versão do navegador" + }, + "bubbles": { + "message": "Bolhas" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Botões" + }, + "cancel": { + "message": "Cancelar" + }, + "categories": { + "message": "Categorias" + }, + "channel": { + "message": "Canal" + }, + "channels": { + "message": "Canais" + }, + "characterEdgeStyle": { + "message": "Estilo da borda de personagem" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Àrea de transferência" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Recolher seções de assinatura" + }, + "collapsed": { + "message": "Recolhido" + }, + "comments": { + "message": "Comentários" + }, + "confirmationBeforeClosing": { + "message": "Alerta ao fechar a página" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Núcleos" + }, + "cropChapterTitles": { + "message": "Recortar títulos do capítulos" + }, + "custom": { + "message": "Personalizar" + }, + "customCss": { + "message": "Personalizar CSS" + }, + "customJs": { + "message": "Personalizar JS" + }, + "customMiniPlayer": { + "message": "Personalizar Mini-Player" + }, + "cyan": { + "message": "Ciano" + }, + "dark": { + "message": "Escuro" + }, + "darkTheme": { + "message": "Tema Escuro" + }, + "dateAndTime": { + "message": "Data & Hora" + }, + "dawn": { + "message": "Alvorecer" + }, + "decreasePlaybackSpeed": { + "message": "Diminuir velocidade" + }, + "decreaseVolume": { + "message": "Diminuir volume" + }, + "deepOrange": { + "message": "Laranja Escuro" + }, + "deepPurple": { + "message": "Roxo Escuro" + }, + "default": { + "message": "Padrão" + }, + "defaultChannelTab": { + "message": "Aba padrão do canal " + }, + "defaultContentCountry": { + "message": "Conteúdo padrão do país " + }, + "deleteWatchedVideos": { + "message": "Excluir vídeos assistidos" + }, + "deleteYoutubeCookies": { + "message": "Apagar cookies do YouTube" + }, + "depressed": { + "message": "Comprimido" + }, + "description": { + "message": "Descrição" + }, + "description_ext": { + "message": "Torne o YouTube organizado e inteligente! Pular Anúncio, colorir YouTube, volume, velocidade, canal, ferramenta, estilo, HD, adblock, adblocker, tags, playlist ,palavras-chave" + }, + "desert": { + "message": "Deserto" + }, + "details": { + "message": "Detalhes" + }, + "developerOptions": { + "message": "Opções do Desenvolvedor" + }, + "device": { + "message": "Dispositivo" + }, + "dim": { + "message": "Escurecer" + }, + "disabled": { + "message": "Desativado" + }, + "dislike": { + "message": "Não Gostei." + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Não Alterar" + }, + "donate": { + "message": "Doar" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Arrastável" + }, + "dropShadow": { + "message": "Sombra projetada" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Vazio" + }, + "enabled": { + "message": "Ativado" + }, + "enabledForced": { + "message": "Ativado (forçado)" + }, + "expanded": { + "message": "Expandido" + }, + "exportSettings": { + "message": "Exportar configurações" + }, + "extension": { + "message": "Extensão" + }, + "file": { + "message": "Arquivo" + }, + "filters": { + "message": "Filtros" + }, + "fitToWindow": { + "message": "Ajustar à janela" + }, + "flash": { + "message": "Instantâneo" + }, + "font": { + "message": "Fonte" + }, + "fontColor": { + "message": "Cor da fonte" + }, + "fontFamily": { + "message": "Família da fonte" + }, + "fontOpacity": { + "message": "Opacidade da fonte" + }, + "fontSize": { + "message": "Tamanho da fonte" + }, + "footer": { + "message": "Rodapé" + }, + "forceSDR": { + "message": "Forçar SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Reprodução do vídeo desde o início forçado" + }, + "forcedPlaybackSpeed": { + "message": " Velocidade do reprodução forçado" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Modo teatro forçado" + }, + "forcedVolume": { + "message": "Volume forçado" + }, + "foundABug": { + "message": "Encontrou um Bug?" + }, + "fullWindow": { + "message": "Tela Cheia" + }, + "general": { + "message": "Geral" + }, + "geoPreference": { + "message": "Preferência Geográfica" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Selecionar barra de pesquisa" + }, + "googleApiKey": { + "message": "Chave da API do Google" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Verde" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniatura em HD" + }, + "header": { + "message": "Cabeçalho" + }, + "hidden": { + "message": "Oculto" + }, + "hiddenOnVideoPage": { + "message": "Oculto na página do vídeo" + }, + "hideAnimatedThumbnails": { + "message": "Desativar miniaturas animadas" + }, + "hideAnnotations": { + "message": "Ocultar anotações" + }, + "hideCards": { + "message": "Ocultar cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Ocultar código do país" + }, + "hideDate": { + "message": "Ocultar data" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Ocultar detalhes" + }, + "hideEndscreen": { + "message": "Ocultar tela final" + }, + "hideFeaturedContent": { + "message": "Ocultar conteúdo em destaque" + }, + "hideFooter": { + "message": "Ocultar rodapé" + }, + "hideGradientBottom": { + "message": "Ocultar sombra ao redor da barra do player" + }, + "hidePlayerControlsBar": { + "message": "Ocultar a barra de controles do player" + }, + "hidePlayerControlsBarButtons": { + "message": "Ocultar os botões da barra de controles do player" + }, + "hidePlayerControlsBarOptions": { + "message": "Ocultar opções de controles do player" + }, + "hidePlaylist": { + "message": "Ocultar playlist" + }, + "hideRightButtons": { + "message": "Ocultar botões à direita" + }, + "hideScrollForDetails": { + "message": "Ocultar «Rolar para ver detalhes»" + }, + "hideSkipOverlay": { + "message": "Hide 5 second skip animation" + }, + "hideThumbnailOverlay": { + "message": "Ocultar botões nas miniaturas" + }, + "hideThumbnails": { + "message": "Ocultar miniaturas" + }, + "hideViewsCount": { + "message": "Ocultar visualizações" + }, + "hideVoiceSearchButton": { + "message": "Ocultar botão pesquisa de voz" + }, + "high": { + "message": "Alta" + }, + "history": { + "message": "Histórico" + }, + "home": { + "message": "Início" + }, + "hover": { + "message": "Passar" + }, + "hoverOnVideoPage": { + "message": "Passe o mouse na página do vídeo" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Há quanto tempo o vídeo foi enviado" + }, + "icons": { + "message": "Ícones" + }, + "iconsOnly": { + "message": "Apenas ícones" + }, + "importSettings": { + "message": "Importar configurações" + }, + "improveLogo": { + "message": "Logo do ImproveTube" + }, + "improvedtubeButtons": { + "message": "Botões do ImprovedTube" + }, + "improvedtubeIconOnYoutube": { + "message": "Ícone do ImprovedTube" + }, + "improvedtubeLanguage": { + "message": "Idioma do ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Versão do ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Aumentar velocidade" + }, + "increaseVolume": { + "message": "Diminuir volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Itens" + }, + "language": { + "message": "Idioma" + }, + "languages": { + "message": "Idiomas" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "YouTube Antigo" + }, + "library": { + "message": "Biblioteca" + }, + "light": { + "message": "Claro" + }, + "lightBlue": { + "message": "Azul Claro" + }, + "lightGreen": { + "message": "Verde Claro" + }, + "like": { + "message": "Avaliar!" + }, + "liked": { + "message": "Avaliado" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Verde Limão" + }, + "limitPageWidth": { + "message": "Limite de largura da página" + }, + "list": { + "message": "Lista" + }, + "liveChat": { + "message": "Chat Ao vivo" + }, + "liveChatType": { + "message": "Tipo chat Ao vivo" + }, + "location": { + "message": "Localização" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Normalização de volume" + }, + "low": { + "message": "Baixa" + }, + "markWatchedVideos": { + "message": "Marca vídeos assistido" + }, + "medium": { + "message": "Média" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Mover barra lateral para esquerda" + }, + "moveThumbnailsRight": { + "message": "Mover miniaturas para direita" + }, + "myColors": { + "message": "Minhas cores" + }, + "name": { + "message": "Nome" + }, + "nativeMiniPlayer": { + "message": "Mini Player nativo" + }, + "new": { + "message": "Novo" + }, + "nextVideo": { + "message": "Próximo vídeo" + }, + "night": { + "message": "Noite" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "Sem recursos ativos" + }, + "noOpenVideoTabs": { + "message": "Nenhuma aba de vídeo aberta" + }, + "none": { + "message": "Nenhum" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Antigo" + }, + "onAllVideos": { + "message": "Em todos os vídeos" + }, + "onSubscribedChannels": { + "message": "Apenas em inscrições" + }, + "onlyActiveOnYoutube": { + "message": "Ativo apenas no YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Apenas player tocando" + }, + "openPopupPlayer": { + "message": "Abra vídeos/playlist em uma nova janela" + }, + "orange": { + "message": "Laranja" + }, + "os": { + "message": "Sistema Operacional" + }, + "other": { + "message": "Outros" + }, + "outline": { + "message": "Contorno" + }, + "overlay": { + "message": "Sobreposição" + }, + "permissions": { + "message": "Permissões" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Rosa" + }, + "plain": { + "message": "Panície" + }, + "platform": { + "message": "Plataforma" + }, + "playAllButton": { + "message": "Botão \"Reproduzir Tudo\"" + }, + "playPause": { + "message": "Reproduzir / Pausar" + }, + "playbackSpeed": { + "message": "Velocidade de reprodução" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Cor do player" + }, + "playerSize": { + "message": "Tamanho do player" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Player externo" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Posição" + }, + "pressAnyKeyOrScroll": { + "message": "Pressione qualquer tecla ou use a roda do mouse" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Pressione qualquer tecla ou use a roda do mouse" + }, + "previousVideo": { + "message": "Vídeo Anterior" + }, + "primaryColor": { + "message": "Cor primária" + }, + "purple": { + "message": "Roxo" + }, + "quality": { + "message": "Qualidade" + }, + "raised": { + "message": "Levantado" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Avalie-me" + }, + "rateUs": { + "message": "Avalie-nos!" + }, + "red": { + "message": "Vermelho" + }, + "redDislikeButton": { + "message": "Mostrar botão não gostei na cor vermelha" + }, + "relatedVideos": { + "message": "Vídeos relacionados" + }, + "remote": { + "message": "Assistir na TV" + }, + "removeRelatedSearchResults": { + "message": "Remover os respectivos resultados de pesquisa" + }, + "repeat": { + "message": "Repetir" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Restaurar" + }, + "resetAllSettings": { + "message": "Restaurar todas as configurações" + }, + "resetAllShortcuts": { + "message": "Resetar todos os atalhos" + }, + "reverse": { + "message": "Inverter" + }, + "rotate": { + "message": "Girar" + }, + "save": { + "message": "Salvar" + }, + "saveAs": { + "message": "Salvar como" + }, + "schedule": { + "message": "Programação" + }, + "screen": { + "message": "Tela" + }, + "screenshot": { + "message": "Captura de tela" + }, + "scrollBar": { + "message": "Barra De rolagem" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Pesquisar" + }, + "searchBarOnly": { + "message": "Apenas barra de pesquisa" + }, + "seekBackward10Seconds": { + "message": "Voltar 10 segundos" + }, + "seekForward10Seconds": { + "message": "Avançar 10 segundos" + }, + "seekNextChapter": { + "message": "Buscar próximo capítulo" + }, + "seekPreviousChapter": { + "message": "Buscar capítulo anterior" + }, + "settings": { + "message": "Configurações" + }, + "settingsSuccessfullyImported": { + "message": "Configurações importadas com sucesso" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Atalhos" + }, + "showCardsOnMouseHover": { + "message": "Mostrar cards ao passar o mouse" + }, + "showChannelVideosCount": { + "message": "Número de vídeos do canal" + }, + "showLess": { + "message": "Mostre menos" + }, + "showMore": { + "message": "Mostre mais" + }, + "showRemainingDuration": { + "message": "Mostrar duração restante do vídeo" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Aleatório" + }, + "sidebar": { + "message": "Painel Lateral" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Espaço" + }, + "squaredUserImages": { + "message": "Imagens do usuário quadrada" + }, + "static": { + "message": "Estático" + }, + "statsForNerds": { + "message": "Mostrar Estatísticas para Nerds" + }, + "step": { + "message": "Avançar" + }, + "stop": { + "message": "Parar" + }, + "style": { + "message": "Estilo" + }, + "styles": { + "message": "Estilos" + }, + "subscribe": { + "message": "Inscreva-Se" + }, + "subscriptions": { + "message": "Inscrições" + }, + "subtitles": { + "message": "Legendas" + }, + "sunset": { + "message": "Entardecer" + }, + "sunsetToSunrise": { + "message": "Entardecer ao amanhecer" + }, + "systemPeferenceDark": { + "message": "Preferência do sistema: escuro" + }, + "systemPeferenceLight": { + "message": "Preferência do sistema: claro" + }, + "teal": { + "message": "Verde Azulado" + }, + "textColor": { + "message": "Cor do texto" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Temas" + }, + "thisWillRemoveAllCookies": { + "message": "Todos os cookies serão removidos." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "Isto irá remover todos os vídeos assistidos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Todos os cookies do YouTube serão removidos" + }, + "thisWillResetAllSettings": { + "message": "As configurações padrão serão restauradas." + }, + "thisWillResetAllShortcuts": { + "message": "Isso irá redefinir todos os atalhos" + }, + "thumbnails": { + "message": "Miniaturas" + }, + "thumbnailsQuality": { + "message": "Qualidade das Miniaturas" + }, + "timeFrom": { + "message": "Horário inicial" + }, + "timeTo": { + "message": "Horário final" + }, + "todayAt": { + "message": "Hoje às" + }, + "toggleAutoplay": { + "message": "Alternar reprodução automática" + }, + "toggleCards": { + "message": "Alternar cards" + }, + "toggleControls": { + "message": "Alternar controles" + }, + "topChat": { + "message": "Chat no topo" + }, + "trackWatchedVideos": { + "message": "Rastrear vídeos assistidos" + }, + "trailerAutoplay": { + "message": "Reproduzir trailer" + }, + "translations": { + "message": "Traduções" + }, + "transparentBackground": { + "message": "Fundo transparente" + }, + "trending": { + "message": "Em Alta" + }, + "tryToReloadThePage": { + "message": "Recarregue página" + }, + "type": { + "message": "Tipo" + }, + "upNextAutoplay": { + "message": "Reproduzir vídeo em seguida" + }, + "use24HourFormat": { + "message": "Usar formato de 24 horas" + }, + "version": { + "message": "Versão" + }, + "video": { + "message": "Vídeo" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "A descrição se expandirá para acessar a categoria do vídeo" + }, + "videoFormats": { + "message": "Formatos de vídeo" + }, + "videos": { + "message": "Vídeos" + }, + "viewMode": { + "message": "Modo de visualização" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Assistir Mais Tarde" + }, + "watchTime": { + "message": "Tempo de exibição" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Quando a aba é alterada" + }, + "white": { + "message": "Branco" + }, + "windowColor": { + "message": "Cor da janela" + }, + "windowOpacity": { + "message": "Opacidade da janela" + }, + "yellow": { + "message": "Amarelo" + }, + "youtubeHeaderLeft": { + "message": "Cabeçalho do YouTube (à esquerda)" + }, + "youtubeHeaderRight": { + "message": "Cabeçalho do YouTube (à direita)" + }, + "youtubeHomePage": { + "message": "Página Inicial do YouTube" + }, + "youtubeLanguage": { + "message": "Idioma do YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "O YouTube limita o codec h.264 à resolução de 1080p" + } +} \ No newline at end of file diff --git a/unstable/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json similarity index 71% rename from unstable/_locales/pt_PT/messages.json rename to _locales/pt_PT/messages.json index 9512d77e2..a3c44bfe3 100644 --- a/unstable/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -1,7 +1,15 @@ - { - "cropChapterTitles": { - "message": "Crop chapter titles" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Acerca" @@ -15,15 +23,15 @@ "activateCaptions": { "message": "Ativar legendas" }, + "activateFullscreen": { + "message": "Ativar ecrã completo" + }, "activated": { "message": "Ativado" }, "activatedFeatures": { "message": "Opções ativadas" }, - "activateFullscreen": { - "message": "Ativar ecrã completo" - }, "activeFeatures": { "message": "Opções ativas" }, @@ -42,6 +50,9 @@ "allow60fps": { "message": "Permitir 60fps" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Sempre ativo" }, @@ -54,20 +65,17 @@ "analyzer": { "message": "Analisador" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Aparência" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "Áudio" @@ -87,6 +95,24 @@ "autoplay": { "message": "Reprodução automática" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "Cópia de segurança e repor" }, @@ -105,6 +131,21 @@ "blockAll": { "message": "Bloquear todos" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Azul" }, @@ -144,18 +185,27 @@ "channels": { "message": "Canais" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Area de transferência" }, "codecH264": { "message": "Codec h.264" }, - "collapsed": { - "message": "Extender" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Extender as secções escolhidas" }, + "collapsed": { + "message": "Extender" + }, "comments": { "message": "Comentários" }, @@ -168,12 +218,21 @@ "cores": { "message": "Cores" }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "CSS personalizadas" }, "customJs": { "message": "JS personalizadas" }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, "cyan": { "message": "Esverdeado" }, @@ -201,14 +260,29 @@ "deepPurple": { "message": "Lilás forte" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "Aba padrão do canal" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "Apagar os cookies do YouTube" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Descrição" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Deserto" @@ -231,15 +305,27 @@ "dislike": { "message": "Não gostar" }, - "donate": { - "message": "Doar" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Não mudes" }, + "donate": { + "message": "Doar" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Podes arrastar" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "Correio electronico" }, @@ -276,12 +362,33 @@ "font": { "message": "Tipo de letra" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "Cabeçalho" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "Forçar velocidade de leitura" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Forçar modo de cinema" }, @@ -297,24 +404,33 @@ "general": { "message": "Geral" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Vai à caixa de pesquisa" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Verde" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "Miniatura HD" }, - "hdThumbnails": { - "message": "Miniaturas HD" - }, "header": { "message": "Cabeçalho" }, @@ -333,6 +449,21 @@ "hideCards": { "message": "Esconder cartas" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Esconder detalhes" }, @@ -345,6 +476,18 @@ "hideFooter": { "message": "Esconder rodapé" }, + "hideGradientBottom": { + "message": "Hide Gradient Bottom" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "Esconder lista de reprodução" }, @@ -354,9 +497,24 @@ "hideScrollForDetails": { "message": "Esconder «Rodar para detalhes»" }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "Esconder número de vistos" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "História" }, @@ -381,8 +539,11 @@ "importSettings": { "message": "Importar definições" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon in Browser" + "improveLogo": { + "message": "Melhorar logotipo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "Ícon do ImprovedTube no YouTube" @@ -393,9 +554,6 @@ "improvedtubeVersion": { "message": "Versão do ImprovedTube" }, - "improveLogo": { - "message": "Melhorar logotipo" - }, "increasePlaybackSpeed": { "message": "Aumentar velocidade de leitura" }, @@ -408,12 +566,24 @@ "items": { "message": "Artigos" }, + "language": { + "message": "Language" + }, "languages": { "message": "Linguagens" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "YouTube antigo" }, + "library": { + "message": "Library" + }, "light": { "message": "Claro" }, @@ -426,12 +596,18 @@ "like": { "message": "Gostar" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "Gostos" + "message": "Likes" }, "lime": { "message": "Limão" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "Lista" }, @@ -441,18 +617,39 @@ "liveChatType": { "message": "Tipo de conversa do vivo" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Normalização do volume" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "Marcar os videos como vistos" }, - "customMiniPlayer": { - "message": "Custom Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mistura" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "Minhas cores" }, @@ -471,32 +668,44 @@ "night": { "message": "Noite" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Sem opções ativas" }, - "none": { - "message": "Nenhuma" - }, "noOpenVideoTabs": { "message": "Não abrir janelas de video" }, + "none": { + "message": "Nenhuma" + }, "normal": { "message": "Normal" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "Velho" }, "onAllVideos": { "message": "Em todos os videos" }, + "onSubscribedChannels": { + "message": "Nos canais subscritos" + }, "onlyActiveOnYoutube": { "message": "Ativo apenas no YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Apenas uma instância do leitor de video" }, - "onSubscribedChannels": { - "message": "Nos canais subscritos" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Laranja" @@ -507,6 +716,12 @@ "other": { "message": "Outro" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "Permissões" }, @@ -522,6 +737,12 @@ "platform": { "message": "Plataforma" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Reproduzir / Pausar" + }, "playbackSpeed": { "message": "Velocidade de leitura" }, @@ -540,12 +761,12 @@ "playlists": { "message": "Listas de reprodução" }, - "playPause": { - "message": "Reproduzir / Pausar" - }, "popupPlayer": { "message": "Leitor em janela" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Posição" }, @@ -567,24 +788,39 @@ "quality": { "message": "Qualidade" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "Memoria" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "Avalia-nos" }, "red": { "message": "Vermelho" }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, "relatedVideos": { "message": "Videos relacionados" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "Remove resultados relacionado com a pesquisa" }, "repeat": { "message": "Repetir" }, + "report": { + "message": "Report" + }, "reset": { "message": "Valores de origem" }, @@ -615,6 +851,12 @@ "screenshot": { "message": "Foto do ecrân" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Pesquisa" }, @@ -627,12 +869,21 @@ "seekForward10Seconds": { "message": "Andar para frente 10 segundos" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "Definições" }, "settingsSuccessfullyImported": { "message": "Definições importadas com sucesso" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Atalhos" }, @@ -642,12 +893,27 @@ "showChannelVideosCount": { "message": "Mostrar contagem de videos do canal" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Misturar" }, "sidebar": { "message": "Barra lateral" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Barra de espaços" }, @@ -657,6 +923,9 @@ "static": { "message": "Estática" }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, "step": { "message": "Passo" }, @@ -669,6 +938,9 @@ "styles": { "message": "Estilos" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "Subscrições" }, @@ -693,12 +965,18 @@ "textColor": { "message": "Côr do texto" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Temas" }, "thisWillRemoveAllCookies": { "message": "Isto vai remover todos os cookies." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Isto vai remover todos os cookies do YouTube" }, @@ -711,6 +989,9 @@ "thumbnails": { "message": "Miniaturas" }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "Tempo de" }, @@ -720,9 +1001,21 @@ "todayAt": { "message": "Hoje em" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "Conversa principal" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "Trailer toca automaticamente" }, @@ -762,6 +1055,9 @@ "videos": { "message": "Videos" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "Volume" }, @@ -771,12 +1067,21 @@ "watchTime": { "message": "Tempo de visualização" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Quando a janela mudar" }, "white": { "message": "Branco" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "Amarelo" }, @@ -794,17 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "O YouTube limita a qualidade do video em 1080p para o codec h.264" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" } -} +} \ No newline at end of file diff --git a/_locales/ro/messages.json b/_locales/ro/messages.json new file mode 100644 index 000000000..e676cf803 --- /dev/null +++ b/_locales/ro/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Despre" + }, + "accept": { + "message": "Acceptă" + }, + "activate": { + "message": "Activează" + }, + "activateCaptions": { + "message": "Activează subtitrările" + }, + "activateFullscreen": { + "message": "Activează ecran complet" + }, + "activated": { + "message": "Activat" + }, + "activatedFeatures": { + "message": "Caracteristici activate" + }, + "activeFeatures": { + "message": "Caracteristici active" + }, + "addScrollToTop": { + "message": "Adaugă «Derulează la început»" + }, + "ads": { + "message": "Reclame" + }, + "all": { + "message": "Tot" + }, + "allow": { + "message": "Permite" + }, + "allow60fps": { + "message": "Permite 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Mereu activ" + }, + "alwaysShowProgressBar": { + "message": "Arată mereu bara de progres" + }, + "amber": { + "message": "Chihlimbar" + }, + "analyzer": { + "message": "Analizator" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Aparențe" + }, + "areYouSureYouWantToExportTheData": { + "message": "Sigur doriți să exportați datele?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Sigur doriți să importați datele?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Formaturi audio" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "ecran complet automat" + }, + "autopauseWhenSwitchingTabs": { + "message": "Pauzează automat la schimbarea tab-ului" + }, + "autoplay": { + "message": "Pornește automat" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Culoare de fundal" + }, + "backgroundOpacity": { + "message": "Opacitatea fundalului" + }, + "backupAndReset": { + "message": "Salvează & resetează" + }, + "baseOnSystemColorScheme": { + "message": "Bazat pe schema de culori a sistemului" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Înapoi" + }, + "blacklist": { + "message": "Lista neagră" + }, + "blockAll": { + "message": "Blochează tot" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Interzice muzica" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Albastru" + }, + "blueGray": { + "message": "Gri albastru" + }, + "bluelight": { + "message": "Lumină albastră" + }, + "brown": { + "message": "Maro" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Versiunea browserului" + }, + "bubbles": { + "message": "Bule" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Butoane" + }, + "cancel": { + "message": "Anulează" + }, + "categories": { + "message": "Categorii" + }, + "channel": { + "message": "Canal" + }, + "channels": { + "message": "Canale" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Închide secțiunea de subscripții" + }, + "collapsed": { + "message": "Închis" + }, + "comments": { + "message": "Comentarii" + }, + "confirmationBeforeClosing": { + "message": "Confirmă înainte să închizi" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Nuclee" + }, + "cropChapterTitles": { + "message": "Taie titlurile capitolelor" + }, + "custom": { + "message": "Personalizat" + }, + "customCss": { + "message": "CSS Personalizat" + }, + "customJs": { + "message": "JS Personalizat" + }, + "customMiniPlayer": { + "message": "Mini-Player Personalizat" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Închis" + }, + "darkTheme": { + "message": "Temă închisă" + }, + "dateAndTime": { + "message": "Data & timpul" + }, + "dawn": { + "message": "Răsărit" + }, + "decreasePlaybackSpeed": { + "message": "Scade viteza playback-ului" + }, + "decreaseVolume": { + "message": "Scade volumul" + }, + "deepOrange": { + "message": "Portocaliu închis" + }, + "deepPurple": { + "message": "Mov închis" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Tab-ul implicit al canalului" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Șterge cookie-urile YouTube" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Deșert" + }, + "details": { + "message": "Detalii" + }, + "developerOptions": { + "message": "Opțiunile dezvoltatorului" + }, + "device": { + "message": "Dispozitiv" + }, + "dim": { + "message": "Întunecă" + }, + "disabled": { + "message": "Dezactivat" + }, + "dislike": { + "message": "Nu îmi place" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Nu schimba" + }, + "donate": { + "message": "Donează" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Poate fi tras" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Gol" + }, + "enabled": { + "message": "Activat" + }, + "enabledForced": { + "message": "Activat (forțat)" + }, + "expanded": { + "message": "Deschis" + }, + "exportSettings": { + "message": "Exportă setările" + }, + "extension": { + "message": "Extensie" + }, + "file": { + "message": "Fișier" + }, + "filters": { + "message": "Filtre" + }, + "fitToWindow": { + "message": "Potrivește în fereastră" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Subsol" + }, + "forceSDR": { + "message": "Forțează SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Viteză de playback forțată" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Modul teatru forțat" + }, + "forcedVolume": { + "message": "Volum forțat" + }, + "foundABug": { + "message": "Ai găsit un bug?" + }, + "fullWindow": { + "message": "Ecran complet" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Preferințe Geo" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Du-te la casuța de căutare" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Verde" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Miniatură HD" + }, + "header": { + "message": "Antet" + }, + "hidden": { + "message": "Ascuns" + }, + "hiddenOnVideoPage": { + "message": "Ascuns pe pagina video" + }, + "hideAnimatedThumbnails": { + "message": "Ascunde miniaturile animate" + }, + "hideAnnotations": { + "message": "Ascunde adnotările" + }, + "hideCards": { + "message": "Ascunde cardurile" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Ascunde detaliile" + }, + "hideEndscreen": { + "message": "Ascunde ecranul de final" + }, + "hideFeaturedContent": { + "message": "Ascunde conținutul prezentat" + }, + "hideFooter": { + "message": "Ascunde subsolul" + }, + "hideGradientBottom": { + "message": "Ascunde Gradient Bottom" + }, + "hidePlayerControlsBar": { + "message": "Ascundeți bara de control al jucătorului" + }, + "hidePlayerControlsBarButtons": { + "message": "Ascunde butoanele din bara de control al jucătorului" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Ascunde playlistul" + }, + "hideRightButtons": { + "message": "Ascunde butoanele din dreapta" + }, + "hideScrollForDetails": { + "message": "Ascunde «Derulează pentru detalii»" + }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Ascunde numărul vizualizărilor" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "Istoric" + }, + "home": { + "message": "Acasă" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover pe pagina video" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Acum cât timp a fost încărcat videoclipul" + }, + "icons": { + "message": "Iconițe" + }, + "iconsOnly": { + "message": "Doar iconițe" + }, + "importSettings": { + "message": "Importă setările" + }, + "improveLogo": { + "message": "Îmbunătățește sigla" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "Iconița ImprovedTube pe YouTube" + }, + "improvedtubeLanguage": { + "message": "Limba ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Versiunea ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Crește viteza de playback" + }, + "increaseVolume": { + "message": "Crește volumul" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Obiecte" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Limbi" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "YouTube vechi" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Deschis" + }, + "lightBlue": { + "message": "Albastru deschis" + }, + "lightGreen": { + "message": "Verde deschis" + }, + "like": { + "message": "Îmi place" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "Listă" + }, + "liveChat": { + "message": "Chat live" + }, + "liveChatType": { + "message": "Chat live scrie" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Normalizează zgomotul" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Marchează videoclipurile văzute" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "Culorile mele" + }, + "name": { + "message": "Nume" + }, + "nativeMiniPlayer": { + "message": "Mini-Player nativ" + }, + "new": { + "message": "Nou" + }, + "nextVideo": { + "message": "Următorul video" + }, + "night": { + "message": "Noapte" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "Nici o caracteristică activată" + }, + "noOpenVideoTabs": { + "message": "Niciun tab video deschis" + }, + "none": { + "message": "Nimic" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Vechi" + }, + "onAllVideos": { + "message": "Pe toate videoclipurile" + }, + "onSubscribedChannels": { + "message": "Pe canalele abonate" + }, + "onlyActiveOnYoutube": { + "message": "Activ doar pe YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Doar o instanță de player care merge" + }, + "openPopupPlayer": { + "message": "Deschide videoclipul/playlistul într-o fereastră nouă" + }, + "orange": { + "message": "Portocaliu" + }, + "os": { + "message": "SO" + }, + "other": { + "message": "Altele" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permisiuni" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Roz" + }, + "plain": { + "message": "Simplu" + }, + "platform": { + "message": "Platformă" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Redă / Pauză" + }, + "playbackSpeed": { + "message": "Viteza playbackului" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Culoare player" + }, + "playerSize": { + "message": "Mărime player" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlisturi" + }, + "popupPlayer": { + "message": "Player popup" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Poziție" + }, + "pressAnyKeyOrScroll": { + "message": "Apasă orice buton sau folosește rotița mouseului." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Apasă orice buton sau folosește rotița mouseului" + }, + "previousVideo": { + "message": "Videoclipul anterior" + }, + "primaryColor": { + "message": "Culoarea primară" + }, + "purple": { + "message": "Mov" + }, + "quality": { + "message": "Calitate" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Dă-ne o notă" + }, + "red": { + "message": "Roșu" + }, + "redDislikeButton": { + "message": "Arată butonul nu îmi place cu culoare roșie" + }, + "relatedVideos": { + "message": "Videoclipuri asemănătoare" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Elimină rezultatele asemănătoare a căutării" + }, + "repeat": { + "message": "Repetă" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Resetează" + }, + "resetAllSettings": { + "message": "Resetează toate setările" + }, + "resetAllShortcuts": { + "message": "Resetează toate scurtăturile" + }, + "reverse": { + "message": "Invers" + }, + "rotate": { + "message": "Rotește" + }, + "save": { + "message": "Salvează" + }, + "saveAs": { + "message": "Salvează ca" + }, + "schedule": { + "message": "Program" + }, + "screen": { + "message": "Ecran" + }, + "screenshot": { + "message": "Captură de ecran" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Caută" + }, + "searchBarOnly": { + "message": "Doar bara de căutare" + }, + "seekBackward10Seconds": { + "message": "Sari înapoi 10 secunde" + }, + "seekForward10Seconds": { + "message": "Sari înainte 10 secunde" + }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, + "settings": { + "message": "Setări" + }, + "settingsSuccessfullyImported": { + "message": "Setările au fost importate cu succes" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Scurtături" + }, + "showCardsOnMouseHover": { + "message": "Arată cardurile la hover-ul cu mouseul" + }, + "showChannelVideosCount": { + "message": "Arată numărul de videoclipuri al canalului" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Amestecă" + }, + "sidebar": { + "message": "Bara laterală" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Bara de spațiu" + }, + "squaredUserImages": { + "message": "Avatarele utilizatorului pătrat" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Arată Statisticile pentru Tocilari" + }, + "step": { + "message": "Pas" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Stil" + }, + "styles": { + "message": "Stiluri" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Abonamente" + }, + "subtitles": { + "message": "Subtitrări" + }, + "sunset": { + "message": "Apus" + }, + "sunsetToSunrise": { + "message": "De la apus la răsărit" + }, + "systemPeferenceDark": { + "message": "Preferința sitemului: închis" + }, + "systemPeferenceLight": { + "message": "Preferința sitemului: deschis" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Culoarea textului" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Teme" + }, + "thisWillRemoveAllCookies": { + "message": "Asta va șterge toate cookie-urile." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Asta va șterge toate cooki-urile YouTube." + }, + "thisWillResetAllSettings": { + "message": "Asta va reseta toate setările." + }, + "thisWillResetAllShortcuts": { + "message": "Asta va șterge toate scurtăturile" + }, + "thumbnails": { + "message": "Miniaturi" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Timp de la" + }, + "timeTo": { + "message": "Timp până la" + }, + "todayAt": { + "message": "Azi la" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Comută cardurile" + }, + "toggleControls": { + "message": "Toggle controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Auto-redă trailerul" + }, + "translations": { + "message": "Traduceri" + }, + "transparentBackground": { + "message": "Fundal Transparent" + }, + "trending": { + "message": "Tendințe" + }, + "tryToReloadThePage": { + "message": "Încearcă să reîmprospătezi pagina" + }, + "type": { + "message": "Scrie" + }, + "upNextAutoplay": { + "message": "Urmează" + }, + "use24HourFormat": { + "message": "Folosește formatul de 24 de ore" + }, + "version": { + "message": "Versiune" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "Descripția videoclipului va fi extinsă pentru a afla numele categoriei" + }, + "videoFormats": { + "message": "Formatul videoclipului" + }, + "videos": { + "message": "Videoclipuri" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volum" + }, + "watchLater": { + "message": "Vezi mai târziu" + }, + "watchTime": { + "message": "Timp de vizionare" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "Când tabul este schimbat" + }, + "white": { + "message": "Alb" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Galben" + }, + "youtubeHeaderLeft": { + "message": "Antetul YouTube (stânga)" + }, + "youtubeHeaderRight": { + "message": "Antetul YouTube (dreapta)" + }, + "youtubeHomePage": { + "message": "Pagina de pornire YouTube" + }, + "youtubeLanguage": { + "message": "Limba de afișare YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limitează calitatea videoclipului la 1080p pentru codecul h.264" + } +} \ No newline at end of file diff --git a/unstable/_locales/ru/messages.json b/_locales/ru/messages.json similarity index 56% rename from unstable/_locales/ru/messages.json rename to _locales/ru/messages.json index b28abb82e..34942ebb1 100644 --- a/unstable/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -1,809 +1,1109 @@ -{ - "cropChapterTitles": { - "message": "Обрезать заголовки глав" - }, - "about": { - "message": "Об ImprovedTube" - }, - "accept": { - "message": "Принять" - }, - "activate": { - "message": "Активировать" - }, - "activateCaptions": { - "message": "Активировать субтитры" - }, - "activated": { - "message": "Активировано" - }, - "activatedFeatures": { - "message": "Активированные функции" - }, - "activateFullscreen": { - "message": "Перейти в полноэкранный режим" - }, - "activeFeatures": { - "message": "Активные функции" - }, - "addScrollToTop": { - "message": "Добавить кнопку «наверх»" - }, - "ads": { - "message": "Реклама" - }, - "all": { - "message": "Все" - }, - "allow": { - "message": "Разрешить" - }, - "allow60fps": { - "message": "Разрешить 60fps" - }, - "alwaysActive": { - "message": "Всегда активный" - }, - "alwaysShowProgressBar": { - "message": "Всегда показывать прогресс-бар" - }, - "amber": { - "message": "Янтарный" - }, - "analyzer": { - "message": "Анализатор" - }, - "appearance": { - "message": "Внешний вид" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "Аудио" - }, - "audioFormats": { - "message": "Аудио форматы" - }, - "auto": { - "message": "Авто" - }, - "autoFullscreen": { - "message": "Автоматический переход в полноэкранный режим" - }, - "autopauseWhenSwitchingTabs": { - "message": "Автопауза при переходе между вкладками" - }, - "autoplay": { - "message": "Автовоспроизведение" - }, - "backupAndReset": { - "message": "Резервное копирование и сброс" - }, - "baseOnSystemColorScheme": { - "message": "Зависит от системной цветовой схемы" - }, - "belowPlayer": { - "message": "Ниже плеера" - }, - "black": { - "message": "Черный" - }, - "blacklist": { - "message": "Черный список" - }, - "blockAll": { - "message": "Заблокировать всё" - }, - "blue": { - "message": "Синий" - }, - "blueGray": { - "message": "Серо-голубой" - }, - "bluelight": { - "message": "Синий свет" - }, - "brown": { - "message": "Коричневый" - }, - "browser": { - "message": "Браузер" - }, - "browserVersion": { - "message": "Версия браузера" - }, - "bubbles": { - "message": "Пузыри" - }, - "bug": { - "message": "Ошибка" - }, - "buttons": { - "message": "Кнопки" - }, - "cancel": { - "message": "Отмена" - }, - "categories": { - "message": "Категории" - }, - "channel": { - "message": "Канал" - }, - "channels": { - "message": "Каналы" - }, - "clipboard": { - "message": "Буфер обмена" - }, - "codecH264": { - "message": "Кодек h.264" - }, - "collapsed": { - "message": "Свернуть" - }, - "collapseOfSubscriptionSections": { - "message": "Свернуть раздел подписок" - }, - "comments": { - "message": "Комментарии" - }, - "confirmationBeforeClosing": { - "message": "Подтверждение закрытия" - }, - "cookies": { - "message": "Куки" - }, - "cores": { - "message": "Ядра" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Сustom JS" - }, - "cyan": { - "message": "Сине-зелёный" - }, - "dark": { - "message": "Темная" - }, - "darkTheme": { - "message": "Ночная тема" - }, - "dateAndTime": { - "message": "Дата и время" - }, - "dawn": { - "message": "Рассвет" - }, - "decreasePlaybackSpeed": { - "message": "Уменьшить скорость видео" - }, - "decreaseVolume5": { - "message": "Уменьшить громкость на 5%" - }, - "deepOrange": { - "message": "Темно-оранжевый" - }, - "deepPurple": { - "message": "Темно-фиолетовый" - }, - "defaultChannelTab": { - "message": "Вкладка канала по умолчанию" - }, - "deleteYoutubeCookies": { - "message": "Удалить куки YouTube" - }, - "description": { - "message": "Описание" - }, - "desert": { - "message": "Пустыня" - }, - "details": { - "message": "Подробная информация" - }, - "developerOptions": { - "message": "Настройки разработчика" - }, - "device": { - "message": "Устройство" - }, - "dim": { - "message": "Тусклость" - }, - "disabled": { - "message": "Выключено" - }, - "dislike": { - "message": "Дизлайк" - }, - "donate": { - "message": "Пожертвовать" - }, - "doNotChange": { - "message": "Не менять" - }, - "draggable": { - "message": "Перетаскиваемый" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Пусто" - }, - "enabled": { - "message": "Включено" - }, - "enabledForced": { - "message": "Включено (принудительно)" - }, - "expanded": { - "message": "Развернуть" - }, - "exportSettings": { - "message": "Экспорт настроек" - }, - "extension": { - "message": "Расширение" - }, - "file": { - "message": "Файл" - }, - "filters": { - "message": "Фильтры" - }, - "fitToWindow": { - "message": "Подогнать под окно" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Шрифт" - }, - "footer": { - "message": "Нижний колонтитул" - }, - "forcedPlaybackSpeed": { - "message": "Форсировать скорость воспроизведения" - }, - "forcedTheaterMode": { - "message": "Принудительно переходить в режим кино" - }, - "forcedVolume": { - "message": "Принудительная громкость" - }, - "foundABug": { - "message": "Нашли ошибку?" - }, - "fullWindow": { - "message": "Растянуть на все окно" - }, - "general": { - "message": "Общее" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Перейти в окно поиска" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Зеленый" - }, - "hdThumbnail": { - "message": "Превью высокого качества" - }, - "hdThumbnails": { - "message": "Превью высокого качества" - }, - "header": { - "message": "Верхняя панель" - }, - "hidden": { - "message": "Скрыть" - }, - "hiddenOnVideoPage": { - "message": "Скрыть (только на странице с видео)" - }, - "hideAnimatedThumbnails": { - "message": "Скрыть анимированные превью" - }, - "hideAnnotations": { - "message": "Скрыть аннотации" - }, - "hideCards": { - "message": "Скрыть карточки" - }, - "hideDetails": { - "message": "Скрыть подробную информацию" - }, - "hideEndscreen": { - "message": "Скрыть экран после видео" - }, - "hideFeaturedContent": { - "message": "Скрыть рекомендации" - }, - "hideFooter": { - "message": "Скрыть нижний колонтитул" - }, - "hidePlaylist": { - "message": "Скрыть плейлист" - }, - "hideRightButtons": { - "message": "Скрыть кнопки (справа)" - }, - "hideScrollForDetails": { - "message": "Скрыть «Прокрутите для подробной информации»" - }, - "hideViewsCount": { - "message": "Скрыть количество просмотров" - }, - "history": { - "message": "История" - }, - "home": { - "message": "Домашняя страница" - }, - "hover": { - "message": "Показывать при наведении" - }, - "hoverOnVideoPage": { - "message": "Показывать при наведении (только на странице с видео)" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Показывать как давно было загружено видео" - }, - "icons": { - "message": "Иконки" - }, - "iconsOnly": { - "message": "Только иконки" - }, - "importSettings": { - "message": "Импорт настроек" - }, - "improvedtubeIconInBrowser": { - "message": "Значок ImprovedTube в браузере" - }, - "improvedtubeIconOnYoutube": { - "message": "Значок ImprovedTube в YouTube" - }, - "improvedtubeLanguage": { - "message": "Язык ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Версия ImprovedTube" - }, - "improveLogo": { - "message": "Улучшить логотип YouTube" - }, - "increasePlaybackSpeed": { - "message": "Увеличить скорость видео" - }, - "increaseVolume5": { - "message": "Увеличить громкости на 5%" - }, - "indigo": { - "message": "Индиго" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Языки" - }, - "legacyYoutube": { - "message": "Старая версия YouTube" - }, - "light": { - "message": "Светлая" - }, - "lightBlue": { - "message": "Светло-синий" - }, - "lightGreen": { - "message": "Светло-зеленый" - }, - "like": { - "message": "Лайк" - }, - "likes": { - "message": "Лайки" - }, - "lime": { - "message": "Лайм" - }, - "list": { - "message": "Список" - }, - "liveChat": { - "message": "Live-чат" - }, - "liveChatType": { - "message": "Тип live-чата" - }, - "loudnessNormalization": { - "message": "Нормализировать громкость" - }, - "markWatchedVideos": { - "message": "Отмечать просмотренные видео" - }, - "customMiniPlayer": { - "message": "Новый мини-плеер" - }, - "mixer": { - "message": "Миксер" - }, - "myColors": { - "message": "Мои цвета" - }, - "name": { - "message": "Имя" - }, - "nativeMiniPlayer": { - "message": "Мини-плеер от YouTube" - }, - "new": { - "message": "Новый" - }, - "nextVideo": { - "message": "Следующее видео" - }, - "night": { - "message": "Ночь" - }, - "noActiveFeatures": { - "message": "Нет активных функций" - }, - "none": { - "message": "Пусто" - }, - "noOpenVideoTabs": { - "message": "Нет открытых вкладок с видео" - }, - "normal": { - "message": "Обычный" - }, - "old": { - "message": "Старый" - }, - "onAllVideos": { - "message": "Во всех видео" - }, - "onlyActiveOnYoutube": { - "message": "Активен только в YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Только один экземпляр плеера играет" - }, - "onSubscribedChannels": { - "message": "Только на каналах в подписках" - }, - "orange": { - "message": "Оранжевый" - }, - "os": { - "message": "ОС" - }, - "other": { - "message": "Другое" - }, - "permissions": { - "message": "Разрешения" - }, - "pictureInPicture": { - "message": "Картинка в картинке" - }, - "pink": { - "message": "Розовый" - }, - "plain": { - "message": "Равнина" - }, - "platform": { - "message": "Платформа" - }, - "playbackSpeed": { - "message": "Скорость воспроизведения" - }, - "player": { - "message": "Плеер" - }, - "playerColor": { - "message": "Цвет плеера" - }, - "playerSize": { - "message": "Размер плеера" - }, - "playlist": { - "message": "Плейлист" - }, - "playlists": { - "message": "Плейлисты" - }, - "playPause": { - "message": "Воспроизведение / Пауза" - }, - "popupPlayer": { - "message": "Плеер во всплывающем окне" - }, - "position": { - "message": "Позиция" - }, - "pressAnyKeyOrScroll": { - "message": "Нажмите любую клавишу или воспользуйтесь колесом мыши" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Нажмите любую клавишу или используйте колесо мыши" - }, - "previousVideo": { - "message": "Предыдущее видео" - }, - "primaryColor": { - "message": "Основной цвет" - }, - "purple": { - "message": "Фиолетовый" - }, - "quality": { - "message": "Качество" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Оцените нас" - }, - "red": { - "message": "Красный" - }, - "relatedVideos": { - "message": "Похожие видео" - }, - "removeRelatedSearchResults": { - "message": "Удалить похожие результаты поиска" - }, - "repeat": { - "message": "Повтор" - }, - "reset": { - "message": "Сбросить" - }, - "resetAllSettings": { - "message": "Сбросить все настройки" - }, - "resetAllShortcuts": { - "message": "Сбросить все горячие клавиши" - }, - "reverse": { - "message": "Обратный порядок" - }, - "rotate": { - "message": "Повернуть" - }, - "save": { - "message": "Сохранить" - }, - "saveAs": { - "message": "Сохранить как" - }, - "schedule": { - "message": "Расписание" - }, - "screen": { - "message": "Экран" - }, - "screenshot": { - "message": "Скриншот" - }, - "search": { - "message": "Поиск" - }, - "searchBarOnly": { - "message": "Только поле поиска" - }, - "seekBackward10Seconds": { - "message": "Перемотать на 10 секунд назад" - }, - "seekForward10Seconds": { - "message": "Перемотать на 10 секунд вперед" - }, - "settings": { - "message": "Настройки" - }, - "settingsSuccessfullyImported": { - "message": "Настройки успешно импортированы" - }, - "shortcuts": { - "message": "Горячие клавиши" - }, - "showCardsOnMouseHover": { - "message": "Показывать карточки при наведении мыши" - }, - "showChannelVideosCount": { - "message": "Показывать количество видео на канале" - }, - "shuffle": { - "message": "Случайный порядок" - }, - "sidebar": { - "message": "Боковая панель" - }, - "spacebar": { - "message": "Пробел" - }, - "squaredUserImages": { - "message": "Квадратные аватарки пользователей" - }, - "static": { - "message": "Статично" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Стоп" - }, - "style": { - "message": "Стиль" - }, - "styles": { - "message": "Стили" - }, - "subscriptions": { - "message": "Подписки" - }, - "subtitles": { - "message": "Субтитры" - }, - "sunset": { - "message": "Закат" - }, - "sunsetToSunrise": { - "message": "От заката до рассвета" - }, - "systemPeferenceDark": { - "message": "Предпочитаемая системой: темная" - }, - "systemPeferenceLight": { - "message": "Предпочитаемая системой: светлая" - }, - "teal": { - "message": "Бирюзовый" - }, - "textColor": { - "message": "Цвет текста" - }, - "themes": { - "message": "Темы" - }, - "thisWillRemoveAllCookies": { - "message": "Это удалит все куки" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Вы действительно хотите удалить все куки YouTube?" - }, - "thisWillResetAllSettings": { - "message": "Это сбросит все настройки" - }, - "thisWillResetAllShortcuts": { - "message": "Это сбросит все горячие клавиши" - }, - "thumbnails": { - "message": "Превью" - }, - "timeFrom": { - "message": "Время от" - }, - "timeTo": { - "message": "Время до" - }, - "todayAt": { - "message": "Сегодня в" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Автовоспроизведение трейлера" - }, - "translations": { - "message": "Переводы" - }, - "transparentBackground": { - "message": "Прозрачный фон" - }, - "trending": { - "message": "Тренды" - }, - "tryToReloadThePage": { - "message": "Попробуйте перезагрузить страницу" - }, - "type": { - "message": "Тип" - }, - "upNextAutoplay": { - "message": "Автовоспроизведение следующего видео" - }, - "use24HourFormat": { - "message": "24-часовой формат" - }, - "version": { - "message": "Версия" - }, - "video": { - "message": "Видео" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "Описание видео будет развернуто, чтобы получить название категории видео" - }, - "videoFormats": { - "message": "Форматы видео" - }, - "videos": { - "message": "Видео" - }, - "volume": { - "message": "Громкость" - }, - "watchLater": { - "message": "Посмотреть позже" - }, - "watchTime": { - "message": "Время просмотра" - }, - "whenTabIsChanged": { - "message": "При переключении вкладок" - }, - "white": { - "message": "Белый" - }, - "yellow": { - "message": "Желтый" - }, - "youtubeHeaderLeft": { - "message": "Верхняя панель (слева)" - }, - "youtubeHeaderRight": { - "message": "Верхняя панель (справа)" - }, - "youtubeHomePage": { - "message": "Домашняя страница YouTube" - }, - "youtubeLanguage": { - "message": "Язык YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube ограничивает качетво видео до 1080p для кодека h.264" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Об ImprovedTube" + }, + "accept": { + "message": "Принять" + }, + "activate": { + "message": "Включить" + }, + "activateCaptions": { + "message": "Включить субтитры" + }, + "activateFullscreen": { + "message": "Перейти в полноэкранный режим" + }, + "activated": { + "message": "Включено" + }, + "activatedFeatures": { + "message": "Включенные функции" + }, + "activeFeatures": { + "message": "Активные функции" + }, + "addScrollToTop": { + "message": "Добавить кнопку «наверх»" + }, + "ads": { + "message": "Реклама" + }, + "all": { + "message": "Все" + }, + "allow": { + "message": "Разрешить" + }, + "allow60fps": { + "message": "Разрешить 60fps" + }, + "always": { + "message": "Всегда" + }, + "alwaysActive": { + "message": "Всегда активный" + }, + "alwaysShowProgressBar": { + "message": "Всегда показывать полосу прогресса" + }, + "amber": { + "message": "Янтарный" + }, + "analyzer": { + "message": "Анализатор" + }, + "animations": { + "message": "Анимации" + }, + "appearance": { + "message": "Внешний вид" + }, + "areYouSureYouWantToExportTheData": { + "message": "Вы уверены что хотите экспортировать данные?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Вы уверены что хотите импортировать данные?" + }, + "audio": { + "message": "Аудио" + }, + "audioFormats": { + "message": "Аудиоформаты" + }, + "auto": { + "message": "Авто" + }, + "autoFullscreen": { + "message": "Автоматический переход в полноэкранный режим" + }, + "autopauseWhenSwitchingTabs": { + "message": "Автопауза при смене вкладок" + }, + "autoplay": { + "message": "Автовоспроизведение" + }, + "avoidAv1": { + "message": "Избегать AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Избегать AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Избегать AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "По возможности избегать ЦП рендеринга" + }, + "backgroundColor": { + "message": "Цвет фона" + }, + "backgroundOpacity": { + "message": "Прозрачность фона" + }, + "backupAndReset": { + "message": "Резервное копирование и сброс" + }, + "baseOnSystemColorScheme": { + "message": "На основе системной цветовой схемы" + }, + "belowPlayer": { + "message": "Снизу плеера" + }, + "black": { + "message": "Черный" + }, + "blacklist": { + "message": "Черный список" + }, + "blockAll": { + "message": "Блокировать все" + }, + "blockAv1": { + "message": "Блокировать AV1" + }, + "blockH264": { + "message": "Блокировать H.264" + }, + "blockMusic": { + "message": "Блокировать музыку" + }, + "blockVp8": { + "message": "Блокировать VP8" + }, + "blockVp9": { + "message": "Блокировать VP9" + }, + "blue": { + "message": "Синий" + }, + "blueGray": { + "message": "Серо-голубой" + }, + "bluelight": { + "message": "Светло-синий" + }, + "brown": { + "message": "Коричневый" + }, + "browser": { + "message": "Браузер" + }, + "browserVersion": { + "message": "Версия браузера" + }, + "bubbles": { + "message": "Пузыри" + }, + "bug": { + "message": "Ошибка" + }, + "buttons": { + "message": "Кнопки" + }, + "cancel": { + "message": "Отмена" + }, + "categories": { + "message": "Категории" + }, + "channel": { + "message": "Канал" + }, + "channels": { + "message": "Каналы" + }, + "characterEdgeStyle": { + "message": "Стиль контура символов" + }, + "clip": { + "message": "Создать клип" + }, + "clipboard": { + "message": "Буфер обмена" + }, + "codecH264": { + "message": "Кодек H.264" + }, + "codecs": { + "message": "Кодеки" + }, + "collapseOfSubscriptionSections": { + "message": "Свернуть раздел подписок" + }, + "collapsed": { + "message": "Свернутый" + }, + "comments": { + "message": "Комментарии" + }, + "confirmationBeforeClosing": { + "message": "Подтверждать закрытие" + }, + "cookies": { + "message": "Куки" + }, + "cores": { + "message": "Ядра" + }, + "cropChapterTitles": { + "message": "Обрезать заголовки глав" + }, + "custom": { + "message": "Пользовательский" + }, + "customCss": { + "message": "Пользовательский CSS" + }, + "customJs": { + "message": "Пользовательский JS" + }, + "customMiniPlayer": { + "message": "Пользовательский мини-плеер" + }, + "cyan": { + "message": "Бирюзовый" + }, + "dark": { + "message": "Темный" + }, + "darkTheme": { + "message": "Темная тема" + }, + "dateAndTime": { + "message": "Дата и время" + }, + "dawn": { + "message": "Рассвет" + }, + "decreasePlaybackSpeed": { + "message": "Уменьшить скорость видео" + }, + "decreaseVolume": { + "message": "Уменьшить громкость" + }, + "decreaseVolume5": { + "message": "Уменьшить громкость на 5%" + }, + "deepOrange": { + "message": "Темно-оранжевый" + }, + "deepPurple": { + "message": "Темно-фиолетовый" + }, + "default": { + "message": "По умолчанию" + }, + "defaultChannelTab": { + "message": "Вкладка канала по умолчанию" + }, + "defaultContentCountry": { + "message": "Страна по умолчанию" + }, + "deleteWatchedVideos": { + "message": "Удалять просмотренные видео" + }, + "deleteYoutubeCookies": { + "message": "Удалить куки YouTube" + }, + "depressed": { + "message": "Депрессивный" + }, + "description": { + "message": "Описание" + }, + "description_ext": { + "message": "Сделайте YouTube аккуратным + умным! Цвет видео YouTube пропуск рекламы громкость скорость канала стиль инструмента HD реклама adblock блокировщик рекламы теги список ключевых слов" + }, + "desert": { + "message": "Пустыня" + }, + "details": { + "message": "Подробнее" + }, + "developerOptions": { + "message": "Настройки разработчика" + }, + "device": { + "message": "Устройство" + }, + "dim": { + "message": "Тусклый" + }, + "disabled": { + "message": "Выключен" + }, + "dislike": { + "message": "Дизлайк" + }, + "displayDayOfTheWeak": { + "message": "Показывать день недели" + }, + "doNotChange": { + "message": "Не менять" + }, + "donate": { + "message": "Пожертвовать" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Перетаскиваемый" + }, + "dropShadow": { + "message": "Отбрасываемая тень" + }, + "durationWithSpeed": { + "message": "Показывать оставшееся время видео с учётом скорости воспроизведения" + }, + "email": { + "message": "E-mail" + }, + "empty": { + "message": "Пустой" + }, + "enabled": { + "message": "Включен" + }, + "enabledForced": { + "message": "Включен (принудительно)" + }, + "expanded": { + "message": "Развернутый" + }, + "exportSettings": { + "message": "Экспорт настроек" + }, + "extension": { + "message": "Расширение" + }, + "file": { + "message": "Файл" + }, + "filters": { + "message": "Фильтры" + }, + "fitToWindow": { + "message": "Подогнать под размеры окна" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Шрифт" + }, + "fontColor": { + "message": "Цвет шрифта" + }, + "fontFamily": { + "message": "Семейство шрифта" + }, + "fontOpacity": { + "message": "Прозрачность шрифта" + }, + "fontSize": { + "message": "Размер шрифта" + }, + "footer": { + "message": "Нижний колонтитул" + }, + "forceSDR": { + "message": "Принудительное SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Всегда играть видео с начала" + }, + "forcedPlaybackSpeed": { + "message": "Принудительная скорость воспроизведения" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Принудительно переходить в режим кино" + }, + "forcedVolume": { + "message": "Принудительная громкость" + }, + "foundABug": { + "message": "Нашли ошибку?" + }, + "fullWindow": { + "message": "Растянуть на все окно" + }, + "general": { + "message": "Общий" + }, + "geoPreference": { + "message": "Предпочтения локации" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Перейти в окно поиска" + }, + "googleApiKey": { + "message": "Ключ Google API" + }, + "gpu": { + "message": "ГПУ" + }, + "green": { + "message": "Зеленый" + }, + "hardwareInformation": { + "message": "Информация об оборудовании" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD-превью" + }, + "header": { + "message": "Заголовок" + }, + "hidden": { + "message": "Скрытый" + }, + "hiddenOnVideoPage": { + "message": "Скрывать (только на странице видео)" + }, + "hideAnimatedThumbnails": { + "message": "Скрывать анимированные превью" + }, + "hideAnnotations": { + "message": "Скрывать аннотации" + }, + "hideCards": { + "message": "Скрывать карточки" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Скрывать код страны" + }, + "hideDate": { + "message": "Скрывать дату видео" + }, + "hideDetailButton": { + "message": "Скрывать кнопку «Ещё»" + }, + "hideDetails": { + "message": "Скрывать подробную информацию" + }, + "hideEndscreen": { + "message": "Скрывать экран после видео" + }, + "hideFeaturedContent": { + "message": "Скрывать рекомендации" + }, + "hideFooter": { + "message": "Скрывать нижний колонтитул" + }, + "hideGradientBottom": { + "message": "Скрывать кнопку градиента" + }, + "hidePlayerControlsBar": { + "message": "Скрывать панель управления плеером" + }, + "hidePlayerControlsBarButtons": { + "message": "Скрывать кнопки панели управления плеером" + }, + "hidePlayerControlsBarOptions": { + "message": "Скрывать настройки панели управления пЛеера" + }, + "hidePlaylist": { + "message": "Скрывать плейлисты" + }, + "hideRightButtons": { + "message": "Скрывать кнопки (справа)" + }, + "hideScrollForDetails": { + "message": "Скрывать «Прокрутите для подробной информации»" + }, + "hideSkipOverlay": { + "message": "Скрывать наложение \"5 секунд\"" + }, + "hideThumbnailOverlay": { + "message": "Скрывать наложение на превью" + }, + "hideThumbnails": { + "message": "Скрывать превью" + }, + "hideViewsCount": { + "message": "Скрывать количество просмотров" + }, + "hideVoiceSearchButton": { + "message": "Скрывать кнопку голосового поиска" + }, + "high": { + "message": "Высокий" + }, + "history": { + "message": "История" + }, + "home": { + "message": "Домашняя страница" + }, + "hover": { + "message": "Показывать при наведении" + }, + "hoverOnVideoPage": { + "message": "Показывать при наведении (только на странице видео)" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Показывать дату видео" + }, + "icons": { + "message": "Иконки" + }, + "iconsOnly": { + "message": "Только иконки" + }, + "importSettings": { + "message": "Импорт настроек" + }, + "improveLogo": { + "message": "Улучшить логотип YouTube" + }, + "improvedtubeButtons": { + "message": "Кнопки расширения ImprovedTube" + }, + "improvedtubeIconOnYoutube": { + "message": "Значок ImprovedTube в YouTube" + }, + "improvedtubeLanguage": { + "message": "Язык ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Версия ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Увеличить скорость видео" + }, + "increaseVolume": { + "message": "Увеличить громкость" + }, + "increaseVolume5": { + "message": "Увеличить громкости на 5%" + }, + "indigo": { + "message": "Индиго" + }, + "items": { + "message": "Пункты" + }, + "language": { + "message": "Язык" + }, + "languages": { + "message": "Языки" + }, + "layerAnimationScale": { + "message": "Масштаб слоя анимации" + }, + "layout": { + "message": "Слой" + }, + "legacyYoutube": { + "message": "Старая версия YouTube" + }, + "library": { + "message": "Библиотека" + }, + "light": { + "message": "Светлый" + }, + "lightBlue": { + "message": "Светло-синий" + }, + "lightGreen": { + "message": "Светло-зеленый" + }, + "like": { + "message": "Лайк" + }, + "liked": { + "message": "Понравившиеся" + }, + "likes": { + "message": "Лайки" + }, + "lime": { + "message": "Лайм" + }, + "limitPageWidth": { + "message": "Ограничивать ширину страницы" + }, + "list": { + "message": "Список" + }, + "liveChat": { + "message": "Live-чат" + }, + "liveChatType": { + "message": "Тип live-чата" + }, + "location": { + "message": "Местонахождение" + }, + "loop": { + "message": "Зациклить" + }, + "loudnessNormalization": { + "message": "Нормализировать громкость" + }, + "low": { + "message": "Низкий" + }, + "markWatchedVideos": { + "message": "Отмечать просмотренные видео" + }, + "medium": { + "message": "Средний" + }, + "mixer": { + "message": "Миксер" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Самые просматриваемые каналы" + }, + "moveSidebarLeft": { + "message": "Сместить боковую панель влево" + }, + "moveThumbnailsRight": { + "message": "Сместить превью вправо" + }, + "myColors": { + "message": "Мои цвета" + }, + "name": { + "message": "Имя" + }, + "nativeMiniPlayer": { + "message": "Мини-плеер от YouTube" + }, + "new": { + "message": "Новый" + }, + "nextVideo": { + "message": "Следующее видео" + }, + "night": { + "message": "Ночь" + }, + "nightMode": { + "message": "Ночной режим" + }, + "noActiveFeatures": { + "message": "Нет активных функций" + }, + "noOpenVideoTabs": { + "message": "Нет открытых вкладок с видео" + }, + "none": { + "message": "Пусто" + }, + "normal": { + "message": "Обычный" + }, + "off": { + "message": "Выключить" + }, + "ok": { + "message": "Хорошо" + }, + "old": { + "message": "Старый" + }, + "onAllVideos": { + "message": "На всех видео" + }, + "onSubscribedChannels": { + "message": "Только на каналах в подписках" + }, + "onlyActiveOnYoutube": { + "message": "Активен только в YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Только один плеер играет одновременно" + }, + "openPopupPlayer": { + "message": "Открыть видео/плейлист в новом окне" + }, + "orange": { + "message": "Оранжевый" + }, + "os": { + "message": "ОС" + }, + "other": { + "message": "Другое" + }, + "outline": { + "message": "Контур" + }, + "overlay": { + "message": "Наложение" + }, + "permissions": { + "message": "Разрешения" + }, + "pictureInPicture": { + "message": "Картинка в картинке" + }, + "pink": { + "message": "Розовый" + }, + "plain": { + "message": "Равнина" + }, + "platform": { + "message": "Платформа" + }, + "playAllButton": { + "message": "Кнопка \"Играть все\"" + }, + "playPause": { + "message": "Играть / Пауза" + }, + "playbackSpeed": { + "message": "Скорость воспроизведения" + }, + "player": { + "message": "Плеер" + }, + "playerColor": { + "message": "Цвет плеера" + }, + "playerSize": { + "message": "Размер плеера" + }, + "playlist": { + "message": "Плейлист" + }, + "playlists": { + "message": "Плейлисты" + }, + "popupPlayer": { + "message": "Плеер во всплывающем окне" + }, + "popupWindowButtons": { + "message": "Добавить кнопки всплывающего окна" + }, + "position": { + "message": "Положение" + }, + "pressAnyKeyOrScroll": { + "message": "Нажмите любую кнопку или колесо мыши" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Нажмите любую кнопку или используйте колесо мыши" + }, + "previousVideo": { + "message": "Предыдущее видео" + }, + "primaryColor": { + "message": "Основной цвет" + }, + "purple": { + "message": "Фиолетовый" + }, + "quality": { + "message": "Качество" + }, + "raised": { + "message": "Поднятый" + }, + "ram": { + "message": "ОЗУ" + }, + "rateMe": { + "message": "Оставить отзыв" + }, + "rateUs": { + "message": "Оцените нас" + }, + "red": { + "message": "Красный" + }, + "redDislikeButton": { + "message": "Сделать дизлайк красным" + }, + "relatedVideos": { + "message": "Похожие видео" + }, + "remote": { + "message": "Удаленное воспроизведение" + }, + "removeRelatedSearchResults": { + "message": "Удалять связанные результаты поиска" + }, + "repeat": { + "message": "Повтор" + }, + "report": { + "message": "Пожаловаться" + }, + "reset": { + "message": "Сбросить" + }, + "resetAllSettings": { + "message": "Сбросить все настройки" + }, + "resetAllShortcuts": { + "message": "Сбросить все горячие клавиши" + }, + "reverse": { + "message": "Обратный порядок" + }, + "rotate": { + "message": "Повернуть" + }, + "save": { + "message": "Сохранить" + }, + "saveAs": { + "message": "Сохранить как" + }, + "schedule": { + "message": "График" + }, + "screen": { + "message": "Экран" + }, + "screenshot": { + "message": "Скриншот" + }, + "scrollBar": { + "message": "Полоса прокрутки" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Поиск" + }, + "searchBarOnly": { + "message": "Только поисковая строка" + }, + "seekBackward10Seconds": { + "message": "Перемотать на 10 секунд назад" + }, + "seekForward10Seconds": { + "message": "Перемотать на 10 секунд вперед" + }, + "seekNextChapter": { + "message": "Следующая глава" + }, + "seekPreviousChapter": { + "message": "Предыдущая глава" + }, + "settings": { + "message": "Настройки" + }, + "settingsSuccessfullyImported": { + "message": "Настройки успешно импортированы" + }, + "share": { + "message": "Поделиться" + }, + "shortcuts": { + "message": "Горячие клавиши" + }, + "showCardsOnMouseHover": { + "message": "Показывать карточки при наведении" + }, + "showChannelVideosCount": { + "message": "Показывать количество видео на канале" + }, + "showLess": { + "message": "Показать меньше" + }, + "showMore": { + "message": "Показать больше" + }, + "showRemainingDuration": { + "message": "Показать время до конца видео" + }, + "showVersion": { + "message": "Показывать версию" + }, + "shuffle": { + "message": "Перемешать" + }, + "sidebar": { + "message": "Боковая панель" + }, + "softwareInformation": { + "message": "Информация о программном обеспечении" + }, + "spacebar": { + "message": "Пробел" + }, + "squaredUserImages": { + "message": "Квадратные аватарки пользователей" + }, + "static": { + "message": "Статичный" + }, + "statsForNerds": { + "message": "Показать статистику для ботаников" + }, + "step": { + "message": "Шаг" + }, + "stop": { + "message": "Стоп" + }, + "style": { + "message": "Стиль" + }, + "styles": { + "message": "Стили" + }, + "subscribe": { + "message": "Подписаться" + }, + "subscriptions": { + "message": "Подписки" + }, + "subtitles": { + "message": "Субтитры" + }, + "sunset": { + "message": "Закат" + }, + "sunsetToSunrise": { + "message": "От заката до рассвета" + }, + "systemPeferenceDark": { + "message": "Предпочитаемая системой: темная" + }, + "systemPeferenceLight": { + "message": "Предпочитаемая системой: светлая" + }, + "teal": { + "message": "Бирюзовый" + }, + "textColor": { + "message": "Цвет текста" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Темы" + }, + "thisWillRemoveAllCookies": { + "message": "Это удалит все куки" + }, + "thisWillRemoveAllWatchedVideos": { + "message": "Это удалит все просмотренные видео" + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Вы действительно хотите удалить все куки YouTube?" + }, + "thisWillResetAllSettings": { + "message": "Это сбросит все настройки" + }, + "thisWillResetAllShortcuts": { + "message": "Это сбросит все горячие клавиши" + }, + "thumbnails": { + "message": "Превью" + }, + "thumbnailsQuality": { + "message": "Качество превью" + }, + "timeFrom": { + "message": "Время от" + }, + "timeTo": { + "message": "Время до" + }, + "todayAt": { + "message": "Сегодня в" + }, + "toggleAutoplay": { + "message": "Автовоспроизведение" + }, + "toggleCards": { + "message": "Карточки" + }, + "toggleControls": { + "message": "Панель управления" + }, + "topChat": { + "message": "Лучшее" + }, + "trackWatchedVideos": { + "message": "Отслеживать просмотренные видео" + }, + "trailerAutoplay": { + "message": "Автовоспроизведение трейлера" + }, + "translations": { + "message": "Переводы" + }, + "transparentBackground": { + "message": "Прозрачный фон" + }, + "trending": { + "message": "В тренде" + }, + "tryToReloadThePage": { + "message": "Попробуйте перезагрузить страницу" + }, + "type": { + "message": "Тип" + }, + "upNextAutoplay": { + "message": "Автовоспроизведение следующего видео" + }, + "use24HourFormat": { + "message": "24-часовой формат" + }, + "version": { + "message": "Версия" + }, + "video": { + "message": "Видео" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "Описание видео развернется, чтобы получить название категории" + }, + "videoFormats": { + "message": "Форматы видео" + }, + "videos": { + "message": "Видео" + }, + "viewMode": { + "message": "Режим просмотра" + }, + "volume": { + "message": "Громкость" + }, + "watchLater": { + "message": "Посмотреть позже" + }, + "watchTime": { + "message": "Время просмотра" + }, + "whenPaused": { + "message": "При паузе" + }, + "whenTabIsChanged": { + "message": "При смене вкладки" + }, + "white": { + "message": "Белый" + }, + "windowColor": { + "message": "Цвет окна" + }, + "windowOpacity": { + "message": "Прозрачность окна" + }, + "yellow": { + "message": "Желтый" + }, + "youtubeHeaderLeft": { + "message": "Верхняя панель (слева)" + }, + "youtubeHeaderRight": { + "message": "Верхняя панель (справа)" + }, + "youtubeHomePage": { + "message": "Домашняя страница YouTube" + }, + "youtubeLanguage": { + "message": "Язык YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube ограничивает качество видео до 1080p для кодека H.264" + } +} \ No newline at end of file diff --git a/_locales/si/messages.json b/_locales/si/messages.json new file mode 100644 index 000000000..61ccf3987 --- /dev/null +++ b/_locales/si/messages.json @@ -0,0 +1,1094 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "අපි ගැන" + }, + "accept": { + "message": "පිළිගන්නවා" + }, + "activate": { + "message": "Activate කරන්න" + }, + "activateCaptions": { + "message": "උපසිරැසි Activate කරන්න" + }, + "activateFullscreen": { + "message": "සම්පූර්ණ තිරය Activate කරන්න" + }, + "activated": { + "message": "Activate කරනලදී" + }, + "activatedFeatures": { + "message": "දැනට ඔන් කරන ලද විශේෂාංග" + }, + "activeFeatures": { + "message": "දැනට ක්‍රියාත්මක තත්වයේ පවතිය විශේෂාංග" + }, + "addScrollToTop": { + "message": "«Scroll to top» බොත්තම ඇඩ් කරන්න" + }, + "ads": { + "message": "වෙළද දැන්වීම් (Ads)" + }, + "all": { + "message": "සියල්ල" + }, + "allow": { + "message": "අවසර දෙන්න" + }, + "allow60fps": { + "message": "60fps වීඩීයෝ සදහා අවසර දෙන්න" + }, + "alwaysActive": { + "message": "සෑම විටම ක්‍රියාත්මක වෙන" + }, + "alwaysShowProgressBar": { + "message": "වීඩීයෝ progress bar එක සෑම විටම පෙන්වන්න" + }, + "amber": { + "message": "කහපාටට හුරු" + }, + "analyzer": { + "message": "විශ්ලේෂක" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "පෙනුම" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "ශබ්ද" + }, + "audioFormats": { + "message": "ශබ්ද වල ෆෝමැට් එක" + }, + "auto": { + "message": "ස්වයංක්‍රීය" + }, + "autoFullscreen": { + "message": "ස්වයංක්‍රීය සම්පූර්ණ තිරය" + }, + "autopauseWhenSwitchingTabs": { + "message": "ටැබ් අතර මාරුවෙද්දි වීඩීයෝ එක pause වන ලෙස සැකසීම" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "AV1 මගහරින්න" + }, + "avoidAv1Vp8Vp9": { + "message": "AV1, VP8, VP9 මගහරින්න" + }, + "avoidAv1Vp9": { + "message": "AV1, VP9 මගහරින්න" + }, + "avoidCpuRenderingWhenPossible": { + "message": "පුලුවන් විට cpu හරහා render වීම නවත්වන්න" + }, + "backgroundColor": { + "message": "පසුබිමේ පාට" + }, + "backgroundOpacity": { + "message": "පසුබිමේ opacity එක" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "System colors මත පදනම්ව" + }, + "belowPlayer": { + "message": "player එකට යටින්" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist එක" + }, + "blockAll": { + "message": "සියල්ල Block කරන්න" + }, + "blockAv1": { + "message": "AV1 බ්ලොක් කරන්න" + }, + "blockH264": { + "message": "H.264 බ්ලොක් කරන්න" + }, + "blockMusic": { + "message": "Music එක බ්ලොක් කරන්න" + }, + "blockVp8": { + "message": "VP8 බ්ලොක් කරන්න" + }, + "blockVp9": { + "message": "VP9 බ්ලොක් කරන්න" + }, + "blue": { + "message": "නිල්" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "දුඹුරු" + }, + "browser": { + "message": "බ්‍රවුසරය" + }, + "browserVersion": { + "message": "වෙබ් බ්‍රවුසරයේ වර්ශන් එක" + }, + "bubbles": { + "message": "බුබුලු" + }, + "bug": { + "message": "දෝෂය" + }, + "buttons": { + "message": "බටන්" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "වර්ග" + }, + "channel": { + "message": "චැනල් එක" + }, + "channels": { + "message": "චැනල්" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard එක" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Subscribe කරන කොටස හකුලන්න" + }, + "collapsed": { + "message": "හකුලන ලදී" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "වසා දැමීමට පෙර confirm කිරීම" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "තමන්ට කැමති විදිහට" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "playback ස්පීඩ් එක අඩුකරන්න" + }, + "decreaseVolume": { + "message": "volume එක අඩුකරන්න" + }, + "deepOrange": { + "message": "තද තැඹිලි පාට" + }, + "deepPurple": { + "message": "තද දම් පාට" + }, + "default": { + "message": "සාමාන්‍ය" + }, + "defaultChannelTab": { + "message": "සාමාන්‍ය චැනල් tab එක" + }, + "defaultContentCountry": { + "message": "සාමාන්‍ය content country එක" + }, + "deleteWatchedVideos": { + "message": "බලපු වීඩියෝ delete කරන්න" + }, + "deleteYoutubeCookies": { + "message": "YouTube cookies delete කරන්න" + }, + "depressed": { + "message": "මානසික අවපීඩනය" + }, + "description": { + "message": "Description එක" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "අතුරුපස" + }, + "details": { + "message": "විස්තර" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device එක" + }, + "dim": { + "message": "කිසිවක් නැත" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "වෙනස් කරන්න එපා" + }, + "donate": { + "message": "Donate කරන්න" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Drag කළ හැකි" + }, + "dropShadow": { + "message": "හෙවනැල්ල" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email එක" + }, + "empty": { + "message": "හිස්" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (බලහත්කාරයෙන්)" + }, + "expanded": { + "message": "පුළුල් කර ඇත" + }, + "exportSettings": { + "message": "Settings Export කරන්න" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "ෆොන්ට් එක" + }, + "fontColor": { + "message": "ෆොන්ට් එකේ පාට" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font එකේ opacity (විනිවිද පෙනෙන බව) එක " + }, + "fontSize": { + "message": "Font එකේ size එක" + }, + "footer": { + "message": "Footer එක" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "වීඩියෝව මුල සිට බලහත්කාරයෙන් play කරන්න" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "දෝෂයක් හම්බුනාද ඔයාට?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "සාමාන්‍ය" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "ගිට්හබ්" + }, + "goToSearchBox": { + "message": "Search box එකට යන්න" + }, + "googleApiKey": { + "message": "Google API key එක" + }, + "gpu": { + "message": "GPU එක" + }, + "green": { + "message": "කොළ" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header එක" + }, + "hidden": { + "message": "සැඟවුණු" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Animate කරපු thumbnail සඟවන්න" + }, + "hideAnnotations": { + "message": "Annotations සඟවන්න" + }, + "hideCards": { + "message": "Cards සඟවන්න" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Country code එක හංගන්න" + }, + "hideDate": { + "message": "Date එක හංගන්න" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Details හංගන්න" + }, + "hideEndscreen": { + "message": "Endscreen එක හංගන්න" + }, + "hideFeaturedContent": { + "message": "Featured content හංගන්න" + }, + "hideFooter": { + "message": "Footer එක හංගන්න" + }, + "hideGradientBottom": { + "message": "Player-bar එක වටේ තියෙන shadow එක සගවන්න" + }, + "hidePlayerControlsBar": { + "message": "Player controls bar එක සඟවන්න" + }, + "hidePlayerControlsBarButtons": { + "message": "Player controls bar එකේ තියෙන button සඟවන්න" + }, + "hidePlayerControlsBarOptions": { + "message": "Player controls options සඟවන්න" + }, + "hidePlaylist": { + "message": "Playlist සඟවන්න" + }, + "hideRightButtons": { + "message": "දකුණු පැත්තෙ තියෙන button සඟවන්න" + }, + "hideScrollForDetails": { + "message": "«Scroll for details» සඟවන්න" + }, + "hideSkipOverlay": { + "message": "5 seconds skip animation එක සඟවන්න" + }, + "hideThumbnailOverlay": { + "message": "Thumbnail මත තිබෙන button සඟවන්න" + }, + "hideThumbnails": { + "message": "Thumbnail සඟවන්න" + }, + "hideViewsCount": { + "message": "Views count එක සඟවන්න" + }, + "hideVoiceSearchButton": { + "message": "Voice search button එක සඟවන්න" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover (මවුස් පොයින්ටරය තබාගෙන සිටින විට)" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "වීඩියෝ එක අප්ලෝඩ් කරල කොච්චර කල් වෙනවද" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icons පමණයි" + }, + "importSettings": { + "message": "Backup කරපු settings import කරන්න" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Playback speed එක අඩුකරන්න." + }, + "increaseVolume": { + "message": "සද්දෙ අඩුකරන්න" + }, + "indigo": { + "message": "ඉන්ඩිගෝ" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "භාෂාව" + }, + "languages": { + "message": "භාෂාවන්" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Page එකේ පළල සීමා කරන්න" + }, + "list": { + "message": "List එක" + }, + "liveChat": { + "message": "Live chat එක" + }, + "liveChatType": { + "message": "Live chat type එක තෝරන්න" + }, + "location": { + "message": "Location එක" + }, + "loop": { + "message": "Loop (නැවත නැවත play වෙන ලෙස සැකසීම)" + }, + "loudnessNormalization": { + "message": "Loudness සාමාන්‍යකරණය" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "කලින් බලපු වීඩියෝ Mark කරන්න" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer එක" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "Sidebar එක වම් පැත්තට යවන්න" + }, + "moveThumbnailsRight": { + "message": "Thumbnail දකුණු පැත්තට කරන්න" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "නම" + }, + "nativeMiniPlayer": { + "message": "යූටූබ් වලටම ආවේණික mini player එක" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "මීළඟ video එක" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "ක්‍රියාකාරීව තිබෙන Features නොමැත" + }, + "noOpenVideoTabs": { + "message": "Open කරපු වීඩියෝ ටැබ් නැත" + }, + "none": { + "message": "None (කිසිවක් නැහැ)" + }, + "normal": { + "message": "සාමාන්‍ය" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "පරණ" + }, + "onAllVideos": { + "message": "සියලුම වීඩියෝ මත" + }, + "onSubscribedChannels": { + "message": "Subscribe කරපු චැනල් මත" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "video හෝ playlist new window එකකින් open කරන්න" + }, + "orange": { + "message": "තැඹිලි පාට" + }, + "os": { + "message": "OS එක (මෙහෙයුම් පද්ධතිය)" + }, + "other": { + "message": "අනෙකුත්" + }, + "outline": { + "message": "Outline එක" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "අවසරයන්" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "රෝස පාට" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform එක" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play කරන්න / Pause කරන්න" + }, + "playbackSpeed": { + "message": "Playback speed එක" + }, + "player": { + "message": "Player එක" + }, + "playerColor": { + "message": "Player එකේ පැහැය" + }, + "playerSize": { + "message": "Player එකේ ප්‍රමාණය" + }, + "playlist": { + "message": "Playlist එක" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position එක" + }, + "pressAnyKeyOrScroll": { + "message": "ඕනෑම key එකක් හෝ mouse wheel එක යොදාගන්න." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "ඕනෑම key එකක් හෝ mouse wheel එක යොදාගන්න" + }, + "previousVideo": { + "message": "කලින් video එක" + }, + "primaryColor": { + "message": "Primary color එක" + }, + "purple": { + "message": "දම් පාට" + }, + "quality": { + "message": "Quality එක" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM එක" + }, + "rateMe": { + "message": "මාව Rate කරන්න" + }, + "rateUs": { + "message": "අපිව Rate කරන්න" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Dislike button එක රතුපාටින් පෙන්වන්න." + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Related search results කොටස ඉවත් කරන්න" + }, + "repeat": { + "message": "Repeat කරන්න" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset කරන්න" + }, + "resetAllSettings": { + "message": "සියලුම settings reset කරන්න" + }, + "resetAllShortcuts": { + "message": "සියලුම shortcuts reset කරන්න" + }, + "reverse": { + "message": "ආපස්සට ගන්න (Reverse)" + }, + "rotate": { + "message": "Rotate කරන්න" + }, + "save": { + "message": "Save කරන්න" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot ලබාගැනීම" + }, + "scrollBar": { + "message": "Scroll Bar එක" + }, + "sd": { + "message": "SD කොලිටිය (Data අඩුවෙන් වැයවෙන)" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar එක පමණයි" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "සාර්ථකව settings import කරනලදී." + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Channel එකේ තියෙන වීඩියෝ ගාන පෙන්නන්න" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle කරන්න" + }, + "sidebar": { + "message": "Sidebar එක" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar එක" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "ස්ථාවර" + }, + "statsForNerds": { + "message": "Show Stats for Nerds (මෝඩ පුද්ගලයන්ගේ තොරතුරු පෙන්වන්න)" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "නවත්වන්න" + }, + "style": { + "message": "Style එක" + }, + "styles": { + "message": "Style වර්ග" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "උපසිරැසි" + }, + "sunset": { + "message": "Sunset (ඉරබහින වෙලාව)" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise (සවස සිට උදෑසන දක්වා)" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color එක" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "සියලුම cookies ඉවත් කරයි." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "නරඹන ලද වීඩියෝ ඉවත් කරයි." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "සියලුම YouTube හි cookies ඉවත් කරයි" + }, + "thisWillResetAllSettings": { + "message": "සියලුම settings reset කරයි" + }, + "thisWillResetAllShortcuts": { + "message": "සියලුම shortcut reset කරයි" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnail වල කොලිටිය" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat එක" + }, + "trackWatchedVideos": { + "message": "බලපු වීඩියෝ track කරන්න" + }, + "trailerAutoplay": { + "message": "Trailer එක autoplay කරන්න" + }, + "translations": { + "message": "Translations (පරිවර්තන)" + }, + "transparentBackground": { + "message": "විනිවිද පෙනෙන Background එක" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Page එක reload කරල බලන්න(කීබෝඩ් එකේ F5 ඔබන්න)" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "ඊලඟ වීඩීයෝ එක Autoplay කරන්න" + }, + "use24HourFormat": { + "message": "පැය-24 format එක භාවිත කරන්න" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "වීඩීයෝව" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "Category එකේ නම ලබාගැනීමට description එක expand කෙරේ" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "වීඩීයෝ" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume එක" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time එක" + }, + "whenTabIsChanged": { + "message": "Tab එක වෙනස් කළ විට" + }, + "white": { + "message": "සුදු පාට" + }, + "windowColor": { + "message": "Window එකේ වර්ණය" + }, + "windowOpacity": { + "message": "Window එකේ opacity එක" + }, + "yellow": { + "message": "කහ පාට" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page එක" + }, + "youtubeLanguage": { + "message": "YouTube language එක" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "h.264 codec සඳහා වීඩියෝ කොලිටිය 1080p දක්වා සීමා කරයි" + } +} \ No newline at end of file diff --git a/unstable/_locales/sk/messages.json b/_locales/sk/messages.json similarity index 71% rename from unstable/_locales/sk/messages.json rename to _locales/sk/messages.json index 2af9445e6..f40b69423 100644 --- a/unstable/_locales/sk/messages.json +++ b/_locales/sk/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Crop chapter titles" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "O" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Aktivovať titulky" }, + "activateFullscreen": { + "message": "Aktivovať zobrazenie na celú obrazovku" + }, "activated": { "message": "Aktivované" }, "activatedFeatures": { "message": "Aktivované fukncie" }, - "activateFullscreen": { - "message": "Aktivovať zobrazenie na celú obrazovku" - }, "activeFeatures": { "message": "Aktívne funkcie" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "Povoliť 60fps" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Vždy aktívne" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "Analyzátor" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Vzhľad" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" }, "audio": { "message": "Zvuk" @@ -86,6 +95,24 @@ "autoplay": { "message": "Automatické prehrávanie" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, "backupAndReset": { "message": "Zálohovanie & Obnova" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "Zablokovať všetko" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, "blue": { "message": "Modrá" }, @@ -143,18 +185,27 @@ "channels": { "message": "Kanály" }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Schránka" }, "codecH264": { "message": "Kodek h.264" }, - "collapsed": { - "message": "Zbaliť" + "codecs": { + "message": "Codecs" }, "collapseOfSubscriptionSections": { "message": "Zbaliť sekciu Odber" }, + "collapsed": { + "message": "Zbaliť" + }, "comments": { "message": "Komentáre" }, @@ -167,12 +218,21 @@ "cores": { "message": "Jadrá" }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "Vlastné CSS" }, "customJs": { "message": "Vlastné JS" }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, "cyan": { "message": "Tyrkysová" }, @@ -200,14 +260,29 @@ "deepPurple": { "message": "Tmavo fialová" }, + "default": { + "message": "Default" + }, "defaultChannelTab": { "message": "Predvolená karta kanálu" }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, "deleteYoutubeCookies": { "message": "Vymazať YouTube cookies" }, + "depressed": { + "message": "Depressed" + }, "description": { - "message": "Podrobnosti" + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" }, "desert": { "message": "Púšť" @@ -230,15 +305,27 @@ "dislike": { "message": "Dislike" }, - "donate": { - "message": "Prispieť" + "displayDayOfTheWeak": { + "message": "Display day of the week" }, "doNotChange": { "message": "Nemeniť" }, + "donate": { + "message": "Prispieť" + }, + "download": { + "message": "Download" + }, "draggable": { "message": "Posuvné" }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, "email": { "message": "Email" }, @@ -275,12 +362,33 @@ "font": { "message": "Písmo" }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, "footer": { "message": "Pätička" }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, "forcedPlaybackSpeed": { "message": "Vynútená rýchlosť prehrávania" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Vynútený divadelný režim" }, @@ -296,24 +404,33 @@ "general": { "message": "Všeobecné" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Prejdite do vyhľadávanieho poľa" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Zelená" }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD náhlad" }, - "hdThumbnails": { - "message": "HD náhlady" - }, "header": { "message": "Hlavička" }, @@ -332,6 +449,21 @@ "hideCards": { "message": "Skryť karty" }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, "hideDetails": { "message": "Skryť detaily" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "Hide pätičku" }, + "hideGradientBottom": { + "message": "Hide Gradient Bottom" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, "hidePlaylist": { "message": "Skryť zoznam videí" }, @@ -353,9 +497,24 @@ "hideScrollForDetails": { "message": "Skryť «Zarolujte pre detaily»" }, + "hideSkipOverlay": { + "message": "Hide Skip Overlay" + }, + "hideThumbnailOverlay": { + "message": "Hide thumbnail overlay" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, "hideViewsCount": { "message": "Skyť počet videní" }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, "history": { "message": "História" }, @@ -380,8 +539,11 @@ "importSettings": { "message": "Importovať nastavenia" }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube ikona v prehliadači" + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" }, "improvedtubeIconOnYoutube": { "message": "ImprovedTube ikona na YouTube" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "ImprovedTube verzia" }, - "improveLogo": { - "message": "Improve logo" - }, "increasePlaybackSpeed": { "message": "Zvýšiť rýchlosť prehrávania" }, @@ -407,12 +566,24 @@ "items": { "message": "Items" }, + "language": { + "message": "Language" + }, "languages": { "message": "Jazyky" }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, "legacyYoutube": { "message": "Starý YouTube" }, + "library": { + "message": "Library" + }, "light": { "message": "Svetlo" }, @@ -425,12 +596,18 @@ "like": { "message": "Páči sa mi to" }, + "liked": { + "message": "Liked" + }, "likes": { - "message": "Páči sa mi to" + "message": "Likes" }, "lime": { "message": "Limetková" }, + "limitPageWidth": { + "message": "Limit page width" + }, "list": { "message": "Zoznam" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "Typ živého chatu" }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, "loudnessNormalization": { "message": "Vyrovnanie hlasitosti" }, + "low": { + "message": "Low" + }, "markWatchedVideos": { "message": "Označiť ako videné" }, - "customMiniPlayer": { - "message": "Custom Mini-Player" + "medium": { + "message": "Medium" }, "mixer": { "message": "Mixér" }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, "myColors": { "message": "Moje farby" }, @@ -470,32 +668,44 @@ "night": { "message": "Noc" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Žiadne aktívne fukncie" }, - "none": { - "message": "Žiadny" - }, "noOpenVideoTabs": { "message": "Žiadne otvorené karty s videami" }, + "none": { + "message": "Žiadny" + }, "normal": { "message": "Normále" }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, "old": { "message": "Starý" }, "onAllVideos": { "message": "Na všetkých videách" }, + "onSubscribedChannels": { + "message": "Na odoberaných kanáloch" + }, "onlyActiveOnYoutube": { "message": "Aktívne iba na YouTube" }, "onlyOnePlayerInstancePlaying": { "message": "Prehrávať iba jedno video" }, - "onSubscribedChannels": { - "message": "Na odoberaných kanáloch" + "openPopupPlayer": { + "message": "Open video/playlist in a new window" }, "orange": { "message": "Oranžová" @@ -506,6 +716,12 @@ "other": { "message": "Ostatné" }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, "permissions": { "message": "Povolenia" }, @@ -521,6 +737,12 @@ "platform": { "message": "Platforma" }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Prehrať / Pozastavť" + }, "playbackSpeed": { "message": "Rýchlosť prehrávania" }, @@ -539,12 +761,12 @@ "playlists": { "message": "Zoznamy videí" }, - "playPause": { - "message": "Prehrať / Pozastavť" - }, "popupPlayer": { "message": "Popup prehrávač" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Pozícia" }, @@ -566,24 +788,39 @@ "quality": { "message": "Kvalita" }, + "raised": { + "message": "Raised" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Rate me" + }, "rateUs": { "message": "Ohodnoťte nás" }, "red": { "message": "Červená" }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, "relatedVideos": { "message": "Súvisiace videá" }, + "remote": { + "message": "Play on TV" + }, "removeRelatedSearchResults": { "message": "Odstránte príbuzné výsledky vyhľadávania" }, "repeat": { "message": "Opakovať" }, + "report": { + "message": "Report" + }, "reset": { "message": "Obnoviť" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "Screenshot" }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Vyhľadať" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "Pretočiť dopredu o 10 sekúnd" }, + "seekNextChapter": { + "message": "seekNextChapter" + }, + "seekPreviousChapter": { + "message": "seekPreviousChapter" + }, "settings": { "message": "Nastavenia" }, "settingsSuccessfullyImported": { "message": "Nastavenia úspešne importované" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Skratky" }, @@ -641,12 +893,27 @@ "showChannelVideosCount": { "message": "Zobraziť počet videí kanálu" }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, "shuffle": { "message": "Náhodne" }, "sidebar": { "message": "Bočný panel" }, + "softwareInformation": { + "message": "Software information" + }, "spacebar": { "message": "Medzera" }, @@ -656,6 +923,9 @@ "static": { "message": "Statické" }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, "step": { "message": "Krok" }, @@ -668,6 +938,9 @@ "styles": { "message": "Štýly" }, + "subscribe": { + "message": "Subscribe" + }, "subscriptions": { "message": "Odbery" }, @@ -692,12 +965,18 @@ "textColor": { "message": "Farba textu" }, + "thanks": { + "message": "Thanks" + }, "themes": { "message": "Témy" }, "thisWillRemoveAllCookies": { "message": "Toto odstráni všetky cookies." }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Toto odstráni všetky YouTube cookies" }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "Náhlady" }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, "timeFrom": { "message": "Čas od" }, @@ -719,9 +1001,21 @@ "todayAt": { "message": "Dnes o" }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle controls" + }, "topChat": { "message": "Top chat" }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, "trailerAutoplay": { "message": "Automatické prehrávanie ukážky" }, @@ -761,6 +1055,9 @@ "videos": { "message": "Vedeá" }, + "viewMode": { + "message": "View Mode" + }, "volume": { "message": "Hlasitosť" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "Čas sledovania" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Pri zmene karty" }, "white": { "message": "Biela" }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, "yellow": { "message": "Žltá" }, @@ -793,17 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "YouTube obmedzuje kvalitu videa na 1080p pri kodeku h.264" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" } -} +} \ No newline at end of file diff --git a/_locales/sl/messages.json b/_locales/sl/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/sl/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/sr/messages.json b/_locales/sr/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/sr/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/sv/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/sw/messages.json b/_locales/sw/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/sw/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/ta/messages.json b/_locales/ta/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/ta/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/te/messages.json b/_locales/te/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/te/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/th/messages.json b/_locales/th/messages.json new file mode 100644 index 000000000..b67342973 --- /dev/null +++ b/_locales/th/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyzer" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background color" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system color scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue gray" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font color" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theater mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colors" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Progress bar color" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary color" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System peference: dark" + }, + "systemPeferenceLight": { + "message": "System peference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text color" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window color" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/tr/messages.json b/_locales/tr/messages.json similarity index 68% rename from unstable/_locales/tr/messages.json rename to _locales/tr/messages.json index 7ed3ce880..a4cacd779 100644 --- a/unstable/_locales/tr/messages.json +++ b/_locales/tr/messages.json @@ -1,6 +1,15 @@ { - "cropChapterTitles": { - "message": "Crop chapter titles" + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" }, "about": { "message": "Hakkında" @@ -14,15 +23,15 @@ "activateCaptions": { "message": "Altyazıları Aktifleştir" }, + "activateFullscreen": { + "message": "Tam ekranı Aktifleştir" + }, "activated": { "message": "Aktifleştirilmiş" }, "activatedFeatures": { "message": "Aktifleştirilmiş özellikler" }, - "activateFullscreen": { - "message": "Tam ekranı Aktifleştir" - }, "activeFeatures": { "message": "Etkin özellikler" }, @@ -41,6 +50,9 @@ "allow60fps": { "message": "60fps'e izin ver" }, + "always": { + "message": "Always" + }, "alwaysActive": { "message": "Sürekli etkin" }, @@ -53,20 +65,17 @@ "analyzer": { "message": "Analizör" }, + "animations": { + "message": "Animations" + }, "appearance": { "message": "Görünüm" }, - "ARROWDOWN": { - "message": "⇩" + "areYouSureYouWantToExportTheData": { + "message": "Verileri dışa aktarmak istediğinizden emin misiniz?" }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" + "areYouSureYouWantToImportTheData": { + "message": "Verileri içe aktarmak istediğinizden emin misiniz?" }, "audio": { "message": "Ses" @@ -86,6 +95,24 @@ "autoplay": { "message": "Otomatik oynat" }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Mümkün olduğunda CPU oluşturma işleminden kaçının" + }, + "backgroundColor": { + "message": "Arkaplan rengi" + }, + "backgroundOpacity": { + "message": "Arkaplan opaklığı" + }, "backupAndReset": { "message": "Yedek & sıfırla" }, @@ -104,6 +131,21 @@ "blockAll": { "message": "Tümünü engelle" }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Sesi engelle" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "VP9'u engelle" + }, "blue": { "message": "Mavi" }, @@ -143,18 +185,27 @@ "channels": { "message": "Kanallar" }, + "characterEdgeStyle": { + "message": "Karakter kenar stili" + }, + "clip": { + "message": "Clip" + }, "clipboard": { "message": "Pano" }, "codecH264": { - "message": "Codec h.264" + "message": "Kodek h.264" }, - "collapsed": { - "message": "Daraltılmış" + "codecs": { + "message": "Kodekler" }, "collapseOfSubscriptionSections": { "message": "Abonelik bölümlerini daralt" }, + "collapsed": { + "message": "Daraltılmış" + }, "comments": { "message": "Yorumlar" }, @@ -167,12 +218,21 @@ "cores": { "message": "Çekirdekler" }, + "cropChapterTitles": { + "message": "Bölüm başlıklarını kırp" + }, + "custom": { + "message": "Custom" + }, "customCss": { "message": "Özel CSS" }, "customJs": { "message": "Özel JS" }, + "customMiniPlayer": { + "message": "Özel Mini Oynatıcı" + }, "cyan": { "message": "Camgöbeği" }, @@ -200,15 +260,30 @@ "deepPurple": { "message": "Koyu mor" }, + "default": { + "message": "Varsayılan" + }, "defaultChannelTab": { "message": "Varsayılan kanal sekmesi" }, + "defaultContentCountry": { + "message": "Varsayılan içerik ülkesi" + }, + "deleteWatchedVideos": { + "message": "İzlenen videoları sil" + }, "deleteYoutubeCookies": { "message": "YouTube çerezleri sil" }, + "depressed": { + "message": "Bunalımlı" + }, "description": { "message": "Açıklama" }, + "description_ext": { + "message": "YouTube'u düzenli+akıllı hale getirin! YouTube video renkli reklam hacmi atlama hızı kanal aracı stili HD reklamlar reklam engelleme reklam engelleyici etiketleri anahtar kelime oynatma listesi" + }, "desert": { "message": "Çöl" }, @@ -230,15 +305,27 @@ "dislike": { "message": "Beğenmeme" }, - "donate": { - "message": "Bağış" + "displayDayOfTheWeak": { + "message": "Zayıfların gününü göster" }, "doNotChange": { "message": "Değiştirme" }, + "donate": { + "message": "Bağış" + }, + "download": { + "message": "İndir" + }, "draggable": { "message": "Sürüklenebilir" }, + "dropShadow": { + "message": "Düşen gölge" + }, + "durationWithSpeed": { + "message": "Oynatma hızına göre kalan süreyi göster" + }, "email": { "message": "Eposta" }, @@ -275,12 +362,33 @@ "font": { "message": "Yazı Tipi" }, + "fontColor": { + "message": "Yazı rengi" + }, + "fontFamily": { + "message": "Font ailesi" + }, + "fontOpacity": { + "message": "Yazı tipi opaklığı" + }, + "fontSize": { + "message": "Yazı Boyutu" + }, "footer": { - "message": "Footer" + "message": "Altbilgi" + }, + "forceSDR": { + "message": "SDR Zorla" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "En başından itibaren zorunlu oynatma videosu" }, "forcedPlaybackSpeed": { "message": "Oynatma hızını uygulamaya zorla" }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, "forcedTheaterMode": { "message": "Sinema modunu zorla" }, @@ -296,26 +404,35 @@ "general": { "message": "Genel" }, + "geoPreference": { + "message": "Geo Preference" + }, "github": { "message": "GitHub" }, "goToSearchBox": { "message": "Arama kutusuna git" }, + "googleApiKey": { + "message": "Google API key" + }, "gpu": { "message": "GPU" }, "green": { "message": "Yeşil" }, + "hardwareInformation": { + "message": "Donanım Bilgileri" + }, + "hd": { + "message": "HD" + }, "hdThumbnail": { "message": "HD küçük resim" }, - "hdThumbnails": { - "message": "HD küçük resimler" - }, "header": { - "message": "Header" + "message": "Başlık" }, "hidden": { "message": "Gizli" @@ -332,6 +449,21 @@ "hideCards": { "message": "Kartları gizle" }, + "hideCategories": { + "message": "Kategorileri gizle" + }, + "hideCommentsCount": { + "message": "Yorum sayısını gizle" + }, + "hideCountryCode": { + "message": "Ülke kodunu gizle" + }, + "hideDate": { + "message": "Tarihi gizle" + }, + "hideDetailButton": { + "message": "Ayrıntı Düğmesini Gizle" + }, "hideDetails": { "message": "Detayları gizle" }, @@ -344,6 +476,18 @@ "hideFooter": { "message": "Footer'ı gizle" }, + "hideGradientBottom": { + "message": "Gradyan Altını Gizle" + }, + "hidePlayerControlsBar": { + "message": "Oynatıcı kontrol çubuğunu gizle" + }, + "hidePlayerControlsBarButtons": { + "message": "Oynatıcı kontrolleri çubuğu düğmelerini gizle" + }, + "hidePlayerControlsBarOptions": { + "message": "Oynatıcı kontrol seçeneklerini gizle" + }, "hidePlaylist": { "message": "Oynatma Listesi'ni gizle" }, @@ -353,9 +497,24 @@ "hideScrollForDetails": { "message": "«Ayrıntılar için kaydır» gizle" }, + "hideSkipOverlay": { + "message": "Yer Paylaşımını Atla Gizle" + }, + "hideThumbnailOverlay": { + "message": "Küçük resim yer paylaşımını gizle" + }, + "hideThumbnails": { + "message": "Küçük resimleri gizle" + }, "hideViewsCount": { "message": "Görüntüleme sayısını gizle" }, + "hideVoiceSearchButton": { + "message": "Sesli arama düğmesini gizle" + }, + "high": { + "message": "Yüksek" + }, "history": { "message": "Geçmiş" }, @@ -363,10 +522,10 @@ "message": "Ana Sayfa" }, "hover": { - "message": "Hover" + "message": "Gölge" }, "hoverOnVideoPage": { - "message": "Hover on video page" + "message": "Videonun Üzerinde Hover" }, "howLongAgoTheVideoWasUploaded": { "message": "Video ne kadar süre önce yüklendi" @@ -380,8 +539,11 @@ "importSettings": { "message": "Ayarları içe aktar" }, - "improvedtubeIconInBrowser": { - "message": "Tarayıcıda ImprovedTube Simgesi" + "improveLogo": { + "message": "Logoyu geliştir" + }, + "improvedtubeButtons": { + "message": "ImprovedTube butonları" }, "improvedtubeIconOnYoutube": { "message": "YouTube'da ImprovedTube Simgesi" @@ -392,9 +554,6 @@ "improvedtubeVersion": { "message": "ImprovedTube sürümü" }, - "improveLogo": { - "message": "Logoyu geliştir" - }, "increasePlaybackSpeed": { "message": "Oynatma hızını artır" }, @@ -407,12 +566,24 @@ "items": { "message": "Öğeler" }, + "language": { + "message": "Dil" + }, "languages": { "message": "Diller" }, + "layerAnimationScale": { + "message": "Katman animasyon ölçeği" + }, + "layout": { + "message": "Düzen" + }, "legacyYoutube": { "message": "Eski YouTube" }, + "library": { + "message": "Kütüphane" + }, "light": { "message": "Açık" }, @@ -425,12 +596,18 @@ "like": { "message": "Beğen" }, + "liked": { + "message": "Beğenildi" + }, "likes": { "message": "Beğeniler" }, "lime": { "message": "Lime" }, + "limitPageWidth": { + "message": "Sayfa genişliğini sınırla" + }, "list": { "message": "Liste" }, @@ -440,18 +617,39 @@ "liveChatType": { "message": "Canlı sohbet türü" }, + "location": { + "message": "Konum" + }, + "loop": { + "message": "Döngü" + }, "loudnessNormalization": { "message": "Gürültü normalleştirme" }, + "low": { + "message": "Düşük" + }, "markWatchedVideos": { "message": "İzlenen videoları işaretle" }, - "customMiniPlayer": { - "message": "Custom Mini-Player" + "medium": { + "message": "Orta" }, "mixer": { "message": "Karıştırıcı" }, + "more": { + "message": "Daha fazla" + }, + "mostViewedChannels": { + "message": "En çok izlenen kanallar" + }, + "moveSidebarLeft": { + "message": "Kenar çubuğunu sola taşı" + }, + "moveThumbnailsRight": { + "message": "Küçük resimleri sağa taşı" + }, "myColors": { "message": "Renklerim" }, @@ -459,7 +657,7 @@ "message": "İsim" }, "nativeMiniPlayer": { - "message": "Native mini player" + "message": "Native mini oynatıcı" }, "new": { "message": "Yeni" @@ -470,32 +668,44 @@ "night": { "message": "Gece" }, + "nightMode": { + "message": "Night mode" + }, "noActiveFeatures": { "message": "Aktif özellik yok" }, - "none": { - "message": "Yok" - }, "noOpenVideoTabs": { "message": "Açık video sekmesi yok" }, + "none": { + "message": "Yok" + }, "normal": { "message": "Normal" }, + "off": { + "message": "Kapalı" + }, + "ok": { + "message": "Tamam" + }, "old": { "message": "Eski" }, "onAllVideos": { "message": "Tüm videolarda" }, + "onSubscribedChannels": { + "message": "Abone olunan kanallarda" + }, "onlyActiveOnYoutube": { "message": "Yalnızca YouTube'da etkin" }, "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" + "message": "Sadece bir oynatıcı örneği" }, - "onSubscribedChannels": { - "message": "Abone olunan kanallarda" + "openPopupPlayer": { + "message": "Videoyu/oynatma listesini yeni pencerede aç" }, "orange": { "message": "Turuncu" @@ -506,6 +716,12 @@ "other": { "message": "Diğer" }, + "outline": { + "message": "Ana hat" + }, + "overlay": { + "message": "Arayüz" + }, "permissions": { "message": "İzinler" }, @@ -521,6 +737,12 @@ "platform": { "message": "Platform" }, + "playAllButton": { + "message": "\"Tümünü oynat\" butonu" + }, + "playPause": { + "message": "Oynat / Duraklat" + }, "playbackSpeed": { "message": "Oynatma hızı" }, @@ -539,12 +761,12 @@ "playlists": { "message": "Oynatma Listeleri" }, - "playPause": { - "message": "Oynat / Duraklat" - }, "popupPlayer": { "message": "Popup oynatıcı" }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, "position": { "message": "Konum" }, @@ -566,24 +788,39 @@ "quality": { "message": "Kalite" }, + "raised": { + "message": "Kabarık" + }, "ram": { "message": "RAM" }, + "rateMe": { + "message": "Beni oyla" + }, "rateUs": { "message": "Bizi oyla" }, "red": { "message": "Kırmızı" }, + "redDislikeButton": { + "message": "Beğenmeme düğmesinini kırmızı renkte göster" + }, "relatedVideos": { "message": "İlgili videolar" }, + "remote": { + "message": "TV'de oynat" + }, "removeRelatedSearchResults": { "message": "İlgili arama sonuçlarını kaldır" }, "repeat": { "message": "Tekrarla" }, + "report": { + "message": "Report" + }, "reset": { "message": "Sıfırla" }, @@ -614,6 +851,12 @@ "screenshot": { "message": "Ekran görüntüsü" }, + "scrollBar": { + "message": "Kaydırma çubuğu" + }, + "sd": { + "message": "SD" + }, "search": { "message": "Ara" }, @@ -626,12 +869,21 @@ "seekForward10Seconds": { "message": "10 saniye ileriye git" }, + "seekNextChapter": { + "message": "10 saniye geriye git" + }, + "seekPreviousChapter": { + "message": "Önceki Bölümü Ara" + }, "settings": { "message": "Ayarlar" }, "settingsSuccessfullyImported": { "message": "Ayarlar başarıyla içe aktarıldı" }, + "share": { + "message": "Share" + }, "shortcuts": { "message": "Kısayollar" }, @@ -641,14 +893,29 @@ "showChannelVideosCount": { "message": "Kanalın video sayısını göster" }, + "showLess": { + "message": "Daha az göster" + }, + "showMore": { + "message": "Daha fazla göster" + }, + "showRemainingDuration": { + "message": "Videonun kalan süresini göster" + }, + "showVersion": { + "message": "Versionu göster" + }, "shuffle": { "message": "Karıştır" }, "sidebar": { "message": "Kenar çubuğu" }, + "softwareInformation": { + "message": "Yazılım bilgisi" + }, "spacebar": { - "message": "Spacebar" + "message": "Ara çubuğu" }, "squaredUserImages": { "message": "Kare kullanıcı görüntüleri" @@ -656,6 +923,9 @@ "static": { "message": "Statik" }, + "statsForNerds": { + "message": "Meraklılar için istatistikler" + }, "step": { "message": "Adım" }, @@ -668,6 +938,9 @@ "styles": { "message": "Stiller" }, + "subscribe": { + "message": "Abone Ol" + }, "subscriptions": { "message": "Aboneler" }, @@ -692,12 +965,18 @@ "textColor": { "message": "Yazı rengi" }, + "thanks": { + "message": "Teşekkürler" + }, "themes": { "message": "Temalar" }, "thisWillRemoveAllCookies": { "message": "Bu, tüm çerezleri kaldıracaktır." }, + "thisWillRemoveAllWatchedVideos": { + "message": "Bu, izlenen tüm videoları kaldıracaktır." + }, "thisWillRemoveAllYouTubeCookies": { "message": "Bu, tüm YouTube çerezlerini kaldıracaktır." }, @@ -710,6 +989,9 @@ "thumbnails": { "message": "Küçük resimler" }, + "thumbnailsQuality": { + "message": "Thumbnail Kalitesi" + }, "timeFrom": { "message": "Şu zamandan" }, @@ -719,8 +1001,20 @@ "todayAt": { "message": "Bugün" }, + "toggleAutoplay": { + "message": "Otomatik oynatmayı aç/kapat" + }, + "toggleCards": { + "message": "Kartları aç/kapat" + }, + "toggleControls": { + "message": "Kontrolleri aç/kapat" + }, "topChat": { - "message": "Top chat" + "message": "En İyi Sohbet Mesajları" + }, + "trackWatchedVideos": { + "message": "İzlenen videoları takip edin" }, "trailerAutoplay": { "message": "Fragman otomatik oynatımı" @@ -732,7 +1026,7 @@ "message": "Saydam arka plan" }, "trending": { - "message": "Trending" + "message": "Trendler" }, "tryToReloadThePage": { "message": "Sayfayı yeniden yüklemeyi deneyin" @@ -761,6 +1055,9 @@ "videos": { "message": "Videolar" }, + "viewMode": { + "message": "Görünüm Modu" + }, "volume": { "message": "Ses" }, @@ -770,12 +1067,21 @@ "watchTime": { "message": "İzleme zamanı" }, + "whenPaused": { + "message": "When paused" + }, "whenTabIsChanged": { "message": "Sekme değiştirildiğinde" }, "white": { "message": "Beyaz" }, + "windowColor": { + "message": "Pencere rengi" + }, + "windowOpacity": { + "message": "Pencere opaklığı" + }, "yellow": { "message": "Sarı" }, @@ -793,17 +1099,5 @@ }, "youtubeLimitsVideoQualityTo1080pForH264Codec": { "message": "YouTube, h.264 codec bileşeni için video kalitesini 1080p ile sınırlar" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "hideGradientBottom": { - "message": "Hide Gradient Bottom" - }, - "statsForNerds": { - "message": "Show Stats for Nerds" - }, - "toggleCards": { - "message": "Toggle cards" } } diff --git a/_locales/uk/messages.json b/_locales/uk/messages.json new file mode 100644 index 000000000..fbc5e40d4 --- /dev/null +++ b/_locales/uk/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "About" + }, + "accept": { + "message": "Accept" + }, + "activate": { + "message": "Activate" + }, + "activateCaptions": { + "message": "Activate captions" + }, + "activateFullscreen": { + "message": "Activate fullscreen" + }, + "activated": { + "message": "Activated" + }, + "activatedFeatures": { + "message": "Activated features" + }, + "activeFeatures": { + "message": "My active features" + }, + "addScrollToTop": { + "message": "Add «Scroll to top»" + }, + "ads": { + "message": "Ads" + }, + "all": { + "message": "All" + }, + "allow": { + "message": "Allow" + }, + "allow60fps": { + "message": "Allow 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "Always active" + }, + "alwaysShowProgressBar": { + "message": "Always show progress bar" + }, + "amber": { + "message": "Amber" + }, + "analyzer": { + "message": "Analyser" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "Appearance" + }, + "areYouSureYouWantToExportTheData": { + "message": "Are you sure you want to export the data?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Are you sure you want to import the data?" + }, + "audio": { + "message": "Audio" + }, + "audioFormats": { + "message": "Audio formats" + }, + "auto": { + "message": "Auto" + }, + "autoFullscreen": { + "message": "Auto-fullscreen" + }, + "autopauseWhenSwitchingTabs": { + "message": "Auto-pause while I'm not in the tab" + }, + "autoplay": { + "message": "Autoplay" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "Background colour" + }, + "backgroundOpacity": { + "message": "Background opacity" + }, + "backupAndReset": { + "message": "Backup & reset" + }, + "baseOnSystemColorScheme": { + "message": "Base on system colour scheme" + }, + "belowPlayer": { + "message": "Below player" + }, + "black": { + "message": "Black" + }, + "blacklist": { + "message": "Blacklist" + }, + "blockAll": { + "message": "Off (block or skip)" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "Blue" + }, + "blueGray": { + "message": "Blue grey" + }, + "bluelight": { + "message": "Bluelight" + }, + "brown": { + "message": "Brown" + }, + "browser": { + "message": "Browser" + }, + "browserVersion": { + "message": "Browser version" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Buttons" + }, + "cancel": { + "message": "Cancel" + }, + "categories": { + "message": "Categories" + }, + "channel": { + "message": "Channel" + }, + "channels": { + "message": "Channels" + }, + "characterEdgeStyle": { + "message": "Character edge style" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Clipboard" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Fold subscriptions' sections (collapsed accordion)" + }, + "collapsed": { + "message": "Collapsed" + }, + "comments": { + "message": "Comments" + }, + "confirmationBeforeClosing": { + "message": "Confirmation before closing" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Crop chapter titles" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "Custom CSS" + }, + "customJs": { + "message": "Custom JS" + }, + "customMiniPlayer": { + "message": "Custom Mini-Player" + }, + "cyan": { + "message": "Cyan" + }, + "dark": { + "message": "Dark" + }, + "darkTheme": { + "message": "Dark theme" + }, + "dateAndTime": { + "message": "Date & time" + }, + "dawn": { + "message": "Dawn" + }, + "decreasePlaybackSpeed": { + "message": "Decrease playback speed" + }, + "decreaseVolume": { + "message": "Decrease volume" + }, + "deepOrange": { + "message": "Deep orange" + }, + "deepPurple": { + "message": "Deep purple" + }, + "default": { + "message": "Default" + }, + "defaultChannelTab": { + "message": "Default channel tab" + }, + "defaultContentCountry": { + "message": "Country (virtual travel!)" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "Delete YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video colour ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Desert" + }, + "details": { + "message": "Details" + }, + "developerOptions": { + "message": "Developer options" + }, + "device": { + "message": "Device" + }, + "dim": { + "message": "Dim" + }, + "disabled": { + "message": "Disabled" + }, + "dislike": { + "message": "Dislike" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "Don't change" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "Draggable" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Empty" + }, + "enabled": { + "message": "Enabled" + }, + "enabledForced": { + "message": "Enabled (forced)" + }, + "expanded": { + "message": "Expanded" + }, + "exportSettings": { + "message": "Export settings" + }, + "extension": { + "message": "Extension" + }, + "file": { + "message": "File" + }, + "filters": { + "message": "Filters" + }, + "fitToWindow": { + "message": "Old alternative ('Fit to window')" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Font" + }, + "fontColor": { + "message": "Font colour" + }, + "fontFamily": { + "message": "Font family" + }, + "fontOpacity": { + "message": "Font opacity" + }, + "fontSize": { + "message": "Font size" + }, + "footer": { + "message": "Footer" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "Forced playback speed, speed-watching" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "Forced theatre mode" + }, + "forcedVolume": { + "message": "Forced volume" + }, + "foundABug": { + "message": "Found a bug?" + }, + "fullWindow": { + "message": "Full height" + }, + "general": { + "message": "General" + }, + "geoPreference": { + "message": "Geo Preference" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Go to search box" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Green" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD thumbnail" + }, + "header": { + "message": "Header" + }, + "hidden": { + "message": "Hidden" + }, + "hiddenOnVideoPage": { + "message": "Hidden on video page" + }, + "hideAnimatedThumbnails": { + "message": "Hide animated thumbnails" + }, + "hideAnnotations": { + "message": "Hide annotations" + }, + "hideCards": { + "message": "Hide cards" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "Hide country code" + }, + "hideDate": { + "message": "Hide date" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "Hide details" + }, + "hideEndscreen": { + "message": "Hide endscreen" + }, + "hideFeaturedContent": { + "message": "Hide featured content" + }, + "hideFooter": { + "message": "Hide footer" + }, + "hideGradientBottom": { + "message": "Hide shadow around player-bar" + }, + "hidePlayerControlsBar": { + "message": "Hide player controls bar" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "Hide playlist" + }, + "hideRightButtons": { + "message": "Hide right buttons" + }, + "hideScrollForDetails": { + "message": "Hide «Scroll for details»" + }, + "hideSkipOverlay": { + "message": "Hide 5 seconds skip animation" + }, + "hideThumbnailOverlay": { + "message": "Hide buttons on thumbnails" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "Hide views count" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "History" + }, + "home": { + "message": "Home" + }, + "hover": { + "message": "Hover" + }, + "hoverOnVideoPage": { + "message": "Hover on video page" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Show video's age (how long ago it was uploaded)" + }, + "icons": { + "message": "Icons" + }, + "iconsOnly": { + "message": "Icon only" + }, + "importSettings": { + "message": "Import settings" + }, + "improveLogo": { + "message": "Improve logo" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "ImprovedTube icon on YouTube" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube language" + }, + "improvedtubeVersion": { + "message": "ImprovedTube version" + }, + "increasePlaybackSpeed": { + "message": "Increase playback speed" + }, + "increaseVolume": { + "message": "Increase volume" + }, + "indigo": { + "message": "Indigo" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Language" + }, + "languages": { + "message": "Languages" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "Light" + }, + "lightBlue": { + "message": "Light blue" + }, + "lightGreen": { + "message": "Light green" + }, + "like": { + "message": "Like" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "Lime" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "List" + }, + "liveChat": { + "message": "Live chat" + }, + "liveChatType": { + "message": "Live chat type" + }, + "location": { + "message": "Location" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "Loudness normalization" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "Mark watched videos" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "My colours" + }, + "name": { + "message": "Name" + }, + "nativeMiniPlayer": { + "message": "Native mini player" + }, + "new": { + "message": "New" + }, + "nextVideo": { + "message": "Next video" + }, + "night": { + "message": "Night" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "No active features" + }, + "noOpenVideoTabs": { + "message": "No open video tabs" + }, + "none": { + "message": "None" + }, + "normal": { + "message": "Normal" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Old" + }, + "onAllVideos": { + "message": "On" + }, + "onSubscribedChannels": { + "message": "Off, except on my subscribed channels" + }, + "onlyActiveOnYoutube": { + "message": "Only active on YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Pause while I watch a 2nd video" + }, + "openPopupPlayer": { + "message": "Open video/playlist in a new window" + }, + "orange": { + "message": "Orange" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Other" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "Permissions" + }, + "pictureInPicture": { + "message": "Picture-in-Picture" + }, + "pink": { + "message": "Pink" + }, + "plain": { + "message": "Plain" + }, + "platform": { + "message": "Platform" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "Play / Pause" + }, + "playbackSpeed": { + "message": "Playback speed" + }, + "player": { + "message": "Player" + }, + "playerColor": { + "message": "Player colour" + }, + "playerSize": { + "message": "Player size" + }, + "playlist": { + "message": "Playlist" + }, + "playlists": { + "message": "Playlists" + }, + "popupPlayer": { + "message": "Popup player" + }, + "popupWindowButtons": { + "message": "popup_window_buttons" + }, + "position": { + "message": "Position" + }, + "pressAnyKeyOrScroll": { + "message": "Press any key or use mouse wheel." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Press any key or use mouse wheel" + }, + "previousVideo": { + "message": "Previous video" + }, + "primaryColor": { + "message": "Primary colour" + }, + "purple": { + "message": "Purple" + }, + "quality": { + "message": "Quality" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "Rate us" + }, + "red": { + "message": "Red" + }, + "redDislikeButton": { + "message": "Red DisLiked-button" + }, + "relatedVideos": { + "message": "Related videos" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "Remove related search results" + }, + "repeat": { + "message": "Repeat" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "Reset" + }, + "resetAllSettings": { + "message": "Reset all settings" + }, + "resetAllShortcuts": { + "message": "Reset all shortcuts" + }, + "reverse": { + "message": "Reverse" + }, + "rotate": { + "message": "Rotate" + }, + "save": { + "message": "Save" + }, + "saveAs": { + "message": "Save as" + }, + "schedule": { + "message": "Schedule" + }, + "screen": { + "message": "Screen" + }, + "screenshot": { + "message": "Screenshot" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Search" + }, + "searchBarOnly": { + "message": "Search bar only" + }, + "seekBackward10Seconds": { + "message": "Seek backward 10 seconds" + }, + "seekForward10Seconds": { + "message": "Seek forward 10 seconds" + }, + "seekNextChapter": { + "message": "Seek Next Chapter" + }, + "seekPreviousChapter": { + "message": "Seek Previous Chapter" + }, + "settings": { + "message": "Settings" + }, + "settingsSuccessfullyImported": { + "message": "Settings successfully imported" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "Shortcuts" + }, + "showCardsOnMouseHover": { + "message": "Show cards on mouse hover" + }, + "showChannelVideosCount": { + "message": "Show channel videos count" + }, + "showLess": { + "message": "Show less" + }, + "showMore": { + "message": "Show more" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "Shuffle" + }, + "sidebar": { + "message": "Sidebar" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "Spacebar" + }, + "squaredUserImages": { + "message": "Squared user images" + }, + "static": { + "message": "Static" + }, + "statsForNerds": { + "message": "Show Stats for Nerds" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "Stop" + }, + "style": { + "message": "Style" + }, + "styles": { + "message": "Styles" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "Subscriptions" + }, + "subtitles": { + "message": "Subtitles" + }, + "sunset": { + "message": "Sunset" + }, + "sunsetToSunrise": { + "message": "Sunset to sunrise" + }, + "systemPeferenceDark": { + "message": "System preference: dark" + }, + "systemPeferenceLight": { + "message": "System preference: light" + }, + "teal": { + "message": "Teal" + }, + "textColor": { + "message": "Text colour" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "Themes" + }, + "thisWillRemoveAllCookies": { + "message": "This will remove all cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "This will remove all YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "This will reset all settings." + }, + "thisWillResetAllShortcuts": { + "message": "This will reset all shortcuts" + }, + "thumbnails": { + "message": "Thumbnails" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "Time from" + }, + "timeTo": { + "message": "Time to" + }, + "todayAt": { + "message": "Today at" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "Toggle cards" + }, + "toggleControls": { + "message": "Toggle player controls" + }, + "topChat": { + "message": "Top chat" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "Trailer autoplay" + }, + "translations": { + "message": "Translations" + }, + "transparentBackground": { + "message": "Transparent background" + }, + "trending": { + "message": "Trending" + }, + "tryToReloadThePage": { + "message": "Try to reload the page" + }, + "type": { + "message": "Type" + }, + "upNextAutoplay": { + "message": "Up next autoplay" + }, + "use24HourFormat": { + "message": "Use 24-hour format" + }, + "version": { + "message": "Version" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "The video description will be expanded to get the name of the category" + }, + "videoFormats": { + "message": "Video formats" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "Volume" + }, + "watchLater": { + "message": "Watch later" + }, + "watchTime": { + "message": "Watch time" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "When tab is changed" + }, + "white": { + "message": "White" + }, + "windowColor": { + "message": "Window colour" + }, + "windowOpacity": { + "message": "Window opacity" + }, + "yellow": { + "message": "Yellow" + }, + "youtubeHeaderLeft": { + "message": "YouTube Header (left)" + }, + "youtubeHeaderRight": { + "message": "YouTube Header (right)" + }, + "youtubeHomePage": { + "message": "YouTube home page" + }, + "youtubeLanguage": { + "message": "YouTube language" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube limits video quality to 1080p for h.264 codec" + } +} \ No newline at end of file diff --git a/_locales/vi/messages.json b/_locales/vi/messages.json new file mode 100644 index 000000000..a9be85f14 --- /dev/null +++ b/_locales/vi/messages.json @@ -0,0 +1,1103 @@ +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "Về" + }, + "accept": { + "message": "Chấp nhận" + }, + "activate": { + "message": "Kích hoạt" + }, + "activateCaptions": { + "message": "Kích hoạt phụ đề" + }, + "activateFullscreen": { + "message": "Kích hoạt toàn màn hình" + }, + "activated": { + "message": "Đã kích hoạt" + }, + "activatedFeatures": { + "message": "Các tính năng đã được kích hoạt" + }, + "activeFeatures": { + "message": "Các tính năng hoạt động" + }, + "addScrollToTop": { + "message": "Thêm «Cuộn lên đầu»" + }, + "ads": { + "message": "Quảng cáo" + }, + "all": { + "message": "Tất cả" + }, + "allow": { + "message": "Cho phép" + }, + "allow60fps": { + "message": "Cho phép 60fps" + }, + "always": { + "message": "Luôn luôn" + }, + "alwaysActive": { + "message": "Luôn luôn hoạt động" + }, + "alwaysShowProgressBar": { + "message": "Luôn hiển thị thanh tiến trình" + }, + "amber": { + "message": "Hổ phách" + }, + "analyzer": { + "message": "Bộ phân tích" + }, + "animations": { + "message": "Hoạt ảnh" + }, + "appearance": { + "message": "Diện mạo" + }, + "areYouSureYouWantToExportTheData": { + "message": "Bạn có chắc chắn muốn xuất dữ liệu không?" + }, + "areYouSureYouWantToImportTheData": { + "message": "Bạn có chắc chắn muốn nhập dữ liệu không?" + }, + "audio": { + "message": "Âm thanh" + }, + "audioFormats": { + "message": "Định dạng âm thanh" + }, + "auto": { + "message": "Tự động" + }, + "autoFullscreen": { + "message": "Tự động toàn màn hình" + }, + "autopauseWhenSwitchingTabs": { + "message": "Tự động dừng khi chuyển đổi tab" + }, + "autoplay": { + "message": "Tự động phát" + }, + "avoidAv1": { + "message": "Tránh AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Tránh AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Tránh AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Tránh kết xuất bằng CPU khi có thể" + }, + "backgroundColor": { + "message": "Màu nền" + }, + "backgroundOpacity": { + "message": "Độ mờ của nền" + }, + "backupAndReset": { + "message": "Sao lưu & thiết lập lại" + }, + "baseOnSystemColorScheme": { + "message": "Dựa trên bảng màu hệ thống" + }, + "belowPlayer": { + "message": "Bên dưới trình phát" + }, + "black": { + "message": "Đen" + }, + "blacklist": { + "message": "Danh sách đen" + }, + "blockAll": { + "message": "Chặn tất cả" + }, + "blockAv1": { + "message": "Chặn AV1" + }, + "blockH264": { + "message": "Chặn H.264" + }, + "blockMusic": { + "message": "Chặn âm nhạc" + }, + "blockVp8": { + "message": "Chặn VP8" + }, + "blockVp9": { + "message": "Chặn VP9" + }, + "blue": { + "message": "Xanh dương" + }, + "blueGray": { + "message": "Xám xanh" + }, + "bluelight": { + "message": "Sáng xanh" + }, + "brown": { + "message": "Nâu" + }, + "browser": { + "message": "Trình duyệt" + }, + "browserVersion": { + "message": "Phiên bản trình duyệt" + }, + "bubbles": { + "message": "Bong bóng" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "Nút" + }, + "cancel": { + "message": "Huỷ bỏ" + }, + "categories": { + "message": "Thể loại" + }, + "channel": { + "message": "Kênh" + }, + "channels": { + "message": "Kênh" + }, + "characterEdgeStyle": { + "message": "Kiểu cạnh ký tự" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "Bảng tạm" + }, + "codecH264": { + "message": "Codec h.264" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "Thu gọn các phần đăng ký" + }, + "collapsed": { + "message": "Đã thu gọn" + }, + "comments": { + "message": "Bình luận" + }, + "confirmationBeforeClosing": { + "message": "Xác nhận trước khi đóng cửa" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "Cores" + }, + "cropChapterTitles": { + "message": "Cắt tiêu đề chương" + }, + "custom": { + "message": "Tuỳ chỉnh" + }, + "customCss": { + "message": "Mã CSS tuỳ chỉnh" + }, + "customJs": { + "message": "Mã JS tuỳ chỉnh" + }, + "customMiniPlayer": { + "message": "Trình phát Mini tuỳ chỉnh" + }, + "cyan": { + "message": "Xanh lơ" + }, + "dark": { + "message": "Tối" + }, + "darkTheme": { + "message": "Chủ đề tối" + }, + "dateAndTime": { + "message": "Ngày & giờ" + }, + "dawn": { + "message": "Bình minh" + }, + "decreasePlaybackSpeed": { + "message": "Giảm tốc độ phát lại" + }, + "decreaseVolume": { + "message": "Giảm âm lượng" + }, + "deepOrange": { + "message": "Cam đậm" + }, + "deepPurple": { + "message": "Tím đậm" + }, + "default": { + "message": "Mặc định" + }, + "defaultChannelTab": { + "message": "Tab kênh mặc định" + }, + "defaultContentCountry": { + "message": "Quốc gia nội dung mặc định" + }, + "deleteWatchedVideos": { + "message": "Xóa video đã xem" + }, + "deleteYoutubeCookies": { + "message": "Xóa cookie của YouTube" + }, + "depressed": { + "message": "Ẩn xuống" + }, + "description": { + "message": "Mô tả" + }, + "description_ext": { + "message": "Làm cho YouTube gọn gàng+thông minh! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "Sa mạc" + }, + "details": { + "message": "Chi tiết" + }, + "developerOptions": { + "message": "Tùy chọn nhà phát triển" + }, + "device": { + "message": "Thiết bị" + }, + "dim": { + "message": "Mờ" + }, + "disabled": { + "message": "Vô hiệu hóa" + }, + "dislike": { + "message": "Không thích" + }, + "displayDayOfTheWeak": { + "message": "Hiển thị ngày trong tuần" + }, + "doNotChange": { + "message": "Đừng thay đổi" + }, + "donate": { + "message": "Donate" + }, + "download": { + "message": "Tải xuống" + }, + "draggable": { + "message": "Có thể kéo" + }, + "dropShadow": { + "message": "Bóng đổ" + }, + "durationWithSpeed": { + "message": "Hiển thị thời gian còn lại tương đương với tốc độ phát hiện tại" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "Trống" + }, + "enabled": { + "message": "Đã bật" + }, + "enabledForced": { + "message": "Đã bật (bắt buộc)" + }, + "expanded": { + "message": "Đã mở rộng" + }, + "exportSettings": { + "message": "Xuất cài đặt" + }, + "extension": { + "message": "Phần mở rộng" + }, + "file": { + "message": "Tập tin" + }, + "filters": { + "message": "Bộ lọc" + }, + "fitToWindow": { + "message": "Vừa với cửa sổ" + }, + "flash": { + "message": "Flash" + }, + "font": { + "message": "Phông chữ" + }, + "fontColor": { + "message": "Màu phông chữ" + }, + "fontFamily": { + "message": "Họ phông chữ" + }, + "fontOpacity": { + "message": "Độ mờ phông chữ" + }, + "fontSize": { + "message": "Cỡ phông chữ" + }, + "footer": { + "message": "Chân trang" + }, + "forceSDR": { + "message": "Bắt buộc SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Buộc phát video từ đầu" + }, + "forcedPlaybackSpeed": { + "message": "Buộc tốc độ phát" + }, + "forcedPlaybackSpeedMusic": { + "message": "Buộc tốc độ phát cho âm nhạc" + }, + "forcedTheaterMode": { + "message": "Buộc chế độ rạp hát" + }, + "forcedVolume": { + "message": "Buộc mức âm lượng" + }, + "foundABug": { + "message": "Tìm thấy lỗi (bug)?" + }, + "fullWindow": { + "message": "Toàn cửa sổ" + }, + "general": { + "message": "Chung" + }, + "geoPreference": { + "message": "Vị trí ưa thích" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "Đi tới hộp tìm kiếm" + }, + "googleApiKey": { + "message": "Key API Google" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "Xanh lá cây" + }, + "hardwareInformation": { + "message": "Thông tin phần cứng" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "Hình thu nhỏ HD" + }, + "header": { + "message": "Phần đầu" + }, + "hidden": { + "message": "Ẩn" + }, + "hiddenOnVideoPage": { + "message": "Ẩn trên trang video" + }, + "hideAnimatedThumbnails": { + "message": "Ẩn hình thu nhỏ động" + }, + "hideAnnotations": { + "message": "Ẩn chú thích" + }, + "hideCards": { + "message": "Ẩn thẻ" + }, + "hideCategories": { + "message": "Ẩn mục" + }, + "hideCommentsCount": { + "message": "Ẩn số lượng bình luận" + }, + "hideCountryCode": { + "message": "Ẩn mã quốc gia" + }, + "hideDate": { + "message": "Ẩn ngày" + }, + "hideDetailButton": { + "message": "Ẩn nút chi tiết" + }, + "hideDetails": { + "message": "Ẩn chi tiết" + }, + "hideEndscreen": { + "message": "Ẩn màn hình kết thúc" + }, + "hideFeaturedContent": { + "message": "Ẩn nội dung nổi bật" + }, + "hideFooter": { + "message": "Ẩn chân trang" + }, + "hideGradientBottom": { + "message": "Ẩn bóng xung quanh thanh trình phát" + }, + "hidePlayerControlsBar": { + "message": "Ẩn thanh điều khiển trình phát" + }, + "hidePlayerControlsBarButtons": { + "message": "Ẩn các nút trên thanh điều khiển trình phát" + }, + "hidePlayerControlsBarOptions": { + "message": "Ẩn các tùy chọn điều khiển trình phát" + }, + "hidePlaylist": { + "message": "Ẩn danh sách phát" + }, + "hideRightButtons": { + "message": "Ẩn các nút bên phải" + }, + "hideScrollForDetails": { + "message": "Ẩn «Cuộn để biết chi tiết»" + }, + "hideSkipOverlay": { + "message": "Ẩn hoạt ảnh bỏ qua 5 giây" + }, + "hideThumbnailOverlay": { + "message": "Ẩn các nút trên hình thu nhỏ" + }, + "hideThumbnails": { + "message": "Ẩn hình thu nhỏ" + }, + "hideViewsCount": { + "message": "Ẩn số lượt xem" + }, + "hideVoiceSearchButton": { + "message": "Ẩn nút tìm kiếm bằng giọng nói" + }, + "high": { + "message": "Cao" + }, + "history": { + "message": "Lịch sử" + }, + "home": { + "message": "Nhà" + }, + "hover": { + "message": "Di chuyển" + }, + "hoverOnVideoPage": { + "message": "Di chuyển trên trang video" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "Video đã được tải lên cách đây bao lâu" + }, + "icons": { + "message": "Biểu tượng" + }, + "iconsOnly": { + "message": "Chỉ các biểu tượng" + }, + "importSettings": { + "message": "Nhập cài đặt" + }, + "improveLogo": { + "message": "Logo đã sửa" + }, + "improvedtubeButtons": { + "message": "Nút ImprovedTube" + }, + "improvedtubeIconOnYoutube": { + "message": "Biểu tượng ImprovedTube trên YouTube" + }, + "improvedtubeLanguage": { + "message": "Ngôn ngữ của ImprovedTube" + }, + "improvedtubeVersion": { + "message": "Phiên bản ImprovedTube" + }, + "increasePlaybackSpeed": { + "message": "Tăng tốc độ phát" + }, + "increaseVolume": { + "message": "Tăng âm lượng" + }, + "indigo": { + "message": "Chàm" + }, + "items": { + "message": "Items" + }, + "language": { + "message": "Ngôn ngữ" + }, + "languages": { + "message": "Ngôn ngữ" + }, + "layerAnimationScale": { + "message": "Tỉ lệ lớp hoạt ảnh" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "Legacy YouTube" + }, + "library": { + "message": "Thư viện" + }, + "light": { + "message": "Sáng" + }, + "lightBlue": { + "message": "Xanh lam nhạt" + }, + "lightGreen": { + "message": "Xanh lục nhạt" + }, + "like": { + "message": "Thích" + }, + "liked": { + "message": "Đã thích" + }, + "likes": { + "message": "Thích" + }, + "lime": { + "message": "Chanh" + }, + "limitPageWidth": { + "message": "Giới hạn chiều rộng trang" + }, + "list": { + "message": "Danh sách" + }, + "liveChat": { + "message": "Trò chuyện trực tiếp" + }, + "liveChatType": { + "message": "Loại trò chuyện trực tiếp" + }, + "location": { + "message": "Địa điểm" + }, + "loop": { + "message": "Vòng lặp" + }, + "loudnessNormalization": { + "message": "Chuẩn hóa độ ồn" + }, + "low": { + "message": "Thấp" + }, + "markWatchedVideos": { + "message": "Đánh dấu video đã xem" + }, + "medium": { + "message": "Trung bình" + }, + "mixer": { + "message": "Mixer" + }, + "more": { + "message": "Thêm nữa" + }, + "mostViewedChannels": { + "message": "Kênh được xem nhiều nhất" + }, + "moveSidebarLeft": { + "message": "Di chuyển thanh bên sang trái" + }, + "moveThumbnailsRight": { + "message": "Di chuyển hình thu nhỏ sang phải" + }, + "myColors": { + "message": "Màu sắc của tôi" + }, + "name": { + "message": "Tên" + }, + "nativeMiniPlayer": { + "message": "Trình phát mini gốc" + }, + "new": { + "message": "Mới" + }, + "nextVideo": { + "message": "Video tiếp theo" + }, + "night": { + "message": "Đêm" + }, + "nightMode": { + "message": "Chế độ tối" + }, + "noActiveFeatures": { + "message": "Không có tính năng hoạt động" + }, + "noOpenVideoTabs": { + "message": "Không có tab video đang mở" + }, + "none": { + "message": "Không có" + }, + "normal": { + "message": "Bình thường" + }, + "off": { + "message": "Tắt" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "Cũ" + }, + "onAllVideos": { + "message": "Trên tất cả các video" + }, + "onSubscribedChannels": { + "message": "Trên các kênh đã đăng ký" + }, + "onlyActiveOnYoutube": { + "message": "Chỉ hoạt động trên YouTube" + }, + "onlyOnePlayerInstancePlaying": { + "message": "Chỉ một tab phát video" + }, + "openPopupPlayer": { + "message": "Mở video/danh sách phát trong một cửa sổ mới" + }, + "orange": { + "message": "Cam" + }, + "os": { + "message": "OS" + }, + "other": { + "message": "Khác" + }, + "outline": { + "message": "Đường viền" + }, + "overlay": { + "message": "Lớp phủ" + }, + "permissions": { + "message": "Quyền" + }, + "pictureInPicture": { + "message": "Ảnh trong ảnh" + }, + "pink": { + "message": "Hồng" + }, + "plain": { + "message": "Đơn giản" + }, + "platform": { + "message": "Nền tảng" + }, + "playAllButton": { + "message": "Nút \"Phát tất cả\" " + }, + "playPause": { + "message": "Phát / Tạm dừng" + }, + "playbackSpeed": { + "message": "Tốc độ phát lại" + }, + "player": { + "message": "Trình phát" + }, + "playerColor": { + "message": "Màu trình phát" + }, + "playerSize": { + "message": "Kích thước trình phát" + }, + "playlist": { + "message": "Danh sách phát" + }, + "playlists": { + "message": "Danh sách phát" + }, + "popupPlayer": { + "message": "Trình phát nổi" + }, + "popupWindowButtons": { + "message": "Nút cửa sổ nổi" + }, + "position": { + "message": "Vị trí" + }, + "pressAnyKeyOrScroll": { + "message": "Nhấn phím bất kỳ hoặc sử dụng lăn chuột." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "Nhấn phím bất kỳ hoặc sử dụng lăn chuột" + }, + "previousVideo": { + "message": "Video trước" + }, + "primaryColor": { + "message": "Màu chính" + }, + "purple": { + "message": "Tím" + }, + "quality": { + "message": "Chất lượng" + }, + "raised": { + "message": "Nâng lên" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Đánh giá tôi" + }, + "rateUs": { + "message": "Đánh giá chúng tôi" + }, + "red": { + "message": "Đỏ" + }, + "redDislikeButton": { + "message": "Nút không thích màu đỏ" + }, + "relatedVideos": { + "message": "Các video liên quan" + }, + "remote": { + "message": "Phát trên TV" + }, + "removeRelatedSearchResults": { + "message": "Xóa kết quả tìm kiếm có liên quan" + }, + "repeat": { + "message": "Lặp lại" + }, + "report": { + "message": "Báo cáo" + }, + "reset": { + "message": "Đặt lại" + }, + "resetAllSettings": { + "message": "Đặt lại tất cả các thiết lập" + }, + "resetAllShortcuts": { + "message": "Đặt lại tất cả các phím tắt" + }, + "reverse": { + "message": "Đảo ngược" + }, + "rotate": { + "message": "Quay" + }, + "save": { + "message": "Lưu" + }, + "saveAs": { + "message": "Lưu thành" + }, + "schedule": { + "message": "Lịch trình" + }, + "screen": { + "message": "Màn hình" + }, + "screenshot": { + "message": "Ảnh chụp màn hình" + }, + "scrollBar": { + "message": "Thanh cuộn" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "Tìm kiếm" + }, + "searchBarOnly": { + "message": "Chỉ thanh tìm kiếm" + }, + "seekBackward10Seconds": { + "message": "Tua lùi 10 giây" + }, + "seekForward10Seconds": { + "message": "Tua tiến 10 giây" + }, + "seekNextChapter": { + "message": "Tìm chương tiếp theo" + }, + "seekPreviousChapter": { + "message": "Tìm kiếm chương trước" + }, + "settings": { + "message": "Cài đặt" + }, + "settingsSuccessfullyImported": { + "message": "Đã nhập thành công cài đặt" + }, + "share": { + "message": "Chia sẻ" + }, + "shortcuts": { + "message": "Phím tắt" + }, + "showCardsOnMouseHover": { + "message": "Hiển thị thẻ khi di chuột" + }, + "showChannelVideosCount": { + "message": "Hiển thị số lượng video trên kênh" + }, + "showLess": { + "message": "Hiện ít hơn" + }, + "showMore": { + "message": "Hiện nhiều hơn" + }, + "showRemainingDuration": { + "message": "Hiển thị thời lượng còn lại của video" + }, + "showVersion": { + "message": "Hiển thị phiên bản" + }, + "shuffle": { + "message": "Trộn" + }, + "sidebar": { + "message": "Thanh bên" + }, + "softwareInformation": { + "message": "Thông tin phần mềm" + }, + "spacebar": { + "message": "Phím cách" + }, + "squaredUserImages": { + "message": "Ảnh người dùng hình vuông" + }, + "static": { + "message": "Tĩnh" + }, + "statsForNerds": { + "message": "Hiển thị số liệu thống kê" + }, + "step": { + "message": "Bước" + }, + "stop": { + "message": "Dừng" + }, + "style": { + "message": "Phong cách" + }, + "styles": { + "message": "Phong cách" + }, + "subscribe": { + "message": "Đăng ký" + }, + "subscriptions": { + "message": "Đăng ký" + }, + "subtitles": { + "message": "Phụ đề" + }, + "sunset": { + "message": "Hoàng hôn" + }, + "sunsetToSunrise": { + "message": "Hoàng hôn đến bình minh" + }, + "systemPeferenceDark": { + "message": "Tùy chọn hệ thống: tối" + }, + "systemPeferenceLight": { + "message": "Tùy chọn hệ thống: sáng" + }, + "teal": { + "message": "Xanh mòng két" + }, + "textColor": { + "message": "Màu văn bản" + }, + "thanks": { + "message": "Cảm ơn" + }, + "themes": { + "message": "Chủ đề" + }, + "thisWillRemoveAllCookies": { + "message": "Điều này sẽ xóa tất cả cookie." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "Thao tác này sẽ xóa tất cả video đã xem." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "Thao tác này sẽ xóa tất cả cookie của YouTube" + }, + "thisWillResetAllSettings": { + "message": "Điều này sẽ đặt lại tất cả cài đặt." + }, + "thisWillResetAllShortcuts": { + "message": "Thao tác này sẽ đặt lại tất cả phím tắt" + }, + "thumbnails": { + "message": "Hình thu nhỏ" + }, + "thumbnailsQuality": { + "message": "Chất lượng hình thu nhỏ" + }, + "timeFrom": { + "message": "Thời gian từ" + }, + "timeTo": { + "message": "Thời gian đến" + }, + "todayAt": { + "message": "Hôm nay lúc" + }, + "toggleAutoplay": { + "message": "Chuyển đổi tự động phát" + }, + "toggleCards": { + "message": "Chuyển đổi thẻ" + }, + "toggleControls": { + "message": "Chuyển đổi điều khiển trình phát" + }, + "topChat": { + "message": "Trò chuyện hàng đầu" + }, + "trackWatchedVideos": { + "message": "Theo dõi các video đã xem" + }, + "trailerAutoplay": { + "message": "Tự động phát đoạn giới thiệu" + }, + "translations": { + "message": "Bản dịch" + }, + "transparentBackground": { + "message": "Nền trong suốt" + }, + "trending": { + "message": "Xu hướng" + }, + "tryToReloadThePage": { + "message": "Cố gắng tải lại trang" + }, + "type": { + "message": "Gõ phím" + }, + "upNextAutoplay": { + "message": "Tự động phát tiếp theo" + }, + "use24HourFormat": { + "message": "Sử dụng định dạng 24 giờ" + }, + "version": { + "message": "Phiên bản" + }, + "video": { + "message": "Video" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "Mô tả video sẽ được mở rộng để lấy tên của danh mục" + }, + "videoFormats": { + "message": "Định dạng video" + }, + "videos": { + "message": "Videos" + }, + "viewMode": { + "message": "Chế độ xem" + }, + "volume": { + "message": "Âm lượng" + }, + "watchLater": { + "message": "Xem sau" + }, + "watchTime": { + "message": "Thời gian xem" + }, + "whenPaused": { + "message": "Khi tạm dừng" + }, + "whenTabIsChanged": { + "message": "Khi thay đổi tab" + }, + "white": { + "message": "Trắng" + }, + "windowColor": { + "message": "Màu cửa sổ" + }, + "windowOpacity": { + "message": "Độ mờ cửa sổ" + }, + "yellow": { + "message": "Vàng" + }, + "youtubeHeaderLeft": { + "message": "Tiêu đề YouTube (bên trái)" + }, + "youtubeHeaderRight": { + "message": "Tiêu đề YouTube (bên phải)" + }, + "youtubeHomePage": { + "message": "Trang chủ YouTube" + }, + "youtubeLanguage": { + "message": "Ngôn ngữ YouTube" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "YouTube giới hạn chất lượng video 1080p cho h.264 codec" + } +} \ No newline at end of file diff --git a/unstable/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json similarity index 66% rename from unstable/_locales/zh_CN/messages.json rename to _locales/zh_CN/messages.json index 58bdaa33c..5437dea00 100644 --- a/unstable/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -1,815 +1,1109 @@ -{ - "cropChapterTitles": { - "message": "裁剪章节标题" - }, - "about": { - "message": "关于" - }, - "accept": { - "message": "接受" - }, - "activate": { - "message": "启用" - }, - "activateCaptions": { - "message": "启用字幕" - }, - "activated": { - "message": "启用" - }, - "activatedFeatures": { - "message": "已启用功能" - }, - "activateFullscreen": { - "message": "启用全屏" - }, - "activeFeatures": { - "message": "启用功能" - }, - "addScrollToTop": { - "message": "返回顶部按钮" - }, - "ads": { - "message": "广告" - }, - "all": { - "message": "所有" - }, - "allow": { - "message": "允许" - }, - "allow60fps": { - "message": "允许60FPS" - }, - "alwaysActive": { - "message": "始终启用" - }, - "alwaysShowProgressBar": { - "message": "始终显示进度条" - }, - "amber": { - "message": "琥珀色" - }, - "analyzer": { - "message": "分析仪" - }, - "appearance": { - "message": "外观" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "音频" - }, - "audioFormats": { - "message": "音频格式" - }, - "auto": { - "message": "自动" - }, - "autoFullscreen": { - "message": "自动全屏" - }, - "autopauseWhenSwitchingTabs": { - "message": "切换标签时暂停播放" - }, - "autoplay": { - "message": "自动播放" - }, - "backupAndReset": { - "message": "备份与恢复" - }, - "baseOnSystemColorScheme": { - "message": "使用系统配色" - }, - "belowPlayer": { - "message": "在播放器下方" - }, - "black": { - "message": "纯黑" - }, - "blacklist": { - "message": "黑名单" - }, - "blockAll": { - "message": "拦截所有" - }, - "blue": { - "message": "蓝色" - }, - "blueGray": { - "message": "蓝灰色" - }, - "bluelight": { - "message": "色彩柔和度" - }, - "brown": { - "message": "棕色" - }, - "browser": { - "message": "浏览器" - }, - "browserVersion": { - "message": "浏览器版本" - }, - "bubbles": { - "message": "网格" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "按钮" - }, - "cancel": { - "message": "取消" - }, - "categories": { - "message": "分类" - }, - "channel": { - "message": "电影和节目" - }, - "channels": { - "message": "频道" - }, - "clipboard": { - "message": "粘贴板" - }, - "codecH264": { - "message": "采用 h.264 编码" - }, - "collapsed": { - "message": "收起" - }, - "collapseOfSubscriptionSections": { - "message": "订阅区域显示展开/收起按钮" - }, - "comments": { - "message": "评论" - }, - "confirmationBeforeClosing": { - "message": "页面关闭前提示" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "核心" - }, - "customCss": { - "message": "自定义CSS" - }, - "customJs": { - "message": "自定义JS" - }, - "cyan": { - "message": "青色" - }, - "dark": { - "message": "黑暗" - }, - "darkTheme": { - "message": "夜间模式" - }, - "dateAndTime": { - "message": "时间与日期" - }, - "dawn": { - "message": "黎明" - }, - "decreasePlaybackSpeed": { - "message": "视频减速" - }, - "decreaseVolume": { - "message": "-5%音量" - }, - "deepOrange": { - "message": "深橙色" - }, - "deepPurple": { - "message": "深紫色" - }, - "defaultChannelTab": { - "message": "默认频道页" - }, - "deleteYoutubeCookies": { - "message": "清空 YouTube cookies" - }, - "description": { - "message": "视频描述" - }, - "desert": { - "message": "沙漠" - }, - "details": { - "message": "细节信息" - }, - "developerOptions": { - "message": "开发者选项" - }, - "device": { - "message": "设备" - }, - "dim": { - "message": "遮罩程度" - }, - "disabled": { - "message": "停用" - }, - "dislike": { - "message": "踩一下" - }, - "donate": { - "message": "支持" - }, - "doNotChange": { - "message": "不做改变" - }, - "draggable": { - "message": "可拖动" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "暂无" - }, - "enabled": { - "message": "启用" - }, - "enabledForced": { - "message": "强制启用" - }, - "expanded": { - "message": "展开" - }, - "exportSettings": { - "message": "导出设置" - }, - "extension": { - "message": "扩展" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "过滤" - }, - "fitToWindow": { - "message": "窗口自适应" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "字体" - }, - "footer": { - "message": "底部栏" - }, - "forcedPlaybackSpeed": { - "message": "强制设置播放速度" - }, - "forcedTheaterMode": { - "message": "强制设置剧场模式" - }, - "forcedVolume": { - "message": "强制修改音量" - }, - "foundABug": { - "message": "发现了一个 Bug?" - }, - "fullWindow": { - "message": "全屏" - }, - "general": { - "message": "一般设置" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "转到搜索栏" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "绿色" - }, - "hdThumbnail": { - "message": "高清缩略图" - }, - "hdThumbnails": { - "message": "高清缩略图" - }, - "header": { - "message": "顶部栏" - }, - "hidden": { - "message": "隐藏" - }, - "hiddenOnVideoPage": { - "message": "在视频播放页面时隐藏" - }, - "hideAnimatedThumbnails": { - "message": "隐藏动态缩略图" - }, - "hideAnnotations": { - "message": "隐藏预览图" - }, - "hideCards": { - "message": "隐藏信息卡片" - }, - "hideDetails": { - "message": "隐藏详细信息" - }, - "hideEndscreen": { - "message": "隐藏结束画面" - }, - "hideFeaturedContent": { - "message": "隐藏精选频道" - }, - "hideFooter": { - "message": "隐藏底部栏" - }, - "hidePlaylist": { - "message": "隐藏播放列表" - }, - "hideRightButtons": { - "message": "隐藏右侧按钮" - }, - "hideScrollForDetails": { - "message": "隐藏 «滚动至详细信息»" - }, - "hideViewsCount": { - "message": "隐藏播放量" - }, - "history": { - "message": "历史记录" - }, - "home": { - "message": "首页" - }, - "hover": { - "message": "悬浮" - }, - "hoverOnVideoPage": { - "message": "在视频播放页面时悬浮显示" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "投稿于多久之前" - }, - "icons": { - "message": "图标" - }, - "iconsOnly": { - "message": "仅显示图标" - }, - "importSettings": { - "message": "导入设置" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube 扩展程序图标" - }, - "improvedtubeIconOnYoutube": { - "message": "在 YouTube 显示 ImprovedTube 图标" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube 语言" - }, - "improvedtubeVersion": { - "message": "ImprovedTube 版本" - }, - "improveLogo": { - "message": "优化图标" - }, - "increasePlaybackSpeed": { - "message": "视频加速" - }, - "increaseVolume": { - "message": "+5%音量" - }, - "indigo": { - "message": "靛青色" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "语言" - }, - "legacyYoutube": { - "message": "旧版 YouTube" - }, - "light": { - "message": "明亮" - }, - "lightBlue": { - "message": "浅蓝色" - }, - "lightGreen": { - "message": "浅绿色" - }, - "like": { - "message": "顶一下" - }, - "likes": { - "message": "顶/踩总数" - }, - "lime": { - "message": "石灰色" - }, - "list": { - "message": "列表" - }, - "liveChat": { - "message": "实时聊天" - }, - "liveChatType": { - "message": "事实聊天类型" - }, - "loudnessNormalization": { - "message": "音量标准化" - }, - "markWatchedVideos": { - "message": "标记已观看的视频" - }, - "customMiniPlayer": { - "message": "自定义迷你播放器" - }, - "mixer": { - "message": "混音器" - }, - "myColors": { - "message": "自定义颜色" - }, - "name": { - "message": "名字" - }, - "nativeMiniPlayer": { - "message": "原版迷你播放器" - }, - "new": { - "message": "新的" - }, - "nextVideo": { - "message": "上一个视频" - }, - "night": { - "message": "夜色" - }, - "noActiveFeatures": { - "message": "没有已启用功能" - }, - "none": { - "message": "无" - }, - "noOpenVideoTabs": { - "message": "没有打开视频标签" - }, - "normal": { - "message": "正常" - }, - "old": { - "message": "旧版" - }, - "onAllVideos": { - "message": "在所有视频" - }, - "onlyActiveOnYoutube": { - "message": "仅在 YouTube 上启用" - }, - "onlyOnePlayerInstancePlaying": { - "message": "同时仅播放一个" - }, - "onSubscribedChannels": { - "message": "在订阅频道" - }, - "orange": { - "message": "橙色" - }, - "os": { - "message": "操作系统" - }, - "other": { - "message": "其他" - }, - "permissions": { - "message": "许可" - }, - "pictureInPicture": { - "message": "画中画" - }, - "pink": { - "message": "粉色" - }, - "plain": { - "message": "野外" - }, - "platform": { - "message": "平台" - }, - "playbackSpeed": { - "message": "播放速度" - }, - "player": { - "message": "播放器" - }, - "playerColor": { - "message": "播放器颜色" - }, - "playerSize": { - "message": "播放器大小" - }, - "playlist": { - "message": "播放列表" - }, - "playlists": { - "message": "稍后观看" - }, - "playPause": { - "message": "播放 / 暂停" - }, - "popupPlayer": { - "message": "弹出播放器" - }, - "position": { - "message": "位置" - }, - "pressAnyKeyOrScroll": { - "message": "按下任意键或滚动鼠标滚轴." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "按下任意键或鼠标滚轴." - }, - "previousVideo": { - "message": "下一个视频" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "紫色" - }, - "quality": { - "message": "画质" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "给我们评价" - }, - "red": { - "message": "红色" - }, - "relatedVideos": { - "message": "相关视频" - }, - "removeRelatedSearchResults": { - "message": "隐藏搜索相关结果" - }, - "repeat": { - "message": "循环" - }, - "reset": { - "message": "重置" - }, - "resetAllSettings": { - "message": "重置所有设置" - }, - "resetAllShortcuts": { - "message": "重置所有快捷键" - }, - "reverse": { - "message": "逆序" - }, - "rotate": { - "message": "旋转" - }, - "save": { - "message": "保存" - }, - "saveAs": { - "message": "另存为" - }, - "schedule": { - "message": "定时开/关" - }, - "screen": { - "message": "屏幕" - }, - "screenshot": { - "message": "截图" - }, - "search": { - "message": "搜索" - }, - "searchBarOnly": { - "message": "仅搜索栏" - }, - "seekBackward10Seconds": { - "message": "倒退10秒" - }, - "seekForward10Seconds": { - "message": "快进10秒" - }, - "settings": { - "message": "ImprovedTube 设置" - }, - "settingsSuccessfullyImported": { - "message": "设置导入成功" - }, - "shortcuts": { - "message": "快捷键" - }, - "showCardsOnMouseHover": { - "message": "鼠标悬浮时显示信息卡片" - }, - "showChannelVideosCount": { - "message": "显示频道内视频数" - }, - "shuffle": { - "message": "随机" - }, - "sidebar": { - "message": "侧边栏" - }, - "spacebar": { - "message": "空格" - }, - "squaredUserImages": { - "message": "方形用户头像" - }, - "static": { - "message": "静态" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "停止" - }, - "style": { - "message": "样式" - }, - "styles": { - "message": "样式" - }, - "subscriptions": { - "message": "订阅内容" - }, - "subtitles": { - "message": "副标题" - }, - "sunset": { - "message": "晚霞" - }, - "sunsetToSunrise": { - "message": "日落到日出" - }, - "systemPeferenceDark": { - "message": "系统偏好: 深色" - }, - "systemPeferenceLight": { - "message": "系统偏好: 浅色" - }, - "teal": { - "message": "蓝绿色" - }, - "textColor": { - "message": "文字颜色" - }, - "themes": { - "message": "主题" - }, - "thisWillRemoveAllCookies": { - "message": "将清空所有 cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "将清空所有 YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "将重置所有设置." - }, - "thisWillResetAllShortcuts": { - "message": "将会重置所有快捷键" - }, - "thumbnails": { - "message": "缩略图" - }, - "timeFrom": { - "message": "开始时间" - }, - "timeTo": { - "message": "结束时间" - }, - "todayAt": { - "message": "截止今天" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "自动播放预告片" - }, - "translations": { - "message": "翻译" - }, - "transparentBackground": { - "message": "透明背景" - }, - "trending": { - "message": "时下流行" - }, - "tryToReloadThePage": { - "message": "尝试刷新页面" - }, - "turnOff": { - "message": "关闭时间" - }, - "turnOn": { - "message": "开启时间" - }, - "type": { - "message": "类型" - }, - "upNextAutoplay": { - "message": "自动播放下一视频" - }, - "use24HourFormat": { - "message": "使用24小时制" - }, - "version": { - "message": "版本" - }, - "video": { - "message": "视频" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "视频格式" - }, - "videos": { - "message": "视频" - }, - "volume": { - "message": "音量" - }, - "watchLater": { - "message": "稍后观看" - }, - "watchTime": { - "message": "观看时间" - }, - "whenTabIsChanged": { - "message": "标签更改时" - }, - "white": { - "message": "白色" - }, - "yellow": { - "message": "黄色" - }, - "youtubeHeaderLeft": { - "message": "Youtube标题(左)" - }, - "youtubeHeaderRight": { - "message": "Youtube标题(右)" - }, - "youtubeHomePage": { - "message": "YouTube 主页" - }, - "youtubeLanguage": { - "message": "YouTube 语言" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "采用 H.264 编解码时,YouTube 会将视频画质设为 1080p" - }, - "redDislikeButton": { - "message": "踩按钮显示为红色" - }, - "hideGradientBottom": { - "message": "隐藏底部渐变层" - }, - "statsForNerds": { - "message": "显示专业信息" - }, - "toggleCards": { - "message": "Toggle cards" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "关于" + }, + "accept": { + "message": "接受" + }, + "activate": { + "message": "启用" + }, + "activateCaptions": { + "message": "启用字幕" + }, + "activateFullscreen": { + "message": "启用全屏" + }, + "activated": { + "message": "启用" + }, + "activatedFeatures": { + "message": "已启用功能" + }, + "activeFeatures": { + "message": "启用功能" + }, + "addScrollToTop": { + "message": "增加【返回顶部】按钮" + }, + "ads": { + "message": "广告" + }, + "all": { + "message": "所有" + }, + "allow": { + "message": "允许" + }, + "allow60fps": { + "message": "允许60FPS" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "始终启用" + }, + "alwaysShowProgressBar": { + "message": "始终显示进度条" + }, + "amber": { + "message": "琥珀色" + }, + "analyzer": { + "message": "分析仪" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "外观" + }, + "areYouSureYouWantToExportTheData": { + "message": "你确定想要导出数据吗?" + }, + "areYouSureYouWantToImportTheData": { + "message": "你确定想要导入数据吗?" + }, + "audio": { + "message": "音频" + }, + "audioFormats": { + "message": "音频格式" + }, + "auto": { + "message": "自动" + }, + "autoFullscreen": { + "message": "自动全屏" + }, + "autopauseWhenSwitchingTabs": { + "message": "切换标签时暂停播放" + }, + "autoplay": { + "message": "自动播放" + }, + "avoidAv1": { + "message": "Avoid AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "Avoid AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "Avoid AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "Avoid CPU rendering when possible" + }, + "backgroundColor": { + "message": "背景颜色" + }, + "backgroundOpacity": { + "message": "背景透明度" + }, + "backupAndReset": { + "message": "备份与恢复" + }, + "baseOnSystemColorScheme": { + "message": "使用系统配色" + }, + "belowPlayer": { + "message": "在播放器下方" + }, + "black": { + "message": "纯黑" + }, + "blacklist": { + "message": "黑名单" + }, + "blockAll": { + "message": "拦截所有" + }, + "blockAv1": { + "message": "Block AV1" + }, + "blockH264": { + "message": "Block H.264" + }, + "blockMusic": { + "message": "Skip ads while I play music" + }, + "blockVp8": { + "message": "Block VP8" + }, + "blockVp9": { + "message": "Block VP9" + }, + "blue": { + "message": "蓝色" + }, + "blueGray": { + "message": "蓝灰色" + }, + "bluelight": { + "message": "色彩柔和度" + }, + "brown": { + "message": "棕色" + }, + "browser": { + "message": "浏览器" + }, + "browserVersion": { + "message": "浏览器版本" + }, + "bubbles": { + "message": "网格" + }, + "bug": { + "message": "Bug" + }, + "buttons": { + "message": "按钮" + }, + "cancel": { + "message": "取消" + }, + "categories": { + "message": "分类" + }, + "channel": { + "message": "频道" + }, + "channels": { + "message": "频道" + }, + "characterEdgeStyle": { + "message": "文字阴影风格" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "粘贴板" + }, + "codecH264": { + "message": "采用 h.264 编码" + }, + "codecs": { + "message": "Codecs" + }, + "collapseOfSubscriptionSections": { + "message": "订阅区域显示展开/收起按钮" + }, + "collapsed": { + "message": "收起" + }, + "comments": { + "message": "评论" + }, + "confirmationBeforeClosing": { + "message": "页面关闭确认" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "核心" + }, + "cropChapterTitles": { + "message": "裁剪章节标题" + }, + "custom": { + "message": "Custom" + }, + "customCss": { + "message": "自定义CSS" + }, + "customJs": { + "message": "自定义JS" + }, + "customMiniPlayer": { + "message": "自定义迷你播放器" + }, + "cyan": { + "message": "青色" + }, + "dark": { + "message": "黑暗" + }, + "darkTheme": { + "message": "夜间模式" + }, + "dateAndTime": { + "message": "时间与日期" + }, + "dawn": { + "message": "黎明" + }, + "decreasePlaybackSpeed": { + "message": "视频减速" + }, + "decreaseVolume": { + "message": "降低音量" + }, + "deepOrange": { + "message": "深橙色" + }, + "deepPurple": { + "message": "深紫色" + }, + "default": { + "message": "默认" + }, + "defaultChannelTab": { + "message": "默认频道页" + }, + "defaultContentCountry": { + "message": "默认内容国家" + }, + "deleteWatchedVideos": { + "message": "Delete watched videos" + }, + "deleteYoutubeCookies": { + "message": "清空 YouTube cookies" + }, + "depressed": { + "message": "Depressed" + }, + "description": { + "message": "Description" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "沙漠" + }, + "details": { + "message": "细节信息" + }, + "developerOptions": { + "message": "开发者选项" + }, + "device": { + "message": "设备" + }, + "dim": { + "message": "遮罩层厚度" + }, + "disabled": { + "message": "停用" + }, + "dislike": { + "message": "踩一下" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "不做改变" + }, + "donate": { + "message": "支持" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "可拖动" + }, + "dropShadow": { + "message": "Drop shadow" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "暂无" + }, + "enabled": { + "message": "启用" + }, + "enabledForced": { + "message": "强制启用" + }, + "expanded": { + "message": "展开" + }, + "exportSettings": { + "message": "导出设置" + }, + "extension": { + "message": "扩展" + }, + "file": { + "message": "文件" + }, + "filters": { + "message": "滤镜" + }, + "fitToWindow": { + "message": "窗口自适应" + }, + "flash": { + "message": "闪光" + }, + "font": { + "message": "字体" + }, + "fontColor": { + "message": "字体颜色" + }, + "fontFamily": { + "message": "字体" + }, + "fontOpacity": { + "message": "字体透明度" + }, + "fontSize": { + "message": "字体大小" + }, + "footer": { + "message": "底部栏" + }, + "forceSDR": { + "message": "Avoid HDR, keep SDR" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "Forced play video from the beginning" + }, + "forcedPlaybackSpeed": { + "message": "强制设置播放速度" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "强制设置剧场模式" + }, + "forcedVolume": { + "message": "强制修改音量" + }, + "foundABug": { + "message": "遇到了Bug?" + }, + "fullWindow": { + "message": "全屏" + }, + "general": { + "message": "一般设置" + }, + "geoPreference": { + "message": "地理偏好" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "转到搜索框" + }, + "googleApiKey": { + "message": "Google API key" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "绿色" + }, + "hardwareInformation": { + "message": "Hardware information" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "高清缩略图" + }, + "header": { + "message": "顶部栏" + }, + "hidden": { + "message": "隐藏" + }, + "hiddenOnVideoPage": { + "message": "在视频播放页面时隐藏" + }, + "hideAnimatedThumbnails": { + "message": "隐藏动态缩略图" + }, + "hideAnnotations": { + "message": "隐藏预览图" + }, + "hideCards": { + "message": "隐藏信息卡片" + }, + "hideCategories": { + "message": "Hide categories" + }, + "hideCommentsCount": { + "message": "Hide comments count" + }, + "hideCountryCode": { + "message": "隐藏国家代码" + }, + "hideDate": { + "message": "隐藏日期" + }, + "hideDetailButton": { + "message": "Buttons" + }, + "hideDetails": { + "message": "隐藏详细信息" + }, + "hideEndscreen": { + "message": "隐藏结束画面" + }, + "hideFeaturedContent": { + "message": "隐藏精选频道" + }, + "hideFooter": { + "message": "隐藏底部栏" + }, + "hideGradientBottom": { + "message": "隐藏底部渐变层" + }, + "hidePlayerControlsBar": { + "message": "隐藏播放器控制栏" + }, + "hidePlayerControlsBarButtons": { + "message": "Hide player controls bar buttons" + }, + "hidePlayerControlsBarOptions": { + "message": "Hide player controls options" + }, + "hidePlaylist": { + "message": "隐藏播放列表" + }, + "hideRightButtons": { + "message": "隐藏右侧按钮" + }, + "hideScrollForDetails": { + "message": "隐藏 «滚动至详细信息»" + }, + "hideSkipOverlay": { + "message": "隐藏跳过叠加" + }, + "hideThumbnailOverlay": { + "message": "隐藏缩略图上的按钮" + }, + "hideThumbnails": { + "message": "Hide thumbnails" + }, + "hideViewsCount": { + "message": "隐藏观看量" + }, + "hideVoiceSearchButton": { + "message": "Hide voice search button" + }, + "high": { + "message": "High" + }, + "history": { + "message": "历史记录" + }, + "home": { + "message": "首页" + }, + "hover": { + "message": "悬浮" + }, + "hoverOnVideoPage": { + "message": "在视频播放页面时悬浮显示" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "投稿于多久之前" + }, + "icons": { + "message": "图标" + }, + "iconsOnly": { + "message": "仅显示图标" + }, + "importSettings": { + "message": "导入设置" + }, + "improveLogo": { + "message": "优化图标" + }, + "improvedtubeButtons": { + "message": "ImprovedTube buttons" + }, + "improvedtubeIconOnYoutube": { + "message": "在 YouTube 显示 ImprovedTube 图标" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube 语言" + }, + "improvedtubeVersion": { + "message": "ImprovedTube 版本" + }, + "increasePlaybackSpeed": { + "message": "视频加速" + }, + "increaseVolume": { + "message": "增加音量" + }, + "indigo": { + "message": "靛青色" + }, + "items": { + "message": "项目" + }, + "language": { + "message": "语言" + }, + "languages": { + "message": "语言" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "旧版 YouTube" + }, + "library": { + "message": "Library" + }, + "light": { + "message": "明亮" + }, + "lightBlue": { + "message": "浅蓝色" + }, + "lightGreen": { + "message": "浅绿色" + }, + "like": { + "message": "顶一下" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "石灰色" + }, + "limitPageWidth": { + "message": "Limit page width" + }, + "list": { + "message": "列表" + }, + "liveChat": { + "message": "实时聊天窗" + }, + "liveChatType": { + "message": "实时聊天窗类型" + }, + "location": { + "message": "地点" + }, + "loop": { + "message": "Loop" + }, + "loudnessNormalization": { + "message": "音量标准化" + }, + "low": { + "message": "Low" + }, + "markWatchedVideos": { + "message": "标记为已观看" + }, + "medium": { + "message": "Medium" + }, + "mixer": { + "message": "混音器" + }, + "more": { + "message": "More" + }, + "mostViewedChannels": { + "message": "Most viewed channels" + }, + "moveSidebarLeft": { + "message": "To the left!" + }, + "moveThumbnailsRight": { + "message": "Thumbnails to the right!" + }, + "myColors": { + "message": "自定义颜色" + }, + "name": { + "message": "名字" + }, + "nativeMiniPlayer": { + "message": "原版迷你播放器" + }, + "new": { + "message": "新的" + }, + "nextVideo": { + "message": "上一个视频" + }, + "night": { + "message": "夜色" + }, + "nightMode": { + "message": "Night mode" + }, + "noActiveFeatures": { + "message": "没有已启用的功能" + }, + "noOpenVideoTabs": { + "message": "没有已打开的视频标签" + }, + "none": { + "message": "无" + }, + "normal": { + "message": "正常" + }, + "off": { + "message": "Off" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "旧版" + }, + "onAllVideos": { + "message": "在所有视频" + }, + "onSubscribedChannels": { + "message": "在订阅频道" + }, + "onlyActiveOnYoutube": { + "message": "仅在 YouTube 上启用" + }, + "onlyOnePlayerInstancePlaying": { + "message": "同时仅播放一个" + }, + "openPopupPlayer": { + "message": "在新窗口打开视频/播放列表" + }, + "orange": { + "message": "橙色" + }, + "os": { + "message": "操作系统" + }, + "other": { + "message": "其他" + }, + "outline": { + "message": "Outline" + }, + "overlay": { + "message": "Overlay" + }, + "permissions": { + "message": "许可" + }, + "pictureInPicture": { + "message": "画中画" + }, + "pink": { + "message": "粉色" + }, + "plain": { + "message": "野外" + }, + "platform": { + "message": "平台" + }, + "playAllButton": { + "message": "\"Play all\" button" + }, + "playPause": { + "message": "播放/暂停" + }, + "playbackSpeed": { + "message": "播放速度" + }, + "player": { + "message": "播放器" + }, + "playerColor": { + "message": "播放器颜色" + }, + "playerSize": { + "message": "播放器大小" + }, + "playlist": { + "message": "播放列表" + }, + "playlists": { + "message": "稍后观看" + }, + "popupPlayer": { + "message": "弹出播放器" + }, + "popupWindowButtons": { + "message": "添加弹出播放器按钮" + }, + "position": { + "message": "位置" + }, + "pressAnyKeyOrScroll": { + "message": "按下任意键或滚动鼠标滚轴." + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "按下任意键或鼠标滚轴." + }, + "previousVideo": { + "message": "下一个视频" + }, + "primaryColor": { + "message": "主色调" + }, + "purple": { + "message": "紫色" + }, + "quality": { + "message": "画质" + }, + "raised": { + "message": "Raised" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "Rate me" + }, + "rateUs": { + "message": "给我们评价" + }, + "red": { + "message": "红色" + }, + "redDislikeButton": { + "message": "将【踩一下】设置为红色" + }, + "relatedVideos": { + "message": "相关视频" + }, + "remote": { + "message": "Play on TV" + }, + "removeRelatedSearchResults": { + "message": "隐藏搜索相关结果" + }, + "repeat": { + "message": "循环" + }, + "report": { + "message": "Report" + }, + "reset": { + "message": "重置" + }, + "resetAllSettings": { + "message": "重置所有设置" + }, + "resetAllShortcuts": { + "message": "重置所有快捷键" + }, + "reverse": { + "message": "逆序" + }, + "rotate": { + "message": "旋转" + }, + "save": { + "message": "保存" + }, + "saveAs": { + "message": "另存为" + }, + "schedule": { + "message": "定时开/关" + }, + "screen": { + "message": "屏幕" + }, + "screenshot": { + "message": "截图" + }, + "scrollBar": { + "message": "Scroll Bar" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "搜索" + }, + "searchBarOnly": { + "message": "仅搜索栏" + }, + "seekBackward10Seconds": { + "message": "倒退10秒" + }, + "seekForward10Seconds": { + "message": "快进10秒" + }, + "seekNextChapter": { + "message": "寻找下一章" + }, + "seekPreviousChapter": { + "message": "寻找上一章" + }, + "settings": { + "message": "ImprovedTube 设置" + }, + "settingsSuccessfullyImported": { + "message": "设置导入成功" + }, + "share": { + "message": "Share" + }, + "shortcuts": { + "message": "快捷键" + }, + "showCardsOnMouseHover": { + "message": "鼠标悬浮时显示信息卡片" + }, + "showChannelVideosCount": { + "message": "显示频道内视频数" + }, + "showLess": { + "message": "显示较少" + }, + "showMore": { + "message": "展示更多" + }, + "showRemainingDuration": { + "message": "Show video remaining duration" + }, + "showVersion": { + "message": "Show version" + }, + "shuffle": { + "message": "随机" + }, + "sidebar": { + "message": "侧边栏" + }, + "softwareInformation": { + "message": "Software information" + }, + "spacebar": { + "message": "空格" + }, + "squaredUserImages": { + "message": "方形用户头像" + }, + "static": { + "message": "静态" + }, + "statsForNerds": { + "message": "显示专业信息" + }, + "step": { + "message": "Step" + }, + "stop": { + "message": "停止" + }, + "style": { + "message": "样式" + }, + "styles": { + "message": "样式" + }, + "subscribe": { + "message": "Subscribe" + }, + "subscriptions": { + "message": "订阅内容" + }, + "subtitles": { + "message": "字幕" + }, + "sunset": { + "message": "晚霞" + }, + "sunsetToSunrise": { + "message": "日落到日出" + }, + "systemPeferenceDark": { + "message": "系统偏好: 深色" + }, + "systemPeferenceLight": { + "message": "系统偏好: 浅色" + }, + "teal": { + "message": "蓝绿色" + }, + "textColor": { + "message": "文字颜色" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "主题" + }, + "thisWillRemoveAllCookies": { + "message": "将清空所有 cookies." + }, + "thisWillRemoveAllWatchedVideos": { + "message": "This will remove all watched videos." + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "将清空所有 YouTube cookies" + }, + "thisWillResetAllSettings": { + "message": "将重置所有设置." + }, + "thisWillResetAllShortcuts": { + "message": "将会重置所有快捷键" + }, + "thumbnails": { + "message": "缩略图" + }, + "thumbnailsQuality": { + "message": "Thumbnails Quality" + }, + "timeFrom": { + "message": "开始时间" + }, + "timeTo": { + "message": "结束时间" + }, + "todayAt": { + "message": "截止今天" + }, + "toggleAutoplay": { + "message": "Toggle autoplay" + }, + "toggleCards": { + "message": "切换卡片" + }, + "toggleControls": { + "message": "Toggle controls" + }, + "topChat": { + "message": "热门聊天" + }, + "trackWatchedVideos": { + "message": "Track watched videos" + }, + "trailerAutoplay": { + "message": "自动播放预告片" + }, + "translations": { + "message": "翻译" + }, + "transparentBackground": { + "message": "透明背景" + }, + "trending": { + "message": "时下流行" + }, + "tryToReloadThePage": { + "message": "尝试刷新页面" + }, + "turnOff": { + "message": "关闭时间" + }, + "turnOn": { + "message": "开启时间" + }, + "type": { + "message": "类型" + }, + "upNextAutoplay": { + "message": "自动播放下一视频" + }, + "use24HourFormat": { + "message": "使用24小时制" + }, + "version": { + "message": "版本" + }, + "video": { + "message": "视频" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "扩展视频简介到分类" + }, + "videoFormats": { + "message": "视频格式" + }, + "videos": { + "message": "视频" + }, + "viewMode": { + "message": "View Mode" + }, + "volume": { + "message": "音量" + }, + "watchLater": { + "message": "稍后观看" + }, + "watchTime": { + "message": "观看时间" + }, + "whenPaused": { + "message": "When paused" + }, + "whenTabIsChanged": { + "message": "切换标签时" + }, + "white": { + "message": "白色" + }, + "windowColor": { + "message": "窗口颜色" + }, + "windowOpacity": { + "message": "窗口透明度" + }, + "yellow": { + "message": "黄色" + }, + "youtubeHeaderLeft": { + "message": "Youtube标题(左)" + }, + "youtubeHeaderRight": { + "message": "Youtube标题(右)" + }, + "youtubeHomePage": { + "message": "YouTube默认主页" + }, + "youtubeLanguage": { + "message": "YouTube 语言" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "采用 H.264 编解码时,YouTube 会将视频画质设为 1080p" + } +} \ No newline at end of file diff --git a/unstable/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json similarity index 65% rename from unstable/_locales/zh_TW/messages.json rename to _locales/zh_TW/messages.json index 01cba8649..ab3dc3d20 100644 --- a/unstable/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -1,809 +1,1103 @@ -{ - "cropChapterTitles": { - "message": "截斷章節名稱" - }, - "about": { - "message": "關於" - }, - "accept": { - "message": "接受" - }, - "activate": { - "message": "啟用" - }, - "activateCaptions": { - "message": "開啟字幕" - }, - "activated": { - "message": "啟用" - }, - "activatedFeatures": { - "message": "已啟用功能" - }, - "activateFullscreen": { - "message": "開啟全螢幕" - }, - "activeFeatures": { - "message": "已啟用功能" - }, - "addScrollToTop": { - "message": "新增「回到頂部」按鈕" - }, - "ads": { - "message": "廣告" - }, - "all": { - "message": "所有" - }, - "allow": { - "message": "允許" - }, - "allow60fps": { - "message": "允許 60fps" - }, - "alwaysActive": { - "message": "始終有效" - }, - "alwaysShowProgressBar": { - "message": "一律顯示進度條" - }, - "amber": { - "message": "琥珀色" - }, - "analyzer": { - "message": "分析儀" - }, - "appearance": { - "message": "外貌" - }, - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "audio": { - "message": "音頻" - }, - "audioFormats": { - "message": "音頻格式" - }, - "auto": { - "message": "自動" - }, - "autoFullscreen": { - "message": "自動全螢幕" - }, - "autopauseWhenSwitchingTabs": { - "message": "切換分頁時自動暫停" - }, - "autoplay": { - "message": "自動播放" - }, - "backupAndReset": { - "message": "備份&重置" - }, - "baseOnSystemColorScheme": { - "message": "使用系統配色方案" - }, - "belowPlayer": { - "message": "於播放器底下" - }, - "black": { - "message": "黑色" - }, - "blacklist": { - "message": "黑名單" - }, - "blockAll": { - "message": "封鎖所有" - }, - "blue": { - "message": "藍色" - }, - "blueGray": { - "message": "藍灰色" - }, - "bluelight": { - "message": "藍光" - }, - "brown": { - "message": "棕色" - }, - "browser": { - "message": "瀏覽器" - }, - "browserVersion": { - "message": "瀏覽器版本" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "問題" - }, - "buttons": { - "message": "按鈕" - }, - "cancel": { - "message": "取消" - }, - "categories": { - "message": "類別" - }, - "channel": { - "message": "頻道" - }, - "channels": { - "message": "頻道" - }, - "clipboard": { - "message": "剪贴板" - }, - "codecH264": { - "message": "影片編解碼器 h.264" - }, - "collapsed": { - "message": "簡縮" - }, - "collapseOfSubscriptionSections": { - "message": "於訂閱區顯示縮放按鈕" - }, - "comments": { - "message": "評論" - }, - "confirmationBeforeClosing": { - "message": "關閉前先確認" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Cores" - }, - "customCss": { - "message": "自訂 CSS" - }, - "customJs": { - "message": "自訂 JS" - }, - "cyan": { - "message": "青色" - }, - "dark": { - "message": "暗黑" - }, - "darkTheme": { - "message": "暗黑主題" - }, - "dateAndTime": { - "message": "日期和時間" - }, - "dawn": { - "message": "黎明" - }, - "decreasePlaybackSpeed": { - "message": "降低播放速度" - }, - "decreaseVolume": { - "message": "減輕音量" - }, - "deepOrange": { - "message": "深橙色" - }, - "deepPurple": { - "message": "深紫色" - }, - "defaultChannelTab": { - "message": "預設頻道標籤" - }, - "deleteYoutubeCookies": { - "message": "刪除 YouTube cookies" - }, - "description": { - "message": "影片描述" - }, - "desert": { - "message": "沙漠" - }, - "details": { - "message": "細節" - }, - "developerOptions": { - "message": "開發人員選項" - }, - "device": { - "message": "裝置" - }, - "dim": { - "message": "光線暗度" - }, - "disabled": { - "message": "關閉" - }, - "dislike": { - "message": "不喜歡" - }, - "donate": { - "message": "捐贈" - }, - "doNotChange": { - "message": "不要改變" - }, - "draggable": { - "message": "可拖動" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "空白" - }, - "enabled": { - "message": "啟用" - }, - "enabledForced": { - "message": "強制啟用" - }, - "expanded": { - "message": "擴展" - }, - "exportSettings": { - "message": "導出設定" - }, - "extension": { - "message": "擴充元件" - }, - "file": { - "message": "檔案" - }, - "filters": { - "message": "濾鏡" - }, - "fitToWindow": { - "message": "依視窗大小縮放" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "字體" - }, - "footer": { - "message": "頁腳" - }, - "forcedPlaybackSpeed": { - "message": "強制播放速度" - }, - "forcedTheaterMode": { - "message": "強制劇院模式" - }, - "forcedVolume": { - "message": "強制播放音量" - }, - "foundABug": { - "message": "遇到問題了嗎?" - }, - "fullWindow": { - "message": "全螢幕" - }, - "general": { - "message": "一般" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "轉到搜索框" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "綠色" - }, - "hdThumbnail": { - "message": "HD 縮圖" - }, - "hdThumbnails": { - "message": "HD 縮圖" - }, - "header": { - "message": "標頭" - }, - "hidden": { - "message": "隱藏" - }, - "hiddenOnVideoPage": { - "message": "於影片頁面自動隱藏" - }, - "hideAnimatedThumbnails": { - "message": "隱藏動態的縮略圖" - }, - "hideAnnotations": { - "message": "隱藏註解" - }, - "hideCards": { - "message": "隱藏資訊卡" - }, - "hideDetails": { - "message": "隱藏細節" - }, - "hideEndscreen": { - "message": "隱藏結束畫面" - }, - "hideFeaturedContent": { - "message": "隱藏精選影片" - }, - "hideFooter": { - "message": "隱藏頁腳" - }, - "hidePlaylist": { - "message": "隱藏播放清單" - }, - "hideRightButtons": { - "message": "隱藏右側按鈕" - }, - "hideScrollForDetails": { - "message": "隱藏「向下捲動即可查看詳情」" - }, - "hideViewsCount": { - "message": "隱藏觀看次數" - }, - "history": { - "message": "觀看記錄" - }, - "home": { - "message": "首頁" - }, - "hover": { - "message": "滑鼠暫留時顯示" - }, - "hoverOnVideoPage": { - "message": "於影片頁面滑鼠暫留時顯示" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "影片上傳了多久" - }, - "icons": { - "message": "圖標" - }, - "iconsOnly": { - "message": "只有圖標" - }, - "importSettings": { - "message": "導入設定" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon in Browser" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icon on YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube 語言" - }, - "improvedtubeVersion": { - "message": "ImprovedTube 版本" - }, - "improveLogo": { - "message": "改進 YouTube 圖示" - }, - "increasePlaybackSpeed": { - "message": "提高播放速度" - }, - "increaseVolume": { - "message": "增加音量" - }, - "indigo": { - "message": "靛青" - }, - "items": { - "message": "項目" - }, - "languages": { - "message": "語言" - }, - "legacyYoutube": { - "message": "舊版 YouTube" - }, - "light": { - "message": "Light" - }, - "lightBlue": { - "message": "淺藍色" - }, - "lightGreen": { - "message": "淺綠色" - }, - "like": { - "message": "喜歡" - }, - "likes": { - "message": "顯示按讚數量" - }, - "lime": { - "message": "萊姆色" - }, - "list": { - "message": "清單" - }, - "liveChat": { - "message": "Live 聊天視窗" - }, - "liveChatType": { - "message": "Live 聊天視窗種類" - }, - "loudnessNormalization": { - "message": "音量標準化" - }, - "markWatchedVideos": { - "message": "標記已觀看影片" - }, - "customMiniPlayer": { - "message": "自訂迷你播放器" - }, - "mixer": { - "message": "音量混合器" - }, - "myColors": { - "message": "自訂主色" - }, - "name": { - "message": "名稱" - }, - "nativeMiniPlayer": { - "message": "內建迷你播放器" - }, - "new": { - "message": "新增" - }, - "nextVideo": { - "message": "下一個影片" - }, - "night": { - "message": "夜晚" - }, - "noActiveFeatures": { - "message": "無已啟用功能" - }, - "none": { - "message": "無" - }, - "noOpenVideoTabs": { - "message": "無已開啟之影片頁面" - }, - "normal": { - "message": "正常" - }, - "old": { - "message": "舊版" - }, - "onAllVideos": { - "message": "於所有影片中" - }, - "onlyActiveOnYoutube": { - "message": "僅在YouTube上有效" - }, - "onlyOnePlayerInstancePlaying": { - "message": "同時間僅限播放單一影片" - }, - "onSubscribedChannels": { - "message": "於已訂閱的頻道中" - }, - "orange": { - "message": "橘色" - }, - "os": { - "message": "操作系統" - }, - "other": { - "message": "其他" - }, - "permissions": { - "message": "權限" - }, - "pictureInPicture": { - "message": "子母畫面" - }, - "pink": { - "message": "粉紅色" - }, - "plain": { - "message": "樸素" - }, - "platform": { - "message": "Platform" - }, - "playbackSpeed": { - "message": "播放速度" - }, - "player": { - "message": "播放器" - }, - "playerColor": { - "message": "影片進度條顏色" - }, - "playerSize": { - "message": "播放器大小" - }, - "playlist": { - "message": "播放列表" - }, - "playlists": { - "message": "播放清單" - }, - "playPause": { - "message": "播放/暫停" - }, - "popupPlayer": { - "message": "彈出播放器" - }, - "position": { - "message": "位置" - }, - "pressAnyKeyOrScroll": { - "message": "按任意鍵或使用滑鼠滾輪。" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "按任意鍵或使用鼠標滾輪。" - }, - "previousVideo": { - "message": "回到之前的影片" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "紫色" - }, - "quality": { - "message": "品質" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "評分" - }, - "red": { - "message": "紅色" - }, - "relatedVideos": { - "message": "推薦影片" - }, - "removeRelatedSearchResults": { - "message": "移除搜尋相關結果" - }, - "repeat": { - "message": "重複播放" - }, - "reset": { - "message": "重置" - }, - "resetAllSettings": { - "message": "重置所有設定" - }, - "resetAllShortcuts": { - "message": "重置所有快捷鍵" - }, - "reverse": { - "message": "回播" - }, - "rotate": { - "message": "旋轉影片" - }, - "save": { - "message": "儲存" - }, - "saveAs": { - "message": "另存為" - }, - "schedule": { - "message": "排程" - }, - "screen": { - "message": "螢幕" - }, - "screenshot": { - "message": "截圖" - }, - "search": { - "message": "搜尋" - }, - "searchBarOnly": { - "message": "僅顯示搜尋列" - }, - "seekBackward10Seconds": { - "message": "倒退10秒" - }, - "seekForward10Seconds": { - "message": "前進10秒" - }, - "settings": { - "message": "設定" - }, - "settingsSuccessfullyImported": { - "message": "設定成功導入" - }, - "shortcuts": { - "message": "快捷鍵" - }, - "showCardsOnMouseHover": { - "message": "滑鼠暫留時顯示資訊卡" - }, - "showChannelVideosCount": { - "message": "顯示頻道影片數量" - }, - "shuffle": { - "message": "隨機播放" - }, - "sidebar": { - "message": "側邊欄" - }, - "spacebar": { - "message": "空格鍵" - }, - "squaredUserImages": { - "message": "方形用戶圖像" - }, - "static": { - "message": "靜止" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "停止" - }, - "style": { - "message": "樣式" - }, - "styles": { - "message": "樣式" - }, - "subscriptions": { - "message": "訂閱內容" - }, - "subtitles": { - "message": "允許字幕" - }, - "sunset": { - "message": "日落" - }, - "sunsetToSunrise": { - "message": "日出至入落" - }, - "systemPeferenceDark": { - "message": "系統預設: 暗黑模式" - }, - "systemPeferenceLight": { - "message": "系統預設: 白天模式" - }, - "teal": { - "message": "藍綠色" - }, - "textColor": { - "message": "文字顏色" - }, - "themes": { - "message": "主題" - }, - "thisWillRemoveAllCookies": { - "message": "這將刪除所有的 cookies。" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "這會刪除所有 YouTube Cookies。" - }, - "thisWillResetAllSettings": { - "message": "這會重置所有設定。" - }, - "thisWillResetAllShortcuts": { - "message": "這會重置所有快捷鍵。" - }, - "thumbnails": { - "message": "縮略圖" - }, - "timeFrom": { - "message": "開始時間" - }, - "timeTo": { - "message": "結束時間" - }, - "todayAt": { - "message": "自今日" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "預告片自動播放" - }, - "translations": { - "message": "翻譯" - }, - "transparentBackground": { - "message": "透明背景" - }, - "trending": { - "message": "發燒影片" - }, - "tryToReloadThePage": { - "message": "嘗試重新整理頁面" - }, - "type": { - "message": "種類" - }, - "upNextAutoplay": { - "message": "自動播放下一個影片" - }, - "use24HourFormat": { - "message": "使用24小時格式" - }, - "version": { - "message": "版本" - }, - "video": { - "message": "影片" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "影片格式" - }, - "videos": { - "message": "影片" - }, - "volume": { - "message": "音量" - }, - "watchLater": { - "message": "稍後觀看" - }, - "watchTime": { - "message": "已觀看時間" - }, - "whenTabIsChanged": { - "message": "When tab is changed" - }, - "white": { - "message": "白色" - }, - "yellow": { - "message": "黃色" - }, - "youtubeHeaderLeft": { - "message": "YouTube 標頭 (左)" - }, - "youtubeHeaderRight": { - "message": "YouTube 標頭 (右)" - }, - "youtubeHomePage": { - "message": "預設的YouTube主頁" - }, - "youtubeLanguage": { - "message": "YouTube 語言" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "使用 H.264 編碼時,YouTube 會將畫質限定為 1080p 內。" - }, - "redDislikeButton": { - "message": "將「不喜歡」數量以紅色顯示" - }, - "hideGradientBottom": { - "message": "隱藏底部漸層圖層" - }, - "statsForNerds": { - "message": "顯示「統計資料」按鈕" - }, - "toggleCards": { - "message": "Toggle cards" - } -} +{ + "ARROWDOWN": { + "message": "⇩" + }, + "ARROWLEFT": { + "message": "⇦" + }, + "ARROWRIGHT": { + "message": "⇨" + }, + "ARROWUP": { + "message": "⇧" + }, + "about": { + "message": "關於" + }, + "accept": { + "message": "接受" + }, + "activate": { + "message": "啟用" + }, + "activateCaptions": { + "message": "開啟字幕" + }, + "activateFullscreen": { + "message": "開啟全螢幕" + }, + "activated": { + "message": "啟用" + }, + "activatedFeatures": { + "message": "已啟用功能" + }, + "activeFeatures": { + "message": "已啟用功能" + }, + "addScrollToTop": { + "message": "新增「回到頂部」按鈕" + }, + "ads": { + "message": "廣告" + }, + "all": { + "message": "所有" + }, + "allow": { + "message": "允許" + }, + "allow60fps": { + "message": "允許 60fps" + }, + "always": { + "message": "Always" + }, + "alwaysActive": { + "message": "始終有效" + }, + "alwaysShowProgressBar": { + "message": "一律顯示進度條" + }, + "amber": { + "message": "琥珀色" + }, + "analyzer": { + "message": "觀看紀錄" + }, + "animations": { + "message": "Animations" + }, + "appearance": { + "message": "外觀" + }, + "areYouSureYouWantToExportTheData": { + "message": "您確定要匯出資料嗎?" + }, + "areYouSureYouWantToImportTheData": { + "message": "確定要匯入資料嗎?" + }, + "audio": { + "message": "音頻" + }, + "audioFormats": { + "message": "音頻格式" + }, + "auto": { + "message": "自動" + }, + "autoFullscreen": { + "message": "自動全螢幕" + }, + "autopauseWhenSwitchingTabs": { + "message": "切換分頁時自動暫停" + }, + "autoplay": { + "message": "自動播放" + }, + "avoidAv1": { + "message": "忽略 AV1" + }, + "avoidAv1Vp8Vp9": { + "message": "忽略 AV1, VP8, VP9" + }, + "avoidAv1Vp9": { + "message": "忽略 AV1, VP9" + }, + "avoidCpuRenderingWhenPossible": { + "message": "盡可能避免使用 CPU 渲染" + }, + "backgroundColor": { + "message": "背景顏色" + }, + "backgroundOpacity": { + "message": "背景透明度" + }, + "backupAndReset": { + "message": "備份 & 重設" + }, + "baseOnSystemColorScheme": { + "message": "使用系統配色方案" + }, + "belowPlayer": { + "message": "於播放器底下" + }, + "black": { + "message": "黑色" + }, + "blacklist": { + "message": "黑名單" + }, + "blockAll": { + "message": "封鎖全部" + }, + "blockAv1": { + "message": "封鎖 AV1" + }, + "blockH264": { + "message": "封鎖 H.264" + }, + "blockMusic": { + "message": "封鎖音樂" + }, + "blockVp8": { + "message": "封鎖 VP8" + }, + "blockVp9": { + "message": "封鎖 VP9" + }, + "blue": { + "message": "藍色" + }, + "blueGray": { + "message": "藍灰色" + }, + "bluelight": { + "message": "藍光" + }, + "brown": { + "message": "棕色" + }, + "browser": { + "message": "瀏覽器" + }, + "browserVersion": { + "message": "瀏覽器版本" + }, + "bubbles": { + "message": "Bubbles" + }, + "bug": { + "message": "問題" + }, + "buttons": { + "message": "按鈕" + }, + "cancel": { + "message": "取消" + }, + "categories": { + "message": "類別" + }, + "channel": { + "message": "頻道" + }, + "channels": { + "message": "頻道" + }, + "characterEdgeStyle": { + "message": "字型邊緣型式" + }, + "clip": { + "message": "Clip" + }, + "clipboard": { + "message": "剪貼簿" + }, + "codecH264": { + "message": "使用 H.264 解碼" + }, + "codecs": { + "message": "編碼" + }, + "collapseOfSubscriptionSections": { + "message": "於訂閱區顯示縮放按鈕" + }, + "collapsed": { + "message": "簡縮" + }, + "comments": { + "message": "評論" + }, + "confirmationBeforeClosing": { + "message": "關閉前先確認" + }, + "cookies": { + "message": "Cookies" + }, + "cores": { + "message": "核心數" + }, + "cropChapterTitles": { + "message": "截斷章節名稱" + }, + "custom": { + "message": "自訂" + }, + "customCss": { + "message": "自訂 CSS" + }, + "customJs": { + "message": "自訂 JS" + }, + "customMiniPlayer": { + "message": "自訂迷你播放器" + }, + "cyan": { + "message": "青色" + }, + "dark": { + "message": "暗黑" + }, + "darkTheme": { + "message": "暗黑主題" + }, + "dateAndTime": { + "message": "日期和時間" + }, + "dawn": { + "message": "黎明" + }, + "decreasePlaybackSpeed": { + "message": "降低播放速度" + }, + "decreaseVolume": { + "message": "減輕音量" + }, + "deepOrange": { + "message": "深橙色" + }, + "deepPurple": { + "message": "深紫色" + }, + "default": { + "message": "預設" + }, + "defaultChannelTab": { + "message": "預設頻道標籤" + }, + "defaultContentCountry": { + "message": "預設國家" + }, + "deleteWatchedVideos": { + "message": "刪除已觀看的影片" + }, + "deleteYoutubeCookies": { + "message": "刪除 YouTube cookies" + }, + "depressed": { + "message": "內凹" + }, + "description": { + "message": "描述" + }, + "description_ext": { + "message": "Make YouTube tidy+smart! YouTube video color ad skip volume speed channel tool style HD ads adblock adblocker tags keyword playlist" + }, + "desert": { + "message": "沙漠" + }, + "details": { + "message": "細節" + }, + "developerOptions": { + "message": "開發人員選項" + }, + "device": { + "message": "裝置" + }, + "dim": { + "message": "光線暗度" + }, + "disabled": { + "message": "關閉" + }, + "dislike": { + "message": "不喜歡" + }, + "displayDayOfTheWeak": { + "message": "Display day of the week" + }, + "doNotChange": { + "message": "不要改變" + }, + "donate": { + "message": "捐贈" + }, + "download": { + "message": "Download" + }, + "draggable": { + "message": "可拖動" + }, + "dropShadow": { + "message": "投射陰影" + }, + "durationWithSpeed": { + "message": "Show time remaining with reference to playback speed" + }, + "email": { + "message": "Email" + }, + "empty": { + "message": "空白" + }, + "enabled": { + "message": "啟用" + }, + "enabledForced": { + "message": "強制啟用" + }, + "expanded": { + "message": "擴展" + }, + "exportSettings": { + "message": "導出設定" + }, + "extension": { + "message": "擴充元件" + }, + "file": { + "message": "檔案" + }, + "filters": { + "message": "濾鏡" + }, + "fitToWindow": { + "message": "依視窗大小縮放" + }, + "flash": { + "message": "是否使用 Flash" + }, + "font": { + "message": "字體" + }, + "fontColor": { + "message": "字型顏色" + }, + "fontFamily": { + "message": "字型" + }, + "fontOpacity": { + "message": "字型透明度" + }, + "fontSize": { + "message": "字型大小" + }, + "footer": { + "message": "頁腳" + }, + "forceSDR": { + "message": "強制使用標準動態範圍 (SDR)" + }, + "forcedPlayVideoFromTheBeginning": { + "message": "強制從頭播放" + }, + "forcedPlaybackSpeed": { + "message": "強制播放速度" + }, + "forcedPlaybackSpeedMusic": { + "message": "(Force playback speed even for music?)" + }, + "forcedTheaterMode": { + "message": "強制劇院模式" + }, + "forcedVolume": { + "message": "強制播放音量" + }, + "foundABug": { + "message": "遇到問題了嗎?" + }, + "fullWindow": { + "message": "全螢幕" + }, + "general": { + "message": "一般" + }, + "geoPreference": { + "message": "地理位置偏好" + }, + "github": { + "message": "GitHub" + }, + "goToSearchBox": { + "message": "轉到搜尋框" + }, + "googleApiKey": { + "message": "Google API 金鑰" + }, + "gpu": { + "message": "GPU" + }, + "green": { + "message": "綠色" + }, + "hardwareInformation": { + "message": "硬體資訊" + }, + "hd": { + "message": "HD" + }, + "hdThumbnail": { + "message": "HD 縮圖" + }, + "header": { + "message": "標頭" + }, + "hidden": { + "message": "隱藏" + }, + "hiddenOnVideoPage": { + "message": "於影片頁面自動隱藏" + }, + "hideAnimatedThumbnails": { + "message": "隱藏動態的縮略圖" + }, + "hideAnnotations": { + "message": "隱藏註解" + }, + "hideCards": { + "message": "隱藏資訊卡" + }, + "hideCategories": { + "message": "隱藏分類" + }, + "hideCommentsCount": { + "message": "隱藏評論數量" + }, + "hideCountryCode": { + "message": "隱藏國家代號" + }, + "hideDate": { + "message": "隱藏日期" + }, + "hideDetailButton": { + "message": "隱藏詳細資訊按鈕" + }, + "hideDetails": { + "message": "隱藏詳細資訊" + }, + "hideEndscreen": { + "message": "隱藏結束畫面" + }, + "hideFeaturedContent": { + "message": "隱藏精選影片" + }, + "hideFooter": { + "message": "隱藏頁腳" + }, + "hideGradientBottom": { + "message": "隱藏底部漸層圖層" + }, + "hidePlayerControlsBar": { + "message": "隱藏播放器控制欄" + }, + "hidePlayerControlsBarButtons": { + "message": "隱藏播放列按鈕" + }, + "hidePlayerControlsBarOptions": { + "message": "隱藏播放選項" + }, + "hidePlaylist": { + "message": "隱藏播放清單" + }, + "hideRightButtons": { + "message": "隱藏右側按鈕" + }, + "hideScrollForDetails": { + "message": "隱藏「向下捲動即可查看詳情」" + }, + "hideSkipOverlay": { + "message": "隱藏「跳至區段」按鈕" + }, + "hideThumbnailOverlay": { + "message": "隱藏縮圖上的按鈕" + }, + "hideThumbnails": { + "message": "隱藏縮圖" + }, + "hideViewsCount": { + "message": "隱藏觀看次數" + }, + "hideVoiceSearchButton": { + "message": "隱藏語音搜尋按鈕" + }, + "high": { + "message": "高" + }, + "history": { + "message": "觀看記錄" + }, + "home": { + "message": "首頁" + }, + "hover": { + "message": "滑鼠暫留時顯示" + }, + "hoverOnVideoPage": { + "message": "於影片頁面滑鼠暫留時顯示" + }, + "howLongAgoTheVideoWasUploaded": { + "message": "顯示影片上傳時間" + }, + "icons": { + "message": "圖示" + }, + "iconsOnly": { + "message": "只有圖示" + }, + "importSettings": { + "message": "導入設定" + }, + "improveLogo": { + "message": "改進 YouTube 圖示" + }, + "improvedtubeButtons": { + "message": "ImprovedTube 按鈕" + }, + "improvedtubeIconOnYoutube": { + "message": "於 YouTube 中顯示 ImprovedTube 圖示" + }, + "improvedtubeLanguage": { + "message": "ImprovedTube 語言" + }, + "improvedtubeVersion": { + "message": "ImprovedTube 版本" + }, + "increasePlaybackSpeed": { + "message": "加快播放速度" + }, + "increaseVolume": { + "message": "增加音量" + }, + "indigo": { + "message": "靛青" + }, + "items": { + "message": "項目" + }, + "language": { + "message": "語言" + }, + "languages": { + "message": "語言" + }, + "layerAnimationScale": { + "message": "Layer animation scale" + }, + "layout": { + "message": "Layout" + }, + "legacyYoutube": { + "message": "舊版 YouTube" + }, + "library": { + "message": "影片庫" + }, + "light": { + "message": "淺色" + }, + "lightBlue": { + "message": "淺藍色" + }, + "lightGreen": { + "message": "淺綠色" + }, + "like": { + "message": "喜歡" + }, + "liked": { + "message": "Liked" + }, + "likes": { + "message": "Likes" + }, + "lime": { + "message": "萊姆色" + }, + "limitPageWidth": { + "message": "限制頁面寬度" + }, + "list": { + "message": "清單" + }, + "liveChat": { + "message": "Live 聊天視窗" + }, + "liveChatType": { + "message": "Live 聊天視窗種類" + }, + "location": { + "message": "地區" + }, + "loop": { + "message": "重複播放" + }, + "loudnessNormalization": { + "message": "音量標準化" + }, + "low": { + "message": "低" + }, + "markWatchedVideos": { + "message": "標記已觀看影片" + }, + "medium": { + "message": "中" + }, + "mixer": { + "message": "音量混合器" + }, + "more": { + "message": "更多" + }, + "mostViewedChannels": { + "message": "最多觀看的頻道" + }, + "moveSidebarLeft": { + "message": "將側邊欄移至右方" + }, + "moveThumbnailsRight": { + "message": "將預覽圖移至右方" + }, + "myColors": { + "message": "自訂主色" + }, + "name": { + "message": "名稱" + }, + "nativeMiniPlayer": { + "message": "迷你播放器" + }, + "new": { + "message": "新增" + }, + "nextVideo": { + "message": "下一個影片" + }, + "night": { + "message": "夜晚" + }, + "nightMode": { + "message": "夜晚模式" + }, + "noActiveFeatures": { + "message": "無已啟用功能" + }, + "noOpenVideoTabs": { + "message": "無已開啟之影片頁面" + }, + "none": { + "message": "無" + }, + "normal": { + "message": "正常" + }, + "off": { + "message": "關閉" + }, + "ok": { + "message": "Ok" + }, + "old": { + "message": "舊版" + }, + "onAllVideos": { + "message": "於所有影片中" + }, + "onSubscribedChannels": { + "message": "於已訂閱的頻道中" + }, + "onlyActiveOnYoutube": { + "message": "僅適用於 YouTube 網站" + }, + "onlyOnePlayerInstancePlaying": { + "message": "同時間僅限播放單一影片" + }, + "openPopupPlayer": { + "message": "開啟影片或播放清單於新視窗中" + }, + "orange": { + "message": "橘色" + }, + "os": { + "message": "作業系統" + }, + "other": { + "message": "其他" + }, + "outline": { + "message": "外框" + }, + "overlay": { + "message": "遮罩" + }, + "permissions": { + "message": "權限" + }, + "pictureInPicture": { + "message": "子母畫面" + }, + "pink": { + "message": "粉紅色" + }, + "plain": { + "message": "樸素" + }, + "platform": { + "message": "平台" + }, + "playAllButton": { + "message": "\"播放全部\" 按鈕" + }, + "playPause": { + "message": "播放/暫停" + }, + "playbackSpeed": { + "message": "播放速度" + }, + "player": { + "message": "播放器" + }, + "playerColor": { + "message": "影片進度條顏色" + }, + "playerSize": { + "message": "播放器大小" + }, + "playlist": { + "message": "播放列表" + }, + "playlists": { + "message": "播放清單" + }, + "popupPlayer": { + "message": "彈出播放器" + }, + "popupWindowButtons": { + "message": "添加彈出播放器按鈕" + }, + "position": { + "message": "位置" + }, + "pressAnyKeyOrScroll": { + "message": "按任意鍵或使用滑鼠滾輪。" + }, + "pressAnyKeyOrUseMouseWheel": { + "message": "按任意鍵或使用鼠標滾輪。" + }, + "previousVideo": { + "message": "回到之前的影片" + }, + "primaryColor": { + "message": "主要顏色" + }, + "purple": { + "message": "紫色" + }, + "quality": { + "message": "品質" + }, + "raised": { + "message": "浮凸" + }, + "ram": { + "message": "RAM" + }, + "rateMe": { + "message": "給我評分" + }, + "rateUs": { + "message": "評分" + }, + "red": { + "message": "紅色" + }, + "redDislikeButton": { + "message": "將「不喜歡」數量以紅色顯示" + }, + "relatedVideos": { + "message": "推薦影片" + }, + "remote": { + "message": "於電視上播放" + }, + "removeRelatedSearchResults": { + "message": "移除搜尋相關結果" + }, + "repeat": { + "message": "重複播放" + }, + "report": { + "message": "回報" + }, + "reset": { + "message": "重設" + }, + "resetAllSettings": { + "message": "重設所有設定" + }, + "resetAllShortcuts": { + "message": "重設所有快捷鍵" + }, + "reverse": { + "message": "回播" + }, + "rotate": { + "message": "旋轉影片" + }, + "save": { + "message": "儲存" + }, + "saveAs": { + "message": "另存為" + }, + "schedule": { + "message": "排程" + }, + "screen": { + "message": "螢幕" + }, + "screenshot": { + "message": "截圖" + }, + "scrollBar": { + "message": "滾動條" + }, + "sd": { + "message": "SD" + }, + "search": { + "message": "搜尋" + }, + "searchBarOnly": { + "message": "僅顯示搜尋列" + }, + "seekBackward10Seconds": { + "message": "倒退10秒" + }, + "seekForward10Seconds": { + "message": "前進10秒" + }, + "seekNextChapter": { + "message": "跳至下一章節" + }, + "seekPreviousChapter": { + "message": "跳至前一章節" + }, + "settings": { + "message": "設定" + }, + "settingsSuccessfullyImported": { + "message": "已成功匯入設定" + }, + "share": { + "message": "分享" + }, + "shortcuts": { + "message": "快捷鍵" + }, + "showCardsOnMouseHover": { + "message": "滑鼠暫留時顯示資訊卡" + }, + "showChannelVideosCount": { + "message": "顯示頻道影片數量" + }, + "showLess": { + "message": "顯示更少" + }, + "showMore": { + "message": "顯示更多" + }, + "showRemainingDuration": { + "message": "顯示影片剩餘時間" + }, + "showVersion": { + "message": "顯示版本" + }, + "shuffle": { + "message": "隨機播放" + }, + "sidebar": { + "message": "側邊欄" + }, + "softwareInformation": { + "message": "軟體資訊" + }, + "spacebar": { + "message": "空白鍵" + }, + "squaredUserImages": { + "message": "方形用戶圖像" + }, + "static": { + "message": "靜止" + }, + "statsForNerds": { + "message": "顯示「統計資料」按鈕" + }, + "step": { + "message": "音量調整間隔" + }, + "stop": { + "message": "停止" + }, + "style": { + "message": "樣式" + }, + "styles": { + "message": "樣式" + }, + "subscribe": { + "message": "訂閱" + }, + "subscriptions": { + "message": "訂閱內容" + }, + "subtitles": { + "message": "字幕" + }, + "sunset": { + "message": "日落" + }, + "sunsetToSunrise": { + "message": "日出至入落" + }, + "systemPeferenceDark": { + "message": "系統預設: 暗黑模式" + }, + "systemPeferenceLight": { + "message": "系統預設: 白天模式" + }, + "teal": { + "message": "藍綠色" + }, + "textColor": { + "message": "文字顏色" + }, + "thanks": { + "message": "Thanks" + }, + "themes": { + "message": "主題" + }, + "thisWillRemoveAllCookies": { + "message": "這將刪除所有的 cookies。" + }, + "thisWillRemoveAllWatchedVideos": { + "message": "這將移除全部播放過的影片。" + }, + "thisWillRemoveAllYouTubeCookies": { + "message": "這將刪除所有 YouTube Cookies。" + }, + "thisWillResetAllSettings": { + "message": "這將重設所有設定。" + }, + "thisWillResetAllShortcuts": { + "message": "這將重設所有快捷鍵。" + }, + "thumbnails": { + "message": "縮圖" + }, + "thumbnailsQuality": { + "message": "縮圖品質" + }, + "timeFrom": { + "message": "開始時間" + }, + "timeTo": { + "message": "結束時間" + }, + "todayAt": { + "message": "自今日" + }, + "toggleAutoplay": { + "message": "切換自動播放" + }, + "toggleCards": { + "message": "啟用結束畫面" + }, + "toggleControls": { + "message": "開關播放器控制" + }, + "topChat": { + "message": "重點聊天室訊息" + }, + "trackWatchedVideos": { + "message": "追蹤已觀看的影片" + }, + "trailerAutoplay": { + "message": "預告片自動播放" + }, + "translations": { + "message": "翻譯" + }, + "transparentBackground": { + "message": "透明背景" + }, + "trending": { + "message": "發燒影片" + }, + "tryToReloadThePage": { + "message": "嘗試重新整理頁面" + }, + "type": { + "message": "種類" + }, + "upNextAutoplay": { + "message": "自動播放下一個影片" + }, + "use24HourFormat": { + "message": "使用24小時格式" + }, + "version": { + "message": "版本" + }, + "video": { + "message": "影片" + }, + "videoDescriptionWillBeExpandedToGetNameOfCategory": { + "message": "影片敘述將自動展開以顯示影片分類名稱" + }, + "videoFormats": { + "message": "影片格式" + }, + "videos": { + "message": "影片" + }, + "viewMode": { + "message": "預設檢視模式" + }, + "volume": { + "message": "音量" + }, + "watchLater": { + "message": "稍後觀看" + }, + "watchTime": { + "message": "已觀看時間" + }, + "whenPaused": { + "message": "當暫停播放時" + }, + "whenTabIsChanged": { + "message": "當分頁改變時" + }, + "white": { + "message": "白色" + }, + "windowColor": { + "message": "視窗顏色" + }, + "windowOpacity": { + "message": "視窗透明度" + }, + "yellow": { + "message": "黃色" + }, + "youtubeHeaderLeft": { + "message": "YouTube 標頭 (左)" + }, + "youtubeHeaderRight": { + "message": "YouTube 標頭 (右)" + }, + "youtubeHomePage": { + "message": "預設的 YouTube 首頁" + }, + "youtubeLanguage": { + "message": "YouTube 語言" + }, + "youtubeLimitsVideoQualityTo1080pForH264Codec": { + "message": "使用 H.264 編碼時,YouTube 會將畫質限制為 1080p 內。" + } +} diff --git a/assets/fonts/Roboto-Light.ttf b/assets/fonts/Roboto-Light.ttf new file mode 100644 index 000000000..0e977514f Binary files /dev/null and b/assets/fonts/Roboto-Light.ttf differ diff --git a/assets/fonts/Roboto-Medium.ttf b/assets/fonts/Roboto-Medium.ttf new file mode 100644 index 000000000..e89b0b79a Binary files /dev/null and b/assets/fonts/Roboto-Medium.ttf differ diff --git a/assets/fonts/Roboto-Regular.ttf b/assets/fonts/Roboto-Regular.ttf new file mode 100644 index 000000000..3d6861b42 Binary files /dev/null and b/assets/fonts/Roboto-Regular.ttf differ diff --git a/assets/icons/128.png b/assets/icons/128.png new file mode 100644 index 000000000..5aba153b4 Binary files /dev/null and b/assets/icons/128.png differ diff --git a/stable/assets/icons/16.png b/assets/icons/16.png similarity index 100% rename from stable/assets/icons/16.png rename to assets/icons/16.png diff --git a/assets/icons/32.png b/assets/icons/32.png new file mode 100644 index 000000000..9a5f9c392 Binary files /dev/null and b/assets/icons/32.png differ diff --git a/assets/icons/48.png b/assets/icons/48.png new file mode 100644 index 000000000..c8b9335f8 Binary files /dev/null and b/assets/icons/48.png differ diff --git a/assets/satus/satus.css b/assets/satus/satus.css new file mode 100644 index 000000000..43cd38a5a --- /dev/null +++ b/assets/satus/satus.css @@ -0,0 +1,2073 @@ +/*-------------------------------------------------------------- +# SCROLLBAR +--------------------------------------------------------------*/ + +:where([class^='satus'])::-webkit-scrollbar { + width: 4px; +} + +:where([class^='satus'])::-webkit-scrollbar:hover { + width: 8px; +} + +:where([class^='satus'])::-webkit-scrollbar-thumb { + background: rgba(var(--satus-light), .2); +} + +:where([class^='satus'])::-webkit-scrollbar-thumb:hover { + background: rgba(var(--satus-light), .3); +} +/*-------------------------------------------------------------- +# ANIMATIONS +--------------------------------------------------------------*/ + +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + +@keyframes fadeInLeft { + from { + opacity: 0; + transform: translateX(-100%); + } + to { + opacity: 1; + transform: translateX(0); + } +} + +@keyframes fadeInRight { + from { + opacity: 0; + transform: translateX(100%); + } + to { + opacity: 1; + transform: translateX(0); + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + to { + opacity: 0; + } +} + +@keyframes fadeOutLeft { + from { + opacity: 1; + transform: translateX(0); + } + to { + opacity: 0; + transform: translateX(-50%); + } +} + +@keyframes fadeOutRight { + from { + opacity: 1; + transform: translateX(0); + } + to { + opacity: 0; + transform: translateX(50%); + } +} + +@keyframes zoomIn { + from { + transform: scale(.8); + opacity: 0; + } + to { + transform: scale(1); + opacity: 1; + } +} + +@keyframes zoomOut { + from { + transform: scale(1); + opacity: 1; + } + to { + transform: scale(.8); + opacity: 0; + } +} +/*-------------------------------------------------------------- +>>> THEMES +--------------------------------------------------------------*/ + +.satus-base { + --satus-light: 0, 20, 82; + --satus-primary: #ff4158; + --satus-alert-background--error: #501616; + --satus-alert-border--error: 1px solid #6f1f1f; + --satus-alert-foreground--error: #d77070; + --satus-alert-background--success: rgb(246, 180, 101, .32); + --satus-alert-border--success: 1px solid rgb(246, 180, 101, .6); + --satus-alert-foreground--success: rgb(184, 115, 30); + --satus-base-background: #f3f4f6; + --satus-base-foreground: #565e76; + --satus-checkbox-background: #f3f4f6; + --satus-checkbox-border: #dcdfe5; + --satus-checkbox-foreground: rgb(255, 255, 255, .96); + --satus-divider: rgba(var(--satus-light), .1); + --satus-header-background: #fff; + --satus-header-foreground: inherit; + --satus-header-shadow: 0 1px 0 #dcdee5; + --satus-layers-background: var(--satus-base-background); + --satus-layers-foreground: inherit; + --satus-section-background: #fff; + --satus-section-border: #dcdee5; + --satus-section-foreground: inherit; + --satus-sidebar-background: #fff; + --satus-sidebar-foreground: inherit; + --satus-sidebar-shadow: #dcdee5; + --satus-modal-foreground: inherit; + --satus-modal-background: #fff; + --satus-modal-shadow: 0 1px 4px #7d86a1; + --satus-tabs-background: rgba(var(--satus-light), .04); + --satus-tabs-foreground: #fff; + --satus-text-field-background: #edf0f2; + --satus-text-field-border: #dcdee5; + --satus-text-field-color: #7d8ba1; + --satus-text-field-selection: rgb(149, 166, 178, .35); + --satus-text-field-cursor: #fa0; + --satus-switch-track: #e1e4ea; + --satus-switch-track--checked: var(--satus-primary); + --satus-switch-thumb: #fff; + --satus-input-text-background: #e8e8e3; + --satus-input-text-border: #d6d6cd; + --satus-input-text-text: #848471; +} + +.satus-base[theme=dark] { + --satus-light: 255, 255, 255; + --satus-primary: #3691bf; + --satus-alert-background--error: #501616; + --satus-alert-border--error: 1px solid #6f1f1f; + --satus-alert-foreground--error: #d77070; + --satus-alert-background--success: #143648; + --satus-alert-border--success: 1px solid #1d4f67; + --satus-alert-foreground--success: #50a4ce; + --satus-base-background: #151528; + --satus-base-foreground: #fafafa; + --satus-header-background: #313172; + --satus-header-shadow: transparent; + --satus-section-background: #232343; + --satus-section-border: #232343; + --satus-modal-background: #313172; + --satus-modal-shadow: 0 1px 4px #22222f; + --satus-switch-track: #52527a; +} +/*-------------------------------------------------------------- +>>> NORMALIZE +--------------------------------------------------------------*/ + +:where([class^='satus']) { + box-sizing: border-box; +} + +:where([class^='satus'])[hidden]:not([hidden='false']) { + display: none; +} + +:where([class^='satus'])[transparent] { + opacity: 0; +} +/*-------------------------------------------------------------- +>>> MODAL +---------------------------------------------------------------- +# Container +# Scrim +# Surface +# Variants + # Vertical menu +--------------------------------------------------------------*/ + + +/*-------------------------------------------------------------- +# CONTAINER +--------------------------------------------------------------*/ + +.satus-modal { + position: fixed; + z-index: 9; + top: 0; + left: 0; + display: flex; + width: 100vw; + height: 100vh; + justify-content: center; + align-items: center; +} + + +/*-------------------------------------------------------------- +# SCRIM +--------------------------------------------------------------*/ + +.satus-modal__scrim { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + animation: fadeIn 150ms linear forwards; + opacity: 0; + background: rgba(0, 0, 0, .16); + backdrop-filter: blur(8px); +} + +.satus-modal--closing .satus-modal__scrim { + animation: fadeOut 70ms linear forwards; +} + + +/*-------------------------------------------------------------- +# SURFACE +--------------------------------------------------------------*/ + +.satus-modal__surface { + display: flex; + overflow-y: auto; + flex-direction: column; + box-sizing: border-box; + width: 95%; + min-width: 240px; + max-width: 560px; + max-height: 80%; + margin: 8px; + padding: 12px 16px; + transform: scale(.8); + animation: zoomIn 150ms linear forwards; + animation-delay: 20ms; + opacity: 0; + color: var(--satus-modal-foreground); + border-radius: 3px; + background-color: var(--satus-modal-background); + box-shadow: var(--satus-modal-shadow); +} + +.satus-modal--closing .satus-modal__surface { + animation: zoomOut 70ms linear forwards; +} + +.satus-modal__content { + margin: 6px 0 12px; +} + +.satus-section--actions { + justify-content: flex-end; +} +.satus-section--actions > *:not(:first-child) { + margin-left: 8px; +} + + +/*-------------------------------------------------------------- +# VARIANTS +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# VERTICAL MENU +--------------------------------------------------------------*/ + +.satus-modal--vertical-menu .satus-modal__surface { + position: absolute; + top: 8px; + right: 8px; + left: auto; + min-width: 180px; + max-width: 180px; + margin: 0; + padding: 8px 0; + transform-origin: right top; +} + +.satus-modal--vertical-menu .satus-modal__surface>[class^='satus']:where(:not(.satus-divider)) { + height: 36px; + padding: 0 16px; + border-radius: 0; +} + +.satus-modal--vertical-menu .satus-modal__surface>.satus-span { + font-size: 13px; + font-weight: 500; + margin: 6px 0; + padding: 0 12px; + height: auto; +} + +.satus-modal--vertical-menu .satus-modal__surface>.satus-tabs { + margin: 0 12px; + border-radius: 3px; + height: 26px; + padding: 0; +} + +.satus-modal--vertical-menu .satus-select svg, +.satus-modal--vertical-menu .satus-button svg { + margin: 0 14px 0 0; + opacity: .64; + flex: 0 0 18px; +} + +.satus-modal--vertical-menu .satus-button .satus-span { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + +.satus-modal--vertical-menu .satus-switch:hover { + cursor: pointer; + + background-color: rgba(var(--satus-light), .06); +} + +.satus-modal--vertical-menu .satus-switch:focus { + background-color: rgba(var(--satus-light), .08); +} +/*-------------------------------------------------------------- +>>> GRID +--------------------------------------------------------------*/ + +.satus-grid { + display: flex; + align-items: stretch; + height: 100%; + padding: 8px; +} +/*-------------------------------------------------------------- +>>> TEXT FIELD +---------------------------------------------------------------- +# Parts + # Container + # Input + # +# Syntax highlighting + # Regular expression +--------------------------------------------------------------*/ + +.satus-text-field { + display: flex; + + min-width: 240px; + height: 36px; + + color: var(--satus-text-field-foreground, inherit); + border: 1px solid var(--satus-text-field-border); + border-radius: 4px; + background: var(--satus-text-field-background); + + align-items: center; + justify-content: space-between; +} + +.satus-text-field__container { + position: relative; + + overflow: hidden; + + height: 100%; + + flex: 1; +} + +.satus-text-field[line-numbers=false] .satus-text-field__container { + margin-left: 8px; +} + +.satus-text-field__textarea, +.satus-text-field__input { + font: inherit; + + position: absolute; + z-index: 9; + top: 0; + left: 0; + + overflow: auto; + + width: 100%; + min-width: 0; + max-width: none; + height: 100%; + min-height: 0; + max-height: none; + margin: 0; + padding: 0 12px; + + white-space: pre; + + opacity: 0; + color: inherit; + border: none; + border-radius: 4px; + outline: none; + + appearance: none; + overflow-wrap: normal; +} + +.satus-text-field__display { + position: absolute; + top: 0; + left: 0; + + display: flex; + + width: 100%; + height: 100%; +} + +.satus-text-field__line-numbers { + padding: 0 12px 0 0; + + opacity: .5; +} + +.satus-text-field__line-numbers>span { + font-size: inherit; + + display: block; + + width: 100%; + + text-align: right; +} + +.satus-text-field__pre { + font: inherit; + + display: flex; + + margin: 0; +} + +.satus-text-field__hidden-value { + font: inherit; + + position: absolute; + + overflow: auto; + + white-space: pre; + pointer-events: none; + + opacity: 0; + + overflow-wrap: normal; +} + +.satus-text-field__selection { + position: absolute; + top: 0; + left: 0; + + display: none; + + width: 0; + height: 22px; + margin: 6px 12px; + + border: 1px solid var(--satus-text-field-selection); + border-radius: 3px; + background: var(--satus-text-field-selection); +} + +.satus-text-field__cursor { + position: absolute; + top: 0; + left: 0; + + display: none; + + width: 2px; + height: 22px; + margin: -3px 0 0; + + animation: blink 1s step-end 8; + + background: var(--satus-text-field-cursor); +} + +.satus-text-field__textarea:focus+.satus-text-field__display>.satus-text-field__cursor, +.satus-text-field__textarea:focus+.satus-text-field__display>.satus-text-field__selection:not([disabled]), +.satus-text-field__input:focus+.satus-text-field__display>.satus-text-field__cursor, +.satus-text-field__input:focus+.satus-text-field__display>.satus-text-field__selection:not([disabled]) { + display: block; +} + +@keyframes blink { + + from, + to { + opacity: 1; + } + + 50% { + opacity: 0; + } +} + + +/*-------------------------------------------------------------- +# MULTILINE: FALSE +--------------------------------------------------------------*/ + +.satus-text-field[multiline=false] .satus-text-field__pre { + align-items: center; +} + +.satus-text-field[multiline=false] .satus-text-field__cursor { + top: calc(50% - 9px); +} + + +/*-------------------------------------------------------------- +# SYNTAX HIGHLIGHTING +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# REGULAR EXPRESSION +--------------------------------------------------------------*/ + +.satus-text-field__pre>.group { + color: #47ff47; + background-color: rgb(71, 255, 71, .16); +} + +.satus-text-field__pre>.character-class { + color: #ffc247; + background-color: rgb(255, 170, 0, .16); +} + +.satus-text-field__pre>.quantifier { + color: #47c2ff; + background-color: rgb(71, 194, 255, .16); +} + +.satus-text-field__pre>.anchor { + color: #47c2ff; + background-color: rgb(71, 194, 255, .16); +} + +.satus-text-field__pre>.metasequence { + color: #47ff47; + background-color: rgb(71, 255, 71, .16); +} + +.satus-text-field__pre>.text { + color: #c4c4d4; + background-color: rgb(196, 196, 212, .16); +} +/*-------------------------------------------------------------- +>>> CHART +--------------------------------------------------------------*/ + +.satus-chart { + font-size: 90%; + + position: relative; + + height: 128px; + margin: 4px 12px; + + color: rgba(var(--satus-light), .32); + border: 1px dashed rgba(var(--satus-light), .2); + border-top: unset; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} + +.satus-chart__labels { + position: absolute; + top: 0; + left: 0; + + display: flex; + + width: 100%; + height: 100%; + + justify-content: space-between; + align-items: stretch; +} + +.satus-chart__section { + padding: 4px; + + flex: 1; +} + +.satus-chart__section:not(:last-child) { + border-right: 1px dashed rgba(var(--satus-light), .2); +} + + +.satus-chart__bars { + position: absolute; + top: 0; + left: 0; + + display: flex; + + width: 100%; + height: 100%; + + justify-content: space-between; + align-items: stretch; +} + +.satus-chart__bar { + display: flex; + flex-direction: column; + + margin: 0 1px; + + flex: 1; + align-items: center; + justify-content: flex-end; +} + +.satus-chart__piece { + width: 100%; +} + +.satus-chart__piece:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +/*-------------------------------------------------------------- +>>> SELECT +--------------------------------------------------------------*/ + +.satus-select { + position: relative; + + display: flex; + + cursor: pointer; + + align-items: center; + justify-content: space-between; +} + +.satus-select:hover { + background-color: var(--satus-hover); +} + +.satus-select__content { + display: flex; + + flex: 2; + overflow: hidden; + + align-items: center; +} + +.satus-select svg { + width: 20px; + height: 18px; + margin: 0 14px 0 0; + + opacity: .64; +} + +.satus-select__content .satus-span { + overflow: hidden; + + text-overflow: ellipsis; +} + +.satus-select__value { + display: block; + overflow: hidden; + + flex: 1; + margin-left: 8px; + + text-align: right; + text-overflow: ellipsis; + + opacity: .64; +} + +.satus-select select { + font: inherit; + + position: absolute; + z-index: 1; + top: 0; + left: 0; + + width: 100%; + height: 100%; + margin: 0; + padding: inherit; + + cursor: inherit; + + opacity: 0; + border: none; + outline: none; + + appearance: none; +} + +.satus-select:hover { + cursor: pointer; + + background-color: rgba(var(--satus-light), .06); +} + +.satus-select:focus { + background-color: rgba(var(--satus-light), .08); +} + +.satus-select select::-webkit-scrollbar { + width: 4px; +} + +.satus-select select::-webkit-scrollbar:hover { + width: 8px; +} + +.satus-select select::-webkit-scrollbar-thumb { + background: rgba(0, 0, 0, .2); +} + +.satus-select select::-webkit-scrollbar-thumb:hover { + background: rgba(0, 0, 0, .3); +} + +.satus-select option { + color: var(--satus-select-text); + background: var(--satus-select-background); +} +/*-------------------------------------------------------------- +>>> DIVIDER +--------------------------------------------------------------*/ + +.satus-divider { + height: 1px; + margin: 16px 0 12px; + background: var(--satus-divider); +} +/*-------------------------------------------------------------- +>>> SECTION +---------------------------------------------------------------- +# Variants + # Align start + # Align end + # Card +# Media +--------------------------------------------------------------*/ + +.satus-section { + display: flex; + + flex-wrap: wrap; +} + + +/*-------------------------------------------------------------- +# ALIGN START +--------------------------------------------------------------*/ + +.satus-section--align-start { + align-items: center; +} + +.satus-section--align-start>*:not(:last-child) { + margin-right: 8px; +} + + +/*-------------------------------------------------------------- +# ALIGN END +--------------------------------------------------------------*/ + +.satus-section--align-end { + align-items: center; + justify-content: flex-end; +} + +.satus-section--align-end>*:not(:first-child) { + margin-left: 8px; +} + + +/*-------------------------------------------------------------- +# CARD +--------------------------------------------------------------*/ + +.satus-section--card { + flex-direction: column; + + max-width: 900px; + margin: 12px; + padding: 8px 0; + + border: 1px solid var(--satus-section-border); + border-radius: 3px; + background: var(--satus-section-background); + color: var(--satus-section-foreground); +} + +.satus-section--transparent-card { + max-width: 900px; + margin: 8px 12px; +} + +.satus-section--card[data-title], +.satus-section--transparent-card[data-title] +{ + position: relative; + + margin-top: 32px; +} + +.satus-section--card[data-title]::before, +.satus-section--transparent-card::before +{ + position: absolute; + top: -8px; + left: 0; + + content: attr(data-title); + transform: translateY(-100%); +} + + +.satus-section--transparent-card > [class^='satus'] { + width: 100%; +} + +.satus-section--card>[class^='satus']:not(.satus-list):not(.satus-section) { + display: flex; + + min-height: 48px; + padding: 8px 12px; + + transition: background-color .18s cubic-bezier(.25, .8, .5, 1); + text-align: left; + + border-radius: 0; + + align-items: center; +} + +.satus-section--card>[class^='satus']:not(.satus-list):not(.satus-section):not(.satus-chart) { + width: 100%; +} + +.satus-section--card>[class^='satus']:not(.satus-chart):not(.satus-list):not(.satus-span):hover { + background-color: rgba(var(--satus-light), .06); +} + +.satus-section--card>.satus-button { + justify-content: flex-start; +} + +.satus-section--card>.satus-button>svg, +.satus-section--card>.satus-select>svg +{ + width: 20px; + margin: 0 14px 0 0; + + color: var(--satus-primary); +} + +.satus-section--card>.satus-span { + display: flex; + + align-items: center; +} + +.satus-section--transparent { + background: unset; + border: unset; + padding: 0; + border-radius: unset; +} + + +/*-------------------------------------------------------------- +# MEDIA +--------------------------------------------------------------*/ + +@media (min-width: 901px) { + .satus-section--card, + .satus-section--transparent-card { + margin-left: auto; + margin-right: auto; + } +} +/*-------------------------------------------------------------- +>>> BASE +--------------------------------------------------------------*/ + +.satus-base { + display: flex; + flex-direction: column; + + width: 100%; + height: 100%; + + color: var(--satus-base-foreground); + background: var(--satus-base-background); +} +/*-------------------------------------------------------------- +>>> ALERT +---------------------------------------------------------------- +# Media +--------------------------------------------------------------*/ + +.satus-alert { + display: flex; + + max-width: 900px; + min-height: 48px; + margin: 12px; + padding: 8px 12px; + + border-radius: 3px; + + align-items: center; +} + +.satus-alert--error { + color: var(--satus-alert-foreground--error); + border: var(--satus-alert-border--error); + background: var(--satus-alert-background--error); +} + +.satus-alert--success { + color: var(--satus-alert-foreground--success); + border: var(--satus-alert-border--success); + background: var(--satus-alert-background--success); +} + + +/*-------------------------------------------------------------- +# MEDIA +--------------------------------------------------------------*/ + +@media (min-width: 901px) { + .satus-alert { + margin-right: auto; + margin-left: auto; + } +} +/*-------------------------------------------------------------- +>>> INPUT +--------------------------------------------------------------*/ + +.satus-input[type=text], +.satus-input[type=password] { + font: inherit; + font-size: 16px; + + box-sizing: border-box; + width: 100%; + height: 26px; + margin: 0; + margin: 8px 0; + padding: 0 8px; + + color: var(--satus-input-text-foreground, inherit); + border: none; + + + + + + border: 1px solid var(--satus-input-text-border); + border-radius: 4px; + outline: none; + background: none; + background-color: var(--satus-input-text-background); + + appearance: none; +} + +.satus-input--error[type=text], +.satus-input--error[type=password] { + outline: 2px solid rgba(255, 0, 0, .32); +} +/*-------------------------------------------------------------- +>>> MAIN +--------------------------------------------------------------*/ + +.satus-main { + display: flex; + + flex: 1 +} +/*-------------------------------------------------------------- +>>> SIDEBAR +--------------------------------------------------------------*/ + +.satus-sidebar { + z-index: 1; + display: flex; + flex-direction: column; + width: 56px; + padding: 12px 0; + color: var(--satus-sidebar-foreground); + background: var(--satus-sidebar-background); + box-shadow: 1px 0 0 var(--satus-sidebar-shadow) +} +/*-------------------------------------------------------------- +>>> LAYERS +--------------------------------------------------------------*/ + +.satus-layers { + position: relative; + + overflow: hidden; + + flex: 1; +} + +.satus-layers__layer { + position: absolute; + top: 0; + left: 0; + + overflow: auto; + + width: 100%; + height: 100%; + + color: var(--satus-layers-foreground); + background: var(--satus-layers-background); +} +/*-------------------------------------------------------------- +>>> LIST +--------------------------------------------------------------*/ + +.satus-list { + margin: 0; + + list-style: none; +} + +.satus-list__item { + display: flex; + + min-height: 48px; + padding: 0 16px; + + align-items: center; + justify-content: space-between; +} + +.satus-list__item>*:not(:first-child) { + margin-left: 8px; +} + +.satus-list__item>*:last-child { + font-size: 92%; + + text-align: right; + + opacity: .64; +} +/*-------------------------------------------------------------- +>>> COLOR PICKER: +---------------------------------------------------------------- +# Button +# Modal +--------------------------------------------------------------*/ + + +/*-------------------------------------------------------------- +# BUTTON +--------------------------------------------------------------*/ + +.satus-color-picker { + font-size: inherit; + + position: relative; + + display: flex; + + box-sizing: border-box; + margin: 0; + + cursor: pointer; + + color: inherit; + border: none; + outline: none; + background-color: var(--satus-theme-button); + + justify-content: space-between; + -webkit-tap-highlight-color: transparent; + align-items: center; + -webkit-appearance: none; +} + +.satus-color-picker__value { + width: 22px; + height: 22px; + + border: 2px solid rgba(0, 0, 0, .16); + border-radius: 50%; +} + + +/*-------------------------------------------------------------- +# MODAL +--------------------------------------------------------------*/ + +.satus-modal--color-picker .satus-modal__surface { + padding: 8px; +} + +.satus-color-picker__palette { + position: relative; + + overflow: hidden; + + width: 100%; + height: 256px; + margin: 0 0 4px; + + border-radius: 5px; + background-color: #f00; +} + +.satus-color-picker__palette:before { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + + content: ''; + + background-image: linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, transparent); +} + +.satus-color-picker__cursor { + position: absolute; + + width: 5px; + height: 5px; + + transform: translate(-50%, -50%); + pointer-events: none; + + border: 1px solid #fff; + border-radius: 50%; + box-shadow: 0 0 0 1px #000; +} + +.satus-modal--color-picker .satus-modal__surface .satus-section--color { + margin: 8px 4px; + + align-items: center; +} + +.satus-color-picker__color { + width: 32px; + height: 32px; + margin: 0 16px 0 0; + + border: 2px solid rgba(0, 0, 0, .16); + border-radius: 50%; + background: #f00; +} + +.satus-slider.satus-color-picker__hue { + padding: 0; + + flex: 1; +} + +.satus-color-picker__hue .satus-slider__track-container { + height: 16px; + margin: 0; + + border-radius: 4px; + background-image: linear-gradient(90deg, #f00, #ff2a00, #f50, #ff7f00, #fa0, #ffd400, #ff0, #d4ff00, #af0, #80ff00, #5f0, #2bff00, #0f0, #00ff2b, #0f5, #00ff80, #0fa, #00ffd5, #0ff, #00d4ff, #0af, #007fff, #05f, #002bff, #00f, #2a00ff, #50f, #7f00ff, #a0f, #d400ff, #f0f, #ff00d4, #f0a, #ff0080, #f05, #ff002b, #f00); +} + +.satus-color-picker__hue .satus-slider__track-container::before { + display: none; +} + +.satus-color-picker__hue .satus-slider__track { + background: transparent; +} + +.satus-color-picker__hue .satus-slider__track::after { + width: 16px; + height: 16px; + + background: #fff; + box-shadow: 0 0 4px rgb(0, 0, 0, .64); +} +/*-------------------------------------------------------------- +>>> SPAN +--------------------------------------------------------------*/ + +.satus-span--title { + font-weight: 500; + overflow: hidden; + + white-space: nowrap; + text-overflow: ellipsis; + + flex: 1; +} +/*-------------------------------------------------------------- +>>> BUTTON +---------------------------------------------------------------- +# Base +# Basic +# Icon +--------------------------------------------------------------*/ + + +/*-------------------------------------------------------------- +# BASE +--------------------------------------------------------------*/ + +.satus-button { + font: inherit; + + position: relative; + + display: inline-flex; + overflow: hidden; + + height: 36px; + padding: 8px; + + transition: background-color .3s cubic-bezier(.25, .8, .5, 1); + + color: inherit; + border: none; + border-radius: 6px; + outline: none; + background: transparent; + + appearance: none; + align-items: center; +} + +.satus-button:hover { + cursor: pointer; + + background-color: rgba(var(--satus-light), .06); +} + +.satus-button:focus { + background-color: rgba(var(--satus-light), .08); +} + +.satus-button svg { + width: 100%; + max-width: 24px; + height: 100%; + max-height: 24px; +} + + +/*-------------------------------------------------------------- +# BASIC +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# ICON +--------------------------------------------------------------*/ + +.satus-button--icon { + width: 40px; + height: 40px; + + border-radius: 50%; +} + +.satus-button--icon svg { + width: 24px; + height: 24px; +} +/*-------------------------------------------------------------- +>>> HEADER +--------------------------------------------------------------*/ + +.satus-header { + z-index: 1; + + display: flex; + + height: 56px; + padding: 0 12px; + + color: var(--satus-header-foreground); + background: var(--satus-header-background); + box-shadow: var(--satus-header-shadow); + + justify-content: space-between; + align-items: center; +} +/*-------------------------------------------------------------- +>>> RADIO +--------------------------------------------------------------*/ + +.satus-radio { + position: relative; + display: flex; +} + +.satus-radio__input { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: 0; + margin: 0; + z-index: 9; +} + +.satus-radio__content { + flex: 1; + padding: 0 12px; +} + +.satus-radio__i { + width: 16px; + height: 16px; + border: 1px solid rgba(var(--satus-light),.64); + border-radius: 50%; + transition: 200ms; +} + +.satus-radio__input + .satus-radio__i::before { + width: 8px; + height: 8px; + margin: 3px; + border-radius: 50%; + background: var(--satus-primary); + content: ''; + display: block; + transform: scale(0); + transition: 200ms; +} + +.satus-radio__input:checked + .satus-radio__i { + border-color: var(--satus-primary); +} + +.satus-radio__input:checked + .satus-radio__i::before { + background: var(--satus-primary); + transform: scale(1); +} +/*-------------------------------------------------------------- +>>> SLIDER +--------------------------------------------------------------*/ + +.satus-slider { + display: flex; + + flex-wrap: wrap; +} + +.satus-slider__content { + width: 100%; + display: flex; + justify-content: space-between; +} + +.satus-slider__input[type='text'] { + appearance: none; + background: transparent; + border: none; + color: inherit; + font: inherit; + padding: 0; + margin: 0; + outline: none; + width: 64px; + text-align: right; +} + +.satus-slider__track-container { + position: relative; + + width: 100%; + height: 20px; + margin: 10px 0 -2px; +} + +.satus-slider__track-container::before { + position: absolute; + top: calc(50% - 1px); + left: 0; + + width: 100%; + height: 2px; + + content: ''; + + opacity: .24; + background: var(--satus-primary); +} + +.satus-slider__input[type='range'] { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + margin: 0; + + opacity: 0; +} + +.satus-slider__track { + position: absolute; + top: calc(50% - 1px); + left: 0; + + width: 0; + height: 2px; + + background: var(--satus-primary); + pointer-events: none; +} + +.satus-slider__track::before { + position: absolute; + top: 50%; + right: 0; + transform: translate(50%, -50%); + display: block; + width: 16px; + height: 16px; + content: ''; + transition: width 200ms, height 200ms, opacity 200ms; + opacity: 0; + border-radius: 50%; + background: var(--satus-primary); +} + +.satus-slider__input:focus + .satus-slider__track::before { + width: 24px; + height: 24px; + opacity: .16; +} + +.satus-slider__input:active + .satus-slider__track::before { + width: 26px; + height: 26px; + opacity: .16; +} + +.satus-slider__track::after { + position: absolute; + top: 50%; + right: 0; + transform: translate(50%, -50%); + + width: 10px; + height: 10px; + + content: ''; + + border-radius: 50%; + background: var(--satus-primary); + pointer-events: none; + transition: width 200ms, height 200ms, opacity 200ms; +} + +.satus-slider__input:active + .satus-slider__track::after +{ + width: 12px; + height: 12px; +} + + + + + +.satus-slider--row { + flex-wrap: nowrap; + justify-content: space-between; +} + +.satus-slider--row .satus-slider__track-container { + margin: 0 0 -2px 12px; + max-width: 50%; +} +/*-------------------------------------------------------------- +>>> TABS +--------------------------------------------------------------*/ + +.satus-tabs { + position: relative; + + display: flex; + + border: 2px solid var(--satus-tabs-background); + border-radius: 4px; + background: var(--satus-tabs-background); +} + +.satus-tabs::before { + position: absolute; + top: 0; + left: calc(calc(100% / var(--satus-tabs-count)) * var(--satus-tabs-current)); + + width: calc(100% / var(--satus-tabs-count)); + height: 100%; + + content: ''; + transition: left .25s; + + border-radius: 3px; + background: var(--satus-tabs-foreground); +} + +.satus-tabs__button { + font: inherit; + + position: relative; + z-index: 1; + + overflow: hidden; + + margin: 0; + padding: 0 8px; + + text-overflow: ellipsis; + + color: inherit; + border: none; + border-radius: 3px; + outline: none; + background: transparent; + + flex: 1; + appearance: none; +} +/*-------------------------------------------------------------- +>>> SHORTCUT: +---------------------------------------------------------------- +# +--------------------------------------------------------------*/ + +.satus-shortcut__value { + font-size: 11px; + + display: flex; + + margin-left: 16px; + + text-transform: uppercase; + + align-items: center; + flex: 1; + justify-content: flex-end; +} + +.satus-shortcut__actions { + display: flex; + + justify-content: flex-end; +} + +.satus-shortcut__actions .satus-button { + height: 32px; + margin: 8px 4px 0; + + border-radius: 8px; + background: rgba(0, 0, 0, .15); +} + +.satus-shortcut__actions .satus-button:hover { + background: rgba(0, 0, 0, .25); +} + +.satus-shortcut__primary { + display: flex; + + height: 64px; + margin: 0 0 12px; + padding: 16px; + + border-radius: 3px; + background: rgba(0, 0, 0, .16); + + align-items: center; +} + +.satus-shortcut__key { + display: flex; + + min-width: 32px; + height: 32px; + padding: 4px 8px; + + + border-radius: 4px; + background: #fff; + box-shadow: 0 1px 3px rgba(0, 0, 0, .15), inset 0 -3px 0 rgba(0, 0, 0, .1); + + align-items: center; + justify-content: center; +} + +.satus-shortcut__value>.satus-shortcut__key { + font-size: 12px; + + min-width: 24px; + height: 24px; +} + +.satus-shortcut__plus { + position: relative; + + width: 12px; + height: 12px; + margin: 8px; +} + +.satus-shortcut__plus::before { + position: absolute; + top: 0; + left: 5px; + + width: 2px; + height: 12px; + + content: ''; + + background-color: #aaa; +} + +.satus-shortcut__plus::after { + position: absolute; + top: 5px; + left: 0; + + width: 12px; + height: 2px; + + content: ''; + + background-color: #aaa; +} + +.satus-shortcut__mouse { + position: relative; + + display: flex; + + width: 28px; + height: 36px; + + border-radius: 50%; + border-top-left-radius: 12px; + border-top-right-radius: 12px; + background: #fff; + box-shadow: 0 1px 3px rgba(0, 0, 0, .15), inset 0 -3px 0 rgba(0, 0, 0, .1); +} + +.satus-shortcut__value>.satus-shortcut__mouse { + width: 22px; + height: 28px; +} + +.satus-shortcut__mouse>div { + position: absolute; + top: 0; + left: calc(50% - 1px); + + width: 2px; + height: 11px; + + border-radius: 2px; + background: #ccc; +} + +.satus-shortcut__mouse::before { + position: absolute; + top: -16%; + right: 14%; + + width: 2px; + height: 60%; + + content: ''; + + background: #f96754; +} + +.satus-shortcut__mouse.false::before { + top: -6%; +} + +.satus-shortcut__mouse.false::after { + position: absolute; + top: -20%; + right: calc(14% - 4px); + + width: 0; + height: 0; + + content: ''; + + border-right: 5px solid transparent; + border-bottom: 8px solid #f96754; + border-left: 5px solid transparent; +} + +.satus-shortcut__mouse.true::after { + position: absolute; + top: 40%; + right: calc(14% - 4px); + + width: 0; + height: 0; + + content: ''; + + border-top: 8px solid #f96754; + border-right: 5px solid transparent; + border-left: 5px solid transparent; +} + +.satus-shortcut__mouse.click::before { + position: absolute; + top: 0; + left: -1px; + + width: 10px; + height: 10px; + + content: ''; + + border-radius: 50%; + background: #f96754; +} + +.satus-shortcut__mouse.middle::before { + position: absolute; + z-index: 1; + top: 0; + left: 50%; + + width: 10px; + height: 10px; + + content: ''; + transform: translateX(-50%); + + border-radius: 50%; + background: #f96754; +} + +.satus-shortcut__mouse.context::before { + position: absolute; + top: 0; + left: 15px; + + width: 10px; + height: 10px; + + content: ''; + + border-radius: 50%; + background: #f96754; +} + +.satus-section_shortcut { + width: 100%; + margin: 8px 0 0; + + justify-content: flex-end; +} + +.satus-button_shortcut { + font-weight: 500; + + overflow: hidden; + + height: 28px; + min-height: 28px; + margin-right: 2px; + padding: 4px 8px; + + text-transform: uppercase; + + color: #f96754; + border-radius: 4px; +} +/*-------------------------------------------------------------- +>>> CHECKBOX +--------------------------------------------------------------*/ + +.satus-checkbox { + position: relative; + + display: flex; + + cursor: pointer; + + align-items: center; +} + +.satus-checkbox__input { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + margin: 0; + padding: 0; + + opacity: 0; + border: none; + + appearance: none; +} + +.satus-checkbox__checkmark { + position: relative; + + display: flex; + + width: 16px; + min-width: 16px; + height: 16px; + min-height: 16px; + margin: 0 12px 0 0; + + content: ''; + + border: 1px solid var(--satus-checkbox-border); + border-radius: 3px; + background: var(--satus-checkbox-background); +} + +.satus-checkbox[data-value=true] .satus-checkbox__checkmark { + border-color: var(--satus-primary); + background: var(--satus-primary); +} + +.satus-checkbox[data-value=true] .satus-checkbox__checkmark::before { + position: absolute; + top: 3px; + left: 2px; + + width: 8px; + height: 4px; + + content: ''; + transform: rotate(-45deg); + + border: 2px solid var(--satus-checkbox-foreground); + border-top: none; + border-right: none; +} +/*-------------------------------------------------------------- +>>> SWITCH +---------------------------------------------------------------- +# Container +# Track +# Thumb +--------------------------------------------------------------*/ + + +/*-------------------------------------------------------------- +# CONTAINER +--------------------------------------------------------------*/ + +.satus-switch { + font: inherit; + + display: flex; + + transition: background-color 75ms; + + color: inherit; + border: none; + outline: none; + background-color: transparent; + + justify-content: space-between; + align-items: center; +} + +.satus-switch:hover { + cursor: pointer; +} + +.satus-switch__content { + display: flex; + + align-items: center; +} + +.satus-switch__content>svg { + width: 20px; + height: 18px; + margin: 0 14px 0 0; + + opacity: .64; +} + + +/*-------------------------------------------------------------- +# TRACK +--------------------------------------------------------------*/ + +.satus-switch>i { + width: 32px; + height: 18px; + + transition: background-color 150ms; + + border-radius: 18px; + background-color: var(--satus-switch-track); + + flex: 0 0 32px; +} + +.satus-section--card .satus-switch>i { + margin-left: 16px; +} + +.satus-switch[data-value='true']>i { + background-color: var(--satus-switch-track--checked); +} + + +/*-------------------------------------------------------------- +# THUMB +--------------------------------------------------------------*/ + +.satus-switch>i::before { + display: block; + + width: 14px; + height: 14px; + margin: 2px; + + content: ''; + transition: transform 150ms cubic-bezier(.4, 0, .2, 1); + + border-radius: 50%; + background-color: var(--satus-switch-thumb); + + will-change: transform; +} + +.satus-switch[data-value='true']>i::before { + transform: translateX(14px); +} +/*-------------------------------------------------------------- +>>> CONTEXT MENU +--------------------------------------------------------------*/ + +.satus-modal--contextmenu .satus-modal__scrim { + visibility: visible; + + transform: none; + animation: none; + + opacity: 1; + background: none; + + backdrop-filter: none; +} + +.satus-modal--contextmenu .satus-modal__surface { + position: absolute; + + visibility: visible; + + min-width: 200px; + max-width: 200px; + margin: 0; + padding: 4px 0; + + transform: none; + animation: none; + + opacity: 1; + border-radius: 4px; + box-shadow: 0 0 0 1px rgba(var(--satus-light), .1); +} + +.satus-modal--contextmenu .satus-modal__surface>* { + display: flex; + + height: 32px; + padding: 0 16px; + + align-items: center; +} + +.satus-modal--contextmenu .satus-modal__surface .satus-button svg { + width: 20px; + height: 18px; + margin: 0 14px 0 0; + + opacity: .75; + + fill: none; + stroke: var(--satus-primary); + flex: 0 0 20px; +} + +.satus-modal--contextmenu .satus-modal__surface .satus-button .satus-span { + overflow: hidden; + + white-space: nowrap; + text-overflow: ellipsis; +} +/*-------------------------------------------------------------- +>>> SORTABLE +--------------------------------------------------------------*/ + +.satus-sortable__chosen { + color: var(--satus-sortable-text) !important; + background-color: var(--satus-sortable-background) !important; +} + +.satus-sortable__ghost { + position: fixed !important; + z-index: 999 !important; + top: 0 !important; + left: 0 !important; + + pointer-events: none !important; + + opacity: .8 !important; + box-shadow: 0 1px 3px rgb(0, 0, 0, .2), 0 4px 8px rgb(0, 0, 0, .1), inset 0 0 0 1px rgb(0, 0, 0, .16) !important; + + will-change: transform !important; +} diff --git a/assets/satus/satus.js b/assets/satus/satus.js new file mode 100644 index 000000000..17e608dcd --- /dev/null +++ b/assets/satus/satus.js @@ -0,0 +1,3371 @@ +/*-------------------------------------------------------------- +>>> CORE +---------------------------------------------------------------- +# Global variable +# Animations duration +# Append +# Attr +# Camelize +# Snakelize +# Class +# Create element +# CSS +# Empty +# Element index +# Events +# Get property +# Is +# On +# Render +# Sort +# Storage + # Clear + # Get + # Import + # Set + # Remove + # On changed +# Localization +# Log +# Text +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GLOBAL VARIABLE +--------------------------------------------------------------*/ + +var satus = { + components: {}, + events: { + data: {} + }, + locale: { + data: {} + }, + storage: { + data: {}, + type: 'extension' + } +}; + + +/*-------------------------------------------------------------- +# ANIMATION DURATION +--------------------------------------------------------------*/ + +satus.getAnimationDuration = function(element) { + return Number(window.getComputedStyle(element).getPropertyValue('animation-duration').replace(/[^0-9.]/g, '')) * 1000; +}; + + +/*-------------------------------------------------------------- +# APPEND +--------------------------------------------------------------*/ + +satus.append = function(child, parent) { + (parent || document.body).appendChild(child); +}; + + +/*-------------------------------------------------------------- +# ATTR +--------------------------------------------------------------*/ + +satus.attr = function(element, attributes) { + if (attributes) { + for (var name in attributes) { + var value = attributes[name]; + + if (satus.isFunction(value)) { + value = value(); + } + + if (element.namespaceURI) { + if (value === false) { + element.removeAttributeNS(null, name); + } else { + element.setAttributeNS(null, name, value); + } + } else { + if (value === false) { + element.removeAttribute(name); + } else { + element.setAttribute(name, value); + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# CAMELIZE +--------------------------------------------------------------*/ + +satus.camelize = function(string) { + var result = ''; + + for (var i = 0, l = string.length; i < l; i++) { + var character = string[i]; + + if (character === '_' || character === '-') { + i++; + + result += string[i].toUpperCase(); + } else { + result += character; + } + } + + return result; +}; + + +/*-------------------------------------------------------------- +# SNAKELIZE +--------------------------------------------------------------*/ + +satus.snakelize = function(string) { + return string.replace(/([A-Z])/g, '-$1').toLowerCase(); +}; + + +/*-------------------------------------------------------------- +# CLASS +--------------------------------------------------------------*/ + +satus.class = function(element, className) { + if (className) { + element.classList.add(className); + } +}; + + +/*-------------------------------------------------------------- +# CLONE +--------------------------------------------------------------*/ + +satus.clone = function(item) { + var clone = item.cloneNode(true), + parent_css = window.getComputedStyle(item.parentNode), + css = window.getComputedStyle(item), + style = ''; + + for (var i = 0, l = css.length; i < l; i++) { + var property = css[i], + value = css.getPropertyValue(property); + + if (property === 'background-color') { + value = parent_css.getPropertyValue('background-color'); + } + + if (['box-shadow', 'left', 'top', 'bottom', 'right', 'opacity'].indexOf(property) === -1) { + style += property + ':' + value + ';'; + } + } + + + clone.setAttribute('style', style); + + return clone; +}; + + +/*-------------------------------------------------------------- +# CREATE ELEMENT +--------------------------------------------------------------*/ + +satus.createElement = function(tagName, componentName, namespaceURI) { + var camelizedTagName = this.camelize(tagName), + className = 'satus-' + (componentName || tagName), + element, + match = className.match(/__[^__]+/g); + + if (!namespaceURI) { + if (tagName === 'svg') { + namespaceURI = 'http://www.w3.org/2000/svg'; + } + } + + if (namespaceURI) { + element = document.createElementNS(namespaceURI, tagName); + } else if (this.components[camelizedTagName]) { + element = document.createElement('div'); + } else { + element = document.createElement(tagName); + } + + if (match && match.length > 1) { + className = className.slice(0, className.indexOf('__')) + match[match.length - 1]; + } + + element.componentName = componentName; + element.className = className; + + element.createChildElement = function(tagName, componentName, namespaceURI) { + var element = satus.createElement(tagName, this.componentName + '__' + (componentName || tagName), namespaceURI); + + if (this.baseProvider) { + element.baseProvider = this.baseProvider; + } + + if (this.layersProvider) { + element.layersProvider = this.layersProvider; + } + + this.appendChild(element); + + return element; + }; + + return element; +}; + + +/*-------------------------------------------------------------- +# CSS +--------------------------------------------------------------*/ + +satus.css = function(element, property) { + return window.getComputedStyle(element).getPropertyValue(property); +}; + + +/*-------------------------------------------------------------- +# CRYPT +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# DECRYPTION +--------------------------------------------------------------*/ + +satus.decrypt = async function(text, password) { + var iv = text.slice(0, 24).match(/.{2}/g).map(byte => parseInt(byte, 16)), + algorithm = { + name: 'AES-GCM', + iv: new Uint8Array(iv) + }; + + try { + var data = new TextDecoder().decode(await crypto.subtle.decrypt( + algorithm, + await crypto.subtle.importKey( + 'raw', + await crypto.subtle.digest('SHA-256', new TextEncoder().encode(password)), + algorithm, + false, ['decrypt'] + ), + new Uint8Array(atob(text.slice(24)).match(/[\s\S]/g).map(ch => ch.charCodeAt(0))) + )); + } catch (err) { + return false; + } + + return data; +}; + + +/*-------------------------------------------------------------- +# ENCRYPTION +--------------------------------------------------------------*/ + +satus.encrypt = async function(text, password) { + var iv = crypto.getRandomValues(new Uint8Array(12)), + algorithm = { + name: 'AES-GCM', + iv: iv + }; + + return Array.from(iv).map(b => ('00' + b.toString(16)).slice(-2)).join('') + btoa(Array.from(new Uint8Array(await crypto.subtle.encrypt( + algorithm, + await crypto.subtle.importKey('raw', await crypto.subtle.digest('SHA-256', new TextEncoder().encode(password)), algorithm, false, ['encrypt']), + new TextEncoder().encode(text) + ))).map(byte => String.fromCharCode(byte)).join('')); +}; + + +/*-------------------------------------------------------------- +# DATA +--------------------------------------------------------------*/ + +satus.data = function(element, data) { + if (data) { + for (var key in data) { + var value = data[key]; + + if (satus.isFunction(value)) { + value = value(); + } + + element.dataset[key] = value; + } + } +}; + + +/*-------------------------------------------------------------- +# EMPTY +--------------------------------------------------------------*/ + +satus.empty = function(element, exclude = []) { + for (var i = element.childNodes.length - 1; i > -1; i--) { + var child = element.childNodes[i]; + + if (exclude.indexOf(child) === -1) { + child.remove(); + } + } +}; + + +/*-------------------------------------------------------------- +# ELEMENT INDEX +--------------------------------------------------------------*/ + +satus.elementIndex = function(element) { + return Array.prototype.slice.call(element.parentNode.children).indexOf(element); +}; + + +/*-------------------------------------------------------------- +# EVENTS +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# ON +--------------------------------------------------------------*/ + +satus.events.on = function(type, handler) { + if (!this.data[type]) { + this.data[type] = []; + } + + this.data[type].push(handler); +}; + + +/*-------------------------------------------------------------- +# TRIGGER +--------------------------------------------------------------*/ + +satus.events.trigger = function(type, data) { + var handlers = this.data[type]; + + if (handlers) { + for (var i = 0, l = handlers.length; i < l; i++) { + try {handlers[i](data);} catch(err){console.log(err);} finally{setTimeout(handlers[i](data),300);} + } + } +}; + + +/*-------------------------------------------------------------- +# FETCH +--------------------------------------------------------------*/ + +satus.fetch = function(url, success, error, type) { + fetch(url).then(function(response) { + if (response.ok) { + response[type || 'json']().then(success); + } else { + error(); + } + }).catch(function() { + error(success); + }); +}; + + +/*-------------------------------------------------------------- +# GET PROPERTY +--------------------------------------------------------------*/ + +satus.getProperty = function(object, string) { + var properties = string.split('.'); + + for (var i = 0, l = properties.length; i < l; i++) { + var property = properties[i]; + + console.log(object); + + if (object = object[property]) { + if (i === l - 1) { + return object; + } + } else { + return false; + } + } +}; + + +/*-------------------------------------------------------------- +# INDEX OF +--------------------------------------------------------------*/ + +satus.indexOf = function(child, parent) { + var index = 0; + + if (satus.isArray(parent)) { + index = parent.indexOf(child); + } else { + while ((child = child.previousElementSibling)) { + index++; + } + } + + return index; +}; + + +/*-------------------------------------------------------------- +# TO INDEX +--------------------------------------------------------------*/ + +satus.toIndex = function(index, child, parent) { + if (satus.isArray(parent)) { + parent.splice(index, 0, parent.splice(satus.indexOf(child, parent), 1)[0]) + } +}; + + +/*-------------------------------------------------------------- +# ISSET +--------------------------------------------------------------*/ + +satus.isset = function(target, is_object) { + if (is_object === true) { + var keys = target.split('.').filter(function(value) { + return value != ''; + }); + + for (var i = 0, l = keys.length; i < l; i++) { + if (satus.isset(target[keys[i]])) { + target = target[keys[i]]; + } else { + return undefined; + } + } + + return target; + } else { + if (target === null || target === undefined) { + return false; + } + } + + return true; +}; + + +/*-------------------------------------------------------------- +# IS +--------------------------------------------------------------*/ + +satus.isArray = function(target) { + if (Array.isArray(target)) { + return true; + } else { + return false; + } +}; + +satus.isBoolean = function(target) { + return target === false || target === true; +}; + +satus.isElement = function(target) { + return target instanceof Element || target instanceof HTMLDocument; +}; + +satus.isFunction = function(target) { + return typeof target === 'function'; +}; + +satus.isNodeList = function(target) { + return target instanceof NodeList; +}; + +satus.isNumber = function(target) { + if (typeof target === 'number' && isNaN(target) === false) { + return true; + } else { + return false; + } +}; + +satus.isObject = function(target) { + return target instanceof Object && target !== null; +}; + +satus.isString = function(target) { + if (typeof target === 'string') { + return true; + } else { + return false; + } +}; + + +/*-------------------------------------------------------------- +# ON +--------------------------------------------------------------*/ + +satus.on = function(element, listeners) { + if (listeners) { + for (var type in listeners) { + var listener = listeners[type]; + + if (type === 'selectionchange') { + element = document; + } + + if (satus.isFunction(listener)) { + element.addEventListener(type, listener); + } else if (satus.isArray(listener) || satus.isObject(listener)) { + element.addEventListener(type, function(event) { + var target = this.skeleton.on[event.type], + layers = this.layersProvider; + + target.parentSkeleton = this.skeleton; + target.parentElement = this; + + if (!layers && this.baseProvider.layers.length > 0) { + layers = this.baseProvider.layers[0]; + } + + if (target.prepend === true) { + satus.prepend(target, this.parentNode); + } else if (layers && target.component !== 'modal') { + layers.open(target); + } else { + satus.render(target, this.baseProvider); + } + }); + } else if (satus.isString(listener)) { + element.addEventListener(type, function() { + var match = this.skeleton.on[event.type].match(/(["'`].+["'`]|[^.()]+)/g), + target = this.baseProvider; + + for (var i = 0, l = match.length; i < l; i++) { + var key = match[i]; + + if (target.skeleton[key]) { + target = target.skeleton[key]; + } else { + if (typeof target[key] === 'function') { + target[key](); + } else { + target = target[key]; + } + } + + if (target.rendered) { + target = target.rendered; + } + } + }); + } + } + } +}; + + +/*-------------------------------------------------------------- +# PARENTIFY +--------------------------------------------------------------*/ + +satus.parentify = function(parentObject, exclude) { + for (var key in parentObject) { + if (exclude.indexOf(key) === -1) { + var child = parentObject[key]; + + if (satus.isset(child)) { + child.parentObject = parentObject; + + if ( + satus.isObject(child) && + !satus.isArray(child) && + !satus.isElement(child) && + !satus.isFunction(child) + ) { + this.parentify(child, exclude); + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# PREPEND +--------------------------------------------------------------*/ + +satus.prepend = function(child, parent) { + if (this.isElement(child)) { + parent.prepend(child); + } else if (this.isObject(child)) { + this.render(child, parent, undefined, undefined, true); + } +}; + + +/*-------------------------------------------------------------- +# PROPERTIES +--------------------------------------------------------------*/ + +satus.properties = function(element, properties) { + if (properties) { + for (var key in properties) { + var property = properties[key]; + + if (['placeholder', 'title'].indexOf(key) !== -1) { + property = satus.locale.get(property); + } + + element[key] = property; + } + } +}; + + +/*-------------------------------------------------------------- +# REMOVE +--------------------------------------------------------------*/ + +satus.remove = function(child, parent) { + if (satus.isArray(parent)) { + parent.splice(satus.indexOf(child, parent), 1); + } +}; + + +/*-------------------------------------------------------------- +# RENDER +--------------------------------------------------------------*/ + +satus.render = function(skeleton, container, property, childrenOnly, prepend, skip_children) { + var element; + + if (skeleton.component && childrenOnly !== true) { + var tagName = skeleton.component, + camelizedTagName = this.camelize(tagName), + namespaceURI = skeleton.namespaceURI; + + if (!namespaceURI) { + if (tagName === 'svg') { + namespaceURI = 'http://www.w3.org/2000/svg'; + } else if (skeleton.parentSkeleton && skeleton.parentSkeleton.namespaceURI) { + namespaceURI = skeleton.parentSkeleton.namespaceURI; + } + + skeleton.namespaceURI = namespaceURI; + } + + element = this.createElement(tagName, tagName, namespaceURI); + + skeleton.rendered = element; + element.skeleton = skeleton; + element.childrenContainer = element; + element.componentName = tagName; + + if (skeleton.variant) { + var variant = skeleton.variant; + + if (this.isFunction(variant)) { + variant = variant(); + } + + if (satus.isArray(variant)) { + for (var i = 0, l = variant.length; i < l; i++) { + element.className += ' satus-' + tagName + '--' + variant[i]; + } + } else { + element.className += ' satus-' + tagName + '--' + variant; + } + } + + if (skeleton.id) { + element.id = skeleton.id; + } + + if (container) { + if (container.baseProvider) { + element.baseProvider = container.baseProvider; + } + + if (container.layersProvider) { + element.layersProvider = container.layersProvider; + } + } + + this.attr(element, skeleton.attr); + this.style(element, skeleton.style); + this.data(element, skeleton.data); + this.class(element, skeleton.class); + this.properties(element, skeleton.properties); + this.on(element, skeleton.on); + + element.storage = (function() { + var parent = element, + key = skeleton.storage || property || false, + value; + + if (satus.isFunction(key)) { + key = key(); + } + + if (skeleton.storage !== false) { + if (key) { + value = satus.storage.get(key); + } + + if (skeleton.hasOwnProperty('value') && value === undefined) { + value = skeleton.value; + } + } + + return Object.defineProperties({}, { + key: { + get: function() { + return key; + }, + set: function(string) { + key = string; + } + }, + value: { + get: function() { + return value; + }, + set: function(val) { + value = val; + + if (skeleton.storage !== false) { + satus.storage.set(key, val); + } + + parent.dispatchEvent(new CustomEvent('change')); + } + } + }); + }()); + + if (this.components[camelizedTagName]) { + this.components[camelizedTagName](element, skeleton); + } + + this.text(element.childrenContainer, skeleton.text); + this.prepend(skeleton.before, element.childrenContainer); + + if (prepend) { + this.prepend(element, container); + } else { + this.append(element, container); + } + + if (skeleton.hasOwnProperty('parentSkeleton') === false && container) { + skeleton.parentSkeleton = container.skeleton; + } + + satus.events.trigger('render', element); + + element.dispatchEvent(new CustomEvent('render')); + + container = element.childrenContainer || element; + } + + if ((!element || element.renderChildren !== false) & skip_children !== true) { + for (var key in skeleton) { + var item = skeleton[key]; + + if (key !== 'parentSkeleton' && key !== 'parentElement' && key !== 'parentObject' && key !== 'before') { + if (item && item.component) { + item.parentSkeleton = skeleton; + + if (element) { + item.parentElement = element; + } + + this.render(item, container, key, undefined, prepend); + } + } + } + } + + return element; +}; + + +/*-------------------------------------------------------------- +# SORT +--------------------------------------------------------------*/ + +satus.sort = function(array, order, property) { + var type; + + if (property) { + type = typeof array[0][property]; + } else { + type = typeof array[0]; + } + + if (order !== 'desc') { + if (type === 'number') { + if (property) { + return array.sort(function(a, b) { + return a[property] - b[property]; + }); + } else { + return array.sort(function(a, b) { + return a - b; + }); + } + } else if (type === 'string') { + if (property) { + return array.sort(function(a, b) { + return a[property].localeCompare(b[property]); + }); + } else { + return array.sort(function(a, b) { + return a.localeCompare(b); + }); + } + } + } else { + if (type === 'number') { + if (property) { + return array.sort(function(a, b) { + return b[property] - a[property]; + }); + } else { + return array.sort(function(a, b) { + return b - a; + }); + } + } else if (type === 'string') { + if (property) { + return array.sort(function(a, b) { + return b[property].localeCompare(a[property]); + }); + } else { + return array.sort(function(a, b) { + return b.localeCompare(a); + }); + } + } + } +}; + + +/*-------------------------------------------------------------- +# STORAGE +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# CLEAR +--------------------------------------------------------------*/ + +satus.storage.clear = function(callback) { + this.data = {}; + + chrome.storage.local.clear(function() { + satus.events.trigger('storage-clear'); + + if (callback) { + callback(); + } + }); +}; + + +/*-------------------------------------------------------------- +# GET +--------------------------------------------------------------*/ + +satus.storage.get = function(key, callback) { + var target = this.data; + + if (typeof key !== 'string') { + return; + } + + key = key.split('/').filter(function(value) { + return value != ''; + }); + + for (var i = 0, l = key.length; i < l; i++) { + if (satus.isset(target[key[i]])) { + target = target[key[i]]; + } else { + return undefined; + } + } + + if (typeof target === 'function') { + return target(); + } else { + return target; + } +}; + + +/*-------------------------------------------------------------- +# IMPORT +--------------------------------------------------------------*/ + +satus.storage.import = function(keys, callback) { + var self = this; + + if (typeof keys === 'function') { + callback = keys; + + keys = undefined; + } + + chrome.storage.local.get(keys, function(items) { + for (var key in items) { + self.data[key] = items[key]; + } + + satus.log('STORAGE: data was successfully imported'); + + satus.events.trigger('storage-import'); + + if (callback) { + callback(items); + } + }); +}; + + +/*-------------------------------------------------------------- +# REMOVE +--------------------------------------------------------------*/ + +satus.storage.remove = function(key, callback) { + var target = this.data; + + if (typeof key !== 'string') { + return; + } + + key = key.split('/').filter(function(value) { + return value != ''; + }); + + for (var i = 0, l = key.length; i < l; i++) { + if (satus.isset(target[key[i]])) { + if (i === l - 1) { + delete target[key[i]]; + } else { + target = target[key[i]]; + } + } else { + return undefined; + } + } + + if (key.length === 1) { + chrome.storage.local.remove(key[0]); + } else { + chrome.storage.local.set(this.data, function() { + satus.events.trigger('storage-remove'); + + if (callback) { + callback(); + } + }); + } +}; + + +/*-------------------------------------------------------------- +# SET +--------------------------------------------------------------*/ + +satus.storage.set = function(key, value, callback) { + var items = {}, + target = this.data; + + if (typeof key !== 'string') { + return; + } + + key = key.split('/').filter(function(value) { + return value != ''; + }); + + for (var i = 0, l = key.length; i < l; i++) { + var item = key[i]; + + if (i < l - 1) { + + if (target[item]) { + target = target[item]; + } else { + target[item] = {}; + + target = target[item]; + } + } else { + target[item] = value; + } + } + + for (var key in this.data) { + if (typeof this.data[key] !== 'function') { + items[key] = this.data[key]; + } + } + + chrome.storage.local.set(items, function() { + try {satus.events.trigger('storage-set');} catch(err){console.log(err);} finally{setTimeout(satus.events.trigger('storage-set'),300);} + + if (callback) { + callback(); + } + }); +}; + + +/*-------------------------------------------------------------- +# ON CHANGED +--------------------------------------------------------------*/ + +satus.storage.onchanged = function(callback) { + chrome.storage.onChanged.addListener(function(changes) { + for (var key in changes) { + callback(key, changes[key].newValue); + } + }); +}; + + +/*-------------------------------------------------------------- +# LAST +--------------------------------------------------------------*/ + +satus.last = function(variable) { + if (this.isArray(variable) || this.isNodeList(variable) || variable instanceof HTMLCollection) { + return variable[variable.length - 1]; + } +}; + + +/*-------------------------------------------------------------- +# LOCALIZATION +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GET +--------------------------------------------------------------*/ + +satus.locale.get = function(string) { + return this.data[string] || string; +}; + + +/*-------------------------------------------------------------- +# IMPORT +---------------------------------------------------------------- +satus.locale.import(url, onload, onsuccess); +--------------------------------------------------------------*/ + +satus.locale.import = function(code, callback, path) { + var language = code || window.navigator.language; + + if (language.indexOf('en') === 0) { + language = 'en'; + } + + language = language.replace('-', '_'); + + if (!path) { + path = '_locales/'; + } + + satus.fetch(chrome.runtime.getURL(path + language + '/messages.json'), function(response) { + for (var key in response) { + satus.locale.data[key] = response[key].message; + } + + //satus.log('LOCALE: data was successfully imported'); + + if (callback) { + callback(); + } + }, function(success) { + satus.fetch(chrome.runtime.getURL(path + 'en/messages.json'), success, function() { + success(); + }); + }); +}; + + +/*-------------------------------------------------------------- +# LOG +--------------------------------------------------------------*/ + +satus.log = function() { + console.log.apply(null, arguments); +}; + + +/*-------------------------------------------------------------- +# STYLE +--------------------------------------------------------------*/ + +satus.style = function(element, object) { + if (object) { + for (var key in object) { + element.style[key] = object[key]; + } + } +}; + + +/*-------------------------------------------------------------- +# TEXT +--------------------------------------------------------------*/ + +satus.text = function(element, value) { + if (value) { + if (satus.isFunction(value)) { + value = value(); + } + + element.appendChild(document.createTextNode(this.locale.get(value))); + } +}; +/*-------------------------------------------------------------- +>>> MODAL +---------------------------------------------------------------- +# Confirm +--------------------------------------------------------------*/ + +satus.components.modal = function(component, skeleton) { + component.scrim = component.createChildElement('div', 'scrim'); + component.surface = component.createChildElement('div', 'surface'); + + component.close = function() { + var component = this; + + this.classList.add('satus-modal--closing'); + + setTimeout(function() { + component.remove(); + + component.dispatchEvent(new CustomEvent('close')); + }, Number(satus.css(this.surface, 'animation-duration').replace(/[^0-9.]/g, '')) * 1000); + }; + + component.scrim.addEventListener('click', function() { + this.parentNode.close(); + }); + + if (satus.isset(skeleton.content)) { + component.surface.content = component.surface.createChildElement('p', 'content'); + + if (satus.isObject(skeleton.content)) { + satus.render(skeleton.content, component.surface.content); + } else { + component.surface.content.textContent = satus.locale.get(skeleton.content); + } + } else { + component.childrenContainer = component.surface; + } + + if (satus.components.modal[skeleton.variant]) { + satus.components.modal[skeleton.variant](component, skeleton); + } +}; + + +/*-------------------------------------------------------------- +# CONFIRM +--------------------------------------------------------------*/ + +satus.components.modal.confirm = function(component, skeleton) { + component.surface.actions = satus.render({ + component: 'section', + variant: 'align-end' + }, component.surface); + + if (skeleton.buttons) { + for (var key in skeleton.buttons) { + var button = skeleton.buttons[key]; + + if (satus.isObject(button) && button.component === 'button') { + satus.render(button, component.surface.actions).modalProvider = component; + } + } + } else { + satus.render({ + cancel: { + component: 'button', + text: 'cancel', + properties: { + modalProvider: component, + }, + on: { + click: function() { + this.modalProvider.dispatchEvent(new CustomEvent('cancel')); + this.modalProvider.close(); + } + } + }, + ok: { + component: 'button', + text: 'ok', + properties: { + modalProvider: component, + }, + on: { + click: function() { + this.modalProvider.dispatchEvent(new CustomEvent('confirm')); + this.modalProvider.close(); + } + } + } + }, component.surface.actions); + } +}; +/*-------------------------------------------------------------- +>>> GRID +--------------------------------------------------------------*/ + +satus.components.grid = function(component, skeleton) { + console.log(component, skeleton); +}; +/*-------------------------------------------------------------- +>>> TEXT FIELD +--------------------------------------------------------------*/ + +satus.components.textField = function(component, skeleton) { + var container = component.createChildElement('div', 'container'), + input = container.createChildElement(skeleton.rows === 1 ? 'input' : 'textarea'), + display = container.createChildElement('div', 'display'), + line_numbers = display.createChildElement('div', 'line-numbers'), + pre = display.createChildElement('pre'), + selection = display.createChildElement('div', 'selection'), + cursor = display.createChildElement('div', 'cursor'), + hiddenValue = container.createChildElement('pre', 'hidden-value'); + + if (skeleton.rows === 1) { + component.setAttribute('multiline', 'false'); + + component.multiline = false; + } + + component.placeholder = skeleton.placeholder; + component.input = input; + component.display = display; + component.lineNumbers = line_numbers; + component.pre = pre; + component.hiddenValue = hiddenValue; + component.selection = selection; + component.cursor = cursor; + component.syntax = { + current: 'text', + handlers: { + regex: function(value, target) { + var regex_token = /\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g, + char_class_token = /[^\\-]+|-|\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)/g, + char_class_parts = /^(\[\^?)(]?(?:[^\\\]]+|\\[\S\s]?)*)(]?)$/, + quantifier = /^(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??$/, + matches = value.match(regex_token); + + function create(type, string) { + var span = document.createElement('span'); + + span.className = type; + span.textContent = string; + + target.appendChild(span); + } + + if (matches) { + for (var i = 0, l = matches.length; i < l; i++) { + var match = matches[i]; + + if (match[0] === '[') { + create('character-class', match); + } else if (match[0] === '(') { + create('group', match); + } else if (match[0] === ')') { + create('group', match); + } else if (match[0] === '\\' || match === '^') { + create('anchor', match); + } else if (quantifier.test(match)) { + create('quantifier', match); + } else if (match === '|' || match === '.') { + create('metasequence', match); + } else { + create('text', match); + } + } + } + } + }, + set: function(syntax) { + if (this.handlers[syntax]) { + this.current = syntax; + } else { + this.current = 'text'; + } + + pre.update(); + } + }; + component.focus = function() { + this.input.focus(); + }; + + if (skeleton.lineNumbers === false) { + component.setAttribute('line-numbers', 'false'); + + component.lineNumbers.setAttribute('hidden', ''); + } + + if (satus.isset(skeleton.cols)) { + input.cols = skeleton.cols; + } + + if (satus.isset(skeleton.rows)) { + input.rows = skeleton.rows; + } + + Object.defineProperty(component, 'value', { + get: function() { + return this.input.value; + }, + set: function(value) { + this.input.value = value; + } + }); + + if (skeleton.syntax) { + component.syntax.set(skeleton.syntax); + } + + selection.setAttribute('disabled', ''); + + line_numbers.update = function() { + var component = this.parentNode.parentNode.parentNode, + count = component.input.value.split('\n').length; + + if (count !== this.children.length) { + satus.empty(this); + + for (var i = 1; i <= count; i++) { + var span = document.createElement('span'); + + span.textContent = i; + + this.appendChild(span); + } + } + + component.input.style.paddingLeft = this.offsetWidth + 'px'; + }; + + pre.update = function() { + var component = this.parentNode.parentNode.parentNode, + handler = component.syntax.handlers[component.syntax.current], + value = component.value || ''; + + for (var i = this.childNodes.length - 1; i > -1; i--) { + this.childNodes[i].remove(); + } + + if (handler) { + handler(value, this); + } else { + this.textContent = value; + } + + if (value.length === 0) { + var placeholder = component.placeholder; + + if (typeof placeholder === 'function') { + placeholder = component.placeholder(); + } else { + placeholder = satus.locale.get(placeholder); + } + + this.textContent = placeholder; + } + }; + + cursor.update = function() { + var component = this.parentNode.parentNode.parentNode, + input = component.input, + value = input.value, + rows_count = value.split('\n').length, + start = input.selectionStart, + end = input.selectionEnd, + rows = value.slice(0, start).split('\n'), + top = 0; + + this.style.animation = 'none'; + + if (input.selectionDirection === 'forward') { + component.hiddenValue.textContent = value.substring(0, end); + } else { + component.hiddenValue.textContent = value.substring(0, start); + } + + top = component.hiddenValue.offsetHeight; + + component.hiddenValue.textContent = satus.last(rows); + + top -= component.hiddenValue.offsetHeight; + + if (component.multiline !== false) { + this.style.top = top + 'px'; + } + + this.style.left = component.hiddenValue.offsetWidth + component.lineNumbers.offsetWidth + 'px'; + + if (start === end) { + component.selection.setAttribute('disabled', ''); + } else { + component.selection.removeAttribute('disabled'); + + /*component.hiddenValue.textContent = value.substring(0, start); + + component.selection.style.left = component.hiddenValue.offsetWidth - input.scrollLeft + 'px'; + + component.hiddenValue.textContent = value.substring(start, end); + + component.selection.style.width = component.hiddenValue.offsetWidth + 'px';*/ + } + + this.style.animation = ''; + + component.hiddenValue.textContent = ''; + }; + + document.addEventListener('selectionchange', function(event) { + component.lineNumbers.update(); + component.pre.update(); + component.cursor.update(); + }); + + input.addEventListener('input', function() { + var component = this.parentNode.parentNode; + + component.storage.value = this.value; + + component.lineNumbers.update(); + component.pre.update(); + component.cursor.update(); + }); + + input.addEventListener('scroll', function(event) { + var component = this.parentNode.parentNode; + + component.display.style.top = -this.scrollTop + 'px'; + component.display.style.left = -this.scrollLeft + 'px'; + + component.lineNumbers.update(); + component.pre.update(); + component.cursor.update(); + }); + + component.addEventListener('change', function() { + this.lineNumbers.update(); + this.pre.update(); + this.cursor.update(); + }); + + component.value = component.storage.value || ''; + + component.addEventListener('render', function() { + component.lineNumbers.update(); + component.pre.update(); + component.cursor.update(); + }); + + if (skeleton.on) { + for (var type in skeleton.on) { + input.addEventListener(type, function(event) { + this.parentNode.parentNode.dispatchEvent(new Event(event.type)); + }); + } + } +}; +/*-------------------------------------------------------------- +>>> CHART +---------------------------------------------------------------- +# Core + # Bar +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# CORE +--------------------------------------------------------------*/ + +satus.components.chart = function(component, skeleton) { + var type = skeleton.type; + + if (this.chart[type]) { + component.classList.add('satus-chart--' + type); + + this.chart[type](component, skeleton); + } +}; + + +/*-------------------------------------------------------------- +# BAR +--------------------------------------------------------------*/ + +satus.components.chart.bar = function(component, skeleton) { + var labels = skeleton.labels, + datasets = skeleton.datasets, + bars = []; + + if (satus.isFunction(labels)) { + labels = labels(); + } + + if (satus.isFunction(datasets)) { + datasets = datasets(); + } + + if (satus.isArray(labels)) { + var container = component.createChildElement('div', 'labels'); + + for (var i = 0, l = labels.length; i < l; i++) { + var label = labels[i], + section = container.createChildElement('div', 'section'); + + section.textContent = label; + } + } + + if (satus.isArray(datasets)) { + var container = component.createChildElement('div', 'bars'); + + for (var i = 0, l = datasets.length; i < l; i++) { + var dataset = datasets[i]; + + for (var j = 0, k = dataset.data.length; j < k; j++) { + if (!satus.isElement(bars[j])) { + bars.push(container.createChildElement('div', 'bar')); + } + + var piece = bars[j].createChildElement('div', 'piece'); + + piece.title = dataset.label; + piece.style.height = dataset.data[j] + '%'; + piece.style.backgroundColor = 'rgb(' + dataset.color.join(',') + ')'; + } + } + } +}; +/*-------------------------------------------------------------- +>>> SELECT +--------------------------------------------------------------*/ + +satus.components.select = function(component, skeleton) { + var content = component.createChildElement('div', 'content'); + + component.childrenContainer = content; + component.valueElement = document.createElement('span'); + component.selectElement = document.createElement('select'); + + component.valueElement.className = 'satus-select__value'; + + component.appendChild(component.valueElement); + component.appendChild(component.selectElement); + + component.options = skeleton.options || []; + + if (satus.isFunction(component.options)) { + component.options = component.options(); + + if (!satus.isset(component.options)) { + component.options = []; + } + } + + for (var i = 0, l = component.options.length; i < l; i++) { + var option = document.createElement('option'); + + option.value = component.options[i].value; + + satus.text(option, component.options[i].text); + + component.selectElement.appendChild(option); + } + + Object.defineProperty(component, 'value', { + get() { + return this.selectElement.value; + }, + set(value) { + this.selectElement.value = value; + } + }); + + component.render = function() { + satus.empty(this.valueElement); + + if (this.selectElement.options[this.selectElement.selectedIndex]) { + satus.text(this.valueElement, this.selectElement.options[this.selectElement.selectedIndex].text); + } + + this.dataset.value = this.value; + }; + + component.selectElement.addEventListener('change', function() { + var component = this.parentNode; + + component.storage.value = this.value; + + component.render(); + }); + + component.value = component.storage.value || component.options[0].value; + + component.render(); +}; +/*-------------------------------------------------------------- +>>> DIVIDER +--------------------------------------------------------------*/ + +satus.components.divider = function() {}; +/*-------------------------------------------------------------- +>>> SECTION +--------------------------------------------------------------*/ + +satus.components.section = function(component, skeleton) { + if (satus.isString(skeleton.title)) { + component.dataset.title = satus.locale.get(skeleton.title); + } +}; +/*-------------------------------------------------------------- +>>> BASE +--------------------------------------------------------------*/ + +satus.components.base = function(component) { + component.baseProvider = component; + component.layers = []; +}; +/*-------------------------------------------------------------- +>>> ALERT +--------------------------------------------------------------*/ + +satus.components.alert = function(component, skeleton) {}; +/*-------------------------------------------------------------- +>>> TIME +--------------------------------------------------------------*/ + +satus.components.time = function(component, skeleton) { + var select_skeleton = Object.assign({}, skeleton); + + select_skeleton.component = 'select'; + select_skeleton.options = []; + + if (satus.isFunction(select_skeleton.hour12)) { + select_skeleton.hour12 = select_skeleton.hour12(); + } + + for (var i = 0, l = 24; i < l; i++) { + var hour = i, + value = i; + + if (select_skeleton.hour12 === true && i > 12) { + hour -= 12; + } + + if (hour < 10) { + hour = '0' + hour; + value = '0' + value; + } + + if (select_skeleton.hour12 === true) { + if (i > 12) { + hour += ':00 pm'; + } else { + hour += ':00 am'; + } + } else { + hour += ':00' + } + + select_skeleton.options.push({ + text: hour, + value: value + ':00' + }); + } + + satus.components.select(component, select_skeleton); + + component.classList.add('satus-select'); +}; +/*-------------------------------------------------------------- +>>> SIDEBAR +--------------------------------------------------------------*/ + +satus.components.sidebar = function(component, skeleton) {}; +/*-------------------------------------------------------------- +>>> LAYERS +--------------------------------------------------------------*/ + +satus.components.layers = function(component, skeleton) { + component.path = []; + component.renderChildren = false; + component.baseProvider.layers.push(component); + component.layersProvider = component; + + component.back = function() { + if (this.path.length > 1) { + this.path.pop(); + + this.open(this.path[this.path.length - 1], false); + } + }; + + component.open = function(skeleton, history) { + var previous_layer = satus.last(this.querySelectorAll('.satus-layers__layer')), + layer = this.createChildElement('div', 'layer'); + + if (history !== false) { + if (previous_layer) { + previous_layer.style.animation = 'fadeOutLeft 100ms linear forwards'; + layer.style.animation = 'fadeInRight 100ms linear forwards'; + } + + this.path.push(skeleton); + } else { + previous_layer.style.animation = 'fadeOutRight 100ms linear forwards'; + layer.style.animation = 'fadeInLeft 100ms linear forwards'; + } + + if (previous_layer) { + setTimeout(function() { + previous_layer.remove(); + }, satus.getAnimationDuration(previous_layer)); + } + + layer.skeleton = skeleton; + layer.baseProvider = this.baseProvider; + + satus.render(skeleton, layer, undefined, skeleton.component === 'layers'); + + this.dispatchEvent(new Event('open')); + }; + + component.update = function() { + var layer = this.querySelector('.satus-layers__layer'); + + satus.empty(layer); + satus.render(layer.skeleton, layer); + }; + + component.open(skeleton); +}; +/*-------------------------------------------------------------- +>>> LIST +--------------------------------------------------------------*/ + +satus.components.list = function(component, skeleton) { + for (var i = 0, l = skeleton.items.length; i < l; i++) { + var li = component.createChildElement('div', 'item'), + item = skeleton.items[i]; + + for (var j = 0, k = item.length; j < k; j++) { + var child = item[j]; + + if (satus.isObject(child)) { + satus.render(child, li); + } else { + var span = li.createChildElement('span'); + + span.textContent = satus.locale.get(child); + } + } + } +}; +/*-------------------------------------------------------------- +>>> COLOR PICKER +--------------------------------------------------------------*/ + +satus.components.colorPicker = function(component, skeleton) { + var component_content = component.createChildElement('div', 'content'), + component_value = component.createChildElement('span', 'value'); + + component.childrenContainer = component_content; + component.valueElement = component_value; + + component.className = 'satus-button'; + + component.addEventListener('click', function() { + var rgb = this.rgb, + hsl = satus.color.rgbToHsl(rgb), + s = hsl[1] / 100, + l = hsl[2] / 100; + + s *= l < .5 ? l : 1 - l; + + var v = l + s; + + s = 2 * s / (l + s); + + satus.render({ + component: 'modal', + variant: 'color-picker', + value: hsl, + parentElement: this, + + palette: { + component: 'div', + class: 'satus-color-picker__palette', + style: { + 'backgroundColor': 'hsl(' + hsl[0] + 'deg, 100%, 50%)' + }, + on: { + mousedown: function() { + var palette = this, + rect = this.getBoundingClientRect(), + cursor = this.children[0]; + + function mousemove(event) { + var hsl = palette.skeleton.parentSkeleton.storage.value, + x = event.clientX - rect.left, + y = event.clientY - rect.top, + s; + + x = Math.min(Math.max(x, 0), rect.width) / (rect.width / 100); + y = Math.min(Math.max(y, 0), rect.height) / (rect.height / 100); + + var v = 100 - y, + l = (2 - x / 100) * v / 2; + + hsl[1] = x * v / (l < 50 ? l * 2 : 200 - l * 2); + hsl[2] = l; + + cursor.style.left = x + '%'; + cursor.style.top = y + '%'; + + palette.nextSibling.children[0].style.backgroundColor = 'hsl(' + hsl[0] + 'deg,' + hsl[1] + '%, ' + hsl[2] + '%)'; + + event.preventDefault(); + } + + function mouseup() { + window.removeEventListener('mousemove', mousemove); + window.removeEventListener('mouseup', mouseup); + } + + window.addEventListener('mousemove', mousemove); + window.addEventListener('mouseup', mouseup); + } + }, + + cursor: { + component: 'div', + class: 'satus-color-picker__cursor', + style: { + 'left': s * 100 + '%', + 'top': 100 - v * 100 + '%' + } + } + }, + section: { + component: 'section', + variant: 'color', + + color: { + component: 'div', + class: 'satus-color-picker__color', + style: { + 'backgroundColor': 'rgb(' + this.rgb.join(',') + ')' + } + }, + hue: { + component: 'slider', + class: 'satus-color-picker__hue', + storage: false, + value: hsl[0], + max: 360, + on: { + change: function() { + var modal = this.skeleton.parentSkeleton.parentSkeleton, + hsl = modal.storage.value; + + hsl[0] = this.values[0]; + + this.previousSibling.style.backgroundColor = 'hsl(' + hsl[0] + 'deg,' + hsl[1] + '%, ' + hsl[2] + '%)'; + this.parentSkeletonNode.previousSibling.style.backgroundColor = 'hsl(' + hsl[0] + 'deg, 100%, 50%)'; + } + } + } + }, + actions: { + component: 'section', + variant: 'actions', + + reset: { + component: 'button', + text: 'reset', + on: { + click: function() { + var modal = this.skeleton.parentSkeleton.parentSkeleton, + component = modal.parentSkeleton; + + component.rgb = component.skeleton.value; + + component.storage.value = component.rgb; + + component.valueElement.style.backgroundColor = 'rgb(' + component.rgb.join(',') + ')'; + + modal.rendered.close(); + } + } + }, + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function() { + this.skeleton.parentSkeleton.parentSkeleton.rendered.close(); + } + } + }, + ok: { + component: 'button', + text: 'OK', + on: { + click: function() { + var modal = this.skeleton.parentSkeleton.parentSkeleton, + component = modal.parentSkeleton; + + component.rgb = satus.color.hslToRgb(modal.storage.value); + + component.storage.value = component.rgb; + + component.valueElement.style.backgroundColor = 'rgb(' + component.rgb.join(',') + ')'; + + modal.rendered.close(); + } + } + } + } + }, this.baseProvider.layers[0]); + }); + + component.addEventListener('render', function() { + component.rgb = this.storage.value || [0, 100, 50]; + + component_value.style.backgroundColor = 'rgb(' + component.rgb.join(',') + ')'; + }); +}; + +satus.components.colorPicker = function(component, skeleton) { + component.childrenContainer = component.createChildElement('div', 'content'); + + component.color = (function(element) { + var array; + + Object.defineProperty(element, 'value', { + get: function() { + return array; + }, + set: function(value) { + array = value; + + this.parentNode.storage.value = array; + + element.style.backgroundColor = 'rgb(' + value.join(',') + ')'; + } + }); + + element.value = component.storage.value || component.skeleton.value || [0, 0, 0]; + + return element; + })(component.createChildElement('span', 'value')); + + component.addEventListener('click', function() { + var hsl = satus.color.rgbToHsl(this.color.value), + s = hsl[1] / 100, + l = hsl[2] / 100; + + s *= l < .5 ? l : 1 - l; + + var v = l + s; + + s = 2 * s / (l + s); + + satus.render({ + component: 'modal', + variant: 'color-picker', + value: hsl, + parentElement: this, + + palette: { + component: 'div', + class: 'satus-color-picker__palette', + style: { + 'backgroundColor': 'hsl(' + hsl[0] + 'deg, 100%, 50%)' + }, + on: { + mousedown: function(event) { + if (event.button !== 0) { + return false; + } + + var palette = this, + rect = this.getBoundingClientRect(), + cursor = this.children[0]; + + function mousemove(event) { + var hsl = palette.skeleton.parentSkeleton.value, + x = event.clientX - rect.left, + y = event.clientY - rect.top, + s; + + x = Math.min(Math.max(x, 0), rect.width) / (rect.width / 100); + y = Math.min(Math.max(y, 0), rect.height) / (rect.height / 100); + + var v = 100 - y, + l = (2 - x / 100) * v / 2; + + hsl[1] = x * v / (l < 50 ? l * 2 : 200 - l * 2); + hsl[2] = l; + + cursor.style.left = x + '%'; + cursor.style.top = y + '%'; + + palette.nextSibling.children[0].style.backgroundColor = 'hsl(' + hsl[0] + 'deg,' + hsl[1] + '%, ' + hsl[2] + '%)'; + + event.preventDefault(); + } + + function mouseup() { + window.removeEventListener('mousemove', mousemove); + window.removeEventListener('mouseup', mouseup); + } + + window.addEventListener('mousemove', mousemove); + window.addEventListener('mouseup', mouseup); + } + }, + + cursor: { + component: 'div', + class: 'satus-color-picker__cursor', + style: { + 'left': s * 100 + '%', + 'top': 100 - v * 100 + '%' + } + } + }, + section: { + component: 'section', + variant: 'color', + + color: { + component: 'div', + class: 'satus-color-picker__color', + style: { + 'backgroundColor': 'rgb(' + this.color.value.join(',') + ')' + } + }, + hue: { + component: 'slider', + class: 'satus-color-picker__hue', + storage: false, + value: hsl[0], + max: 360, + on: { + input: function() { + var modal = this.skeleton.parentSkeleton.parentSkeleton, + hsl = modal.value; + + hsl[0] = this.storage.value; + + this.previousSibling.style.backgroundColor = 'hsl(' + hsl[0] + 'deg,' + hsl[1] + '%, ' + hsl[2] + '%)'; + this.parentNode.previousSibling.style.backgroundColor = 'hsl(' + hsl[0] + 'deg, 100%, 50%)'; + } + } + } + }, + actions: { + component: 'section', + variant: 'actions', + + reset: { + component: 'button', + text: 'reset', + on: { + click: function() { + var modal = this.skeleton.parentSkeleton.parentSkeleton, + component = modal.parentElement; + + component.color.value = component.skeleton.value || [0, 0, 0]; + + modal.rendered.close(); + } + } + }, + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function() { + this.skeleton.parentSkeleton.parentSkeleton.rendered.close(); + } + } + }, + ok: { + component: 'button', + text: 'OK', + on: { + click: function() { + var modal = this.skeleton.parentSkeleton.parentSkeleton, + component = modal.parentElement; + + component.color.value = satus.color.hslToRgb(modal.value); + + modal.rendered.close(); + } + } + } + } + }, this.baseProvider.layers[0]); + }); +}; +/*-------------------------------------------------------------- +>>> RADIO +--------------------------------------------------------------*/ + +satus.components.radio = function(component, skeleton) { + component.nativeControl = component.createChildElement('input', 'input'); + + component.createChildElement('i'); + + component.childrenContainer = component.createChildElement('div', 'content'); + + component.nativeControl.type = 'radio'; + + if (skeleton.group) { + component.storage.key = skeleton.group; + component.nativeControl.name = skeleton.group; + } + + if (skeleton.value) { + component.nativeControl.value = skeleton.value; + } + + component.storage.value = satus.storage.get(component.storage.key); + + if (satus.isset(component.storage.value)) { + component.nativeControl.checked = component.storage.value === skeleton.value; + } else if (skeleton.checked) { + component.nativeControl.checked = true; + } + + component.nativeControl.addEventListener('change', function() { + var component = this.parentNode; + + component.storage.value = this.value; + }); +}; +/*-------------------------------------------------------------- +>>> SLIDER +--------------------------------------------------------------*/ + +satus.components.slider = function(component, skeleton) { + var content = component.createChildElement('div', 'content'), + children_container = content.createChildElement('div', 'children-container'), + text_input = content.createChildElement('input'), + track_container = component.createChildElement('div', 'track-container'), + input = track_container.createChildElement('input', 'input'); + + component.childrenContainer = children_container; + component.textInput = text_input; + component.input = input; + component.track = track_container.createChildElement('div', 'track'); + + text_input.type = 'text'; + + input.type = 'range'; + input.min = skeleton.min || 0; + input.max = skeleton.max || 1; + input.step = skeleton.step || 1; + input.value = component.storage.value || skeleton.value || 0; + + text_input.addEventListener('blur', function() { + var component = this.parentNode.parentNode; + + component.input.value = Number(this.value.replace(/[^0-9.]/g, '')); + component.storage.value = Number(component.input.value); + + component.update(); + }); + + text_input.addEventListener('keydown', function(event) { + if (event.key === 'Enter') { + var component = this.parentNode.parentNode; + + component.input.value = Number(this.value.replace(/[^0-9.]/g, '')); + component.storage.value = Number(component.input.value); + + component.update(); + } + }); + + input.addEventListener('input', function() { + var component = this.parentNode.parentNode; + + component.storage.value = Number(this.value); + + component.update(); + }); + + component.update = function() { + var input = this.input; + + this.textInput.value = input.value; + + this.track.style.width = 100 / (input.max - input.min) * (input.value - input.min) + '%'; + }; + + component.update(); + + if (skeleton.on) { + for (var type in skeleton.on) { + input.addEventListener(type, function(event) { + this.parentNode.parentNode.dispatchEvent(new Event(event.type)); + }); + } + } +}; +/*-------------------------------------------------------------- +>>> TABS +--------------------------------------------------------------*/ + +satus.components.tabs = function(component, skeleton) { + var tabs = skeleton.items, + value = skeleton.value; + + if (satus.isFunction(tabs)) { + tabs = tabs(); + } + + if (satus.isFunction(value)) { + value = value(); + } + + for (var i = 0, l = tabs.length; i < l; i++) { + var tab = tabs[i], + button = component.createChildElement('button'); + + button.addEventListener('click', function() { + var component = this.parentNode, + index = satus.elementIndex(this); + + component.value = index; + + component.style.setProperty('--satus-tabs-current', index); + }); + + satus.text(button, tab); + } + + component.style.setProperty('--satus-tabs-count', tabs.length); + component.style.setProperty('--satus-tabs-current', value || 0); +}; +/*-------------------------------------------------------------- +>>> SHORTCUT +--------------------------------------------------------------*/ + +satus.components.shortcut = function(component, skeleton) { + component.childrenContainer = component.createChildElement('div', 'content'); + component.valueElement = component.createChildElement('div', 'value'); + + component.className = 'satus-button'; + + component.render = function(parent) { + var self = this, + parent = parent || self.primary, + children = parent.children; + + satus.empty(parent); + + function createElement(name) { + var element = document.createElement('div'); + + element.className = 'satus-shortcut__' + name; + + parent.appendChild(element); + + return element; + } + + if (this.data.alt) { + createElement('key').textContent = 'Alt'; + } + + if (this.data.ctrl) { + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + createElement('key').textContent = 'Ctrl'; + } + + if (this.data.shift) { + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + createElement('key').textContent = 'Shift'; + } + + for (var code in this.data.keys) { + var key = this.data.keys[code].key, + arrows = ['ArrowUp', 'ArrowRight', 'ArrowDown', 'ArrowLeft'], + index = arrows.indexOf(key); + + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + if (index !== -1) { + createElement('key').textContent = ['↑', '→', '↓', '←'][index]; + } else if (key === ' ') { + createElement('key').textContent = '␣'; + } else if (key) { + createElement('key').textContent = key.toUpperCase(); + } + } + + if (this.data.wheel) { + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + var mouse = createElement('mouse'), + div = document.createElement('div'); + + mouse.appendChild(div); + + mouse.className += ' ' + (this.data.wheel > 0); + } + + if (this.data.click) { + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + var mouse = createElement('mouse'), + div = document.createElement('div'); + + mouse.appendChild(div); + + mouse.className += ' click'; + } + + if (this.data.middle) { + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + var mouse = createElement('mouse'), + div = document.createElement('div'); + + mouse.appendChild(div); + + mouse.className += ' middle'; + } + + if (this.data.context) { + if (children.length && children[children.length - 1].className.indexOf('plus') === -1) { + createElement('plus'); + } + + var mouse = createElement('mouse'), + div = document.createElement('div'); + + mouse.appendChild(div); + + mouse.className += ' context'; + } + }; + + component.keydown = function(event) { + event.preventDefault(); + event.stopPropagation(); + + component.data = { + alt: event.altKey, + ctrl: event.ctrlKey, + shift: event.shiftKey, + keys: {} + }; + + if (['control', 'alt', 'altgraph', 'shift'].indexOf(event.key.toLowerCase()) === -1) { + component.data.keys[event.keyCode] = { + code: event.code, + key: event.key + }; + } + + component.data.wheel = 0; + + component.render(); + + return false; + }; + + if (skeleton.wheel !== false) { + component.mousewheel = function(event) { + event.stopPropagation(); + + if ( + ( + component.data.wheel === 0 && + ( + Object.keys(component.data.keys).length === 0 && + component.data.alt === false && + component.data.ctrl === false && + component.data.shift === false + ) + ) || + component.data.wheel < 0 && event.deltaY > 0 || + component.data.wheel > 0 && event.deltaY < 0) { + component.data = { + alt: false, + ctrl: false, + shift: false, + keys: {} + }; + } + + component.data.wheel = event.deltaY < 0 ? -1 : 1; + + component.render(); + + return false; + }; + } + + component.addEventListener('click', function() { + satus.render({ + component: 'modal', + properties: { + parent: this + }, + on: { + close: function() { + window.removeEventListener('keydown', component.keydown); + window.removeEventListener('wheel', component.mousewheel); + } + }, + + primary: { + component: 'div', + class: 'satus-shortcut__primary', + on: { + render: function() { + component.primary = this; + + if (component.skeleton.mouseButtons === true) { + this.addEventListener('mousedown', function(event) { + if ( + component.data.click && event.button === 0 || + component.data.middle && event.button === 1 + ) { + component.data = { + alt: false, + ctrl: false, + shift: false, + keys: {} + }; + } + + component.data.click = false; + component.data.middle = false; + component.data.context = false; + + if (event.button === 0) { + component.data.click = true; + + component.render(); + } else if (event.button === 1) { + component.data.middle = true; + + component.render(); + } + }); + + this.addEventListener('contextmenu', function(event) { + event.preventDefault(); + event.stopPropagation(); + + if (component.data.context) { + component.data = { + alt: false, + ctrl: false, + shift: false, + keys: {} + }; + } + + component.data.context = true; + component.data.middle = false; + component.data.click = false; + + component.render(); + + return false; + }); + } + + component.render(); + } + } + }, + actions: { + component: 'section', + variant: 'actions', + + reset: { + component: 'button', + text: 'reset', + on: { + click: function() { + var component = this.parentNode.parentNode.parentNode.parent; + + component.data = component.skeleton.value || {}; + + component.render(component.valueElement); + + satus.storage.remove(component.storage); + + this.parentNode.parentNode.parentNode.close(); + + window.removeEventListener('keydown', component.keydown); + window.removeEventListener('wheel', component.mousewheel); + } + } + }, + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function() { + component.data = satus.storage.get(component.storage) || component.skeleton.value || {}; + + component.render(component.valueElement); + + this.parentNode.parentNode.parentNode.close(); + + window.removeEventListener('keydown', component.keydown); + window.removeEventListener('wheel', component.mousewheel); + } + } + }, + save: { + component: 'button', + text: 'save', + on: { + click: function() { + component.storage.value = component.data; + + component.render(component.valueElement); + + this.parentNode.parentNode.parentNode.close(); + + window.removeEventListener('keydown', component.keydown); + window.removeEventListener('wheel', component.mousewheel); + } + } + } + } + }, this.baseProvider); + + window.addEventListener('keydown', this.keydown); + window.addEventListener('wheel', this.mousewheel); + }); + + component.data = component.storage.value || { + alt: false, + ctrl: false, + shift: false, + keys: {}, + wheel: 0 + }; + + component.render(component.valueElement); +}; +/*-------------------------------------------------------------- +>>> CHECKBOX +--------------------------------------------------------------*/ + +satus.components.checkbox = function(component, skeleton) { + component.input = component.createChildElement('input'); + component.input.type = 'checkbox'; + + component.checkmark = component.createChildElement('div', 'checkmark'); + + component.childrenContainer = component.createChildElement('div', 'content'); + + component.dataset.value = component.storage.value || skeleton.value; + component.input.checked = component.storage.value || skeleton.value; + + component.input.addEventListener('change', function() { + var component = this.parentNode; + + if (this.checked === true) { + component.storage.value = true; + component.dataset.value = 'true'; + } else { + component.storage.value = false; + component.dataset.value = 'false'; + } + }); +}; +/*-------------------------------------------------------------- +>>> SWITCH +--------------------------------------------------------------*/ + +satus.components.switch = function(component, skeleton) { + var value = satus.isset(component.storage.value) ? component.storage.value : skeleton.value; + + if (satus.isFunction(value)) { + value = value(); + } + + component.childrenContainer = component.createChildElement('div', 'content'); + + component.createChildElement('i'); + + component.dataset.value = value; + + component.addEventListener('click', function() { + if (this.dataset.value === 'true') { + this.dataset.value = 'false'; + this.storage.value = false; + } else { + this.dataset.value = 'true'; + this.storage.value = true; + } + }, true); +}; +/*-------------------------------------------------------------- +>>> CONTEXT MENU +--------------------------------------------------------------*/ + +satus.events.on('render', function(component) { + if (component.skeleton.contextMenu) { + component.addEventListener('contextmenu', function(event) { + var base = this.baseProvider, + base_rect = base.getBoundingClientRect(), + x = event.clientX - base_rect.left, + y = event.clientY - base_rect.top, + modal = satus.render({ + component: 'modal', + variant: 'contextmenu', + parentSkeleton: this.skeleton, + baseProvider: base + }, base); + + if (base_rect.width - x < 200) { + x = base_rect.width - x; + + if (x + 200 > base_rect.width) { + x = 0; + } + + modal.childrenContainer.style.right = x + 'px'; + } else { + modal.childrenContainer.style.left = x + 'px'; + } + + modal.childrenContainer.style.top = y + 'px'; + + this.skeleton.contextMenu.parentSkeleton = this.skeleton; + + satus.render(this.skeleton.contextMenu, modal.childrenContainer); + + event.preventDefault(); + event.stopPropagation(); + + return false; + }); + } +}); +/*-------------------------------------------------------------- +>>> SORTABLE +--------------------------------------------------------------*/ + +satus.events.on('render', function(component) { + if (component.skeleton.sortable === true) { + component.addEventListener('mousedown', function(event) { + if (event.button !== 0) { + return false; + } + + var component = this, + rect = this.getBoundingClientRect(), + x = event.clientX, + y = event.clientY, + offset_x = event.clientX - rect.left, + offset_y = event.clientY - rect.top, + ghost = satus.clone(this), + children = this.parentNode.children, + appended = false; + + ghost.classList.add('satus-sortable__ghost'); + + function mousemove(event) { + if (appended === false && (Math.abs(event.clientX - x) > 4 || Math.abs(event.clientY - y) > 4)) { + appended = true; + + component.classList.add('satus-sortable__chosen'); + + component.baseProvider.appendChild(ghost); + } + + ghost.style.transform = 'translate(' + (event.clientX - offset_x) + 'px, ' + (event.clientY - offset_y) + 'px)'; + } + + function mouseup(event) { + component.classList.remove('satus-sortable__chosen'); + ghost.remove(); + + window.removeEventListener('mousemove', mousemove, true); + window.removeEventListener('mouseup', mouseup, true); + + for (var i = 0, l = children.length; i < l; i++) { + var child = children[i]; + + if (child !== component) { + child.removeEventListener('mouseover', siblingMouseOver); + } + } + + component.dispatchEvent(new CustomEvent('sort')); + + event.stopPropagation(); + + return false; + } + + window.addEventListener('mousemove', mousemove, { + passive: true, + capture: true + }); + + window.addEventListener('mouseup', mouseup, { + passive: true, + capture: true + }); + + function siblingMouseOver(event) { + var parent = this.parentNode, + y = event.layerY / (this.offsetHeight / 100); + + if (y < 50 && this.previousSibling !== component || y >= 50 && this.nextSibling === component) { + parent.insertBefore(component, this); + } else { + parent.insertBefore(component, this.nextSibling); + } + } + + for (var i = 0, l = children.length; i < l; i++) { + var child = children[i]; + + if (child !== component) { + child.addEventListener('mouseover', siblingMouseOver); + } + } + + event.stopPropagation(); + event.preventDefault(); + + return false; + }); + } +}); +/*-------------------------------------------------------------- +>>> MANIFEST +--------------------------------------------------------------*/ + +satus.manifest = function() { + var object = {}; + + if (this.isset('chrome.runtime.getManifest')) { + object = chrome.runtime.getManifest(); + } + + return object; +}; +/*-------------------------------------------------------------- +>>> COLOR: +---------------------------------------------------------------- +# String to array +# RGB to HSL +# HUE to RGB +# HSL to RGB +--------------------------------------------------------------*/ + +satus.color = {}; + + +/*-------------------------------------------------------------- +# STRING TO ARRAY +--------------------------------------------------------------*/ + +satus.color.stringToArray = function(string) { + var match = string.match(/[0-9.]+/g); + + if (match) { + for (var i = 0, l = match.length; i < l; i++) { + match[i] = parseFloat(match[i]); + } + } + + return match; +}; + + +/*-------------------------------------------------------------- +# RGB TO HSL +--------------------------------------------------------------*/ + +satus.color.rgbToHsl = function(array) { + var r = array[0] / 255, + g = array[1] / 255, + b = array[2] / 255, + min = Math.min(r, g, b), + max = Math.max(r, g, b), + h = 0, + s = 0, + l = (min + max) / 2; + + if (min === max) { + h = 0; + s = 0; + } else { + var delta = max - min; + + s = l <= 0.5 ? delta / (max + min) : delta / (2 - max - min); + + if (max === r) { + h = (g - b) / delta + (g < b ? 6 : 0); + } else if (max === g) { + h = (b - r) / delta + 2; + } else if (max === b) { + h = (r - g) / delta + 4; + } + + h /= 6; + } + + h *= 360; + s *= 100; + l *= 100; + + if (array.length === 3) { + return [h, s, l]; + } else { + return [h, s, l, array[3]]; + } +}; + + +/*-------------------------------------------------------------- +# HUE TO RGB +--------------------------------------------------------------*/ + +satus.color.hueToRgb = function(array) { + var t1 = array[0], + t2 = array[1], + hue = array[2]; + + if (hue < 0) { + hue += 6; + } + + if (hue >= 6) { + hue -= 6; + } + + if (hue < 1) { + return (t2 - t1) * hue + t1; + } else if (hue < 3) { + return t2; + } else if (hue < 4) { + return (t2 - t1) * (4 - hue) + t1; + } else { + return t1; + } +}; + + +/*-------------------------------------------------------------- +# HSL TO RGB +--------------------------------------------------------------*/ + +satus.color.hslToRgb = function(array) { + var h = array[0] / 360, + s = array[1] / 100, + l = array[2] / 100, + r, g, b; + + if (s == 0) { + r = g = b = l; + } else { + var hue2rgb = function(p, q, t) { + if (t < 0) t += 1; + if (t > 1) t -= 1; + if (t < 1 / 6) return p + (q - p) * 6 * t; + if (t < 1 / 2) return q; + if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6; + return p; + }; + + var q = l < 0.5 ? l * (1 + s) : l + s - l * s; + var p = 2 * l - q; + r = hue2rgb(p, q, h + 1 / 3); + g = hue2rgb(p, q, h); + b = hue2rgb(p, q, h - 1 / 3); + } + + return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)]; +}; +/*-------------------------------------------------------------- +>>> USER +---------------------------------------------------------------- +# OS + # Name + # Bitness +# Browser + # Name + # Version + # Platform + # Manifest + # Languages + # Cookies + # Flash + # Java + # Audio + # Video + # WebGL +# Device + # Screen + # RAM + # GPU + # Cores + # Touch + # Connection +--------------------------------------------------------------*/ + +satus.user = { + browser: {}, + device: {}, + os: {} +}; + +/*-------------------------------------------------------------- +# OS +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# NAME +--------------------------------------------------------------*/ + +satus.user.os.name = function() { + var app_version = navigator.appVersion; + + if (app_version.indexOf('Win') !== -1) { + if (app_version.match(/(Windows 10.0|Windows NT 10.0)/)) { + return 'Windows 10'; + } else if (app_version.match(/(Windows 8.1|Windows NT 6.3)/)) { + return 'Windows 8.1'; + } else if (app_version.match(/(Windows 8|Windows NT 6.2)/)) { + return 'Windows 8'; + } else if (app_version.match(/(Windows 7|Windows NT 6.1)/)) { + return 'Windows 7'; + } else if (app_version.match(/(Windows NT 6.0)/)) { + return 'Windows Vista'; + } else if (app_version.match(/(Windows NT 5.1|Windows XP)/)) { + return 'Windows XP'; + } else { + return 'Windows'; + } + } else if (app_version.indexOf('(iPhone|iPad|iPod)') !== -1) { + return 'iOS'; + } else if (app_version.indexOf('Mac') !== -1) { + return 'macOS'; + } else if (app_version.indexOf('Android') !== -1) { + return 'Android'; + } else if (app_version.indexOf('OpenBSD') !== -1) { + return 'OpenBSD'; + } else if (app_version.indexOf('SunOS') !== -1) { + return 'SunOS'; + } else if (app_version.indexOf('Linux') !== -1) { + return 'Linux'; + } else if (app_version.indexOf('X11') !== -1) { + return 'UNIX'; + } +}; + + +/*-------------------------------------------------------------- +# BITNESS +--------------------------------------------------------------*/ + +satus.user.os.bitness = function() { + if (navigator.appVersion.match(/(Win64|x64|x86_64|WOW64)/)) { + return '64-bit'; + } else { + return '32-bit'; + } +}; + + +/*-------------------------------------------------------------- +# BROWSER +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# NAME +--------------------------------------------------------------*/ + +satus.user.browser.name = function() { + var user_agent = navigator.userAgent; + + if (user_agent.indexOf('Opera') !== -1) { + return 'Opera'; + } else if (user_agent.indexOf('Vivaldi') !== -1) { + return 'Vivaldi'; + } else if (user_agent.indexOf('Edge') !== -1) { + return 'Edge'; + } else if (user_agent.indexOf('Chrome') !== -1) { + return 'Chrome'; + } else if (user_agent.indexOf('Safari') !== -1) { + return 'Safari'; + } else if (user_agent.indexOf('Firefox') !== -1) { + return 'Firefox'; + } else if (user_agent.indexOf('MSIE') !== -1) { + return 'IE'; + } +}; + + +/*-------------------------------------------------------------- +# VERSION +--------------------------------------------------------------*/ + +satus.user.browser.version = function() { + var browser_name = satus.user.browser.name(), + browser_version = navigator.userAgent.match(new RegExp(browser_name + '/([0-9.]+)')); + + return browser_version[1]; +}; + + +/*-------------------------------------------------------------- +# PLATFORM +--------------------------------------------------------------*/ + +satus.user.browser.platform = function() { + return navigator.platform; +}; + + +/*-------------------------------------------------------------- +# MANIFEST +--------------------------------------------------------------*/ + +satus.user.browser.manifest = function() { + return chrome.runtime.getManifest() || {}; +}; + + +/*-------------------------------------------------------------- +# LANGUAGES +--------------------------------------------------------------*/ + +satus.user.browser.languages = function() { + return navigator.languages; +}; + + +/*-------------------------------------------------------------- +# COOKIES +--------------------------------------------------------------*/ + +satus.user.browser.cookies = function() { + if (document.cookie) { + var random_cookie = 'ta{t`nX6cMXK,Wsc'; + + document.cookie = random_cookie; + + if (document.cookie.indexOf(random_cookie) !== -1) { + return true; + } + } + + return false; +}; + + +/*-------------------------------------------------------------- +# FLASH +--------------------------------------------------------------*/ + +satus.user.browser.flash = function() { + try { + if (new ActiveXObject('ShockwaveFlash.ShockwaveFlash')) { + return true; + } + } catch (error) { + if (navigator.mimeTypes['application/x-shockwave-flash']) { + return true; + } + } + + return false; +}; + + +/*-------------------------------------------------------------- +# JAVA +--------------------------------------------------------------*/ + +satus.user.browser.java = function() { + if (satus.isFunction(navigator.javaEnabled) && navigator.javaEnabled()) { + return true; + } else { + return false; + } +}; + + +/*-------------------------------------------------------------- +# AUDIO +--------------------------------------------------------------*/ + +satus.user.browser.audio = function() { + var audio = document.createElement('audio'), + types = { + mp3: 'audio/mpeg', + mp4: 'audio/mp4', + aif: 'audio/x-aiff' + }, + result = []; + + if (satus.isFunction(audio.canPlayType)) { + for (var key in types) { + var can_play_type = audio.canPlayType(types[key]); + + if (can_play_type !== '') { + result.push(key); + } + } + } + + return result; +}; + + +/*-------------------------------------------------------------- +# VIDEO +--------------------------------------------------------------*/ + +satus.user.browser.video = function() { + var video = document.createElement('video'), + types = { + ogg: 'video/ogg; codecs="theora"', + h264: 'video/mp4; codecs="avc1.42E01E"', + webm: 'video/webm; codecs="vp8, vorbis"', + vp9: 'video/webm; codecs="vp9"', + hls: 'application/x-mpegURL; codecs="avc1.42E01E"' + }, + result = []; + + if (satus.isFunction(video.canPlayType)) { + for (var key in types) { + var can_play_type = video.canPlayType(types[key]); + + if (can_play_type !== '') { + result.push(key); + } + } + } + + return result; +}; + + +/*-------------------------------------------------------------- +# WEBGL +--------------------------------------------------------------*/ + +satus.user.browser.webgl = function() { + var cvs = document.createElement('canvas'), + ctx = cvs.getContext('webgl'); + + return ctx && ctx instanceof WebGLRenderingContext; +}; + + +/*-------------------------------------------------------------- +# HARDWARE +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# SCREEN +--------------------------------------------------------------*/ + +satus.user.device.screen = function() { + if (screen) { + return screen.width + 'x' + screen.height; + } +}; + + +/*-------------------------------------------------------------- +# RAM +--------------------------------------------------------------*/ + +satus.user.device.ram = function() { + if ('deviceMemory' in navigator) { + return navigator.deviceMemory + ' GB'; + } +}; + + +/*-------------------------------------------------------------- +# GPU +--------------------------------------------------------------*/ + +satus.user.device.gpu = function() { + var cvs = document.createElement('canvas'), + ctx = cvs.getContext('webgl'); + + if ( + ctx && + ctx instanceof WebGLRenderingContext && + 'getParameter' in ctx && + 'getExtension' in ctx + ) { + var info = ctx.getExtension('WEBGL_debug_renderer_info'); + + if (info) { + return ctx.getParameter(info.UNMASKED_RENDERER_WEBGL); + } + } +}; + + +/*-------------------------------------------------------------- +# CORES +--------------------------------------------------------------*/ + +satus.user.device.cores = function() { + return navigator.deviceConcurrency; +}; + + +/*-------------------------------------------------------------- +# TOUCH +--------------------------------------------------------------*/ + +satus.user.device.touch = function() { + var result = {}; + + if ( + window.hasOwnProperty('ontouchstart') || + window.DocumentTouch && document instanceof window.DocumentTouch || + navigator.maxTouchPoints > 0 || + window.navigator.msMaxTouchPoints > 0 + ) { + result.touch = true; + result.maxTouchPoints = navigator.maxTouchPoints; + } + + return result; +}; + + +/*-------------------------------------------------------------- +# CONNECTION +--------------------------------------------------------------*/ + +satus.user.device.connection = function() { + var result = {}; + + if (typeof navigator.connection === 'object') { + result.type = navigator.connection.effectiveType || null; + + if (navigator.connection.downlink) { + result.speed = navigator.connection.downlink + ' Mbps'; + } + } + + return result; +}; +/*-------------------------------------------------------------- +# SEARCH +--------------------------------------------------------------*/ + +satus.search = function(query, object, callback) { + var elements = ['switch', 'select', 'slider', 'shortcut', 'radio', 'color-picker'], + threads = 0, + results = {}, + excluded = [ + 'baseProvider', + 'layersProvider', + 'parentObject', + 'parentSkeleton', + 'namespaceURI' + ]; + + query = query.toLowerCase(); + + function parse(items, parent) { + threads++; + + for (var key in items) { + if (excluded.indexOf(key) === -1) { + var item = items[key]; + + if (item.component) { + //console.log(key, item.component); + + if (elements.indexOf(item.component) !== -1 && key.indexOf(query) !== -1) { + results[key] = Object.assign({}, item); + } + } + + if ( + satus.isObject(item) && + !satus.isArray(item) && + !satus.isElement(item) && + !satus.isFunction(item) + ) { + parse(item, items); + } + } + } + + threads--; + + if (threads === 0) { + callback(results); + } + } + + parse(object); +}; diff --git a/background.js b/background.js new file mode 100644 index 000000000..a8279db4c --- /dev/null +++ b/background.js @@ -0,0 +1,264 @@ +/*-------------------------------------------------------------- +>>> BACKGROUND +---------------------------------------------------------------- +# Locale +# Context menu +# Tab focus/blur +# Message listener +# Uninstall URL +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# LOCALE +--------------------------------------------------------------*/ + +/*--------------------------- +# IMPORTING OLD SETTINGS +-----------------------------*/ + + +chrome.runtime.onInstalled.addListener(function (installed){ + if(installed.reason == 'update'){ +// var thisVersion = chrome.runtime.getManifest().version; +// console.log("Updated from " + installed.previousVersion + " to " + thisVersion + "!"); + chrome.storage.local.get('limit_page_width', function (result) { + if (result.limit_page_width === false){ + chrome.storage.local.set({no_page_margin: true}); + chrome.storage.local.remove(['limit_page_width'], (i) => {}); + chrome.storage.local.get('player_size', function (r) { + if (r.player_size == 'full_window' || 'fit_to_window') { + chrome.storage.local.set({player_size: 'max_width'}); + }}); + } + }); +// } else if(installed.reason == 'install'){ console.log('Thanks for installing!'); + } + } +); + + +function getLocale(language, callback) { + language = language.replace('-', '_'); + + fetch('_locales/' + language + '/messages.json').then(function (response) { + if (response.ok) { + response.json().then(callback); + } else { + getLocale('en', callback); + } + }).catch(function () { + getLocale('en', callback); + }); +} + + +/*-------------------------------------------------------------- +# CONTEXT MENU +--------------------------------------------------------------*/ + +function updateContextMenu(language) { + if (!language) { + language = chrome.i18n.getUILanguage(); + } + + getLocale(language, function (response) { + var items = [ + 'donate', + 'rateMe', + 'GitHub' + ]; + + chrome.contextMenus.removeAll(); + + for (var i = 0; i < 3; i++) { + var item = items[i], + text = response[item]; + + if (text) { + text = text.message; + } else { + text = item; + } + + chrome.contextMenus.create({ + id: String(i), + title: text, + contexts: ['action'] + }); + } + + chrome.contextMenus.onClicked.addListener(function (info) { + var links = [ + 'https://www.improvedtube.com/donate', + 'https://chrome.google.com/webstore/detail/improve-youtube-video-you/bnomihfieiccainjcjblhegjgglakjdd', + 'https://github.com/code4charity/YouTube-Extension' + ]; + + window.open(links[info.menuItemId]); + }); + }); +} + +chrome.runtime.onInstalled.addListener(function (details) { + chrome.storage.local.get(function (items) { + var language = items.language; + + updateContextMenu(language); + }); +}); + +chrome.storage.onChanged.addListener(function (changes) { + for (var key in changes) { + if (key === 'language') { + updateContextMenu(changes[key].newValue); + } + } +}); + + +/*-------------------------------------------------------------- +# TAB FOCUS/BLUR +--------------------------------------------------------------*/ + +chrome.tabs.onActivated.addListener(function (activeInfo) { + chrome.tabs.sendMessage(activeInfo.tabId, { + action: 'focus' + }); + + chrome.tabs.query({ + windowId: activeInfo.windowId + }, function (tabs) { + if (tabs) { + for (var i = 0, l = tabs.length; i < l; i++) { + if (tabs[i].id !== activeInfo.tabId) { + chrome.tabs.sendMessage(tabs[i].id, { + action: 'blur' + }); + } + } + } + }); +}); + +chrome.windows.onFocusChanged.addListener(function (windowId) { + chrome.windows.getAll(function (windows) { + for (var i = 0, l = windows.length; i < l; i++) { + if (windows[i].focused === true) { + chrome.tabs.query({ + windowId: windows[i].id + }, function (tabs) { + if (tabs) { + for (var j = 0, k = tabs.length; j < k; j++) { + var tab = tabs[j]; + + if (tab.active) { + chrome.tabs.sendMessage(tab.id, { + action: 'focus' + }); + } + } + } + }); + } else { + chrome.tabs.query({ + windowId: windows[i].id + }, function (tabs) { + if (tabs) { + for (var j = 0, k = tabs.length; j < k; j++) { + var tab = tabs[j]; + + chrome.tabs.sendMessage(tab.id, { + action: 'blur' + }); + } + } + }); + } + } + }); +}); + + +/*-------------------------------------------------------------- +# MESSAGE LISTENER +--------------------------------------------------------------*/ + +chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) { + var name = request.name; + + if (name === 'download') { + chrome.permissions.request({ + permissions: ['downloads'], + origins: ['https://www.youtube.com/*'] + }, function (granted) { + if (granted) { + try { + var blob = new Blob([JSON.stringify(request.value)], { + type: 'application/json;charset=utf-8' + }); + + chrome.downloads.download({ + url: URL.createObjectURL(blob), + filename: request.filename, + saveAs: true + }); + } catch (error) { + console.error(error); + } + } else { + console.error('Permission is not granted.'); + } + }); + } +}); + +let prevTabsLength = 0; + +chrome.runtime.onMessage.addListener(function (message, sender, sendResponse) { + var action = message.action || message; + + if (action === "play") { + chrome.tabs.query({}, function (tabs) { + if (tabs.length > prevTabsLength) { + prevTabsLength++; + for (var i = 0, l = tabs.length; i < l; i++) { + var tab = tabs[i]; + + if (sender.tab.id !== tab.id) { + chrome.tabs.sendMessage(tab.id, { + action: "new-tab-opened", + }); + } + } + } else if (tabs.length < prevTabsLength){ + prevTabsLength = tabs.length + }else{ + for (var i = 0, l = tabs.length; i < l; i++) { + prevTabsLength = tabs.length; + var tab = tabs[i]; + + if (sender.tab.id !== tab.id) { + chrome.tabs.sendMessage(tab.id, { + action: "another-video-started-playing", + }); + } + } + } + }); + } else if (action === 'options-page-connected') { + sendResponse({ + isTab: sender.hasOwnProperty('tab') + }); + } else if (action === 'tab-connected') { + sendResponse({ + hostname: new URL(sender.url).hostname, + tabId: sender.tab.id + }); + } +}); + +/*-------------------------------------------------------------- +# UNINSTALL URL +--------------------------------------------------------------*/ + +chrome.runtime.setUninstallURL('https://improvedtube.com/uninstalled'); diff --git a/content-scripts/extension-context/core.js b/content-scripts/extension-context/core.js new file mode 100644 index 000000000..a2a9cff5e --- /dev/null +++ b/content-scripts/extension-context/core.js @@ -0,0 +1,328 @@ +/*-------------------------------------------------------------- +>>> CORE: +---------------------------------------------------------------- +# Global variable +# Camelize +# Events + # On + # Trigger +# Inject +# Messages + # Create element + # Listener + # Send +# Storage + # Get + # Listener + # Load +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GLOBAL VARIABLE +--------------------------------------------------------------*/ + +var extension = { + domReady: false, + events: { + listeners: {} + }, + features: {}, + functions: {}, + messages: { + queue: [] + }, + ready: false, + storage: { + data: {} + } +}; + + +/*-------------------------------------------------------------- +# CAMELIZE +--------------------------------------------------------------*/ + +extension.camelize = function (string) { + var result = ''; + + for (var i = 0, l = string.length; i < l; i++) { + var character = string[i]; + + if (character === '_' || character === '-') { + i++; + + result += string[i].toUpperCase(); + } else { + result += character; + } + } + + return result; +}; + + +/*-------------------------------------------------------------- +# EVENTS +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# ON +--------------------------------------------------------------*/ + +extension.events.on = function (type, listener, options = {}) { + var listeners = extension.events.listeners; + + if (!listeners[type]) { + listeners[type] = []; + } + + if (options.async === true) { + listener = (function (original) { + return async function () { + return new Promise(original); + }; + })(listener); + } + + if (options.prepend === true) { + listeners[type].unshift(listener); + } else { + listeners[type].push(listener); + } +}; + + +/*-------------------------------------------------------------- +# TRIGGER +--------------------------------------------------------------*/ + +extension.events.trigger = async function (type, data) { + var listeners = extension.events.listeners[type]; + + if (listeners) { + for (var i = 0, l = listeners.length; i < l; i++) { + var listener = listeners[i]; + + if (typeof listener === 'function') { + if (listener instanceof(async function () {}).constructor === true) { + await listener(data); + } else { + listener(data); + } + } + } + } +}; + +/*-------------------------------------------------------------- +# INJECT +---------------------------------------------------------------- + +--------------------------------------------------------------*/ + +extension.inject = function (paths, callback) { + if (paths.length > 0) { + var element, + path = chrome.runtime.getURL(paths[0]); + + if (path.indexOf('.css') !== -1) { + element = document.createElement('link'); + + element.rel = 'stylesheet'; + element.href = path; + } else { + element = document.createElement('script'); + + element.src = path; + } + + element.onload = function () { + paths.shift(); + + extension.inject(paths, callback); + }; + + document.documentElement.appendChild(element); + } else if (callback) { + callback(); + } +}; + +/*extension.inject = function (urls, callback) { + var threads = urls.length; + + for (var i = 0, l = urls.length; i < l; i++) { + var element, + url = chrome.runtime.getURL(urls[i]); + + if (url.indexOf('.css') !== -1) { + element = document.createElement('link'); + + element.rel = 'stylesheet'; + element.href = url; + } else { + element = document.createElement('script'); + + element.src = url; + } + + element.onload = function () { + threads--; + + if (threads === 0) { + callback(); + } + }; + + document.documentElement.appendChild(element); + } +};*/ + + +/*-------------------------------------------------------------- +# MESSAGES +---------------------------------------------------------------- + Designed for messaging between contexts of extension and + website. +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# CREATE ELEMENT +--------------------------------------------------------------*/ + +extension.messages.create = function () { + this.element = document.createElement('div'); + + this.element.id = 'it-messages-from-extension'; + + this.element.style.display = 'none'; + + document.documentElement.appendChild(this.element); +}; + +/*-------------------------------------------------------------- +# LISTENER +--------------------------------------------------------------*/ + +extension.messages.listener = function () { + document.addEventListener('it-message-from-extension--readed', function () { + extension.messages.queue.pop(); + + if (extension.messages.queue.length > 0) { + extension.messages.element.textContent = message; + + document.dispatchEvent(new CustomEvent('it-message-from-extension')); + } + }); +}; + +/*-------------------------------------------------------------- +# SEND +--------------------------------------------------------------*/ + +extension.messages.send = function (message) { + if (typeof message === 'object') { + message = JSON.stringify(message); + } + + this.queue.push(message); + + if (this.queue.length === 1) { + this.element.textContent = message; + + document.dispatchEvent(new CustomEvent('it-message-from-extension')); + } +}; + + +/*-------------------------------------------------------------- +# STORAGE +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GET +--------------------------------------------------------------*/ + +extension.storage.get = function (key) { + if (key.indexOf('/') === -1) { + return this.data[key]; + } else { + var target = this.data, + path = key.split('/').filter(function (value) { + return value != ''; + }); + + for (var i = 0, l = key.length; i < l; i++) { + var part = keys[i]; + + if (target.hasOwnProperty(part)) { + target = target[part]; + } else { + return undefined; + } + } + } +}; + +/*-------------------------------------------------------------- +# LISTENER +--------------------------------------------------------------*/ + +extension.storage.listener = function (newTab) { + if(newTab){ + chrome.storage.local.set({newTab: true}) + } + chrome.storage.onChanged.addListener(function (changes) { + for (var key in changes) { + var value = changes[key].newValue, + camelized_key = extension.camelize(key); + + extension.storage.data[key] = value; + + document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), value); + + if (typeof extension.features[camelized_key] === 'function') { + extension.features[camelized_key](true); + } + + extension.events.trigger('storage-changed', { + key, + value + }); + + extension.messages.send({ + action: 'storage-changed', + camelizedKey: camelized_key, + key, + value + }); + } + }); +}; + +/*-------------------------------------------------------------- +# LOAD +--------------------------------------------------------------*/ + +extension.storage.load = function (callback) { + chrome.storage.local.get(function (items) { + for (var key in items) { + var value = items[key]; + + extension.storage.data[key] = value; + + document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), value); + } + + extension.events.trigger('storage-loaded'); + + extension.messages.send({ + action: 'storage-loaded', + storage: items + }); + + if (callback) { + callback(extension.storage.data); + } + }); +}; \ No newline at end of file diff --git a/content-scripts/extension-context/functions.js b/content-scripts/extension-context/functions.js new file mode 100644 index 000000000..a6a40306e --- /dev/null +++ b/content-scripts/extension-context/functions.js @@ -0,0 +1,17 @@ +/*-------------------------------------------------------------- +>>> FUNCTIONS: +---------------------------------------------------------------- +# Get URL parameter +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GET URL PARAMETER +--------------------------------------------------------------*/ + +extension.functions.getUrlParameter = function (url, parameter) { + var match = url.match(new RegExp('(\\?|\\&)' + parameter + '=[^&]+')); + + if (match) { + return match[0].substr(3); + } +}; \ No newline at end of file diff --git a/content-scripts/extension-context/init.js b/content-scripts/extension-context/init.js new file mode 100644 index 000000000..fcfdccd4f --- /dev/null +++ b/content-scripts/extension-context/init.js @@ -0,0 +1,234 @@ +/*-------------------------------------------------------------- +>>> INITIALIZATION +--------------------------------------------------------------*/ + +extension.features.youtubeHomePage('init'); + +document.documentElement.setAttribute('it-pathname', location.pathname); + +window.addEventListener('yt-navigate-finish', function () { + document.documentElement.setAttribute('it-pathname', location.pathname); + + extension.features.trackWatchedVideos(); + extension.features.thumbnailsQuality(); +}); + +extension.messages.create(); +extension.messages.listener(); + +extension.events.on('init', function (resolve) { + extension.storage.listener(); + extension.storage.load(function () { + resolve(); + }); +}, { + async: true +}); + +function bodyReady() { + if (extension.ready && extension.domReady) { + extension.features.addScrollToTop(); + extension.features.font(); + } +} + +extension.events.on('init', function () { + extension.features.bluelight(); + extension.features.dim(); + extension.features.youtubeHomePage(); + extension.features.collapseOfSubscriptionSections(); + extension.features.confirmationBeforeClosing(); + extension.features.defaultContentCountry(); + extension.features.popupWindowButtons(); + extension.features.markWatchedVideos(); + extension.features.relatedVideos(); + extension.features.comments(); + + bodyReady(); +}); + +chrome.runtime.sendMessage({ + action: 'tab-connected' +}, function (response) { + if (response) { + extension.tabId = response.tabId; + } +}); + +extension.inject([ + '/content-scripts/website-context/core.js', + '/content-scripts/website-context/functions.js', + '/content-scripts/website-context/youtube-features/appearance.js', + '/content-scripts/website-context/youtube-features/themes.js', + '/content-scripts/website-context/youtube-features/player.js', + '/content-scripts/website-context/youtube-features/playlist.js', + '/content-scripts/website-context/youtube-features/channel.js', + '/content-scripts/website-context/youtube-features/shortcuts.js', + '/content-scripts/website-context/youtube-features/blacklist.js', + '/content-scripts/website-context/youtube-features/settings.js', + '/content-scripts/website-context/init.js', + '/content-scripts/website-context/mutations.js' +], function () { + extension.ready = true; + + extension.events.trigger('init'); +}); + +document.addEventListener('DOMContentLoaded', function () { + extension.domReady = true; + + bodyReady(); +}); + +chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) { + if (request.action === 'focus') { + extension.messages.send({ + focus: true + }); + } else if (request.action === 'blur') { + extension.messages.send({ + blur: true + }); + } else if (request.action === 'pause') { + extension.messages.send({ + pause: true + }); + } else if (request.action === 'set-volume') { + extension.messages.send({ + setVolume: request.value + }); + } else if (request.action === 'set-playback-speed') { + extension.messages.send({ + setPlaybackSpeed: request.value + }); + } else if (request.action === 'mixer') { + extension.messages.send({ + mixer: true + }, sendResponse, 'mixer'); + + return true; + } else if (request.action === 'delete-youtube-cookies') { + extension.messages.send({ + deleteCookies: true + }); + } else if (request.action === "another-video-started-playing") { + extension.features.onlyOnePlayerInstancePlaying(); + } else if (request.action === "new-tab-opened") { + let newTab = true + extension.storage.listener(newTab) + } +}); + +document.addEventListener('it-message-from-youtube', function () { + var provider = document.querySelector('#it-messages-from-youtube'); + + if (provider) { + var message = provider.textContent; + + document.dispatchEvent(new CustomEvent('it-message-from-youtube--readed')); + + try { + message = JSON.parse(message); + } catch (error) { + console.log(error); + } + + //console.log(message); + + if (message.requestOptionsUrl === true) { + extension.messages.send({ + responseOptionsUrl: chrome.runtime.getURL('options-page/index.html') + }); + } else if (message.onlyOnePlayer === true) { + chrome.runtime.sendMessage({ + name: 'only-one-player' + }); + } else if (message.action === 'analyzer') { + if (extension.storage.data.analyzer_activation === true) { + var data = message.name, + date = new Date().toDateString(), + hours = new Date().getHours() + ':00'; + + if (!extension.storage.data.analyzer) { + extension.storage.data.analyzer = {}; + } + + if (!extension.storage.data.analyzer[date]) { + extension.storage.data.analyzer[date] = {}; + } + + if (!extension.storage.data.analyzer[date][hours]) { + extension.storage.data.analyzer[date][hours] = {}; + } + + if (!extension.storage.data.analyzer[date][hours][data]) { + extension.storage.data.analyzer[date][hours][data] = 0; + } + + extension.storage.data.analyzer[date][hours][data]++; + + chrome.storage.local.set({ + analyzer: extension.storage.data.analyzer + }); + } + } else if (message.action === 'blacklist') { + var type = message.type, + id = message.id, + title = message.title; + + if (!extension.storage.data.blacklist || typeof extension.storage.data.blacklist !== 'object') { + extension.storage.data.blacklist = {}; + } + + if (type === 'channel') { + if (!extension.storage.data.blacklist.channels) { + extension.storage.data.blacklist.channels = {}; + } + + extension.storage.data.blacklist.channels[id] = { + title: title, + preview: message.preview + }; + } + + if (type === 'video') { + if (!extension.storage.data.blacklist.videos) { + extension.storage.data.blacklist.videos = {}; + } + + extension.storage.data.blacklist.videos[id] = { + title: title + }; + } + + chrome.storage.local.set({ + blacklist: extension.storage.data.blacklist + }); + } else if (message.action === 'watched') { + if (!extension.storage.data.watched || typeof extension.storage.data.watched !== 'object') { + extension.storage.data.watched = {}; + } + + if (message.type === 'add') { + extension.storage.data.watched[message.id] = { + title: message.title + }; + } + + if (message.type === 'remove') { + delete extension.storage.data.watched[message.id]; + } + + chrome.storage.local.set({ + watched: extension.storage.data.watched + }); + } + } +}); + +document.addEventListener('it-play', function (event) { + var videos = document.querySelectorAll('video'); + try {chrome.runtime.sendMessage({action: 'play'})} + catch(error){console.log(error); setTimeout(chrome.runtime.sendMessage({action: 'play'}),280)} + }); + \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/appearance/comments/comments.css b/content-scripts/extension-context/youtube-features/appearance/comments/comments.css new file mode 100644 index 000000000..eb3a8f608 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/comments/comments.css @@ -0,0 +1,69 @@ +/*-------------------------------------------------------------- +>>> COMMENTS: +---------------------------------------------------------------- +# Comments + # Collapsed + # Hidden +# Squared User Images +# Hide avatars +--------------------------------------------------------------*/ +/*-------------------------------------------------------------- +# COLLAPSED +--------------------------------------------------------------*/ +html[it-comments='collapsed'] ytd-comments:not([it-activated]) ytd-comments-header-renderer::after { + content: 'Show more' !important; +} + +html[it-comments='collapsed'] ytd-comments[it-activated] ytd-comments-header-renderer::after { + content: 'Show less' !important; +} + +html[it-comments='collapsed'] ytd-comments ytd-comments-header-renderer::after { + font-family: inherit !important; + font-size: 1.6rem !important; + font-weight: 400 !important; + + display: flex !important; + + width: 100% !important; + height: 48px !important; + margin: 16px 0 0 !important; + + color: var(--yt-spec-text-primary) !important; + border-bottom: 1px solid var(--yt-spec-10-percent-layer) !important; + + justify-content: center !important; + align-items: center !important; +} + +html[it-comments='collapsed'] ytd-comments:not([it-activated]) ytd-item-section-renderer>#spinner-container, +html[it-comments='collapsed'] ytd-comments:not([it-activated]) ytd-item-section-renderer>#contents, +html[it-comments='collapsed'] ytd-comments:not([it-activated]) ytd-item-section-renderer>#continuations { + visibility: hidden !important; + + pointer-events: none !important; +} + +/*-------------------------------------------------------------- +# HIDDEN +--------------------------------------------------------------*/ +html[it-comments='hidden'] ytd-comments { + display: none !important; +} + +/*-------------------------------------------------------------- +# HIDE AVATARS +--------------------------------------------------------------*/ +html[it-hide-author-avatars='true'] ytd-comments #author-thumbnail, +html[it-hide-author-avatars='true'] ytd-comments #creator-thumbnail, +html[it-hide-author-avatars='true'] ytd-comments #hearted-thumbnail { + display: none !important; +} +/*-------------------------------------------------------------- +# SQUARED USER IMAGES +--------------------------------------------------------------*/ +html[it-squared-user-images='true'] #avatar.ytd-shelf-renderer, +html[it-squared-user-images='true'] yt-img-shadow, +html[it-squared-user-images='true'] #yt-masthead-user .yt-masthead-user-icon { + border-radius: unset !important; +} diff --git a/content-scripts/extension-context/youtube-features/appearance/comments/comments.js b/content-scripts/extension-context/youtube-features/appearance/comments/comments.js new file mode 100644 index 000000000..e2bd170e6 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/comments/comments.js @@ -0,0 +1,38 @@ +/*-------------------------------------------------------------- +>>> COMMENTS: +---------------------------------------------------------------- +# Collapsed +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# COLLAPSED +--------------------------------------------------------------*/ + +extension.features.comments = function (anything) { + if (anything instanceof Event) { + var event = anything; + + if (event.type === 'click') { + var target = event.target; + + if (target.nodeName === 'YTD-COMMENTS-HEADER-RENDERER') { + var rect = target.getBoundingClientRect(); + + if ( + event.clientX - rect.left >= 0 && + event.clientX - rect.left < rect.width && + event.clientY - rect.top + rect.height >= 0 && + rect.top + rect.height - event.clientY < 48 + ) { + target.parentNode.parentNode.parentNode.toggleAttribute('it-activated'); + } + } + } + } else { + if (extension.storage.get('comments') === 'collapsed') { + window.addEventListener('click', this.comments, true); + } else { + window.removeEventListener('click', this.comments, true); + } + } +}; \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/appearance/details/details.css b/content-scripts/extension-context/youtube-features/appearance/details/details.css new file mode 100644 index 000000000..c4b0995e3 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/details/details.css @@ -0,0 +1,258 @@ +/*-------------------------------------------------------------- +>>> DETAILS +---------------------------------------------------------------- +# +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# General +--------------------------------------------------------------*/ +#info #info-text { + max-height: 6rem; + display: block; +} + +/*-------------------------------------------------------------- +# HIDE DETAILS +--------------------------------------------------------------*/ + +html[it-hide-details='true'] ytd-video-primary-info-renderer, +html[it-hide-details='true'] ytd-video-secondary-info-renderer, +html[it-hide-details='true'] ytd-watch-metadata { + display: none !important; +} + + +/*-------------------------------------------------------------- +# HIDE VIEWS COUNT +--------------------------------------------------------------*/ + +html[it-hide-views-count='true'] #info #count, +html[it-hide-views-count='true'] #info #count + #info-strings>#dot, +html[it-hide-views-count='true'] ytd-watch-metadata #info>span:first-child { + display: none !important; +} + +/*-------------------------------------------------------------- +# HIDE COMMENTS COUNT +--------------------------------------------------------------*/ + +html[it-hide-comments-count='true'] #comments #count { + display: none !important; +} + +/*-------------------------------------------------------------- +# HIDE DATE +--------------------------------------------------------------*/ + +html[it-hide-date='true'] #info #count + #info-strings>yt-formatted-string, +html[it-hide-date='true'] #info #count + #info-strings>#dot, +html[it-hide-date='true'] ytd-watch-metadata #info>span:last-child { + display: none !important; +} + + /*-------------------------------------------------------------- +YouTube's detail buttons +--------------------------------------------------------------*/ + +html[it-youtubesDetailButtons='remove_labels'] #menu ytd-button-renderer div:nth-child(2), +html[it-youtubesDetailButtons='remove_labels'] #menu ytd-button-renderer .cbox +{display:none;} +html[it-youtubesDetailButtons='hide_labels'] #menu ytd-button-renderer div:nth-child(2) {visibility:hidden} +html[it-youtubesDetailButtons='faint_transparent'] #menu button {opacity:0.5;} +html[it-youtubesDetailButtons='remove'] #menu button {display:none;} +html[it-youtubesDetailButtons='remove_icons'] #menu button div:first-child {display:none;} + + /*-------------------------------------------------------------- +HIDE LIKE BUTTON +--------------------------------------------------------------*/ + +html[it-likes='hidden'] #top-level-buttons-computed #segmented-like-button ytd-toggle-button-renderer, +html[it-likes='icons_only'] #top-level-buttons-computed #segmented-like-button ytd-toggle-button-renderer div.cbox { + display: none; +} + +html[it-likes='icons_only'] #top-level-buttons-computed #segmented-like-button ytd-toggle-button-renderer .yt-spec-button-shape-next__icon, +html[it-likes='icons_only'] #top-level-buttons-computed #segmented-like-button ytd-toggle-button-renderer button{ + margin: 0; + padding: 0 5px; +} + + + /*-------------------------------------------------------------- +HIDE DISLIKE BUTTON +--------------------------------------------------------------*/ + +html[it-hide-dislike-button='hidden'] #top-level-buttons-computed #segmented-dislike-button ytd-toggle-button-renderer, +html[it-hide-dislike-button='icons_only'] #top-level-buttons-computed #segmented-dislike-button ytd-toggle-button-renderer div.cbox { + display: none; +} + +html[it-hide-dislike-button='icons_only'] #top-level-buttons-computed #segmented-dislike-button ytd-toggle-button-renderer .yt-spec-button-shape-next__icon, +html[it-hide-dislike-button='icons_only'] #top-level-buttons-computed #segmented-dislike-button ytd-toggle-button-renderer button{ + margin: 0; + padding: 0 5px; +} + + +/*-------------------------------------------------------------- +# HIDE SHARE BUTTON +--------------------------------------------------------------*/ + +html[it-hide-share-button='hidden'] #top-level-buttons-computed ytd-button-renderer, +html[it-hide-share-button='icons_only'] #top-level-buttons-computed ytd-button-renderer div.cbox { + display: none; +} + +html[it-hide-share-button='icons_only'] #top-level-buttons-computed ytd-button-renderer .yt-spec-button-shape-next__icon, +html[it-hide-share-button='icons_only'] #top-level-buttons-computed ytd-button-renderer button{ + margin: 0; + padding: 0 5px; +} + + +/*-------------------------------------------------------------- +# HIDE DOWNLOAD BUTTON +--------------------------------------------------------------*/ + +html[it-hide-download-button='hidden'] #flexible-item-buttons ytd-download-button-renderer, +html[it-hide-download-button='icons_only'] #flexible-item-buttons ytd-download-button-renderer div.cbox { + display: none; +} + +html[it-hide-download-button='icons_only'] #flexible-item-buttons ytd-download-button-renderer .yt-spec-button-shape-next__icon, +html[it-hide-download-button='icons_only'] #flexible-item-buttons ytd-download-button-renderer button{ + margin: 0; + padding: 0 5px; +} + + +/*-------------------------------------------------------------- +# HIDE THANKS BUTTON +--------------------------------------------------------------*/ + +html[it-hide-thanks-button='hidden'] #flexible-item-buttons ytd-button-renderer#Thanks-button, +html[it-hide-thanks-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Thanks-button div.cbox { + display: none; +} + +html[it-hide-thanks-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Thanks-button .yt-spec-button-shape-next__icon, +html[it-hide-thanks-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Thanks-button button{ + margin: 0; + padding: 0 5px; +} + + +/*-------------------------------------------------------------- +# HIDE CLIP BUTTON +--------------------------------------------------------------*/ + +html[it-hide-clip-button='hidden'] #flexible-item-buttons ytd-button-renderer#Clip-button, +html[it-hide-clip-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Clip-button div.cbox { + display: none; +} + +html[it-hide-clip-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Clip-button .yt-spec-button-shape-next__icon, +html[it-hide-clip-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Clip-button button{ + margin: 0; + padding: 0 5px; +} + + +/*-------------------------------------------------------------- +# HIDE SAVE BUTTON +--------------------------------------------------------------*/ + +html[it-hide-save-button='hidden'] #flexible-item-buttons ytd-button-renderer#Save-button, +html[it-hide-save-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Save-button div.cbox { + display: none; +} + +html[it-hide-save-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Save-button .yt-spec-button-shape-next__icon, +html[it-hide-save-button='icons_only'] #flexible-item-buttons ytd-button-renderer#Save-button button{ + margin: 0; + padding: 0 5px; +} + + +/*-------------------------------------------------------------- +# HIDE REPORT BUTTON +--------------------------------------------------------------*/ + +html[it-hide-report-button='true'] #top-level-buttons-computed ytd-button-renderer#Report-button { + display: none; +} + + +/*-------------------------------------------------------------- +# HIDE MORE BUTTON +--------------------------------------------------------------*/ + +html[it-hide-more-button='true'] #menu yt-button-shape#button-shape { + display: none; +} + + +/*-------------------------------------------------------------- +# DESCRIPTION +--------------------------------------------------------------*/ + +/* html[it-details-old-style=true] */ + +html[it-description='normal'] { } +html[it-description='expanded'] { } + +html[it-description='classic'] .ytd-watch-flexy #info-contents, +html[it-description='classic'] .ytd-watch-flexy #meta-contents { display: block !important; } +html[it-description='classic'] #below.ytd-watch-flexy { top:-20px; } +html[it-description='classic'] ytd-menu-renderer[has-flexible-items] { overflow-y: unset !important; } +html[it-description='classic'] ytd-video-primary-info-renderer { padding-bottom: 14px !important; } + +html[it-description='classic_expanded'] .ytd-watch-flexy #info-contents, +html[it-description='classic_expanded'] .ytd-watch-flexy #meta-contents { display: block !important; } +html[it-description='classic_expanded'] #below.ytd-watch-flexy { top:-20px; } +html[it-description='classic_expanded'] ytd-menu-renderer[has-flexible-items] { overflow-y: unset !important; } +html[it-description='classic_expanded'] ytd-video-primary-info-renderer { padding-bottom: 14px !important; } + +html[it-description='hidden'] ytd-video-secondary-info-renderer ytd-expander.ytd-video-secondary-info-renderer, +html[it-description='hidden'] div#action-panel-details, +html[it-description='hidden'] ytd-expander.ytd-video-secondary-info-renderer, +html[it-description='hidden'] #description-inline-expander { + display: none !important; +} +html[it-description='classic'] div.style-scope.ytd-watch-flexy + ytd-watch-metadata { display: none !important;} +html[it-description='classic_expanded'] div.style-scope.ytd-watch-flexy + ytd-watch-metadata { display: none !important;} + +/*-------------------------------------------------------------- +# HOW LONG AGO THE VIDEO WAS UPLOADED +--------------------------------------------------------------*/ + +.it-how-long-ago-the-video-was-uploaded { + float: right !important; + + margin-left: 4px !important; + + color: var(--yt-spec-text-secondary) !important; +} + + +/*-------------------------------------------------------------- +# SHOW CHANNEL VIDEOS COUNT +--------------------------------------------------------------*/ + +.it-channel-videos-count { + display: inline-block !important; + + margin-left: 4px !important; + + color: var(--yt-spec-text-secondary) !important; +} + + +/*-------------------------------------------------------------- +# SHOW DISLIKE RED COLOR +--------------------------------------------------------------*/ + +html[it-red-dislike-button='true'] #top-level-buttons-computed #segmented-dislike-button ytd-toggle-button-renderer *[aria-pressed='true'] yt-icon { + color: #f02200 !important; +} diff --git a/content-scripts/extension-context/youtube-features/appearance/details/details.js b/content-scripts/extension-context/youtube-features/appearance/details/details.js new file mode 100644 index 000000000..9325e9dae --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/details/details.js @@ -0,0 +1,10 @@ +/*-------------------------------------------------------------- +>>> DETAILS: +---------------------------------------------------------------- +# +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# +--------------------------------------------------------------*/ + diff --git a/content-scripts/extension-context/youtube-features/appearance/footer/footer.css b/content-scripts/extension-context/youtube-features/appearance/footer/footer.css new file mode 100644 index 000000000..6adddce18 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/footer/footer.css @@ -0,0 +1,13 @@ +/*-------------------------------------------------------------- +>>> FOOTER: +---------------------------------------------------------------- +# Hide +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# HIDE +--------------------------------------------------------------*/ + +html[it-hide-footer='true'] ytd-guide-renderer #footer { + display: none !important; +} \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/appearance/header/header.css b/content-scripts/extension-context/youtube-features/appearance/header/header.css new file mode 100644 index 000000000..892b4bec1 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/header/header.css @@ -0,0 +1,142 @@ +/*-------------------------------------------------------------- +>>> HEADER: +---------------------------------------------------------------- +# Position +# Improve logo +# Hide right buttons +# Hide country code +# Hide voice search button +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# POSITION +--------------------------------------------------------------*/ +/*html[it-header-position=hidden] #masthead-container, + html[it-header-position=hidden_on_video_page][data-page-type=video] #masthead-container, */ +html[it-header-position=hidden] tp-yt-app-drawer#guide #guide-spacer, +html[it-header-position=hidden] tp-yt-app-drawer:not([opened]) #header ytd-topbar-logo-renderer, +html[it-header-position=hidden] tp-yt-app-drawer:not([opened]) #header .it-button, +html[it-header-position=hover] tp-yt-app-drawer#guide #guide-spacer, +html[it-header-position=hover] tp-yt-app-drawer:not([opened]) #header ytd-topbar-logo-renderer, +html[it-header-position=hover] tp-yt-app-drawer:not([opened]) #header .it-button, +html[it-header-position=static] tp-yt-app-drawer#guide #guide-spacer, +html[it-header-position=static] tp-yt-app-drawer:not([opened]) #header ytd-topbar-logo-renderer, +html[it-header-position=static] tp-yt-app-drawer:not([opened]) #header .it-button, +html[it-header-position=hidden_on_video_page][data-page-type=video] tp-yt-app-drawer#guide #guide-spacer, +html[it-header-position=hover_on_video_page][data-page-type=video] tp-yt-app-drawer#guide #guide-spacer { + display: none; +} + +html[it-header-position=hover] #masthead-container, +html[it-header-position=hover] tp-yt-app-drawer, +html[it-header-position=hover] ytd-mini-guide-renderer, +html[it-header-position=hover_on_video_page][data-page-type='video'] #masthead-container, +html[it-header-position=hover_on_video_page][data-page-type='video'] tp-yt-app-drawer, +html[it-header-position=hover_on_video_page][data-page-type='video'] ytd-mini-guide-renderer, +html[it-header-position=static] tp-yt-app-drawer, +html[it-header-position=static] ytd-mini-guide-renderer { + z-index: 2147483647 !important; +} + +html[it-header-position=hidden] ytd-page-manager#page-manager, +html[it-header-position=hidden_on_video_page][data-page-type='video'] ytd-page-manager#page-manager, +html[it-header-position=hover] ytd-page-manager#page-manager, +html[it-header-position=hover_on_video_page][data-page-type='video'] ytd-page-manager#page-manager, +html[it-header-position=hidden][data-page-type='channel'] tp-yt-app-header#header, +html[it-header-position=hidden_on_video_page][data-page-type='channel'] tp-yt-app-header#header, +html[it-header-position=hover][data-page-type='channel'] tp-yt-app-header#header, +html[it-header-position=hover_on_video_page][data-page-type='channel'] tp-yt-app-header#header, +html[it-header-position=static] ytd-page-manager#page-manager { + margin-top: 0; +} + +html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-container, +html[it-header-position=hover_on_video_page][data-page-type='video']:not([it-improvedtube-search=true]) #masthead-container { + transition: all 250ms ease-in-out; + transform: translateY(-75%); + height: 20%; + opacity: 0; +} + +html[it-header-position=hover] #masthead-container:hover, +html[it-header-position=hover][it-search-focus=true] #masthead-container, +html[it-header-position=hover_on_video_page][data-page-type='video'] #masthead-container:hover, +html[it-header-position=hover_on_video_page][data-page-type='video'][it-search-focus=true] #masthead-container { + transform: translateY(0%); + opacity: 1; +} + +html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-container { + transform: translateY(-100%); +} + +html[it-header-position=static] .ytd-app:not([masthead-hidden_]) #masthead-container { + position: relative; + z-index: 999999999999 !important; +} + +html[it-header-position=hover]:not([data-page-type=video]) tp-yt-app-drawer:not([opened]) #header, +html[it-header-position=hidden]:not([data-page-type=video]) tp-yt-app-drawer:not([opened]) #header, +html[it-header-position=static]:not([data-page-type=video]) tp-yt-app-drawer:not([opened]) #header { + position: absolute; + visibility: visible; + left: 240px; + top: 120px; + padding: 0 16px; + background: var(--yt-spec-brand-background-solid); +} + +html[it-header-position=hover] tp-yt-app-drawer #header, +html[it-header-position=hidden] tp-yt-app-drawer #header, +html[it-header-position=static] tp-yt-app-drawer #header { + display: flex !important; +} + +html[it-header-position=hover] #chips-wrapper.ytd-feed-filter-chip-bar-renderer, +html[it-header-position=hidden] #chips-wrapper.ytd-feed-filter-chip-bar-renderer, +html[it-header-position=static] #chips-wrapper.ytd-feed-filter-chip-bar-renderer { + position: inherit; +} + + +/*-------------------------------------------------------------- +# IMPROVE LOGO +--------------------------------------------------------------*/ + +html[it-header-improve-logo='true'] ytd-topbar-logo-renderer path[fill='#FF0000'], +html[it-header-improve-logo='true'] ytd-topbar-logo-renderer polygon[fill='#FFFFFF'] { + fill: rgb(40, 40, 40) !important; +} + +html[it-header-improve-logo='true'][dark] ytd-topbar-logo-renderer path[fill='#FF0000'] { + fill: rgb(66, 66, 66) !important; +} + + +/*-------------------------------------------------------------- +# HIDE RIGHT BUTTONS +--------------------------------------------------------------*/ + +html[it-header-hide-right-buttons='true'] #masthead #container #end { + visibility: hidden !important; + + pointer-events: none !important; +} + + +/*-------------------------------------------------------------- +# HIDE COUNTRY CODE +--------------------------------------------------------------*/ + +html[it-header-hide-country-code='true'] #logo #country-code { + display: none !important; +} + + +/*-------------------------------------------------------------- +# HIDE VOICE SEARCH BUTTON +--------------------------------------------------------------*/ + +html[it-hide-voice-search-button='true'] #voice-search-button { + display: none !important; +} \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/appearance/player/player.css b/content-scripts/extension-context/youtube-features/appearance/player/player.css new file mode 100644 index 000000000..e32443db6 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/player/player.css @@ -0,0 +1,560 @@ +/*-------------------------------------------------------------- +>>> PLAYER +---------------------------------------------------------------- +# Hide shadow around player bar +# Always show progress bar +# Transparent background +# Hide annotations +# Hide cards +# Show cards on mouse hover +# Hide endscreen +# Hide "Scroll for details" +# Player Size +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# HIDE SHADOW AROUND PLAYER BAR +--------------------------------------------------------------*/ + +html[it-hide-gradient-bottom='true'] .ytp-gradient-bottom { + display: none; +} + + +/*-------------------------------------------------------------- +# ALWAYS SHOW PROGRESS BAR +--------------------------------------------------------------*/ + +html[it-always-show-progress-bar='true'] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom { + opacity: 1 !important; +} + +html[it-always-show-progress-bar='true'] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-chrome-controls { + opacity: 0 !important; +} + +html[it-always-show-progress-bar='true'] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-progress-bar-container { + bottom: 0 !important; +} + + +/*-------------------------------------------------------------- +# COLOR +--------------------------------------------------------------*/ + +html[it-player-color='pink'] { + --it-player-color: #e91e63; +} + +html[it-player-color='purple'] { + --it-player-color: #9c27b0; +} + +html[it-player-color='deep_purple'] { + --it-player-color: #673ab7; +} + +html[it-player-color='indigo'] { + --it-player-color: #3f51b5; +} + +html[it-player-color='blue'] { + --it-player-color: #1e88e5; +} + +html[it-player-color='light_blue'] { + --it-player-color: #03a9f4; +} + +html[it-player-color='cyan'] { + --it-player-color: #00bcd4; +} + +html[it-player-color='teal'] { + --it-player-color: #009688; +} + +html[it-player-color='green'] { + --it-player-color: #4caf50; +} + +html[it-player-color='light_green'] { + --it-player-color: #8bc34a; +} + +html[it-player-color='lime'] { + --it-player-color: #cddc39; +} + +html[it-player-color='yellow'] { + --it-player-color: #ffeb3b; +} + +html[it-player-color='amber'] { + --it-player-color: #ffc107; +} + +html[it-player-color='orange'] { + --it-player-color: #ff9800; +} + +html[it-player-color='deep_orange'] { + --it-player-color: #ff5722; +} + +html[it-player-color='brown'] { + --it-player-color: #795548; +} + +html[it-player-color='blue_gray'] { + --it-player-color: #607d8b; +} + +html[it-player-color='white'] { + --it-player-color: #fff; +} + +html[it-player-color]:not([it-player-color='red']):not([it-player-color='normal']) .ytp-play-progress, +html[it-player-color]:not([it-player-color='red']):not([it-player-color='normal']) .ytp-scrubber-button, +html[it-player-color]:not([it-player-color='red']):not([it-player-color='normal']) .ytp-menuitem[aria-checked='true'] .ytp-menuitem-toggle-checkbox, +html[it-player-color]:not([it-player-color='red']):not([it-player-color='normal']) .ytp-settings-button.ytp-hd-quality-badge:after { + background-color: var(--it-player-color) !important; +} + +html[it-player-color]:not([it-player-color='red']):not([it-player-color='normal']) .ytp-swatch-color { + color: var(--it-player-color) !important; +} + + +/*-------------------------------------------------------------- +# TRANSPARENT BACKGROUND +--------------------------------------------------------------*/ + +html[it-player-transparent-background='true'] #player-theater-container, +html[it-player-transparent-background='true'] #theater-background, +html[it-player-transparent-background='true'] #player-api, +html[it-player-transparent-background='true'] .player-api, +html[it-player-transparent-background='true'] #movie_player, +html[it-player-transparent-background='true'] #player-container, +html[it-player-transparent-background='true'] #movie_player video { + background-color: transparent !important; +} + + +/*-------------------------------------------------------------- +# HIDE ANNOTATIONS +--------------------------------------------------------------*/ + +html[it-player-hide-annotations='true'] .annotation, +html[it-player-hide-annotations='true'] .annotation-type-text, +html[it-player-hide-annotations='true'] .annotation-shape { + display: none !important; +} + + +/*-------------------------------------------------------------- +# HIDE CARDS +--------------------------------------------------------------*/ + +html[it-player-hide-cards='true'] .ytp-ce-element, +html[it-player-hide-cards='true'] .ytp-ce-video, +html[it-player-hide-cards='true'] .ytp-cards-button, +html[it-player-hide-cards='true'] .ytp-cards-teaser { + display: none !important; +} + + +/*-------------------------------------------------------------- +# SHOW CARDS ON MOUSE HOVER +--------------------------------------------------------------*/ + +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:not(:hover) .ytp-ce-element, +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:not(:hover) .ytp-ce-video, +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:not(:hover) .ytp-cards-button, +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:not(:hover) .ytp-cards-teaser { + display: none !important; +} + +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:hover .ytp-ce-element, +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:hover .ytp-ce-video, +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:hover .ytp-cards-button, +html[it-player-show-cards-on-mouse-hover='true'] .html5-video-player:hover .ytp-cards-teaser { + display: block !important; +} + + +/*-------------------------------------------------------------- +# HIDE ENDSCREEN +--------------------------------------------------------------*/ + +html[it-player-hide-endscreen='true'] .html5-endscreen { + display: none !important; +} + + +/*-------------------------------------------------------------- +# HIDE "SCROLL FOR DETAILS" +--------------------------------------------------------------*/ + +html[it-hide-scroll-for-details='true'] button.ytp-fullerscreen-edu-button { + display: none !important; +} + +html[it-hide-scroll-for-details='true'] ytd-app[scrolling_] { + overflow: hidden !important; +} + +/*-------------------------------------------------------------- +# Player Size +--------------------------------------------------------------*/ + + /*-------------------------------------------------------------- +# NORMAL +--------------------------------------------------------------*/ + +html[data-page-type=video]:not([it-header-position]) ytd-app, +html[data-page-type=video][it-header-position=normal] ytd-app, +html[data-page-type=video][it-header-position=static] ytd-app { + --it-header-size: 56px; +} + +html[data-page-type=video]:not([it-header-position]) ytd-watch-flexy:not([theater]), +html[data-page-type=video][it-header-position=normal] ytd-watch-flexy:not([theater]), +html[data-page-type=video][it-header-position=static] ytd-watch-flexy:not([theater]) { + --it-header-size: 104px; +} + +html[data-page-type=video]:not([it-header-position]) div#page, +html[data-page-type=video][it-header-position=normal] div#page, +html[data-page-type=video][it-header-position=static] div#page { + --it-header-size: 50px; +} + +html[data-page-type=video]:not([it-header-position]) div#page:not(.watch-wide), +html[data-page-type=video][it-header-position=normal] div#page:not(.watch-wide), +html[data-page-type=video][it-header-position=static] div#page:not(.watch-wide) { + --it-header-size: 70px; +} + + +/*-------------------------------------------------------------- +# HIDDEN +--------------------------------------------------------------*/ + +html[data-page-type=video][it-header-position=hidden], +html[data-page-type=video][it-header-position=hidden_on_video_page] { + --it-header-size: 0px; +} + +html[data-page-type=video][it-header-position=hidden] ytd-watch-flexy:not([theater]), +html[data-page-type=video][it-header-position=hidden_on_video_page] ytd-watch-flexy:not([theater]) { + --it-header-size: 48px; +} + +html[data-page-type=video][it-header-position=hidden] div#page, +html[data-page-type=video][it-header-position=hidden_on_video_page] div#page { + --it-header-size: 0px; +} + +html[data-page-type=video][it-header-position=hidden] div#page:not(.watch-wide), +html[data-page-type=video][it-header-position=hidden_on_video_page] div#page:not(.watch-wide) { + --it-header-size: 20px; +} + + +/*-------------------------------------------------------------- +# HOVER +--------------------------------------------------------------*/ + +html[data-page-type=video][it-header-position=hover], +html[data-page-type=video][it-header-position=hover_on_video_page] { + --it-header-size: 14px; +} + +html[data-page-type=video][it-header-position=hover] ytd-watch-flexy:not([theater]), +html[data-page-type=video][it-header-position=hover_on_video_page] ytd-watch-flexy:not([theater]) { + --it-header-size: 62px; +} + +html[data-page-type=video][it-header-position=hover] div#page, +html[data-page-type=video][it-header-position=hover_on_video_page] div#page { + --it-header-size: 12px; +} + +html[data-page-type=video][it-header-position=hover] div#page:not(.watch-wide), +html[data-page-type=video][it-header-position=hover_on_video_page] div#page:not(.watch-wide) { + --it-header-size: 32px; +} + +html[data-page-type=video][it-header-position=hover] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container, +html[data-page-type=video][it-header-position=hover_on_video_page] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container { + margin-top: 14px; +} + +html[data-page-type=video][it-header-position=hover] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen), +html[data-page-type=video][it-header-position=hover_on_video_page] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen) { + margin-top: 12px; +} + +html[data-page-type=video][it-header-position=hover] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]), +html[data-page-type=video][it-header-position=hover_on_video_page] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) { + margin-top: 14px; +} + + /*-------------------------------------------------------------- +# FIXED PLAYER SIZE +--------------------------------------------------------------*/ + +html[data-page-type=video][it-player-size='240p'] *, +html[data-page-type=video][it-player-size='360p'] *, +html[data-page-type=video][it-player-size='480p'] *, +html[data-page-type=video][it-player-size='576p'] *, +html[data-page-type=video][it-player-size='720p'] *, +html[data-page-type=video][it-player-size='1080p'] *, +html[data-page-type=video][it-player-size='1440p'] *, +html[data-page-type=video][it-player-size='2160p'] * { + --it-header-size: 0px !important; +} + +html[data-page-type=video][it-player-size='240p'] { + --it-player-size: 240px; +} + +html[data-page-type=video][it-player-size='360p'] { + --it-player-size: 360px; +} + +html[data-page-type=video][it-player-size='480p'] { + --it-player-size: 480px; +} + +html[data-page-type=video][it-player-size='576p'] { + --it-player-size: 576px; +} + +html[data-page-type=video][it-player-size='720p'] { + --it-player-size: 720px; +} + +html[data-page-type=video][it-player-size='1080p'] { + --it-player-size: 1080px; +} + +html[data-page-type=video][it-player-size='1440p'] { + --it-player-size: 1440px; +} + +html[data-page-type=video][it-player-size='2160p'] { + --it-player-size: 2160px; +} + +/*-------------------------------------------------------------- +# MAX WIDTH ON PAGE +--------------------------------------------------------------*/ +html[data-page-type=video][it-player-size='max_width'] ytd-browse > ytd-two-column-browse-results-renderer { + width: auto !important; + max-width: auto !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #columns.ytd-watch-flexy, +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #primary.ytd-watch-flexy { + max-width: 98.5% !important; margin: 2px !important; } + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #below { + margin-left: max(18px, calc(21vw - 230px)) !important; + margin-right:max(18px, calc(13vw - 130px)) !important; + max-width: 1600px !important; + } + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #player { + margin-top: -20px !important; object-fit: contain !important;} +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #player-container-outer.ytd-watch-flexy { + max-width: 98.5% !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #player-container-inner.ytd-watch-flexy { + padding-top: calc(var(--ytd-watch-flexy-max-player-height) + 45px) !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) .html5-video-container { + width: 100% !important; + height: 100% !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) video { + position: static !important; + top: 0 !important; + left: 0 !important; + width: 100% !important; + height: 100% !important; + justify-content: center !important} + +html[data-page-type=video][it-player-size='max_width'] { + --it-player-size: 100vh;} + +html[data-page-type=video][it-player-size='max_width'] .ytp-fit-cover-video .html5-main-video { + object-fit: contain !important;} + +/*-------------------------------------------------------------- +# FULL HEIGHT "Full window" +--------------------------------------------------------------*/ + +html[data-page-type=video][it-player-size='full_window'] { + --it-player-size: 100vh;} + +html[data-page-type=video][it-player-size='full_window'] .ytp-fit-cover-video .html5-main-video { + object-fit: contain !important;} + +/*-------------------------------------------------------------- +# "FIT TO WINDOW" (needs update) +--------------------------------------------------------------*/ + +html[data-page-type=video][it-player-size='fit_to_window'] { + --it-player-size: 100vh;} + +html[data-page-type=video][it-player-size='fit_to_window'] .ytp-fit-cover-video .html5-main-video { + object-fit: contain !important;} + +/*-------------------------------------------------------------- +# ELEMENTS +--------------------------------------------------------------*/ + +html[data-page-type='video'][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='custom']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-container-inner { + padding-top: calc(var(--it-player-size) - var(--it-header-size)) !important; +} + +html[data-page-type='video'][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='custom']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container, +html[data-page-type='video'][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='custom']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-theater-container { + width: auto !important; + height: calc(var(--it-player-size) - var(--it-header-size)) !important; + min-height: auto !important; + max-height: none !important; +} + +html[data-page-type='video'][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='custom']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player { + background: #000 !important; +} + +html[data-page-type='video'][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='custom']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-container { + position: absolute !important; + display: flex !important; + width: 100% !important; + height: 100% !important; + justify-content: center !important; + align-items: center !important; +} + +html[data-page-type='video'][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='custom']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video { + position: relative !important; + top: 0 !important; + left: 0 !important; + width: auto !important; + max-width: 100% !important; + height: calc(var(--it-player-size) - var(--it-header-size)) !important; +} + + +/*-------------------------------------------------------------- +# THEATER: ON +--------------------------------------------------------------*/ + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-theater-container { + height: auto !important; + min-height: 0 !important; + max-height: unset !important; + background: transparent !important; +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-container { + position: static !important; +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) ytd-player>#container { + display: flex !important; + justify-content: center !important; + align-items: center !important; +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) .html5-video-container { + display: flex !important; + justify-content: center !important; + align-items: center !important; +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) .html5-video-player { + display: table !important; + width: auto !important; +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) video { + position: static !important; + width: auto !important; + height: calc(var(--it-player-size) - var(--it-header-size)) !important; + max-height: none !important; +} + + +/*-------------------------------------------------------------- +# THEATER: OFF +--------------------------------------------------------------*/ + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container-inner { + padding-top: 0 !important; +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container { + position: static !important; +} + + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) .html5-video-player { + width: auto; + display: table; + margin: auto +} + +[data-page-type='video'][it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) video { + position: static !important; + width: 100% !important; + height: calc(var(--it-player-size) - var(--it-header-size)) !important; + max-height: none !important; +} + +/*-------------------------------------------------------------- +# CUSTOM PLAYER SIZE +--------------------------------------------------------------*/ + +html[data-page-type='video'][it-player-size='custom'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container, +html[data-page-type='video'][it-player-size='custom'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-theater-container { + width: var(--it-player-width) !important; + height: var(--it-player-height) !important; + margin: 0 auto; + min-height: auto !important; + max-height: none !important; +} + +html[data-page-type='video'][it-player-size='custom'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container-inner { + padding-top: var(--it-player-height) !important; +} + +/*------------------------------------------------------------------------------ +HIDE CONTROLS OPTIONS +------------------------------------------------------------------------------*/ +html[it-player-play-button=true] .ytp-play-button, +html[it-player-previous-button=true] .ytp-prev-button, +html[it-player-next-button=true] .ytp-next-button, +html[it-player-volume-button=true] .ytp-volume-area, +html[it-player-autoplay-button=true] .ytp-right-controls .ytp-button[data-tooltip-target-id = ytp-autonav-toggle-button], +html[it-player-settings-button=true] .ytp-settings-button, +html[it-player-subtitles-button=true] .ytp-subtitles-button, +html[it-player-miniplayer-button=true] .ytp-miniplayer-button, +html[it-player-view-button=true] .ytp-size-button, +html[it-player-screen-button=true] .ytp-fullscreen-button, +html[it-player-remote-button=true] .ytp-remote-button { + display: none !important; +} + +/*-------------------------------------------------------------- +# SKIP OVERLAY +--------------------------------------------------------------*/ + +html[it-player-hide-skip-overlay=true] .ytp-doubletap-ui, .ytp-doubletap-ui-legacy +{ + visibility: hidden; +} \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/appearance/player/player.js b/content-scripts/extension-context/youtube-features/appearance/player/player.js new file mode 100644 index 000000000..319b74a30 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/player/player.js @@ -0,0 +1,10 @@ +/*-------------------------------------------------------------- +>>> PLAYER +---------------------------------------------------------------- +# +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# +--------------------------------------------------------------*/ + diff --git a/content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.css b/content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.css new file mode 100644 index 000000000..9872a4e7a --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.css @@ -0,0 +1,146 @@ +/*-------------------------------------------------------------- +>>> SIDEBAR +---------------------------------------------------------------- +# Related videos +# Move sidebar left +# Move thumbnails right +# Hide thumbnails +# Livechat +# Hide playlist +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# SIDEBAR AUTO SIZING +--------------------------------------------------------------*/ +ytd-watch-flexy[flexy] #secondary.ytd-watch-flexy { + width: auto !important; + min-width: unset !important; +} + +ytd-live-chat-frame, +div#secondary div#related, +div#secondary div#panels, +div#secondary div#donation-shelf, +div#secondary #playlist { + width: var(--ytd-watch-flexy-sidebar-width); + min-width: var(--ytd-watch-flexy-sidebar-min-width); +} + +/*-------------------------------------------------------------- +# RELATED VIDEOS +--------------------------------------------------------------*/ + +html[it-related-videos='hidden'] #related > ytd-watch-next-secondary-results-renderer > #items, +html[it-related-videos=hidden] div#secondary div#panels, +html[it-related-videos=hidden] div#secondary div#donation-shelf { + display: none !important; +} + +html[it-related-videos='collapsed'] #related > ytd-watch-next-secondary-results-renderer > #items:not([it-activated])::before { + content: 'Show more' !important; +} + +html[it-related-videos='collapsed'] #related > ytd-watch-next-secondary-results-renderer > #items[it-activated]::before { + content: 'Show less' !important; +} + +html[it-related-videos='collapsed'] #related > ytd-watch-next-secondary-results-renderer > #items::before { + font-family: inherit !important; + font-size: 1.6rem !important; + font-weight: 400 !important; + + display: flex !important; + + width: 100% !important; + height: 48px !important; + margin: 0 !important; + + color: var(--yt-spec-text-primary) !important; + border-bottom: 1px solid var(--yt-spec-10-percent-layer) !important; + + justify-content: center !important; + align-items: center !important; +} + +html[it-related-videos='collapsed'] #related > ytd-watch-next-secondary-results-renderer > #items:not([it-activated]) > *{ + visibility: hidden !important; + + pointer-events: none !important; +} + +/*-------------------------------------------------------------- +# NO PAGE MARGIN +--------------------------------------------------------------*/ + +html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #columns.ytd-watch-flexy, +html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #primary.ytd-watch-flexy { + max-width: 99% !important; margin: 1px !important; } + +@media screen and (max-width: 2300px) and (min-width: 1250px) { + html[data-page-type=video][it-no-page-margin='true'] ytd-browse > ytd-two-column-browse-results-renderer { + width: auto !important; + max-width: auto !important; } + html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #secondary.ytd-watch-flexy { + margin-right: calc (-12px - 0.4vw - 0.4vh) !important;} + html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #below { + margin-left: max(18px, calc(21vw - 230px)) !important; + margin-right:max(18px, calc(13vw - 130px)) !important; + max-width: 1280px !important; } +} + +@media screen and (min-width: 2301px) { + html[data-page-type=video][it-no-page-margin='true'][it-sidebar-left='true'] #secondary + {left: 15px !important;} + html[data-page-type=video][it-no-page-margin='true']:not([it-player-size='max_width']) #secondary + {position:absolute !important; right: 15px; } + html[data-page-type=video][it-no-page-margin='true']:not([it-player-size='1080p']):not([it-player-size='1440p']):not([it-player-size='2160p']):not([it-player-size='custom']):not([it-player-size='max_width']) ytd-watch-flexy:not([fullscreen]) #primary.ytd-watch-flexy { + max-width: 1280px !important; } + html[data-page-type=video][it-no-page-margin='true']:not([it-player-size='1080p']):not([it-player-size='1440p']):not([it-player-size='2160p']):not([it-player-size='custom']):not([it-player-size='max_width']) ytd-watch-flexy:not([fullscreen]) #below { + margin-left: 1px !important;} +} + + +/*-------------------------------------------------------------- +# MOVE SIDEBAR LEFT +--------------------------------------------------------------*/ + +html[it-sidebar-left='true'] #columns>#primary, +html[it-sidebar-left='true'] #head>#upnext +{ + order: 7 !important; +} + +html[it-sidebar-left='true'] #columns>#secondary {margin-left: calc(0.5vw + 4px); margin-right:0.2vw !important;} + +/*-------------------------------------------------------------- +# MOVE THUMBNAILS RIGHT +--------------------------------------------------------------*/ + +html[it-thumbnails-right='true'] ytd-watch-next-secondary-results-renderer ytd-thumbnail { + order: 7 !important; +} + +/*-------------------------------------------------------------- +# HIDE THUMBNAILS +--------------------------------------------------------------*/ + +html[it-thumbnails-hide='true'] ytd-watch-next-secondary-results-renderer ytd-thumbnail, +html[it-thumbnails-hide='true'] ytd-watch-next-secondary-results-renderer ytd-playlist-thumbnail { + display: none !important; +} + +/*-------------------------------------------------------------- +# LIVECHAT +--------------------------------------------------------------*/ + +html[it-livechat='hidden'] ytd-live-chat-frame#chat { + display: none !important; +} + +/*-------------------------------------------------------------- +# HIDE PLAYLIST +--------------------------------------------------------------*/ + +html[it-hide-playlist='true'] ytd-playlist-panel-renderer#playlist { + display: none !important; +} diff --git a/content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.js b/content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.js new file mode 100644 index 000000000..e760e4740 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.js @@ -0,0 +1,38 @@ +/*-------------------------------------------------------------- +>>> SIDEBAR +---------------------------------------------------------------- +# Related videos +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# RELATED VIDEOS +--------------------------------------------------------------*/ + +extension.features.relatedVideos = function (anything) { + if (anything instanceof Event) { + var event = anything; + + if (event.type === 'click') { + var target = event.target; + + if (target.id === 'items' && target.parentNode.nodeName === 'YTD-WATCH-NEXT-SECONDARY-RESULTS-RENDERER') { + var rect = target.getBoundingClientRect(); + + if ( + event.clientX - rect.left >= 0 && + event.clientX - rect.left < rect.width && + event.clientY - rect.top >= 0 && + event.clientY - rect.top < 48 + ) { + target.toggleAttribute('it-activated'); + } + } + } + } else { + if (extension.storage.get('related_videos') === 'collapsed') { + window.addEventListener('click', this.relatedVideos, true); + } else { + window.removeEventListener('click', this.relatedVideos, true); + } + } +}; \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/content-styles.css b/content-scripts/extension-context/youtube-features/content-styles.css new file mode 100644 index 000000000..e949183ce --- /dev/null +++ b/content-scripts/extension-context/youtube-features/content-styles.css @@ -0,0 +1,1909 @@ +/*------------------------------------------------------------------------------ +>>> TABLE OF CONTENTS: +-------------------------------------------------------------------------------- +3.0 Themes + 3.1 Bluelight + 3.2 Dim + 3.3 Themes +4.0 Player + 4.1 Crop chapter titles + 4.2 Ads + 4.3 Mini player + 4.4 Screenshot + 4.5 Repeat + 4.6 Rotate + 4.7 Popup player +5.0 Playlist + 5.1 Reverse +6.0 Channel + 6.1 "Play all" button + 6.2 Featured content +7.0 Shortcuts +8.0 Settings + 8.1 ImprovedTube icon on YouTube +9.0 Blacklist +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +3.0 THEMES +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +3.3 THEMES +------------------------------------------------------------------------------*/ +/*update*/ +[it-theme=block] #cinematics, +[it-theme=desert] #cinematics {display:none !important} +[it-theme=dawn] #cinematics, +[it-theme=sunset] #cinematics, +[it-theme=night] #cinematics { mix-blend-mode: lighten !important} +[it-theme=plain] #cinematics { filter:invert(100%) !important; mix-blend-mode: darken !important} + +/*BLACK*/ + +[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]), +[data-system-color-scheme=dark][it-theme=black][it-schedule=system_peference_dark], +[data-system-color-scheme=light][it-theme=black][it-schedule=system_peference_light] { + --yt-swatch-primary: #000 !important; + --yt-swatch-primary-darker: #000 !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-swatch-header-primary: #000; + --yt-spec-base-background: #000 !important; + --yt-spec-raised-background: #000 !important; + --yt-spec-menu-background: #000 !important; + --yt-spec-inverted-background: #fff; + --yt-spec-brand-background-solid: #000 !important; + --yt-spec-brand-background-primary: rgba(0, 0, 0, .98) !important; + --yt-spec-brand-background-secondary: rgba(0, 0, 0, .95) !important; + --yt-spec-general-background-a: #000 !important; + --yt-spec-general-background-b: #000 !important; + --yt-spec-general-background-c: #000 !important; + --yt-spec-error-background: #1f1f1f !important; + --yt-spec-text-primary: #aaa !important; + --yt-spec-text-primary-inverse: #003459 !important; + --yt-spec-text-secondary: #aaa !important; + --yt-spec-text-disabled: #aaa !important; + --yt-spec-call-to-action: #065fd4 !important; + --yt-spec-icon-active-other: #aaa !important; + --yt-spec-icon-inactive: #aaa !important; + --yt-spec-icon-disabled: #aaa !important; + --yt-spec-badge-chip-background: rgba(0, 0, 0, .05) !important; + --yt-spec-verified-badge-background: rgba(0, 0, 0, .15) !important; + --yt-spec-suggested-action: #f2f8ff !important; + --yt-spec-button-chip-background-hover: rgba(0, 0, 0, .10) !important; + --yt-spec-touch-response: #000 !important; + --yt-spec-filled-button-text: #aaa !important; + --yt-spec-call-to-action-inverse: #aaa !important; + --yt-spec-brand-icon-active: #aaa !important; + --yt-spec-brand-icon-inactive: #aaa !important; + --yt-spec-brand-button-background: #242424 !important; + --yt-spec-brand-link-text: #aaa !important; + --yt-spec-filled-button-focus-outline: rgba(0, 0, 0, .60) !important; + --yt-spec-call-to-action-button-focus-outline: rgba(0, 0, 0, .30) !important; + --yt-spec-brand-text-button-focus-outline: rgba(204, 0, 0, .30) !important; + --yt-spec-inactive-text-button-focus-outline: #aaa !important; + --yt-spec-brand-subscribe-button-background: #aaa !important; + --yt-spec-wordmark-text: #aaa !important; + --yt-spec-10-percent-layer: #242424 !important; + --yt-spec-selected-nav-text: #aaa !important; + --yt-spec-themed-blue: #065fd4 !important; + --yt-spec-themed-green: #107516 !important; +} + +html[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo, +[data-system-color-scheme=dark][it-theme=black][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo, +[data-system-color-scheme=light][it-theme=black][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo { + -webkit-filter: grayscale(1) brightness(3.5); + filter: grayscale(1) brightness(3.5); +} + +[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead, +[data-system-color-scheme=dark][it-theme=black][it-schedule=system_peference_dark] ytd-masthead, +[data-system-color-scheme=light][it-theme=black][it-schedule=system_peference_light] ytd-masthead { + background: #000 !important; + --yt-swatch-primary: rgb(35, 35, 35) !important; + --yt-swatch-primary-darker: rgb(32, 32, 32) !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; +} + +[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=dark][it-theme=black][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=black][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) { + --yt-live-chat-action-panel-background-color: #000; + --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); + --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); + --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); + --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); + --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); + --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); + --yt-formatted-string-emoji-size: 24px; +} + +[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), +html[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], +[it-theme=black]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark], +[data-system-color-scheme=dark][it-theme=black][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=black][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) { + --yt-spec-icon-inactive: #fff; + --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); + --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); + --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-icon-color: #fff; + --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); + --ytd-moderation-panel-hover: hsl(0, 0%, 11%); + --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-comment-text-color: hsla(0, 100%, 100%, .88); + --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); + --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); + --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); + --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); + --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); + --ytd-backstage-cancel-color: hsl(0, 0%, 100%); + --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); + --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); + --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); + --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); + --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); + --ytd-badge-background: hsla(0, 100%, 100%, .08); + --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); + --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); + --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); + --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); + --ytd-ad-badge-text-color: hsl(0, 0%, 7%); + --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); + --ytd-toggle-color: hsl(0, 0%, 93.3%); + --ytd-survey-button-color: var(--yt-primary-text-color); + --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); + --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); + --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); + --ytd-offer-background-color: hsl(0, 0%, 14%); + --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); + --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); + --yt-std-body-100: hsla(0, 100%, 100%, .08); + --yt-std-body-200: hsla(0, 100%, 100%, .26); + --yt-std-body-300: hsla(0, 100%, 100%, .5); + --yt-std-surface-200: hsl(0, 0%, 11%); + --yt-std-surface-300: hsl(0, 0%, 14%); + --yt-std-surface-400: hsl(0, 0%, 16%); + --yt-primary-color: hsla(0, 100%, 100%, .88); + --yt-primary-text-color: hsla(0, 100%, 100%, .88); + --yt-hovered-text-color: hsla(0, 100%, 100%, .74); + --yt-secondary-text-color: hsla(0, 100%, 100%, .5); + --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); + --yt-disabled-text-color: hsla(0, 100%, 100%, .26); + --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); + --yt-border-color: hsla(0, 100%, 100%, .08); + --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); + --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); + --yt-alert-background: hsla(0, 100%, 100%, .26); + --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); + --yt-icon-color: hsla(0, 100%, 100%, .5); + --yt-icon-hover-color: hsla(0, 100%, 100%, .74); + --yt-icon-active-color: hsla(0, 100%, 100%, .88); + --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); + --yt-endpoint-color: hsl(0, 0%, 53.3%); + --yt-expand-color: hsla(0, 0%, 100%, .6); + --yt-metadata-color: hsl(0, 0%, 53.3%); + --yt-channel-owner: hsla(0, 100%, 100%, .88); + --yt-placeholder-text: hsl(0, 0%, 93.3%); + --yt-playlist-background-header: #000; + --yt-playlist-background-item: #000; + --yt-playlist-title-text: hsla(0, 100%, 100%, .88); + --yt-playlist-message-text: hsl(0, 0%, 93.3%); + --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); + --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); + --yt-brand-color: hsla(0, 100%, 100%, .88); + --yt-button-text-color: hsla(0, 100%, 100%, .5); + --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); + --yt-copyright-text: hsla(0, 0%, 100%, .6); + --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); + --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); + --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); + --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); + --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); + --paper-menu-background-color: #000; + --paper-listbox-background-color: #000; + --paper-menu-color: hsla(0, 100%, 100%, .88); + --paper-listbox-color: hsla(0, 100%, 100%, .88); + --paper-dialog-background-color: #000; + --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); + --yt-simple-menu-header-background: #000; + --yt-item-section-header-color: hsl(0, 0%, 93.3%); + --yt-menu-hover-backgound-color: #000; + --yt-menu-focus-background-color: #000; + --yt-searchbox-text-color: var(--yt-primary-text-color); + --yt-material-searchbox-inactive: hsl(0, 0%, 7%); + --yt-material-searchbox-active: hsl(0, 0%, 100%); + --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); + --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); + --yt-app-background: #000; + --yt-main-app-background: #000; + --yt-main-app-background-tmp: #000; + --yt-guide-background: #000; + --yt-dialog-background: #000; + --yt-searchbox-background: #000 !important; + --yt-channel-header-background: #000; + --yt-sidebar-background: #000; + --yt-transcript-background: #000; + --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); + --yt-chat-bubble-other-background-color: #000; + --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); + --yt-chat-bubble-self-background-color: #000; + --yt-blue-suggestive: transparent; +} + + +/*DAWN*/ + +[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]), +[data-system-color-scheme=dark][it-theme=dawn][it-schedule=system_peference_dark], +[data-system-color-scheme=light][it-theme=dawn][it-schedule=system_peference_light] { + --yt-swatch-primary: #d44d5c !important; + --yt-swatch-primary-darker: #d44d5c !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-swatch-header-primary: #734; + --yt-spec-base-background: #d38255 !important; + --yt-spec-raised-background: #734 !important; + --yt-spec-menu-background: #734 !important; + --yt-spec-inverted-background: #fff; + --yt-spec-brand-background-solid: #d44d5c !important; + --yt-spec-brand-background-primary: rgba(0, 0, 0, .98) !important; + --yt-spec-brand-background-secondary: rgba(0, 0, 0, .95) !important; + --yt-spec-general-background-a: #d44d5c !important; + --yt-spec-general-background-b: #d44d5c !important; + --yt-spec-general-background-c: #d44d5c !important; + --yt-spec-error-background: #1f1f1f !important; + --yt-spec-text-primary: rgb(255, 255, 255) !important; + --yt-spec-text-primary-inverse: #003459 !important; + --yt-spec-text-secondary: rgb(255, 255, 255) !important; + --yt-spec-text-disabled: rgb(255, 255, 255) !important; + --yt-spec-call-to-action: #065fd4 !important; + --yt-spec-icon-active-other: rgb(255, 255, 255) !important; + --yt-spec-icon-inactive: rgb(255, 255, 255) !important; + --yt-spec-icon-disabled: rgb(255, 255, 255) !important; + --yt-spec-badge-chip-background: rgba(0, 0, 0, .05) !important; + --yt-spec-verified-badge-background: rgba(0, 0, 0, .15) !important; + --yt-spec-suggested-action: #f2f8ff !important; + --yt-spec-button-chip-background-hover: rgba(0, 0, 0, .10) !important; + --yt-spec-touch-response: #d44d5c !important; + --yt-spec-filled-button-text: rgb(255, 255, 255) !important; + --yt-spec-call-to-action-inverse: rgb(255, 255, 255) !important; + --yt-spec-brand-icon-active: rgb(255, 255, 255) !important; + --yt-spec-brand-icon-inactive: rgb(255, 255, 255) !important; + --yt-spec-brand-button-background: rgba(136, 136, 136, 1) !important; + --yt-spec-brand-link-text: rgb(255, 255, 255) !important; + --yt-spec-filled-button-focus-outline: rgba(0, 0, 0, .60) !important; + --yt-spec-call-to-action-button-focus-outline: rgba(0, 0, 0, .30) !important; + --yt-spec-brand-text-button-focus-outline: rgba(204, 0, 0, .30) !important; + --yt-spec-inactive-text-button-focus-outline: #aaa !important; + --yt-spec-brand-subscribe-button-background: rgb(255, 255, 255) !important; + --yt-spec-wordmark-text: rgb(255, 255, 255) !important; + --yt-spec-10-percent-layer: rgba(136, 136, 136, 1) !important; + --yt-spec-selected-nav-text: rgb(255, 255, 255) !important; + --yt-spec-themed-blue: #065fd4 !important; + --yt-spec-themed-green: #107516 !important; +} + +[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead, +[data-system-color-scheme=dark][it-theme=dawn][it-schedule=system_peference_dark] ytd-masthead, +[data-system-color-scheme=light][it-theme=dawn][it-schedule=system_peference_light] ytd-masthead { + background: #b85282 !important; + --yt-swatch-primary: rgb(35, 35, 35) !important; + --yt-swatch-primary-darker: rgb(32, 32, 32) !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-spec-general-background-a: #d44d5c !important; + --yt-spec-general-background-b: #d44d5c !important; + --yt-spec-general-background-c: #d44d5c !important; +} + +[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=dark][it-theme=dawn][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=dawn][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) { + --yt-live-chat-action-panel-background-color: #d44d5c; + --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); + --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); + --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); + --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); + --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); + --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); + --yt-formatted-string-emoji-size: 24px; +} + +[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), +html[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], +[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark], +[data-system-color-scheme=dark][it-theme=dawn][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=dawn][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) { + --yt-spec-icon-inactive: #fff; + --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); + --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); + --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); + --ytd-moderation-panel-hover: hsl(0, 0%, 11%); + --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-comment-text-color: hsla(0, 100%, 100%, .88); + --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); + --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); + --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); + --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); + --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); + --ytd-backstage-cancel-color: hsl(0, 0%, 100%); + --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); + --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); + --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); + --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); + --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); + --ytd-badge-background: hsla(0, 100%, 100%, .08); + --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); + --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); + --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); + --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); + --ytd-ad-badge-text-color: hsl(0, 0%, 7%); + --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); + --ytd-toggle-color: hsl(0, 0%, 93.3%); + --ytd-survey-button-color: var(--yt-primary-text-color); + --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); + --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); + --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); + --ytd-offer-background-color: hsl(0, 0%, 14%); + --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); + --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); + --yt-std-body-100: hsla(0, 100%, 100%, .08); + --yt-std-body-200: hsla(0, 100%, 100%, .26); + --yt-std-body-300: hsla(0, 100%, 100%, .5); + --yt-std-surface-200: hsl(0, 0%, 11%); + --yt-std-surface-300: hsl(0, 0%, 14%); + --yt-std-surface-400: hsl(0, 0%, 16%); + --yt-primary-color: hsla(0, 100%, 100%, .88); + --yt-primary-text-color: hsla(0, 100%, 100%, .88); + --yt-hovered-text-color: hsla(0, 100%, 100%, .74); + --yt-secondary-text-color: hsla(0, 100%, 100%, .5); + --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); + --yt-disabled-text-color: hsla(0, 100%, 100%, .26); + --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); + --yt-border-color: hsla(0, 100%, 100%, .08); + --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); + --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); + --yt-alert-background: hsla(0, 100%, 100%, .26); + --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); + --yt-icon-color: hsla(0, 100%, 100%, .5); + --yt-icon-hover-color: hsla(0, 100%, 100%, .74); + --yt-icon-active-color: hsla(0, 100%, 100%, .88); + --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); + --yt-endpoint-color: hsl(0, 0%, 53.3%); + --yt-expand-color: hsla(0, 0%, 100%, .6); + --yt-metadata-color: hsl(0, 0%, 53.3%); + --yt-channel-owner: hsla(0, 100%, 100%, .88); + --yt-placeholder-text: hsl(0, 0%, 93.3%); + --yt-playlist-background-header: #d44d5c; + --yt-playlist-background-item: #d44d5c; + --yt-playlist-title-text: hsla(0, 100%, 100%, .88); + --yt-playlist-message-text: hsl(0, 0%, 93.3%); + --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); + --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); + --yt-brand-color: hsla(0, 100%, 100%, .88); + --yt-button-text-color: hsla(0, 100%, 100%, .5); + --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); + --yt-copyright-text: hsla(0, 0%, 100%, .6); + --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); + --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); + --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); + --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); + --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); + --paper-menu-background-color: #d44d5c; + --paper-listbox-background-color: #d44d5c; + --paper-menu-color: hsla(0, 100%, 100%, .88); + --paper-listbox-color: hsla(0, 100%, 100%, .88); + --paper-dialog-background-color: #d44d5c; + --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); + --yt-simple-menu-header-background: #d44d5c; + --yt-item-section-header-color: hsl(0, 0%, 93.3%); + --yt-menu-hover-backgound-color: #d44d5c; + --yt-menu-focus-background-color: #d44d5c; + --yt-searchbox-text-color: var(--yt-primary-text-color); + --yt-material-searchbox-inactive: hsl(0, 0%, 7%); + --yt-material-searchbox-active: hsl(0, 0%, 100%); + --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); + --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); + --yt-app-background: #d44d5c; + --yt-main-app-background: #d44d5c; + --yt-main-app-background-tmp: #d44d5c; + --yt-guide-background: #d44d5c; + --yt-dialog-background: #734; + --yt-searchbox-background: #672c3b; + --yt-channel-header-background: #d44d5c; + --yt-sidebar-background: #d44d5c; + --yt-transcript-background: #d44d5c; + --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); + --yt-chat-bubble-other-background-color: #d44d5c; + --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); + --yt-chat-bubble-self-background-color: #d44d5c; + --yt-blue-suggestive: transparent; + --yt-spec-text-secondary: #f5dbe2; +} + +html[it-theme=dawn]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo, +[data-system-color-scheme=dark][it-theme=dawn][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo, +[data-system-color-scheme=light][it-theme=dawn][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo { + -webkit-filter: grayscale(1) brightness(4); + filter: grayscale(1) brightness(4); +} + + +/*DESERT*/ + +[it-theme=desert]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]), +[data-system-color-scheme=dark][it-theme=desert][it-schedule=system_peference_dark], +[data-system-color-scheme=light][it-theme=desert][it-schedule=system_peference_light] { + --yt-swatch-primary: #faf9f9 !important; + --yt-swatch-primary-darker: #faf9f9 !important; + --yt-swatch-text: #555 !important; + --yt-swatch-important-text: #555 !important; + --yt-swatch-input-text: #555 !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: #555 !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-swatch-header-primary: #bee3db; + --yt-spec-base-background: #faf9f9 !important; + --yt-spec-raised-background: #faf9f9 !important; + --yt-spec-menu-background: #faf9f9 !important; + --yt-spec-inverted-background: #fff; + --yt-spec-brand-background-solid: #faf9f9 !important; + --yt-spec-brand-background-primary: rgba(0, 0, 0, .98) !important; + --yt-spec-brand-background-secondary: rgba(0, 0, 0, .95) !important; + --yt-spec-general-background-a: #faf9f9 !important; + --yt-spec-general-background-b: #faf9f9 !important; + --yt-spec-general-background-c: #faf9f9 !important; + --yt-spec-error-background: #1f1f1f !important; + --yt-spec-text-primary: #555 !important; + --yt-spec-text-primary-inverse: #003459 !important; + --yt-spec-text-secondary: #555 !important; + --yt-spec-text-disabled: #555 !important; + --yt-spec-call-to-action: #065fd4 !important; + --yt-spec-icon-active-other: #555 !important; + --yt-spec-icon-inactive: #555 !important; + --yt-spec-icon-disabled: #555 !important; + --yt-spec-badge-chip-background: rgba(0, 0, 0, .05) !important; + --yt-spec-verified-badge-background: rgba(0, 0, 0, .15) !important; + --yt-spec-suggested-action: #f2f8ff !important; + --yt-spec-button-chip-background-hover: rgba(0, 0, 0, .10) !important; + --yt-spec-touch-response: #faf9f9 !important; + --yt-spec-filled-button-text: #555 !important; + --yt-spec-call-to-action-inverse: #555 !important; + --yt-spec-brand-icon-active: #555 !important; + --yt-spec-brand-icon-inactive: #555 !important; + --yt-spec-brand-button-background: rgba(136, 136, 136, 1) !important; + --yt-spec-brand-link-text: #555 !important; + --yt-spec-filled-button-focus-outline: rgba(0, 0, 0, .60) !important; + --yt-spec-call-to-action-button-focus-outline: rgba(0, 0, 0, .30) !important; + --yt-spec-brand-text-button-focus-outline: rgba(204, 0, 0, .30) !important; + --yt-spec-inactive-text-button-focus-outline: #aaa !important; + --yt-spec-brand-subscribe-button-background: #555 !important; + --yt-spec-wordmark-text: #555 !important; + --yt-spec-10-percent-layer: rgba(136, 136, 136, 1) !important; + --yt-spec-selected-nav-text: #555 !important; + --yt-spec-themed-blue: #065fd4 !important; + --yt-spec-themed-green: #107516 !important; +} + +[it-theme=desert]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead, +[data-system-color-scheme=dark][it-theme=desert][it-schedule=system_peference_dark] ytd-masthead, +[data-system-color-scheme=light][it-theme=desert][it-schedule=system_peference_light] ytd-masthead { + background: #ced3cb !important; + --yt-swatch-primary: rgb(35, 35, 35) !important; + --yt-swatch-primary-darker: rgb(32, 32, 32) !important; + --yt-swatch-text: #555 !important; + --yt-swatch-important-text: #555 !important; + --yt-swatch-input-text: #555 !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: #555 !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-spec-general-background-a: #faf9f9 !important; + --yt-spec-general-background-b: #faf9f9 !important; + --yt-spec-general-background-c: #faf9f9 !important; +} + +[it-theme=desert]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=dark][it-theme=desert][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=desert][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) { + --yt-live-chat-action-panel-background-color: #faf9f9; + --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); + --yt-live-chat-primary-text-color: #555; + --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); + --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); + --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); + --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); + --yt-formatted-string-emoji-size: 24px; +} + +[it-theme=desert]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), +html[it-theme=desert]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], +[it-theme=desert]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark], +[data-system-color-scheme=dark][it-theme=desert][it-schedule=system_peference_dark]:not(.style-scope)[dark], +[data-system-color-scheme=light][it-theme=desert][it-schedule=system_peference_light]:not(.style-scope)[dark] { + --yt-spec-icon-inactive: #555; + --yt-spec-text-primary: #555; + --ytd-searchbox-border-color: #555; + --ytd-searchbox-legacy-border-color: #555; + --ytd-searchbox-legacy-border-shadow-color: #555; + --ytd-searchbox-legacy-button-color: #555; + --ytd-searchbox-legacy-button-border-color: #555; + --ytd-searchbox-legacy-button-focus-color: #555; + --ytd-searchbox-legacy-button-hover-color: #555; + --ytd-searchbox-legacy-button-hover-border-color: #555; + --ytd-searchbox-legacy-button-icon-color: #fff; + --ytd-moderation-panel-background: #555; + --ytd-moderation-panel-hover: #555; + --ytd-moderation-panel-comment-text: #555; + --ytd-moderation-panel-comment-metadata-text: #555; + --ytd-moderation-icon-color: #555; + --ytd-moderation-icon-hover-color: #555; + --ytd-comment-text-color: #555; + --ytd-comment-metadata-text-color: #555; + --ytd-watch-card-secondary-text-color: #555; + --ytd-watch-card-album-header-background: #555; + --ytd-backstage-metadata-text-color: #555; + --ytd-backstage-video-link-background-color: #555; + --ytd-backstage-image-alert-color: #555; + --ytd-backstage-cancel-background-color: #555; + --ytd-backstage-cancel-color: #555; + --ytd-backstage-creationbox-background-color: #555; + --ytd-backstage-creationbox-background-color-focus: #555; + --ytd-backstage-creationbox-inactive-color: #555; + --ytd-backstage-creationbox-text-color: #555; + --ytd-backstage-creationbox-input-text-color: #555; + --ytd-backstage-creationbox-disabled-button-color: #555; + --ytd-backstage-creationbox-disabled-button-text-color: #555; + --ytd-backstage-attachment-icon-hover-color: #555; + --ytd-sponsorships-background-color-focus: #555; + --ytd-badge-background: #555; + --ytd-badge-disabled-color: #555; + --ytd-collection-badge-color: #555; + --ytd-owner-badge-color: #555; + --ytd-simple-badge-color: #555; + --ytd-ad-badge-text-color: #555; + --ytd-shopping-product-info: #555; + --ytd-toggle-color: #555; + --ytd-survey-button-color: var(--yt-primary-text-color); + --ytd-transcript-cue-hover-background-color: #555; + --ytd-transcript-toolbar-background-color: #555; + --ytd-transcript-toolbar-text: #555; + --ytd-video-publish-date-color: #555; + --ytd-vat-notice-text: #555; + --ytd-offer-background-color: #555; + --ytd-video-game-watch-card-logo-color: #555; + --ytd-watch-split-pane-sidebar-background-color: #555; + --yt-std-body-100: #555; + --yt-std-body-200: #555; + --yt-std-body-300: #555; + --yt-std-surface-200: #555; + --yt-std-surface-300: #555; + --yt-std-surface-400: #555; + --yt-primary-color: #555; + --yt-primary-text-color: #555; + --yt-hovered-text-color: #555; + --yt-secondary-text-color: #555; + --yt-tertiary-text-color: #555; + --yt-disabled-text-color: #555; + --yt-placeholder-text-color: #555; + --yt-border-color: #555; + --yt-commentbox-border-inactive: #555; + --yt-commentbox-border-active: #555; + --yt-alert-background: #555; + --yt-paper-button-ink-color: #555; + --yt-icon-color: #555; + --yt-icon-hover-color: #555; + --yt-icon-active-color: #555; + --yt-icon-disabled-color: #555; + --yt-endpoint-color: #555; + --yt-expand-color: #555; + --yt-metadata-color: #555; + --yt-channel-owner: #555; + --yt-placeholder-text: #555; + --yt-playlist-background-header: #faf9f9; + --yt-playlist-background-item: #faf9f9; + --yt-playlist-title-text: #555; + --yt-playlist-message-text: #555; + --yt-playlist-message-text-hover: #555; + --yt-subscribe-button-text-color: #555; + --yt-brand-color: #555; + --yt-button-text-color: #555; + --yt-button-payment-text-color: #555; + --yt-copyright-text: #555; + --yt-guide-entry-hover-background-color: #555; + --yt-thumbnail-placeholder-color: #555; + --yt-primary-disabled-button-text-color: #555; + --yt-featured-channel-title-text-color: #555; + --yt-formatted-string-deemphasize-color: #555; + --paper-menu-background-color: #faf9f9; + --paper-listbox-background-color: #faf9f9; + --paper-menu-color: #555; + --paper-listbox-color: #555; + --paper-dialog-background-color: #faf9f9; + --paper-toggle-button-unchecked-bar-color: #555; + --yt-simple-menu-header-background: #faf9f9; + --yt-item-section-header-color: #555; + --yt-menu-hover-backgound-color: #faf9f9; + --yt-menu-focus-background-color: #faf9f9; + --yt-searchbox-text-color: var(--yt-primary-text-color); + --yt-material-searchbox-inactive: #555; + --yt-material-searchbox-active: #555; + --yt-material-searchbox-inactive-shadow: #555; + --yt-material-searchbox-active-shadow: #555; + --yt-material-searchbox-inset: #555; + --yt-material-searchbox-text-color: #555; + --yt-app-background: #faf9f9; + --yt-main-app-background: #faf9f9; + --yt-main-app-background-tmp: #faf9f9; + --yt-guide-background: #faf9f9; + --yt-dialog-background: #bee3db; + --yt-searchbox-background: #faf9f9; + --yt-channel-header-background: #faf9f9; + --yt-sidebar-background: #faf9f9; + --yt-transcript-background: #faf9f9; + --yt-chat-bubble-other-border-color: #555; + --yt-chat-bubble-other-background-color: #faf9f9; + --yt-chat-bubble-self-border-color: #555; + --yt-chat-bubble-self-background-color: #faf9f9; + --yt-blue-suggestive: transparent; +} + + +/*NIGHT*/ + +[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]), +[data-system-color-scheme=dark][it-theme=night][it-schedule=system_peference_dark], +[data-system-color-scheme=light][it-theme=night][it-schedule=system_peference_light] { + --yt-swatch-primary: #003459 !important; + --yt-swatch-primary-darker: #003459 !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-swatch-header-primary: #007ea7; + --yt-spec-base-background: #003459 !important; + --yt-spec-raised-background: #003459 !important; + --yt-spec-menu-background: #003459 !important; + --yt-spec-inverted-background: #fff; + --yt-spec-brand-background-solid: #003459 !important; + --yt-spec-brand-background-primary: rgba(0, 0, 0, .98) !important; + --yt-spec-brand-background-secondary: rgba(0, 0, 0, .95) !important; + --yt-spec-general-background-a: #003459 !important; + --yt-spec-general-background-b: #003459 !important; + --yt-spec-general-background-c: #003459 !important; + --yt-spec-error-background: #1f1f1f !important; + --yt-spec-text-primary: #fff !important; + --yt-spec-text-primary-inverse: #003459 !important; + --yt-spec-text-secondary: #fff !important; + --yt-spec-text-disabled: #fff !important; + --yt-spec-call-to-action: #065fd4 !important; + --yt-spec-icon-active-other: #fff !important; + --yt-spec-icon-inactive: #fff !important; + --yt-spec-icon-disabled: #fff !important; + --yt-spec-badge-chip-background: rgba(0, 0, 0, .05) !important; + --yt-spec-verified-badge-background: rgba(0, 0, 0, .15) !important; + --yt-spec-suggested-action: #f2f8ff !important; + --yt-spec-button-chip-background-hover: rgba(0, 0, 0, .10) !important; + --yt-spec-touch-response: #003459 !important; + --yt-spec-filled-button-text: #fff !important; + --yt-spec-call-to-action-inverse: #fff !important; + --yt-spec-brand-icon-active: #fff !important; + --yt-spec-brand-icon-inactive: #fff !important; + --yt-spec-brand-button-background: rgba(136, 136, 136, 1) !important; + --yt-spec-brand-link-text: #fff !important; + --yt-spec-filled-button-focus-outline: rgba(0, 0, 0, .60) !important; + --yt-spec-call-to-action-button-focus-outline: rgba(0, 0, 0, .30) !important; + --yt-spec-brand-text-button-focus-outline: rgba(204, 0, 0, .30) !important; + --yt-spec-inactive-text-button-focus-outline: #aaa !important; + --yt-spec-brand-subscribe-button-background: #fff !important; + --yt-spec-wordmark-text: #fff !important; + --yt-spec-10-percent-layer: rgba(136, 136, 136, 1) !important; + --yt-spec-selected-nav-text: #fff !important; + --yt-spec-themed-blue: #065fd4 !important; + --yt-spec-themed-green: #107516 !important; +} + +html[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo, +[data-system-color-scheme=dark][it-theme=night][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo, +[data-system-color-scheme=light][it-theme=night][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo { + -webkit-filter: grayscale(1) brightness(3.5); + filter: grayscale(1) brightness(3.5); +} + +[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead, +[data-system-color-scheme=dark][it-theme=night][it-schedule=system_peference_dark] ytd-masthead, +[data-system-color-scheme=light][it-theme=night][it-schedule=system_peference_light] ytd-masthead { + background: #007ea7 !important; + --yt-swatch-primary: rgb(35, 35, 35) !important; + --yt-swatch-primary-darker: rgb(32, 32, 32) !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-spec-general-background-a: #003459 !important; + --yt-spec-general-background-b: #003459 !important; + --yt-spec-general-background-c: #003459 !important; +} + +[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=dark][it-theme=night][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=night][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) { + --yt-live-chat-action-panel-background-color: #003459; + --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); + --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); + --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); + --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); + --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); + --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); + --yt-formatted-string-emoji-size: 24px; +} + +[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), +html[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], +[it-theme=night]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark], +[data-system-color-scheme=dark][it-theme=night][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=night][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) { + --yt-spec-icon-inactive: #fff; + --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); + --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); + --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-icon-color: #fff; + --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); + --ytd-moderation-panel-hover: hsl(0, 0%, 11%); + --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-comment-text-color: hsla(0, 100%, 100%, .88); + --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); + --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); + --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); + --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); + --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); + --ytd-backstage-cancel-color: hsl(0, 0%, 100%); + --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); + --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); + --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); + --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); + --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); + --ytd-badge-background: hsla(0, 100%, 100%, .08); + --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); + --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); + --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); + --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); + --ytd-ad-badge-text-color: hsl(0, 0%, 7%); + --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); + --ytd-toggle-color: hsl(0, 0%, 93.3%); + --ytd-survey-button-color: var(--yt-primary-text-color); + --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); + --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); + --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); + --ytd-offer-background-color: hsl(0, 0%, 14%); + --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); + --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); + --yt-std-body-100: hsla(0, 100%, 100%, .08); + --yt-std-body-200: hsla(0, 100%, 100%, .26); + --yt-std-body-300: hsla(0, 100%, 100%, .5); + --yt-std-surface-200: hsl(0, 0%, 11%); + --yt-std-surface-300: hsl(0, 0%, 14%); + --yt-std-surface-400: hsl(0, 0%, 16%); + --yt-primary-color: hsla(0, 100%, 100%, .88); + --yt-primary-text-color: hsla(0, 100%, 100%, .88); + --yt-hovered-text-color: hsla(0, 100%, 100%, .74); + --yt-secondary-text-color: hsla(0, 100%, 100%, .5); + --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); + --yt-disabled-text-color: hsla(0, 100%, 100%, .26); + --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); + --yt-border-color: hsla(0, 100%, 100%, .08); + --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); + --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); + --yt-alert-background: hsla(0, 100%, 100%, .26); + --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); + --yt-icon-color: hsla(0, 100%, 100%, .5); + --yt-icon-hover-color: hsla(0, 100%, 100%, .74); + --yt-icon-active-color: hsla(0, 100%, 100%, .88); + --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); + --yt-endpoint-color: hsl(0, 0%, 53.3%); + --yt-expand-color: hsla(0, 0%, 100%, .6); + --yt-metadata-color: hsl(0, 0%, 53.3%); + --yt-channel-owner: hsla(0, 100%, 100%, .88); + --yt-placeholder-text: hsl(0, 0%, 93.3%); + --yt-playlist-background-header: #003459; + --yt-playlist-background-item: #003459; + --yt-playlist-title-text: hsla(0, 100%, 100%, .88); + --yt-playlist-message-text: hsl(0, 0%, 93.3%); + --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); + --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); + --yt-brand-color: hsla(0, 100%, 100%, .88); + --yt-button-text-color: hsla(0, 100%, 100%, .5); + --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); + --yt-copyright-text: hsla(0, 0%, 100%, .6); + --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); + --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); + --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); + --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); + --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); + --paper-menu-background-color: #003459; + --paper-listbox-background-color: #003459; + --paper-menu-color: hsla(0, 100%, 100%, .88); + --paper-listbox-color: hsla(0, 100%, 100%, .88); + --paper-dialog-background-color: #003459; + --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); + --yt-simple-menu-header-background: #003459; + --yt-item-section-header-color: hsl(0, 0%, 93.3%); + --yt-menu-hover-backgound-color: #003459; + --yt-menu-focus-background-color: #003459; + --yt-searchbox-text-color: var(--yt-primary-text-color); + --yt-material-searchbox-inactive: hsl(0, 0%, 7%); + --yt-material-searchbox-active: hsl(0, 0%, 100%); + --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); + --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); + --yt-app-background: #003459; + --yt-main-app-background: #003459; + --yt-main-app-background-tmp: #003459; + --yt-guide-background: #003459; + --yt-dialog-background: #007ea7; + --yt-searchbox-background: #003459 !important; + --yt-channel-header-background: #003459; + --yt-sidebar-background: #003459; + --yt-transcript-background: #003459; + --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); + --yt-chat-bubble-other-background-color: #003459; + --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); + --yt-chat-bubble-self-background-color: #003459; + --yt-blue-suggestive: transparent; +} + + +/*PLAIN*/ + +[it-theme=plain]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]), +[data-system-color-scheme=dark][it-theme=plain][it-schedule=system_peference_dark], +[data-system-color-scheme=light][it-theme=plain][it-schedule=system_peference_light] { + --yt-swatch-primary: #c7efcf !important; + --yt-swatch-primary-darker: #c7efcf !important; + --yt-swatch-text: #666 !important; + --yt-swatch-important-text: #666 !important; + --yt-swatch-input-text: #666 !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: #666 !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-swatch-header-primary: #d6d1b1; + --yt-spec-base-background: #d3e1c6 !important; + --yt-spec-raised-background: #c7efcf !important; + --yt-spec-menu-background: #c7efcf !important; + --yt-spec-inverted-background: #fff; + --yt-spec-brand-background-solid: #c7efcf !important; + --yt-spec-brand-background-primary: rgba(0, 0, 0, .98) !important; + --yt-spec-brand-background-secondary: rgba(0, 0, 0, .95) !important; + --yt-spec-general-background-a: #c7efcf !important; + --yt-spec-general-background-b: #c7efcf !important; + --yt-spec-general-background-c: #c7efcf !important; + --yt-spec-error-background: #1f1f1f !important; + --yt-spec-text-primary: #666 !important; + --yt-spec-text-primary-inverse: #003459 !important; + --yt-spec-text-secondary: #666 !important; + --yt-spec-text-disabled: #666 !important; + --yt-spec-call-to-action: #065fd4 !important; + --yt-spec-icon-active-other: #666 !important; + --yt-spec-icon-inactive: #666 !important; + --yt-spec-icon-disabled: #666 !important; + --yt-spec-badge-chip-background: rgba(0, 0, 0, .05) !important; + --yt-spec-verified-badge-background: rgba(0, 0, 0, .15) !important; + --yt-spec-suggested-action: #f2f8ff !important; + --yt-spec-button-chip-background-hover: rgba(0, 0, 0, .10) !important; + --yt-spec-touch-response: #c7efcf !important; + --yt-spec-filled-button-text: #666 !important; + --yt-spec-call-to-action-inverse: #666 !important; + --yt-spec-brand-icon-active: #666 !important; + --yt-spec-brand-icon-inactive: #666 !important; + --yt-spec-brand-button-background: rgba(136, 136, 136, 1) !important; + --yt-spec-brand-link-text: #666 !important; + --yt-spec-filled-button-focus-outline: rgba(0, 0, 0, .60) !important; + --yt-spec-call-to-action-button-focus-outline: rgba(0, 0, 0, .30) !important; + --yt-spec-brand-text-button-focus-outline: rgba(204, 0, 0, .30) !important; + --yt-spec-inactive-text-button-focus-outline: #aaa !important; + --yt-spec-brand-subscribe-button-background: #666 !important; + --yt-spec-wordmark-text: #666 !important; + --yt-spec-10-percent-layer: rgba(136, 136, 136, 1) !important; + --yt-spec-selected-nav-text: #666 !important; + --yt-spec-themed-blue: #065fd4 !important; + --yt-spec-themed-green: #107516 !important; +} + +[it-theme=plain]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead, +[data-system-color-scheme=dark][it-theme=plain][it-schedule=system_peference_dark] ytd-masthead, +[data-system-color-scheme=light][it-theme=plain][it-schedule=system_peference_light] ytd-masthead { + background: #e4ccaa !important; + --yt-swatch-primary: rgb(35, 35, 35) !important; + --yt-swatch-primary-darker: rgb(32, 32, 32) !important; + --yt-swatch-text: #666 !important; + --yt-swatch-important-text: #666 !important; + --yt-swatch-input-text: #666 !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: #666 !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-spec-general-background-a: #c7efcf !important; + --yt-spec-general-background-b: #c7efcf !important; + --yt-spec-general-background-c: #c7efcf !important; +} + +[it-theme=plain]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=dark][it-theme=plain][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=plain][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) { + --yt-live-chat-action-panel-background-color: #c7efcf; + --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); + --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); + --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); + --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); + --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); + --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); + --yt-formatted-string-emoji-size: 24px; +} + +[it-theme=plain]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), +html[it-theme=plain]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], +[it-theme=plain]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark], +[data-system-color-scheme=dark][it-theme=plain][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=plain][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) { + --yt-spec-icon-inactive: #666; + --yt-spec-text-primary: #666; + --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); + --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); + --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); + --ytd-moderation-panel-hover: hsl(0, 0%, 11%); + --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-comment-text-color: hsla(0, 100%, 100%, .88); + --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); + --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); + --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); + --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); + --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); + --ytd-backstage-cancel-color: hsl(0, 0%, 100%); + --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); + --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); + --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); + --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); + --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); + --ytd-badge-background: hsla(0, 100%, 100%, .08); + --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); + --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); + --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); + --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); + --ytd-ad-badge-text-color: hsl(0, 0%, 7%); + --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); + --ytd-toggle-color: hsl(0, 0%, 93.3%); + --ytd-survey-button-color: var(--yt-primary-text-color); + --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); + --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); + --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); + --ytd-offer-background-color: hsl(0, 0%, 14%); + --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); + --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); + --yt-std-body-100: hsla(0, 100%, 100%, .08); + --yt-std-body-200: hsla(0, 100%, 100%, .26); + --yt-std-body-300: hsla(0, 100%, 100%, .5); + --yt-std-surface-200: hsl(0, 0%, 11%); + --yt-std-surface-300: hsl(0, 0%, 14%); + --yt-std-surface-400: hsl(0, 0%, 16%); + --yt-primary-color: hsla(0, 100%, 100%, .88); + --yt-primary-text-color: hsla(0, 100%, 100%, .88); + --yt-hovered-text-color: hsla(0, 100%, 100%, .74); + --yt-secondary-text-color: hsla(0, 100%, 100%, .5); + --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); + --yt-disabled-text-color: hsla(0, 100%, 100%, .26); + --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); + --yt-border-color: hsla(0, 100%, 100%, .08); + --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); + --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); + --yt-alert-background: hsla(0, 100%, 100%, .26); + --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); + --yt-icon-color: hsla(0, 100%, 100%, .5); + --yt-icon-hover-color: hsla(0, 100%, 100%, .74); + --yt-icon-active-color: hsla(0, 100%, 100%, .88); + --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); + --yt-endpoint-color: hsl(0, 0%, 53.3%); + --yt-expand-color: hsla(0, 0%, 100%, .6); + --yt-metadata-color: hsl(0, 0%, 53.3%); + --yt-channel-owner: hsla(0, 100%, 100%, .88); + --yt-placeholder-text: hsl(0, 0%, 93.3%); + --yt-playlist-background-header: #c7efcf; + --yt-playlist-background-item: #c7efcf; + --yt-playlist-title-text: hsla(0, 100%, 100%, .88); + --yt-playlist-message-text: hsl(0, 0%, 93.3%); + --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); + --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); + --yt-brand-color: hsla(0, 100%, 100%, .88); + --yt-button-text-color: hsla(0, 100%, 100%, .5); + --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); + --yt-copyright-text: hsla(0, 0%, 100%, .6); + --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); + --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); + --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); + --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); + --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); + --paper-menu-background-color: #c7efcf; + --paper-listbox-background-color: #c7efcf; + --paper-menu-color: hsla(0, 100%, 100%, .88); + --paper-listbox-color: hsla(0, 100%, 100%, .88); + --paper-dialog-background-color: #c7efcf; + --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); + --yt-simple-menu-header-background: #c7efcf; + --yt-item-section-header-color: hsl(0, 0%, 93.3%); + --yt-menu-hover-backgound-color: #c7efcf; + --yt-menu-focus-background-color: #c7efcf; + --yt-searchbox-text-color: var(--yt-primary-text-color); + --yt-material-searchbox-inactive: hsl(0, 0%, 7%); + --yt-material-searchbox-active: hsl(0, 0%, 100%); + --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); + --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); + --yt-app-background: #c7efcf; + --yt-main-app-background: #c7efcf; + --yt-main-app-background-tmp: #c7efcf; + --yt-guide-background: #c7efcf; + --yt-dialog-background: #d6d1b1; + --yt-searchbox-background: #c7efcf; + --yt-channel-header-background: #c7efcf; + --yt-sidebar-background: #c7efcf; + --yt-transcript-background: #c7efcf; + --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); + --yt-chat-bubble-other-background-color: #c7efcf; + --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); + --yt-chat-bubble-self-background-color: #c7efcf; + --yt-blue-suggestive: transparent; +} + +/*SUNSET*/ + +[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]), +[data-system-color-scheme=dark][it-theme=sunset][it-schedule=system_peference_dark], +[data-system-color-scheme=light][it-theme=sunset][it-schedule=system_peference_light] { + --yt-swatch-primary: #2f3364 !important; + --yt-swatch-primary-darker: #2f3364 !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-swatch-header-primary: #f56264; + --yt-spec-base-background: #24367f !important; + --yt-spec-raised-background: #3a4375 !important; + --yt-spec-menu-background: #2f335 !important; + --yt-spec-inverted-background: #fff; + --yt-spec-brand-background-solid: #1a2750 !important; + --yt-spec-brand-background-primary: rgba(0, 0, 0, .98) !important; + --yt-spec-brand-background-secondary: rgba(0, 0, 0, .95) !important; + --yt-spec-general-background-a: #2f3364 !important; + --yt-spec-general-background-b: #2f3364 !important; + --yt-spec-general-background-c: #2f3364 !important; + --yt-spec-error-background: #1f1f1f !important; + --yt-spec-text-primary: #fff !important; + --yt-spec-text-primary-inverse: #003459 !important; + --yt-spec-text-secondary: #fff !important; + --yt-spec-text-disabled: #fff !important; + --yt-spec-call-to-action: #065fd4 !important; + --yt-spec-icon-active-other: #fff !important; + --yt-spec-icon-inactive: #fff !important; + --yt-spec-icon-disabled: #fff !important; + --yt-spec-badge-chip-background: rgba(0, 0, 0, .05) !important; + --yt-spec-verified-badge-background: rgba(0, 0, 0, .15) !important; + --yt-spec-suggested-action: #f2f8ff !important; + --yt-spec-button-chip-background-hover: rgba(0, 0, 0, .10) !important; + --yt-spec-touch-response: #2f3364 !important; + --yt-spec-filled-button-text: #fff !important; + --yt-spec-call-to-action-inverse: #fff !important; + --yt-spec-brand-icon-active: #fff !important; + --yt-spec-brand-icon-inactive: #fff !important; + --yt-spec-brand-button-background: rgba(136, 136, 136, 1) !important; + --yt-spec-brand-link-text: #fff !important; + --yt-spec-filled-button-focus-outline: rgba(0, 0, 0, .60) !important; + --yt-spec-call-to-action-button-focus-outline: rgba(0, 0, 0, .30) !important; + --yt-spec-brand-text-button-focus-outline: rgba(204, 0, 0, .30) !important; + --yt-spec-inactive-text-button-focus-outline: #aaa !important; + --yt-spec-brand-subscribe-button-background: #fff !important; + --yt-spec-wordmark-text: #fff !important; + --yt-spec-10-percent-layer: rgba(136, 136, 136, 1) !important; + --yt-spec-selected-nav-text: #fff !important; + --yt-spec-themed-blue: #065fd4 !important; + --yt-spec-themed-green: #107516 !important; +} + +[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead, +[data-system-color-scheme=dark][it-theme=sunset][it-schedule=system_peference_dark] ytd-masthead, +[data-system-color-scheme=light][it-theme=sunset][it-schedule=system_peference_light] ytd-masthead { + background: #d35406 !important; + --yt-swatch-primary: rgb(35, 35, 35) !important; + --yt-swatch-primary-darker: rgb(32, 32, 32) !important; + --yt-swatch-text: rgb(255, 255, 255) !important; + --yt-swatch-important-text: rgb(255, 255, 255) !important; + --yt-swatch-input-text: rgba(255, 255, 255, 1) !important; + --yt-swatch-textbox-bg: rgba(19, 19, 19, 1) !important; + --yt-swatch-logo-override: rgb(255, 255, 255) !important; + --yt-swatch-icon-color: rgba(136, 136, 136, 1) !important; + --yt-spec-general-background-a: #2f3364 !important; + --yt-spec-general-background-b: #2f3364 !important; + --yt-spec-general-background-c: #2f3364 !important; +} + +[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=dark][it-theme=sunset][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope), +[data-system-color-scheme=light][it-theme=sunset][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) { + --yt-live-chat-action-panel-background-color: #2f3364; + --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); + --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); + --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); + --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); + --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); + --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); + --yt-formatted-string-emoji-size: 24px; +} + +[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), +html[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], +[it-theme=sunset]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark], +[data-system-color-scheme=dark][it-theme=sunset][it-schedule=system_peference_dark]:not(.style-scope)[dark], +[data-system-color-scheme=light][it-theme=sunset][it-schedule=system_peference_light]:not(.style-scope)[dark] { + --yt-spec-icon-inactive: #fff; + --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); + --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); + --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); + --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); + --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); + --ytd-moderation-panel-hover: hsl(0, 0%, 11%); + --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); + --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-comment-text-color: hsla(0, 100%, 100%, .88); + --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); + --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); + --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); + --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); + --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); + --ytd-backstage-cancel-color: hsl(0, 0%, 100%); + --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); + --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); + --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); + --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); + --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); + --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); + --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); + --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); + --ytd-badge-background: hsla(0, 100%, 100%, .08); + --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); + --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); + --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); + --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); + --ytd-ad-badge-text-color: hsl(0, 0%, 7%); + --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); + --ytd-toggle-color: hsl(0, 0%, 93.3%); + --ytd-survey-button-color: var(--yt-primary-text-color); + --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); + --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); + --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); + --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); + --ytd-offer-background-color: hsl(0, 0%, 14%); + --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); + --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); + --yt-std-body-100: hsla(0, 100%, 100%, .08); + --yt-std-body-200: hsla(0, 100%, 100%, .26); + --yt-std-body-300: hsla(0, 100%, 100%, .5); + --yt-std-surface-200: hsl(0, 0%, 11%); + --yt-std-surface-300: hsl(0, 0%, 14%); + --yt-std-surface-400: hsl(0, 0%, 16%); + --yt-primary-color: hsla(0, 100%, 100%, .88); + --yt-primary-text-color: hsla(0, 100%, 100%, .88); + --yt-hovered-text-color: hsla(0, 100%, 100%, .74); + --yt-secondary-text-color: hsla(0, 100%, 100%, .5); + --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); + --yt-disabled-text-color: hsla(0, 100%, 100%, .26); + --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); + --yt-border-color: hsla(0, 100%, 100%, .08); + --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); + --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); + --yt-alert-background: hsla(0, 100%, 100%, .26); + --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); + --yt-icon-color: hsla(0, 100%, 100%, .5); + --yt-icon-hover-color: hsla(0, 100%, 100%, .74); + --yt-icon-active-color: hsla(0, 100%, 100%, .88); + --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); + --yt-endpoint-color: hsl(0, 0%, 53.3%); + --yt-expand-color: hsla(0, 0%, 100%, .6); + --yt-metadata-color: hsl(0, 0%, 53.3%); + --yt-channel-owner: hsla(0, 100%, 100%, .88); + --yt-placeholder-text: hsl(0, 0%, 93.3%); + --yt-playlist-background-header: #2f3364; + --yt-playlist-background-item: #2f3364; + --yt-playlist-title-text: hsla(0, 100%, 100%, .88); + --yt-playlist-message-text: hsl(0, 0%, 93.3%); + --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); + --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); + --yt-brand-color: hsla(0, 100%, 100%, .88); + --yt-button-text-color: hsla(0, 100%, 100%, .5); + --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); + --yt-copyright-text: hsla(0, 0%, 100%, .6); + --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); + --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); + --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); + --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); + --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); + --paper-menu-background-color: #2f3364; + --paper-listbox-background-color: #2f3364; + --paper-menu-color: hsla(0, 100%, 100%, .88); + --paper-listbox-color: hsla(0, 100%, 100%, .88); + --paper-dialog-background-color: #2f3364; + --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); + --yt-simple-menu-header-background: #2f3364; + --yt-item-section-header-color: hsl(0, 0%, 93.3%); + --yt-menu-hover-backgound-color: #2f3364; + --yt-menu-focus-background-color: #2f3364; + --yt-searchbox-text-color: var(--yt-primary-text-color); + --yt-material-searchbox-inactive: hsl(0, 0%, 7%); + --yt-material-searchbox-active: hsl(0, 0%, 100%); + --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); + --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); + --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); + --yt-app-background: #2f3364; + --yt-main-app-background: #2f3364; + --yt-main-app-background-tmp: #2f3364; + --yt-guide-background: #2f3364; + --yt-dialog-background: #d62828; + --yt-searchbox-background: #fa7965 !important; + --yt-channel-header-background: #2f3364; + --yt-sidebar-background: #2f3364; + --yt-transcript-background: #2f3364; + --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); + --yt-chat-bubble-other-background-color: #2f3364; + --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); + --yt-chat-bubble-self-background-color: #2f3364; + --yt-blue-suggestive: transparent; +} + + +/*------------------------------------------------------------------------------ +4.0 PLAYER +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.1 CROP CHAPTER TITLES +------------------------------------------------------------------------------*/ + +html[it-player-crop-chapter-titles=false] .ytp-chapter-title { + width: auto !important; +} + + +/*------------------------------------------------------------------------------ +4.2 ADS +------------------------------------------------------------------------------*/ + +html[it-player-ads=subscribed_channels] #related #player-ads, +html[it-player-ads=block_all] #related #player-ads, +html[it-player-ads=subscribed_channels] #masthead-ad, +html[it-player-ads=block_all] #masthead-ad { + display: none !important; +} + + +/*------------------------------------------------------------------------------ +4.3 MINIPLAYER +------------------------------------------------------------------------------*/ + +/*----------------------------------------------------------------------------- +# POSITION & SIZE +-----------------------------------------------------------------------------*/ + +.it-mini-player { + position: fixed !important; + z-index: 2006 !important; + top: 0 !important; + left: 0 !important; + max-width: 100vw !important; + max-height: calc(100vh - var(--it-header-size)) !important; + background: #000 !important; + box-shadow: rgba(0, 0, 0, .4) 0 2px 8px !important; + will-change: transform, width, height !important; +} + +.it-mini-player .html5-video-container { + height: 100% !important; +} + +.it-mini-player .ytp-miniplayer-button, +.it-mini-player .ytp-size-button { + display: none !important; +} + +.it-mini-player video { + top: 0 !important; + left: 0 !important; + width: 100% !important; + height: 100% !important; +} + + +/*----------------------------------------------------------------------------- +# DRAGGING +-----------------------------------------------------------------------------*/ + +.improvedtube-mini-player.dragging { + pointer-events: none !important; +} + +.improvedtube-mini-player.dragging *:not(.html5-video-container):not(video) { + visibility: hidden !important; +} + +html[data-cursor='w-resize'], +html[data-cursor='w-resize'] * { + cursor: w-resize !important; +} + +html[data-cursor='e-resize'], +html[data-cursor='e-resize'] * { + cursor: e-resize !important; +} + +html[it-mini-player-cursor='n-resize']::after, +html[it-mini-player-cursor='e-resize']::after, +html[it-mini-player-cursor='s-resize']::after, +html[it-mini-player-cursor='w-resize']::after, +html[it-mini-player-cursor='ne-resize']::after, +html[it-mini-player-cursor='se-resize']::after, +html[it-mini-player-cursor='sw-resize']::after, +html[it-mini-player-cursor='nw-resize']::after { + position: fixed; + z-index: 2147483650; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + content: ''; +} + +html[it-mini-player-cursor='n-resize']::after { + cursor: n-resize; +} + +html[it-mini-player-cursor='e-resize']::after { + cursor: e-resize; +} + +html[it-mini-player-cursor='s-resize']::after { + cursor: s-resize; +} + +html[it-mini-player-cursor='w-resize']::after { + cursor: w-resize; +} + +html[it-mini-player-cursor='ne-resize']::after { + cursor: ne-resize; +} + +html[it-mini-player-cursor='se-resize']::after { + cursor: se-resize; +} + +html[it-mini-player-cursor='sw-resize']::after { + cursor: sw-resize; +} + +html[it-mini-player-cursor='nw-resize']::after { + cursor: nw-resize; +} + + +/*------------------------------------------------------------------------------ +# +------------------------------------------------------------------------------*/ + +.it-player-button { + position: relative !important; + display: flex !important; + min-width: 40px !important; + padding: 0 !important; + justify-content: center !important; + align-items: center !important; +} + +.it-player-button>svg { + width: 56% !important; + height: auto !important; + fill: #fff !important; +} + +.it-player-button--tooltip { + font-size: 13px !important; + font-weight: 500 !important; + line-height: 15px !important; + position: fixed !important; + padding: 5px 9px; + transform: translate(-50%, -150%) !important; + pointer-events: none !important; + color: #eee !important; + border-radius: 2px !important; + background-color: rgba(28, 28, 28, .9) !important; + text-shadow: 0 0 2px rgb(0, 0, 0, .5) !important; +} + +body.no-scroll .it-player-button--tooltip { + font-size: 20px !important; + line-height: 22px !important; + padding: 8px 9px !important; + transform: translate(-50%, -75%) !important; +} + + +/*------------------------------------------------------------------------------ +5.0 PLAYLIST +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +5.1 REVERSE +------------------------------------------------------------------------------*/ + +#it-reverse-playlist { + width: 40px; + height: 40px; +} + +#it-reverse-playlist svg { + fill: var(--yt-spec-icon-inactive); +} + +#it-reverse-playlist.active svg { + fill: #f00; +} + + +/*------------------------------------------------------------------------------ +6.0 CHANNEL +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +6.1 PLAY ALL BUTTON +------------------------------------------------------------------------------*/ + +.it-play-all-button { + font-size: 14px !important; + font-weight: 500 !important; + display: flex !important; + box-sizing: border-box !important; + height: 36px !important; + padding: 6px 36px !important; + cursor: pointer !important; + text-transform: uppercase !important; + color: var(--yt-button-color, var(--yt-spec-text-secondary)) !important; + align-items: center !important; + justify-content: center !important; + text-decoration: none !important; +} + +.it-play-all-button svg { + width: 24px !important; + height: 24px !important; + margin: 0 8px 0 0 !important; + fill: currentColor !important; +} + + +/*------------------------------------------------------------------------------ +6.2 FEATURED CONTENT +------------------------------------------------------------------------------*/ + +html[it-channel-hide-featured-content=true] #secondary #contents.style-scope.ytd-browse-secondary-contents-renderer, +html[it-channel-hide-featured-content=true] .branded-page-v2-secondary-col { + display: none !important; +} + +html[it-channel-hide-featured-content=true] #secondary.ytd-two-column-browse-results-renderer, +html[it-channel-hide-featured-content=true] #secondary ytd-browse-secondary-contents-renderer { + width: fit-content; + height: fit-content; + padding: 0; +} + + +/*------------------------------------------------------------------------------ +7.0 SHORTCUTS +------------------------------------------------------------------------------*/ + +#it-status { + font-size: 40px; + position: absolute; + top: 2rem; + right: 3rem; + color: #0ff; + text-shadow: 1px 1px 2px #000; + z-index: 3000; +} + + +/*------------------------------------------------------------------------------ +8.0 SETTINGS +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +8.1 IMPROVEDTUBE ICON ON YOUTUBE +------------------------------------------------------------------------------*/ + +.it-button { + position: relative; + box-sizing: unset; + width: 24px; + height: 24px; + padding: 8px; + cursor: pointer; + border: none; + outline: none; + background: transparent; +} + +.it-button--below-player { + position: relative; + top: -6px; +} + +.it-button>span { + display: none; + margin: 0 0 0 24px; +} + +.it-button::before { + position: absolute; + top: 8px; + left: 8px; + width: 24px; + height: 24px; + content: ''; + border-radius: 50%; + background: #f00; +} + +.it-button::after { + position: absolute; + top: 14px; + left: 16px; + content: ''; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + border-left: 10px solid #fff; +} + +ytd-guide-section-renderer .it-button { + font-family: inherit; + font-size: var(--ytd-user-comment_-_font-size); + font-weight: var(--ytd-user-comment_-_font-weight); + line-height: var(--ytd-user-comment_-_line-height); + display: flex; + box-sizing: border-box; + width: 100%; + height: 40px; + padding: 0 24px; + letter-spacing: var(--ytd-user-comment_-_letter-spacing); + color: var(--yt-spec-text-primary); + align-items: center; +} + +ytd-guide-section-renderer .it-button>span { + display: inline; +} + +ytd-guide-section-renderer .it-button::before { + position: static; +} + +ytd-guide-section-renderer .it-button::after { + left: 32px; +} + +.it-button--draggable { + position: fixed; + z-index: 5000; + top: calc(100vh - 64px); + left: calc(100vw - 64px); + width: 32px; + height: 32px; +} + +.it-button--draggable::before { + width: 32px; + height: 32px; +} + +.it-button--draggable::after { + top: 16px; + left: 20px; + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-left: 12px solid #fff; +} + +.it-button__scrim { + position: fixed; + z-index: 2147483648; + top: 0; + left: 0; + width: 100%; + height: 100vh; + background: rgba(0, 0, 0, .4); +} + +.it-button__iframe { + position: fixed; + z-index: 2147483649; + display: block; + overflow: hidden; + width: 300px; + max-width: calc(100vw - 16px); + height: 500px; + max-height: calc(100vh - 16px); + margin: 0; + padding: 0; + border: none; + border-radius: 8px; + background: #fff; +} + + +/*------------------------------------------------------------------------------ +9.0 BLACKLIST +------------------------------------------------------------------------------*/ + +.it-add-to-blacklist { + position: absolute; + top: 4px; + left: 4px; + z-index: 999; + visibility: hidden; + width: 28px; + height: 28px; + cursor: pointer; + text-align: center; + color: rgb(255, 255, 255); + border-radius: 2px; + background: rgba(0, 0, 0, 0.8); + border: none; + outline: none; + font-family: inherit; +} + +.it-add-to-blacklist::after { + display: flex; + align-items: center; + content: 'Blacklist'; + text-transform: uppercase; + color: var(--yt-spec-icon-active-other, #fff); + position: absolute; + left: 100%; + top: 0; + height: 28px; + width: 0; + background: rgba(0, 0, 0, 0.8); + overflow: hidden; + transition: width 200ms; + font-weight: 500; + justify-content: center; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} + +.it-add-to-blacklist:hover::after { + width: 96px; +} + +.it-add-to-blacklist svg { + position: absolute; + top: 4px; + left: 4px; + width: 20px; + height: 20px; + fill: var(--yt-spec-icon-active-other, #fff); + pointer-events: none; +} + +.it-add-channel-to-blacklist { + background-color: var(--yt-spec-badge-chip-background); + color: var(--yt-spec-text-secondary); + border-radius: 2px; + padding: var(--yt-button-padding); + margin: auto var(--ytd-subscribe-button-margin, 4px); + white-space: nowrap; + font-size: var(--ytd-tab-system_-_font-size); + font-weight: var(--ytd-tab-system_-_font-weight); + font-family: inherit; + letter-spacing: 0; + display: flex; + justify-content: center; + align-items: center; + border: none; + text-transform: uppercase; + cursor: pointer; +} + +*:hover>.it-add-to-blacklist { + visibility: visible; +} + +.it-blacklisted-video { + opacity: .1; +} + + +/*------------NEW---------------*/ + +.improvedtube-sidebar-a { + font-size: 1.4rem; + line-height: var(--yt-guide-highlight-line-height, 1.8rem); + position: relative; + display: flex; + box-sizing: border-box; + width: 100%; + height: 40px; + padding: 0 24px; + text-decoration: none; + color: var(--yt-spec-text-primary); + justify-content: flex-start; + align-items: center; +} + +.improvedtube-sidebar-a:hover { + background-color: var(--yt-spec-10-percent-layer); +} + +.improvedtube-sidebar-a::before { + width: 20px; + height: 20px; + margin: 2px 26px 2px 2px; + content: ''; + border-radius: 50%; + background: #f00; +} + +.improvedtube-sidebar-a::after { + position: absolute; + left: 33px; + display: block; + content: ''; + opacity: .9; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 8px solid rgb(255, 255, 255); +} + +.improvedtube-player-button { + position: relative; + width: 40px; + height: 36px; + margin: 0 8px; + padding: 6px; + cursor: pointer; + border: none; + outline: none; + background: none; + fill: var(--yt-spec-icon-inactive); +} + +.improvedtube-player-button:last-of-type { + margin-right: 24px; +} + +.improvedtube-player-button:hover::after { + position: absolute; + top: 150%; + left: 50%; + padding: 8px; + content: attr(data-tooltip); + transform: translateX(-50%); + color: var(--paper-tooltip-text-color, white); + border-radius: 2px; + background-color: var(--paper-tooltip-background, #616161); +} \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/general/general.css b/content-scripts/extension-context/youtube-features/general/general.css new file mode 100644 index 000000000..67117cf4f --- /dev/null +++ b/content-scripts/extension-context/youtube-features/general/general.css @@ -0,0 +1,377 @@ +/*-------------------------------------------------------------- +>>> GENERAL: +---------------------------------------------------------------- +# YouTube home page +# Collapse of subscription section +# Remove related search results +# Scroll bar +# Add "Scroll to top" +# Limit page width +# Squared user images +# Mark watched videos +# Hide aniamted thubmnails +# Hide buttons on thumbnails +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# YOUTUBE HOME PAGE +--------------------------------------------------------------*/ + +html[it-pathname='/'][it-youtube-home-page='search']>body, +html[it-pathname='/'][it-youtube-home-page='search'] #guide[opened] { + visibility: hidden !important; + + pointer-events: none !important; +} + +html[it-pathname='/'][it-youtube-home-page='search']>body { + overflow: hidden !important; + + width: 100vw !important; + height: 100vh !important; +} + +html[it-pathname='/'][it-youtube-home-page='search'] ytd-searchbox, +html[it-pathname='/'][it-youtube-home-page='search'] ytm-searchbox { + position: fixed !important; + z-index: 99999 !important; + top: 0 !important; + left: 0 !important; + + display: flex !important; + visibility: visible !important; + + box-sizing: border-box !important; + width: 100vw !important; + height: 100vh !important; + margin: 0 !important; + padding: 16px !important; + + pointer-events: all !important; + + justify-content: center !important; + align-items: center !important; +} + +html[it-pathname='/'][it-youtube-home-page='search'] ytd-searchbox>form, +html[it-pathname='/'][it-youtube-home-page='search'] ytm-searchbox>form { + width: 100% !important; + max-width: 768px !important; +} + + +/*-------------------------------------------------------------- +# COLLAPSE OF SUBSCRIPTION SECTIONS +--------------------------------------------------------------*/ + +html[it-pathname='/feed/subscriptions'][it-collapse-of-subscription-sections='true'] ytd-item-section-renderer h2 #title { + overflow: visible !important; + + cursor: pointer !important; +} + +html[it-pathname='/feed/subscriptions'][it-collapse-of-subscription-sections='true'] ytd-item-section-renderer h2 #title::after { + position: relative !important; + top: 2px !important; + + display: inline-block !important; + + width: 6px !important; + height: 6px !important; + margin: 0 0 0 12px !important; + + content: '' !important; + transform: rotate(45deg) !important; + transform-origin: center center !important; + + border-top: currentColor 2px solid !important; + border-left: currentColor 2px solid !important; +} + +html[it-pathname='/feed/subscriptions'][it-collapse-of-subscription-sections='true'] ytd-item-section-renderer.it-section-collapsed h2 #title::after { + top: -3px !important; + + transform: rotate(-135deg) !important; +} + +html[it-pathname='/feed/subscriptions'][it-collapse-of-subscription-sections='true'] ytd-item-section-renderer .grid-subheader+#contents { + overflow: hidden !important; +} + +html[it-pathname='/feed/subscriptions'][it-collapse-of-subscription-sections='true'] ytd-item-section-renderer.it-section-collapsed .grid-subheader+#contents { + height: 0 !important; +} + + +/*-------------------------------------------------------------- +# REMOVE RELATED SEARCH RESULTS +--------------------------------------------------------------*/ + +html[it-pathname='/results'][it-remove-related-search-results='true'] ytd-shelf-renderer>#dismissible>.grid-subheader, +html[it-pathname='/results'][it-remove-related-search-results='true'] ytd-shelf-renderer>#dismissible>.grid-subheader+#contents { + display: none !important; +} + + +/*-------------------------------------------------------------- +# SCROLL BAR +--------------------------------------------------------------*/ + +html[it-scroll-bar=hidden] body { + overflow-y: overlay; +} + +html[it-scroll-bar=hidden] ::-webkit-scrollbar { + display: none; +} + + +/*-------------------------------------------------------------- +# ADD "SCROLL TO TOP" +--------------------------------------------------------------*/ + +#it-scroll-to-top { + position: fixed !important; + z-index: 999 !important; + right: 32px !important; + bottom: 32px !important; + + display: flex !important; + visibility: hidden !important; + + box-sizing: border-box !important; + width: 56px !important; + height: 56px !important; + + cursor: pointer !important; + transition: background 500ms 250ms, transform 500ms, box-shadow 525ms !important; + transform: translateY(88px) !important; + pointer-events: none !important; + + opacity: 0 !important; + border-radius: 50% !important; + background: linear-gradient(135deg, #ff4766, #f50029) !important; + box-shadow: 0 2px 1px 1px #d60024, 0 4px 4px rgb(82, 0, 14, .32) !important; + + justify-content: center !important; + align-items: center !important; +} + +#it-scroll-to-top>svg { + width: 24px !important; + + fill: #fff !important; +} + +html[it-scroll-to-top='true'] #it-scroll-to-top { + visibility: visible !important; + + transform: translateY(0px) !important; + pointer-events: all !important; + + opacity: 1 !important; +} + +html[it-scroll-to-top='true'] #it-scroll-to-top:focus, +html[it-scroll-to-top='true'] #it-scroll-to-top:hover { + transition: background 250ms 125ms, transform 250ms, box-shadow 275ms !important; + transform: translateY(4px) scale(.975) !important; + + box-shadow: 0 1px 1px 0 #d60024, 0 1px 2px rgb(82, 0, 14, .32) !important; +} +/*-------------------------------------------------------------- +# NO PAGE MARGIN +--------------------------------------------------------------*/ + +html[data-page-type=video][it-no-page-margin='true'] ytd-browse > ytd-two-column-browse-results-renderer { + width: auto !important; + max-width: auto !important; } + +html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #columns.ytd-watch-flexy, +html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #primary.ytd-watch-flexy { + max-width: 100% !important; margin: 2px !important; } + +html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #secondary.ytd-watch-flexy { + margin-right: -12px !important;} + +html[data-page-type=video][it-no-page-margin='true'] ytd-watch-flexy:not([fullscreen]) #below { + margin-left: calc(4vh + 3vw - 40px) !important;} + +html[data-page-type=video][it-player-size='max_width'] .ytp-fit-cover-video .html5-main-video { + object-fit: contain !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #player { + margin-top: -24px !important; object-fit: contain !important;} +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #player-container-outer.ytd-watch-flexy { + max-width: 100% !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) #player-container-inner.ytd-watch-flexy { + padding-top: calc(var(--ytd-watch-flexy-max-player-height) + 45px) !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) .html5-video-container { + width: 100% !important; + height: 100% !important;} + +html[data-page-type=video][it-player-size='max_width'] ytd-watch-flexy:not([fullscreen]) video { + position: static !important; + top: 0 !important; + left: 0 !important; + width: 100% !important; + height: 100% !important; + justify-content: center !important} + +/*-------------------------------------------------------------- +# SQUARED USER IMAGES +--------------------------------------------------------------*/ + +html[it-squared-user-images='true'] #avatar.ytd-shelf-renderer, +html[it-squared-user-images='true'] yt-img-shadow, +html[it-squared-user-images='true'] #yt-masthead-user .yt-masthead-user-icon { + border-radius: unset !important; +} + + +/*-------------------------------------------------------------- +# Popup Window Button +--------------------------------------------------------------*/ + +.it-popup-window { + font-family: inherit; + + position: absolute; + z-index: 999; + bottom: 36px; + left: 4px; + + visibility: hidden; + + width: 28px; + height: 28px; + + cursor: pointer; + text-align: center; + + color: #888; + border: none; + border-radius: 2px; + background: rgba(0, 0, 0, .8); +} + +.it-popup-window svg { + position: absolute; + top: 4px; + left: 4px; + + width: 20px; + height: 20px; + + pointer-events: none; + + fill: currentColor; +} + +*:hover>.it-popup-window { + visibility: visible; +} + + +/*-------------------------------------------------------------- +# MARK WATCHED VIDEOS +--------------------------------------------------------------*/ + +.it-mark-watched-videos { + font-family: inherit !important; + font-size: inherit !important; + + position: absolute !important; + z-index: 999 !important; + bottom: 4px !important; + left: 4px !important; + + visibility: hidden !important; + + width: 28px !important; + height: 28px !important; + padding: 2px !important; + + content: '' !important; + cursor: pointer !important; + text-align: center !important; + + color: #888 !important; + border: none !important; + border-radius: 2px !important; + background-color: rgba(0, 0, 0, .8) !important; + + fill: #fff !important; +} + +.it-mark-watched-videos[data-watched] { + background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%23FFF" d="M12 4.5C7 4.5 2.7 7.6 1 12a11.8 11.8 0 0 0 22 0c-1.7-4.4-6-7.5-11-7.5zM12 17a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"/%3E%3C/svg%3E') !important; +} + +#thumbnail.ytd-thumbnail:hover .it-mark-watched-videos { + visibility: visible !important; +} + +.it-mark-watched-videos[watched]>svg:first-child, +.it-mark-watched-videos:not([watched])>svg:last-child { + display: none !important; +} + +.it-mark-watched-videos:hover { + border-top-right-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +.it-mark-watched-videos::after { + font-size: 1.2em !important; + font-weight: 500 !important; + + position: absolute !important; + top: 0 !important; + left: 100% !important; + + display: flex !important; + overflow: hidden !important; + + width: 0 !important; + height: 28px !important; + + content: 'Watched'; + transition: width 200ms !important; + text-transform: uppercase !important; + + color: var(--yt-spec-icon-active-other, #fff) !important; + border-top-right-radius: 2px !important; + border-bottom-right-radius: 2px !important; + background: rgba(0, 0, 0, .8) !important; + + align-items: center !important; + justify-content: center !important; +} + +.it-mark-watched-videos:hover::after { + width: 96px !important; +} + + +/*-------------------------------------------------------------- +# HIDE ANIMATED THUMBNAILS +--------------------------------------------------------------*/ + +html[it-hide-animated-thumbnails='true'] #mouseover-overlay, +html[it-hide-animated-thumbnails='true'] .mouseover-play, +html[it-hide-animated-thumbnails='true'] .mouseover-img, +html[it-hide-animated-thumbnails='true'] #preview>ytd-video-preview { + display: none !important; +} + + +/*-------------------------------------------------------------- +# HIDE BUTTONS ON THUMBNAILS +--------------------------------------------------------------*/ + +html[it-hide-thumbnail-overlay='true'] #hover-overlays { + display: none !important; +} \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/general/general.js b/content-scripts/extension-context/youtube-features/general/general.js new file mode 100644 index 000000000..54c121f40 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/general/general.js @@ -0,0 +1,553 @@ +/*-------------------------------------------------------------- +>>> GENERAL: +---------------------------------------------------------------- +# YouTube home page +# Fold subscriptions' sections (collapsed accordion) +# Don't let a second video auto-start at once +# Add "Scroll to top" +# Confirmation before closing +# Default content country +# Add "Popup window" buttons +# Font +# Mark watched videos +# Track watched videos +# Thumbnails quality +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# YOUTUBE HOME PAGE +--------------------------------------------------------------*/ + +extension.features.youtubeHomePage = function (anything) { + if (anything instanceof Event) { + var event = anything; + + if (event.target) { + var target = event.target; + + while (target.parentNode) { + if (target.nodeName === 'A' && target.id === 'logo') { + var option = extension.storage.get('youtube_home_page'); + + if (option !== 'search') { + event.preventDefault(); + event.stopPropagation(); + + window.open(option, '_self'); + + return false; + } + } else { + target = target.parentNode; + } + } + } + } else if (anything === 'init') { + extension.events.on('init', function (resolve) { + if (/(www|m)\.youtube\.com\/?(\?|\#|$)/.test(location.href)) { + chrome.storage.local.get('youtube_home_page', function (items) { + var option = items.youtube_home_page; + + if ( + option === '/feed/trending' || + option === '/feed/subscriptions' || + option === '/feed/history' || + option === '/playlist?list=WL' || + option === '/playlist?list=LL' || + option === '/feed/library' + ) { + location.replace(option); + } else { + resolve(); + } + }); + } else { + resolve(); + } + }, { + async: true, + prepend: true + }); + } else { + var option = extension.storage.get('youtube_home_page'); + + window.removeEventListener('click', this.youtubeHomePage); + + if ( + option === '/feed/trending' || + option === '/feed/subscriptions' || + option === '/feed/history' || + option === '/playlist?list=WL' || + option === '/playlist?list=LL' || + option === '/feed/library' + ) { + window.addEventListener('click', this.youtubeHomePage, true); + } + } +}; + + +/*-------------------------------------------------------------- +# COLLAPSE OF SUBSCRIPTION SECTIONS +--------------------------------------------------------------*/ + +extension.features.collapseOfSubscriptionSections = function (event) { + if (event instanceof Event) { + var section, + content; + + if (event.target) { + var target = event.target; + + while (target.parentNode) { + if (target.nodeName === 'YTD-ITEM-SECTION-RENDERER') { + section = target; + } else if (target.className && target.className.indexOf && target.className.indexOf('grid-subheader') !== -1) { + content = target.nextElementSibling; + } + + target = target.parentNode; + } + } + + if (section && content) { + event.preventDefault(); + event.stopPropagation(); + + if (section.className.indexOf('it-section-collapsed') === -1) { + content.style.height = content.offsetHeight + 'px'; + content.style.transition = 'height 200ms'; + } + + setTimeout(function () { + section.classList.toggle('it-section-collapsed'); + }); + + return false; + } + } else { + window.removeEventListener('click', this.collapseOfSubscriptionSections); + + if ( + extension.storage.get('collapse_of_subscription_sections') === true && + location.href.indexOf('feed/subscriptions') !== -1 + ) { + window.addEventListener('click', this.collapseOfSubscriptionSections, true); + } + } +}; + + +/*-------------------------------------------------------------- +# ONLY ONE PLAYER INSTANCE PLAYING +--------------------------------------------------------------*/ + +extension.features.onlyOnePlayerInstancePlaying = function () { + if (extension.storage.get('only_one_player_instance_playing') === true) { + var videos = document.querySelectorAll('video'); + + for (var i = 0, l = videos.length; i < l; i++) { + videos[i].pause(); + } + } +}; + + +/*-------------------------------------------------------------- +# ADD "SCROLL TO TOP" +--------------------------------------------------------------*/ + +extension.features.addScrollToTop = function (event) { + if (event instanceof Event) { + if (window.scrollY > window.innerHeight / 2) { + document.documentElement.setAttribute('it-scroll-to-top', 'true'); + } else { + document.documentElement.removeAttribute('it-scroll-to-top'); + } + } else { + if (extension.storage.get('add_scroll_to_top') === true) { + this.addScrollToTop.button = satus.render({ + component: 'div', + id: 'it-scroll-to-top', + on: { + click: function () { + window.scrollTo(0, 0); + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24' + }, + + path: { + component: 'path', + attr: { + 'd': 'M13 19V7.8l4.9 5c.4.3 1 .3 1.4 0 .4-.5.4-1.1 0-1.5l-6.6-6.6a1 1 0 0 0-1.4 0l-6.6 6.6a1 1 0 1 0 1.4 1.4L11 7.8V19c0 .6.5 1 1 1s1-.5 1-1z' + } + } + } + }); + + window.addEventListener('scroll', this.addScrollToTop); + } else if (this.addScrollToTop.button) { + window.removeEventListener('scroll', this.addScrollToTop); + + this.addScrollToTop.button.remove(); + } + } +}; + + +/*-------------------------------------------------------------- +# CONFIRMATION BEFORE CLOSING +--------------------------------------------------------------*/ + +extension.features.confirmationBeforeClosing = function () { + window.onbeforeunload = function () { + if (extension.storage.get('confirmation_before_closing') === true) { + return 'You have attempted to leave this page. Are you sure?'; + } + }; +}; + + +/*-------------------------------------------------------------- +# DEFAULT CONTENT COUNTRY +--------------------------------------------------------------*/ + +extension.features.defaultContentCountry = function (changed) { + var value = extension.storage.get('default_content_country'); + + if (satus.isset(value)) { + if (value !== 'default') { + var date = new Date(); + + date.setTime(date.getTime() + 3.154e+10); + + document.cookie = 's_gl=' + value + '; path=/; domain=.youtube.com; expires=' + date.toGMTString(); + } else { + document.cookie = 's_gl=0; path=/; domain=.youtube.com; expires=Thu, 01 Jan 1970 00:00:01 GMT'; + } + } + + if (changed) { + location.reload(); + } +}; + + +/*-------------------------------------------------------------- +# ADD "POPUP WINDOW" BUTTONS +--------------------------------------------------------------*/ + +extension.features.popupWindowButtons = function (event) { + if (event instanceof Event) { + if (event.type === 'mouseover') { + if (event.target) { + var target = event.target, + detected = false; + + while (detected === false && target.parentNode) { + if ( + target.id === 'thumbnail' && target.className.indexOf('ytd-thumbnail') !== -1 || + target.className.indexOf('thumb-link') !== -1 + ) { + if (!target.itPopupWindowButton) { + target.itPopupWindowButton = satus.render({ + component: 'button', + class: 'it-popup-window', + data: { + id: extension.functions.getUrlParameter(target.href, 'v') + }, + on: { + click: function (event) { + event.preventDefault(); + event.stopPropagation(); + + window.open('https://www.youtube.com/embed/' + this.dataset.id + '?autoplay=' + (extension.storage.get('player_autoplay') == false ? '0' : '1'), '_blank', 'directories=no,toolbar=no,location=no,menubar=no,status=no,titlebar=no,scrollbars=no,resizable=no'); + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24' + }, + + path: { + component: 'path', + attr: { + 'd': 'M19 7h-8v6h8V7zm2-4H3C2 3 1 4 1 5v14c0 1 1 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 16H3V5h18v14z' + } + } + } + }, target); + } + + detected = true; + } + + target = target.parentNode; + } + } + } + } else { + if (extension.storage.get('popup_window_buttons') === true) { + window.addEventListener('mouseover', this.popupWindowButtons, true); + } else { + window.removeEventListener('mouseover', this.popupWindowButtons, true); + } + } +}; + + +/*-------------------------------------------------------------- +# FONT +--------------------------------------------------------------*/ + +extension.features.font = function (changed) { + var option = extension.storage.get('font'); + + if (satus.isString(option) && option !== 'Default') { + var link = this.font.link || document.createElement('link'), + style = this.font.style || document.createElement('style'); + + link.rel = 'stylesheet'; + link.href = '//fonts.googleapis.com/css2?family=' + option; + + style.textContent = '*{font-family:"' + option.replace(/\+/g, ' ') + '" !important}'; + + document.head.appendChild(link); + document.head.appendChild(style); + + this.font.link = link; + this.font.style = style; + } else if (changed) { + var link = this.font.link, + style = this.font.style; + + if (link) { + link.remove(); + } + + if (style) { + style.remove(); + } + } +}; + + +/*-------------------------------------------------------------- +# MARK WATCHED VIDEOS +--------------------------------------------------------------*/ + +extension.features.markWatchedVideos = function (anything) { + if (anything instanceof Event) { + var event = anything; + + if (event.type === 'mouseover') { + if (event.target) { + var target = event.target, + detected = false; + + while (detected === false && target.parentNode) { + if ( + target.className && target.className.indexOf && + ( + target.id === 'thumbnail' && target.className.indexOf('ytd-thumbnail') !== -1 || + target.className.indexOf('thumb-link') !== -1 + ) + ) { + if (!target.itMarkWatchedVideosButton) { + target.itMarkWatchedVideosButton = satus.render({ + component: 'button', + class: 'it-mark-watched-videos', + data: { + id: extension.functions.getUrlParameter(target.href, 'v') + }, + on: { + click: function (event) { + var id = this.dataset.id, + value = this.toggleAttribute('watched'); + + event.preventDefault(); + event.stopPropagation(); + + if (!extension.storage.watched) { + extension.storage.watched = {}; + } + + if (value) { + extension.storage.get('watched')[id] = { + title: '' + }; + } else { + delete extension.storage.get('watched')[id]; + } + + chrome.storage.local.set({ + watched: extension.storage.get('watched') + }); + }, + render: function () { + if (extension.storage.get('watched') && extension.storage.get('watched')[this.dataset.id]) { + this.setAttribute('watched', ''); + } + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24' + }, + + path: { + component: 'path', + attr: { + 'd': 'M12 15.15q1.525 0 2.588-1.063 1.062-1.062 1.062-2.587 0-1.525-1.062-2.588Q13.525 7.85 12 7.85q-1.525 0-2.587 1.062Q8.35 9.975 8.35 11.5q0 1.525 1.063 2.587Q10.475 15.15 12 15.15Zm0-.95q-1.125 0-1.912-.788Q9.3 12.625 9.3 11.5t.788-1.913Q10.875 8.8 12 8.8t1.913.787q.787.788.787 1.913t-.787 1.912q-.788.788-1.913.788Zm0 3.8q-3.1 0-5.688-1.613Q3.725 14.775 2.325 12q-.05-.1-.075-.225-.025-.125-.025-.275 0-.15.025-.275.025-.125.075-.225 1.4-2.775 3.987-4.388Q8.9 5 12 5q3.1 0 5.688 1.612Q20.275 8.225 21.675 11q.05.1.075.225.025.125.025.275 0 .15-.025.275-.025.125-.075.225-1.4 2.775-3.987 4.387Q15.1 18 12 18Zm0-6.5Zm0 5.5q2.825 0 5.188-1.488Q19.55 14.025 20.8 11.5q-1.25-2.525-3.612-4.013Q14.825 6 12 6 9.175 6 6.812 7.487 4.45 8.975 3.2 11.5q1.25 2.525 3.612 4.012Q9.175 17 12 17Z' + } + } + }, + svg2: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24' + }, + + path: { + component: 'path', + attr: { + 'd': 'M12 15.15q1.525 0 2.588-1.063 1.062-1.062 1.062-2.587 0-1.525-1.062-2.588Q13.525 7.85 12 7.85q-1.525 0-2.587 1.062Q8.35 9.975 8.35 11.5q0 1.525 1.063 2.587Q10.475 15.15 12 15.15Zm0-.95q-1.125 0-1.912-.788Q9.3 12.625 9.3 11.5t.788-1.913Q10.875 8.8 12 8.8t1.913.787q.787.788.787 1.913t-.787 1.912q-.788.788-1.913.788Zm0 3.8q-3.1 0-5.688-1.613Q3.725 14.775 2.325 12q-.05-.1-.075-.225-.025-.125-.025-.275 0-.15.025-.275.025-.125.075-.225 1.4-2.775 3.987-4.388Q8.9 5 12 5q3.1 0 5.688 1.612Q20.275 8.225 21.675 11q.05.1.075.225.025.125.025.275 0 .15-.025.275-.025.125-.075.225-1.4 2.775-3.987 4.387Q15.1 18 12 18Z' + } + } + } + }, target); + } else { + var button = target.itMarkWatchedVideosButton; + + if (extension.storage.get('watched') && extension.storage.get('watched')[button.dataset.id]) { + button.setAttribute('watched', ''); + } else { + button.removeAttribute('watched'); + } + } + + detected = true; + } + + target = target.parentNode; + } + } + } + } else if (anything === true) { + var buttons = document.querySelectorAll('.it-mark-watched-videos'); + + for (var i = 0, l = buttons.length; i < l; i++) { + var button = buttons[i]; + + button.remove(); + } + } else { + window.removeEventListener('mouseover', this.markWatchedVideos, true); + + if (extension.storage.get('mark_watched_videos') === true) { + window.addEventListener('mouseover', this.markWatchedVideos, true); + } + } +}; + + +/*-------------------------------------------------------------- +# TRACK WATCHED VIDEOS +--------------------------------------------------------------*/ + +extension.features.trackWatchedVideos = function () { + if (extension.storage.get('track_watched_videos') === true && document.documentElement.getAttribute('it-pathname').indexOf('/watch') === 0) { + var id = extension.functions.getUrlParameter(location.href, 'v'); + + if (!extension.storage.watched) { + extension.storage.watched = {}; + } + + extension.storage.get('watched')[id] = { + title: document.title + }; + + chrome.storage.local.set({ + watched: extension.storage.get('watched') + }); + } +}; + + +/*-------------------------------------------------------------- +# THUMBNAILS QUALITY +--------------------------------------------------------------*/ + +extension.features.thumbnailsQuality = function (anything) { + var option = extension.storage.get('thumbnails_quality'); + + function handler(thumbnail) { + if (!thumbnail.dataset.defaultSrc && extension.features.thumbnailsQuality.regex.test(thumbnail.src)) { + thumbnail.dataset.defaultSrc = thumbnail.src; + + thumbnail.onload = function () { + if (this.naturalHeight <= 90) { + this.src = this.dataset.defaultSrc; + } + }; + + thumbnail.onerror = function () { + this.src = thumbnail.dataset.defaultSrc; + }; + + thumbnail.src = thumbnail.src.replace(extension.features.thumbnailsQuality.regex, extension.storage.get('thumbnails_quality') + '.jpg'); + } + } + + if (['default', 'mqdefault', 'hqdefault', 'sddefault', 'maxresdefault'].includes(option) === true) { + var thumbnails = document.querySelectorAll('img'); + + this.thumbnailsQuality.regex = /(default\.jpg|mqdefault\.jpg|hqdefault\.jpg|hq720\.jpg|sddefault\.jpg|maxresdefault\.jpg)+/; + + for (var i = 0, l = thumbnails.length; i < l; i++) { + handler(thumbnails[i]); + } + + if (!this.thumbnailsQuality.observer) { + this.thumbnailsQuality.observer = new MutationObserver(function (mutationList) { + for (var i = 0, l = mutationList.length; i < l; i++) { + var mutation = mutationList[i]; + + if (mutation.type === 'attributes') { + handler(mutation.target); + } + } + }); + + this.thumbnailsQuality.observer.observe(document.documentElement, { + attributeFilter: ['src'], + attributes: true, + childList: true, + subtree: true + }); + } + } else if (anything === true) { + var thumbnails = document.querySelectorAll('img[data-default-src]'); + + for (var i = 0, l = thumbnails.length; i < l; i++) { + var thumbnail = thumbnails[i]; + + thumbnail.src = thumbnail.dataset.defaultSrc; + + thumbnail.removeAttribute('data-default-src'); + } + + if (this.thumbnailsQuality.observer) { + this.thumbnailsQuality.observer.disconnect(); + } + } +}; \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/night-mode/night-mode.css b/content-scripts/extension-context/youtube-features/night-mode/night-mode.css new file mode 100644 index 000000000..99b63ff2d --- /dev/null +++ b/content-scripts/extension-context/youtube-features/night-mode/night-mode.css @@ -0,0 +1,71 @@ +/*-------------------------------------------------------------- +>>> NIGHT MODE: +---------------------------------------------------------------- +# Bluelight +# Dim +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BLUELIGHT +--------------------------------------------------------------*/ + +html[it-bluelight]:not([it-bluelight='0']) { + height: auto !important; +} + +html[it-bluelight]:not([it-bluelight='0']), +html[it-bluelight]:not([it-bluelight='0']) .html5-video-player.ytp-fullscreen { + filter: url(#it-bluelight-filter) !important; +} + +#it-bluelight { + position: fixed !important; + top: 0 !important; + left: 0 !important; + + visibility: hidden !important; + + width: 100% !important; + height: 100vh !important; + + pointer-events: none !important; +} + + +/*-------------------------------------------------------------- +# DIM +--------------------------------------------------------------*/ + +#it-dim { + position: fixed !important; + z-index: 2147483645 !important; + top: 0 !important; + left: 0 !important; + + width: 100% !important; + height: 100vh !important; + + pointer-events: none !important; + + background: #000 !important; +} + +#it-dim-player { + position: fixed !important; + z-index: 2147483645 !important; + top: 0 !important; + left: 0 !important; + + visibility: hidden !important; + + width: 100% !important; + height: 100vh !important; + + pointer-events: none !important; + + background: #000 !important; +} + +.html5-video-player.ytp-fullscreen #it-dim-player { + visibility: visible !important; +} \ No newline at end of file diff --git a/content-scripts/extension-context/youtube-features/night-mode/night-mode.js b/content-scripts/extension-context/youtube-features/night-mode/night-mode.js new file mode 100644 index 000000000..0a23cb395 --- /dev/null +++ b/content-scripts/extension-context/youtube-features/night-mode/night-mode.js @@ -0,0 +1,140 @@ +/*-------------------------------------------------------------- +>>> NIGHT MODE: +---------------------------------------------------------------- +# Filters + # Bluelight + # Dim +# Schedule +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# FILTERS +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BLUELIGHT +--------------------------------------------------------------*/ + +extension.features.bluelight = function () { + var value = extension.storage.get('bluelight'); + + if (extension.features.schedule() === false) { + return false; + } + + if (satus.isset(value) === false) { + value = 0; + } + + if (typeof value !== 'number') { + value = Number(value); + } + + if (value !== 0) { + if (!this.bluelight.bluelight || !this.bluelight.feColorMatrix) { + var div = this.bluelight.bluelight || document.createElement('div'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + filter = document.createElementNS('http://www.w3.org/2000/svg', 'filter'), + feColorMatrix = document.createElementNS('http://www.w3.org/2000/svg', 'feColorMatrix'), + matrix = feColorMatrix.values.baseVal; + + div.id = 'it-bluelight'; + + svg.setAttributeNS(null, 'viewBox', '0 0 1 1'); + svg.setAttributeNS(null, 'version', '1.1'); + filter.setAttributeNS(null, 'id', 'it-bluelight-filter'); + feColorMatrix.setAttributeNS(null, 'type', 'matrix'); + + for (var i = 0; i < 20; i++) { + var number = svg.createSVGNumber(); + + number.value = 0; + + matrix.appendItem(number); + } + + matrix[0].value = 1; + matrix[6].value = 1; + matrix[12].value = 1 - parseFloat(value) / 100; + matrix[18].value = 1; + + filter.appendChild(feColorMatrix); + svg.appendChild(filter); + div.appendChild(svg); + document.documentElement.appendChild(div); + + this.bluelight.feColorMatrix = feColorMatrix; + this.bluelight.bluelight = div; + } else { + this.bluelight.feColorMatrix.values.baseVal[12].value = 1 - parseFloat(value) / 100; + } + } else if (this.bluelight.bluelight) { + this.bluelight.bluelight.remove(); + + delete this.bluelight.bluelight; + delete this.bluelight.feColorMatrix; + } +}; + + +/*-------------------------------------------------------------- +# DIM +--------------------------------------------------------------*/ + +extension.features.dim = function () { + var value = extension.storage.get('dim'); + + if (extension.features.schedule() === false) { + return false; + } + + if (satus.isset(value) === false) { + value = 0; + } + + if (typeof value !== 'number') { + value = Number(value); + } + + if (value !== 0) { + if (!this.dim.element) { + var element = document.createElement('div'); + + element.id = 'it-dim'; + element.style.opacity = parseInt(Number(value)) / 100 || 0; + + document.documentElement.appendChild(element); + + this.dim.element = element; + } else { + this.dim.element.style.opacity = parseInt(Number(value)) / 100 || 0; + } + } else if (this.dim.element) { + this.dim.element.remove(); + + delete this.dim.element; + } +}; + + +/*-------------------------------------------------------------- +# SCHEDULE +--------------------------------------------------------------*/ + +extension.features.schedule = function () { + var current = new Date().getHours(), + from = Number((extension.storage.get('schedule_time_from') || '00:00').substr(0, 2)), + to = Number((extension.storage.get('schedule_time_to') || '00:00').substr(0, 2)); + + if (to < from && current > from && current < 24) { + times.to += 24; + } else if (to < from && current < to) { + from = 0; + } + + if (extension.storage.get('schedule') !== 'sunset_to_sunrise' || current >= from && current < to) { + return true; + } + + return false; +}; \ No newline at end of file diff --git a/content-scripts/website-context/core.js b/content-scripts/website-context/core.js new file mode 100644 index 000000000..4a5e8925b --- /dev/null +++ b/content-scripts/website-context/core.js @@ -0,0 +1,204 @@ +/*-------------------------------------------------------------- +>>> CORE: +---------------------------------------------------------------- +# Global variable +# Messages + # Create element + # Listener + # Send +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GLOBAL VARIABLE +--------------------------------------------------------------*/ + +var ImprovedTube = { + messages: { + queue: [] + }, + storage: {}, + elements: { + buttons: {}, + masthead: {}, + app_drawer: {}, + playlist: {}, + livechat: {}, + related: {}, + comments: {}, + collapse_of_subscription_sections: [], + mark_watched_videos: [], + blacklist_buttons: [] + }, + regex: { + channel: new RegExp('\/@|((channel|user|c)\/)'), + channel_home_page: new RegExp('\/@|((channel|user|c)\/)[^/]+(\/featured)?\/?$'), + channel_home_page_postfix: new RegExp('\/(featured)?\/?$'), + thumbnail_quality: new RegExp('(default\.jpg|mqdefault\.jpg|hqdefault\.jpg|hq720\.jpg|sddefault\.jpg|maxresdefault\.jpg)+'), + video_id: new RegExp('[?&]v=([^&]+)'), + channel_link: new RegExp('https:\/\/www.youtube.com\/@|((channel|user|c)\/)') + }, + video_src: false, + initialVideoUpdateDone: false, + latestVideoDuration: 0, + video_url: '', + focus: false, + played_before_blur: false, + played_time: 0, + allow_autoplay: false, + mini_player__mode: false, + mini_player__move: false, + mini_player__cursor: '', + mini_player__x: 0, + mini_player__y: 0, + mini_player__max_x: 0, + mini_player__max_y: 0, + mini_player__original_width: 0, + mini_player__original_height: 0, + mini_player__width: 200, + mini_player__height: 160, + miniPlayer_mouseDown_x: 0, + miniPlayer_mouseDown_y: 0, + mini_player__player_offset_x: 0, + mini_player__player_offset_y: 0, + miniPlayer_resize_offset: 16, + playlistReversed: false, + status_timer: false, + defaultApiKey: 'AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA' +}; + + +/*-------------------------------------------------------------- +# MESSAGES +---------------------------------------------------------------- + Designed for messaging between contexts of extension and + website. +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# CREATE ELEMENT +--------------------------------------------------------------*/ + +ImprovedTube.messages.create = function () { + this.element = document.createElement('div'); + + this.element.id = 'it-messages-from-youtube'; + + this.element.style.display = 'none'; + + document.documentElement.appendChild(this.element); +}; + +/*-------------------------------------------------------------- +# LISTENER +--------------------------------------------------------------*/ + +ImprovedTube.messages.listener = function () { + document.addEventListener('it-message-from-youtube--readed', function () { + ImprovedTube.messages.queue.pop(); + + if (ImprovedTube.messages.queue.length > 0) { + ImprovedTube.messages.element.textContent = message; + + document.dispatchEvent(new CustomEvent('it-message-from-youtube')); + } + }); +}; + +document.addEventListener('it-message-from-extension', function () { + var provider = document.querySelector('#it-messages-from-extension'); + + if (provider) { + var message = provider.textContent; + + document.dispatchEvent(new CustomEvent('it-message-from-extension--readed')); + + try { + message = JSON.parse(message); + } catch (error) { + console.log(error); + } + + if (message.action === 'storage-loaded') { + ImprovedTube.storage = message.storage; + + ImprovedTube.init(); + } else if (message.action === 'storage-changed') { + var camelized_key = message.camelizedKey; + + ImprovedTube.storage[message.key] = message.value; + if(ImprovedTube.storage[message.key]==="when_paused"){ + ImprovedTube.whenPaused(); + }; + if (camelized_key === 'blacklistActivate') { + camelized_key = 'blacklist'; + } else if (camelized_key === 'playerForcedPlaybackSpeed') { + camelized_key = 'playerPlaybackSpeed'; + } else if (camelized_key === 'theme') { + ImprovedTube.themes(); + } + + if (ImprovedTube[camelized_key]) { + ImprovedTube[camelized_key](); + } + } else if (message.focus === true && ImprovedTube.elements.player) { + ImprovedTube.focus = true; + + ImprovedTube.pageOnFocus(); + } else if (message.blur === true && ImprovedTube.elements.player) { + ImprovedTube.focus = false; + + ImprovedTube.pageOnFocus(); + + document.dispatchEvent(new CustomEvent('improvedtube-blur')); + } else if (message.pause === true) { + if (ImprovedTube.elements.player) { + ImprovedTube.played_before_blur = ImprovedTube.elements.player.getPlayerState() === 1; + ImprovedTube.elements.player.pauseVideo(); + } + } else if (message.hasOwnProperty('setVolume')) { + if (ImprovedTube.elements.player) { + ImprovedTube.elements.player.setVolume(message.setVolume); + } + } else if (message.hasOwnProperty('setPlaybackSpeed')) { + if (ImprovedTube.elements.player) { + ImprovedTube.elements.player.setPlaybackRate(message.setPlaybackSpeed); + } + } else if (message.deleteCookies === true) { + ImprovedTube.deleteYoutubeCookies(); + } else if (message.hasOwnProperty('responseOptionsUrl')) { + var iframe = document.querySelector('.it-button__iframe'); + + if (iframe) { + iframe.src = message.responseOptionsUrl; + } + } else if (message.hasOwnProperty('mixer')) { + if (ImprovedTube.elements.player) { + /*document.documentElement.setAttribute('it-response', JSON.stringify({ + mixer: true, + url: location.href.match(/(\?|\&)v=[^&]+/)[0].substr(3), + volume: ImprovedTube.elements.player.getVolume(), + playbackRate: ImprovedTube.elements.player.getPlaybackRate(), + title: document.title + }));*/ + } + } + } +}); + +/*-------------------------------------------------------------- +# SEND +--------------------------------------------------------------*/ + +ImprovedTube.messages.send = function (message) { + if (typeof message === 'object') { + message = JSON.stringify(message); + } + + this.queue.push(message); + + if (this.queue.length === 1) { + this.element.textContent = message; + + document.dispatchEvent(new CustomEvent('it-message-from-youtube')); + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/functions.js b/content-scripts/website-context/functions.js new file mode 100644 index 000000000..ba900ee7d --- /dev/null +++ b/content-scripts/website-context/functions.js @@ -0,0 +1,546 @@ +/*-------------------------------------------------------------- +>>> FUNCTIONS +--------------------------------------------------------------*/ + +ImprovedTube.childHandler = function (node) { + var children = node.children; + if (node.nodeName !== 'SCRIPT' && node.nodeName !== 'svg' && node.nodeName !== '#text'&& node.nodeName !== '#comment' && node.nodeName !== 'SPAN' && node.nodeName !== 'DOM-IF' && node.nodeName !== 'DOM-REPEAT') { + this.ytElementsHandler(node); + + if (children) { + for (var i = 0, l = children.length; i < l; i++) { + ImprovedTube.childHandler(children[i]); + } + } + } +}; + +ImprovedTube.ytElementsHandler = function (node) { + var name = node.nodeName, + id = node.id; + + if (name === 'A') { + if (node.href) { + this.channelDefaultTab(node); + + if (node.className.indexOf('ytd-thumbnail') !== -1) { + this.blacklist('video', node); + } + if (node.href.match(/@|((channel|user|c)\/)([^/]+)/)) { + this.blacklist('channel', node); + } + } + } else if (name === 'META') { + if (node.getAttribute('itemprop') === 'genre') { + ImprovedTube.genre = node.content; + } + } else if (name === 'YTD-TOGGLE-BUTTON-RENDERER' || name === 'YTD-PLAYLIST-LOOP-BUTTON-RENDERER') { + if ( + node.parentComponent && + node.parentComponent.nodeName === 'YTD-MENU-RENDERER' && + node.parentComponent.parentComponent && + node.parentComponent.parentComponent.nodeName === 'YTD-PLAYLIST-PANEL-RENDERER' + ) { + var index = Array.prototype.indexOf.call(node.parentNode.children, node); + + if (index === 0) { + this.elements.playlist.actions = node.parentNode.parentNode.parentNode.parentNode; + + this.playlistReverse(); + } else if (index === 1) { + this.elements.playlist.shuffle_button = node; + + this.playlistShuffle(); + + this.elements.playlist.actions = node.parentNode.parentNode.parentNode.parentNode; + + this.playlistReverse(); + } + } + } else if (name === 'YTD-GUIDE-SECTION-RENDERER') { + if (!this.elements.sidebar_section) { + this.elements.sidebar_section = node; + + this.improvedtubeYoutubeIcon(); + } + } else if (name === 'YTD-VIDEO-PRIMARY-INFO-RENDERER') { + this.elements.video_title = node.querySelector('.title.ytd-video-primary-info-renderer'); + + this.improvedtubeYoutubeIcon(); + this.improvedtubeYoutubeButtonsUnderPlayer(); + + + } else if (name === 'YTD-VIDEO-SECONDARY-INFO-RENDERER') { + this.elements.yt_channel_name = node.querySelector('ytd-channel-name'); + this.elements.yt_channel_link = node.querySelector('ytd-channel-name a'); + + if (document.documentElement.dataset.pageType === 'video') { + this.howLongAgoTheVideoWasUploaded(); + this.channelVideosCount(); + } + } else if (name === 'YTD-MENU-RENDERER' && node.classList.contains('ytd-video-primary-info-renderer')) { + if(document.documentElement.dataset.pageType === 'video'){ + this.hideDetailButton(node.$['flexible-item-buttons'].children); + } + } else if (name === 'YTD-SUBSCRIBE-BUTTON-RENDERER') { + if (node.className.indexOf('ytd-c4-tabbed-header-renderer') !== -1) { + ImprovedTube.blacklist('channel', node); + } + + ImprovedTube.elements.subscribe_button = node; + } else if (id === 'show-hide-button') { + this.elements.livechat.button = document.querySelector('[aria-label="Hide chat"]'); + // console.log(document.querySelector('[aria-label="Hide chat"]')) + this.livechat(); + } else if (name === 'YTD-MASTHEAD') { + if (!this.elements.masthead) { + this.elements.masthead = { + start: node.querySelector('#start'), + end: node.querySelector('#end'), + logo: node.querySelector('a#logo') + }; + + this.improvedtubeYoutubeIcon(); + } + } + else if (name === 'TP-YT-APP-DRAWER') { + if (!this.elements.app_drawer) { + this.elements.app_drawer = { + start: node.querySelector('div#header'), + logo: node.querySelector('a#logo') + }; + + this.improvedtubeYoutubeIcon(); + } + } else if (name === 'YTD-PLAYER') { + if (!this.elements.ytd_player) { + ImprovedTube.elements.ytd_player = node; + } + } else if (id === 'movie_player') { + if (!this.elements.player) { + ImprovedTube.elements.player = node; + ImprovedTube.elements.video = node.querySelector('video'); + ImprovedTube.elements.player_left_controls = node.querySelector('.ytp-left-controls'); + ImprovedTube.elements.player_thumbnail = node.querySelector('.ytp-cued-thumbnail-overlay-image'); + ImprovedTube.elements.player_subtitles_button = node.querySelector('.ytp-subtitles-button'); + + ImprovedTube.playerSize(); + + new MutationObserver(function (mutationList) { + for (var i = 0, l = mutationList.length; i < l; i++) { + var mutation = mutationList[i]; + + if (mutation.type === 'childList') { + for (var j = 0, k = mutation.addedNodes.length; j < k; j++) { + var node = mutation.addedNodes[j]; + + if (node.nodeName === 'DIV' && node.className.indexOf('ytp-ad-player-overlay') !== -1) { + ImprovedTube.playerAds(node); + } + } + } + } + }).observe(node, { + attributes: false, + childList: true, + subtree: true + }); + + new MutationObserver(function (mutationList) { + for (var i = 0, l = mutationList.length; i < l; i++) { + var mutation = mutationList[i]; + + if (mutation.type === 'attributes') { + if (mutation.attributeName === 'style') { + ImprovedTube.playerHdThumbnail(); + } + } + } + }).observe(ImprovedTube.elements.player_thumbnail, { + attributes: true, + attributeFilter: ['style'], + childList: false, + subtree: false + }); + } + } else if (name === 'YTD-WATCH-FLEXY') { + this.elements.ytd_watch = node; + + if ( + this.isset(this.storage.player_size) && + this.storage.player_size !== 'do_not_change' + ) { + node.calculateCurrentPlayerSize_ = function () { + if (!this.theater && ImprovedTube.elements.player) { + if (this.updateStyles) { + this.updthisateStyles({ + '--ytd-watch-flexy-width-ratio': 1, + '--ytd-watch-flexy-height-ratio': 0.5625 + }); + + this.updateStyles({ + '--ytd-watch-width-ratio': 1, + '--ytd-watch-height-ratio': 0.5625 + }); + } + + return { + width: ImprovedTube.elements.player.offsetWidth, + height: Math.round(ImprovedTube.elements.player.offsetWidth / (16 / 9)) + }; + } + + return { + width: NaN, + height: NaN + }; + }; + + node.calculateNormalPlayerSize_ = node.calculateCurrentPlayerSize_; + } + }else if (id ==='description-inner') { + if (document.documentElement.dataset.pageType === 'video'){ + setTimeout(function () { + ImprovedTube.description(node); + }, 750); + } + //old + }else if (name === 'TP-YT-PAPER-BUTTON') { + if (document.documentElement.dataset.pageType === 'video' && id === 'more' && node.classList.contains('ytd-expander') || (node.parentNode.parentNode !== null && node.parentNode.parentNode.id === 'container')) { + setTimeout(function () { + ImprovedTube.description(node); + }, 750); + } + } +}; + +ImprovedTube.pageType = function () { + if (/\/watch\?/.test(location.href)) { + document.documentElement.dataset.pageType = 'video'; + } else if (location.pathname === '/') { + document.documentElement.dataset.pageType = 'home'; + } else if (/\/subscriptions\?/.test(location.href)) { + document.documentElement.dataset.pageType = 'subscriptions'; + } else if (/\/@|((channel|user|c)\/)[^/]+(?!\/videos)/.test(location.href)) { + document.documentElement.dataset.pageType = 'channel'; + } else { + document.documentElement.dataset.pageType = 'other'; + } +}; + +ImprovedTube.pageOnFocus = function () { + ImprovedTube.playerAutopauseWhenSwitchingTabs(); +}; + +ImprovedTube.videoPageUpdate = function () { + if (document.documentElement.dataset.pageType === 'video') { + var video_id = this.getParam(new URL(location.href).search.substr(1), 'v'); + + if (this.storage.track_watched_videos === true && video_id) { + ImprovedTube.messages.send({ + action: 'watched', + type: 'add', + id: video_id, + title: document.title + }); + } + + this.initialVideoUpdateDone = true; + + ImprovedTube.howLongAgoTheVideoWasUploaded(); + ImprovedTube.dayOfWeek(); + ImprovedTube.channelVideosCount(); + ImprovedTube.upNextAutoplay(); + ImprovedTube.playerAutofullscreen(); + ImprovedTube.playerScreenshotButton(); + ImprovedTube.playerRepeatButton(); + ImprovedTube.playerRotateButton(); + ImprovedTube.playerPopupButton(); + ImprovedTube.playerControls(); + } +}; + +ImprovedTube.playerOnPlay = function () { + HTMLMediaElement.prototype.play = (function (original) { + return function () { + this.removeEventListener('loadedmetadata', ImprovedTube.playerOnLoadedMetadata); + this.addEventListener('loadedmetadata', ImprovedTube.playerOnLoadedMetadata); + + this.removeEventListener('timeupdate', ImprovedTube.playerOnTimeUpdate); + this.addEventListener('timeupdate', ImprovedTube.playerOnTimeUpdate); + + this.removeEventListener('pause', ImprovedTube.playerOnPause, true); + this.addEventListener('pause', ImprovedTube.playerOnPause, true); + + this.removeEventListener('ended', ImprovedTube.playerOnEnded, true); + this.addEventListener('ended', ImprovedTube.playerOnEnded, true); + + ImprovedTube.autoplay(); + ImprovedTube.playerLoudnessNormalization(); + + return original.apply(this, arguments); + } + })(HTMLMediaElement.prototype.play); +}; + +ImprovedTube.initPlayer = function () { + if (ImprovedTube.elements.player && ImprovedTube.video_url !== location.href) { + + ImprovedTube.video_url = location.href; + ImprovedTube.played_before_blur = false; + + delete ImprovedTube.elements.player.dataset.defaultQuality; + + ImprovedTube.forcedPlayVideoFromTheBeginning(); + ImprovedTube.playerPlaybackSpeed(false); + ImprovedTube.subtitles(); + ImprovedTube.subtitlesLanguage(); + ImprovedTube.subtitlesFontFamily(); + ImprovedTube.subtitlesFontColor(); + ImprovedTube.subtitlesFontSize(); + ImprovedTube.subtitlesBackgroundColor(); + ImprovedTube.subtitlesWindowColor(); + ImprovedTube.subtitlesWindowOpacity(); + ImprovedTube.subtitlesCharacterEdgeStyle(); + ImprovedTube.subtitlesFontOpacity(); + ImprovedTube.subtitlesBackgroundOpacity(); + ImprovedTube.playerQuality(); + ImprovedTube.playerVolume(); + + setTimeout(function () { + ImprovedTube.forcedTheaterMode(); + }, 150); + + if (location.href.indexOf('/embed/') === -1) { + ImprovedTube.miniPlayer(); + } + } +}; + +ImprovedTube.playerOnTimeUpdate = function () { + if (ImprovedTube.video_src !== this.src) { + ImprovedTube.video_src = this.src; + + if (ImprovedTube.initialVideoUpdateDone !== true) { + ImprovedTube.playerQuality(); + } + } else if (ImprovedTube.latestVideoDuration !== this.duration) { + ImprovedTube.latestVideoDuration = this.duration; + + ImprovedTube.playerQuality(); + } + + ImprovedTube.alwaysShowProgressBar(); + ImprovedTube.playerRemainingDuration(); + + ImprovedTube.played_time += .25; +}; + +ImprovedTube.playerOnLoadedMetadata = function () { + setTimeout(function () { + ImprovedTube.playerSize(); + }, 100); +}; + +ImprovedTube.playerOnPause = function (event) { + ImprovedTube.playlistUpNextAutoplay(event); + + if (ImprovedTube.elements.yt_channel_name) { + ImprovedTube.messages.send({ + action: 'analyzer', + name: ImprovedTube.elements.yt_channel_name.__data.tooltipText, + time: ImprovedTube.played_time + }); + } + + ImprovedTube.played_time = 0; +}; + +ImprovedTube.playerOnEnded = function (event) { + ImprovedTube.playlistUpNextAutoplay(event); + + ImprovedTube.messages.send({ + action: 'analyzer', + name: ImprovedTube.elements.yt_channel_name.__data.tooltipText, + time: ImprovedTube.played_time + }); + + ImprovedTube.played_time = 0; +}; + +ImprovedTube.onkeydown = function () { + window.addEventListener('keydown', function () { + if ( + ImprovedTube.elements.player && + ImprovedTube.elements.player.className.indexOf('ad-showing') === -1 + ) { + ImprovedTube.allow_autoplay = true; + } + }, true); +}; + +ImprovedTube.onmousedown = function (event) { + window.addEventListener('mousedown', function (event) { + if (ImprovedTube.elements.player && ImprovedTube.elements.player.className.indexOf('ad-showing') === -1) { + var path = event.composedPath(); + + for (var i = 0, l = path.length; i < l; i++) { + if ( + path[i].className && + path[i].className.indexOf && + ( + path[i].className.indexOf('html5-main-video') !== -1 || + path[i].className.indexOf('ytp-play-button') !== -1 + ) + ) { + ImprovedTube.allow_autoplay = true; + } + } + } + }, true); +}; + +ImprovedTube.getCookieValueByName = function (name) { + var match = document.cookie.match(new RegExp('([; ]' + name + '|^' + name + ')([^\\s;]*)', 'g')); + + if (match) { + var cookie = match[0]; + + return cookie.replace(name + '=', '').replace(' ', ''); + } else + return ''; +}; + +ImprovedTube.getParam = function (query, name) { + var params = query.split('&'), + param = false; + + for (var i = 0; i < params.length; i++) { + params[i] = params[i].split('='); + + if (params[i][0] == name) { + param = params[i][1]; + } + } + + if (param) { + return param; + } else { + return false; + } +}; + +ImprovedTube.getParams = function (query) { + var params = query.split('&'), + result = {}; + + for (var i = 0, l = params.length; i < l; i++) { + params[i] = params[i].split('='); + + result[params[i][0]] = params[i][1]; + } + + return result; +}; + +ImprovedTube.setCookie = function (name, value) { + var date = new Date(); + + date.setTime(date.getTime() + 3.154e+10); + + document.cookie = name + '=' + value + '; path=/; domain=.youtube.com; expires=' + date.toGMTString(); +}; + +ImprovedTube.createPlayerButton = function (options) { + var controls = this.elements.player_left_controls; + + if (controls) { + var button = document.createElement('button'); + + button.className = 'ytp-button it-player-button'; + + button.dataset.title = options.title; + + button.addEventListener('mouseover', function () { + var tooltip = document.createElement('div'), + rect = this.getBoundingClientRect(); + + tooltip.className = 'it-player-button--tooltip'; + + tooltip.style.left = rect.left + rect.width / 2 + 'px'; + tooltip.style.top = rect.top - 8 + 'px'; + + tooltip.textContent = this.dataset.title; + + function mouseleave() { + tooltip.remove(); + + this.removeEventListener('mouseleave', mouseleave); + } + + this.addEventListener('mouseleave', mouseleave); + + document.body.appendChild(tooltip); + }); + + if (options.id) { + if (this.elements.buttons[options.id]) { + this.elements.buttons[options.id].remove(); + } + + button.id = options.id; + + this.elements.buttons[options.id] = button; + } + + if (options.child) { + button.appendChild(options.child); + } + + button.style.opacity = options.opacity || '.5'; + + if (options.onclick) { + button.onclick = options.onclick; + } + + controls.insertBefore(button, controls.childNodes[3]); + } +}; + +ImprovedTube.empty = function (element) { + for (var i = element.childNodes.length - 1; i > -1; i--) { + element.childNodes[i].remove(); + } +}; + +ImprovedTube.isset = function (variable) { + return !(typeof variable === 'undefined' || variable === null || variable === 'null'); +}; + +ImprovedTube.stopPropagation = function (event) { + event.stopPropagation(); +}; + +ImprovedTube.showStatus = function (value) { + if (!this.elements.status) { + this.elements.status = document.createElement('div'); + + this.elements.status.id = 'it-status'; + } + + if (typeof value === 'number') { + value = value.toFixed(2); + } + + this.elements.status.textContent = value; + + if (ImprovedTube.status_timer) { + clearTimeout(ImprovedTube.status_timer); + } + + ImprovedTube.status_timer = setTimeout(function () { + ImprovedTube.elements.status.remove(); + }, 500); + + this.elements.player.appendChild(this.elements.status); +}; diff --git a/content-scripts/website-context/init.js b/content-scripts/website-context/init.js new file mode 100644 index 000000000..51f7c5d06 --- /dev/null +++ b/content-scripts/website-context/init.js @@ -0,0 +1,125 @@ +/*-------------------------------------------------------------- +>>> INITIALIZATION +--------------------------------------------------------------*/ + +ImprovedTube.messages.create(); +ImprovedTube.messages.listener(); + +if (document.body) { + ImprovedTube.childHandler(document.body); +} + +ImprovedTube.observer = new MutationObserver(function (mutationList) { + for (var i = 0, l = mutationList.length; i < l; i++) { + var mutation = mutationList[i]; + + if (mutation.type === 'childList') { + for (var j = 0, k = mutation.addedNodes.length; j < k; j++) { + ImprovedTube.childHandler(mutation.addedNodes[j]); + } + } + } +}).observe(document.documentElement, { + attributes: false, + childList: true, + subtree: true +}); + +new MutationObserver(function (mutationList) { + for (var i = 0, l = mutationList.length; i < l; i++) { + var mutation = mutationList[i]; + + if (mutation.type === 'attributes') { + ImprovedTube.channelDefaultTab(mutation.target); + } + } +}).observe(document.documentElement, { + attributeFilter: ['href'], + attributes: true, + childList: true, + subtree: true +}); + +ImprovedTube.init = function () { + ImprovedTube.pageType(); + + + var yt_player_updated = function () { + document.dispatchEvent(new CustomEvent('improvedtube-player-loaded')); + + window.removeEventListener('yt-player-updated', yt_player_updated); + }; + + window.addEventListener('yt-player-updated', yt_player_updated); + + this.playerH264(); + this.player60fps(); + this.playerSDR(); + this.shortcuts(); + this.playerOnPlay(); + this.onkeydown(); + this.onmousedown(); + this.youtubeLanguage(); + + + if (window.matchMedia) { + document.documentElement.dataset.systemColorScheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'; + } ImprovedTube.themes(); +}; + +document.addEventListener('yt-navigate-finish', function () { + ImprovedTube.pageType(); + ImprovedTube.commentsSidebarPosition(); + + if (ImprovedTube.elements.player && ImprovedTube.elements.player.setPlaybackRate) { + ImprovedTube.videoPageUpdate(); + ImprovedTube.initPlayer(); + } + + ImprovedTube.channelPlayAllButton(); +}); + +document.addEventListener('yt-page-data-updated', function (event) { + if (document.documentElement.dataset.pageType === 'video' && /[?&]list=([^&]+).*$/.test(location.href)) { + ImprovedTube.playlistRepeat(); + ImprovedTube.playlistShuffle(); + ImprovedTube.playlistReverse(); + } +}); + +window.addEventListener('load', function () { + ImprovedTube.elements.masthead = { + start: document.querySelector('ytd-masthead #start'), + end: document.querySelector('ytd-masthead #end'), + logo: document.querySelector('ytd-masthead a#logo') + }; + + ImprovedTube.elements.app_drawer = { + start: document.querySelector('tp-yt-app-drawer #header'), + logo: document.querySelector('tp-yt-app-drawer a#logo') + }; + + ImprovedTube.improvedtubeYoutubeIcon(); +}); +ImprovedTube.whenPaused=()=>{ + ImprovedTube.elements.player.parentNode.addEventListener('mouseenter', function () { + ImprovedTube.playerControls(true); + }); + ImprovedTube.elements.player.parentNode.addEventListener('click', function () { + ImprovedTube.playerControls(true); + }); + ImprovedTube.elements.player.parentNode.onmousemove = (function() { + let onmousestop = function() { + ImprovedTube.playerControls(false); + }, thread; + + return function() { + ImprovedTube.playerControls(true); + clearTimeout(thread); + thread = setTimeout(onmousestop, 1000); + }; + })(); + ImprovedTube.elements.player.parentNode.addEventListener('mouseleave', function () { + ImprovedTube.playerControls(false); + }); +} diff --git a/content-scripts/website-context/mutations.js b/content-scripts/website-context/mutations.js new file mode 100644 index 000000000..32b493533 --- /dev/null +++ b/content-scripts/website-context/mutations.js @@ -0,0 +1,22 @@ +/*-------------------------------------------------------------- +>>> MUTATIONS +---------------------------------------------------------------- +# Media element + # Play +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# MEDIA ELEMENT +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# PLAY +--------------------------------------------------------------*/ + +HTMLMediaElement.prototype.play = (function (original) { + return function () { + document.dispatchEvent(new CustomEvent('it-play')); + + return original.apply(this, arguments); + } +})(HTMLMediaElement.prototype.play); \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/appearance.js b/content-scripts/website-context/youtube-features/appearance.js new file mode 100644 index 000000000..3bdffb23f --- /dev/null +++ b/content-scripts/website-context/youtube-features/appearance.js @@ -0,0 +1,354 @@ +/*------------------------------------------------------------------------------ +4.2.0 APPEARANCE +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.2.1 PLAYER +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.2.1.1 PLAYER SIZE +------------------------------------------------------------------------------*/ + +ImprovedTube.playerSize = function () { + if (this.storage.player_size === "custom") { + console.log("yes"); + var width = Number(this.storage.custom_player_size_width) || 1280, + height = Number(this.storage.custom_player_size_height) || 720, + style = this.elements.player_size_style || document.createElement("style"); + + style.textContent = '[data-page-type="video"][it-player-size="custom"] {'; + style.textContent += "--it-player-width:" + width + "px;"; + style.textContent += "--it-player-height:" + height + "px;"; + style.textContent += "}"; + + document.body.appendChild(style); + + window.dispatchEvent(new Event("resize")); + } +}; + +/*------------------------------------------------------------------------------ +4.2.1.2 FORCED THEATER MODE +------------------------------------------------------------------------------*/ + +ImprovedTube.forcedTheaterMode = function () { + if (ImprovedTube.storage.forced_theater_mode === true && ImprovedTube.elements.ytd_watch && ImprovedTube.elements.player) { + var button = ImprovedTube.elements.player.querySelector("button.ytp-size-button"); + + if (button && ImprovedTube.elements.ytd_watch.theater === false) { + document.cookie = "wide=1;domain=.youtube.com"; + + setTimeout(function () { + button.click(); + }, 100); + } + } +}; + +/*------------------------------------------------------------------------------ +4.2.1.3 HD THUMBNAIL +------------------------------------------------------------------------------*/ + +ImprovedTube.playerHdThumbnail = function () { + if (this.storage.player_hd_thumbnail === true) { + var thumbnail = ImprovedTube.elements.player_thumbnail; + + if (thumbnail.style.backgroundImage.indexOf("/hqdefault.jpg") !== -1) { + thumbnail.style.backgroundImage = thumbnail.style.backgroundImage.replace("/hqdefault.jpg", "/maxresdefault.jpg"); + } + } +}; + +/*------------------------------------------------------------------------------ +4.2.1.4 ALWAYS SHOW PROGRESS BAR +------------------------------------------------------------------------------*/ + +ImprovedTube.alwaysShowProgressBar = function () { + if (this.storage.always_show_progress_bar === true) { + var player = ImprovedTube.elements.player; + + if (player && player.className.indexOf("ytp-autohide") !== -1) { + var played = (player.getCurrentTime() * 100) / player.getDuration(), + loaded = player.getVideoBytesLoaded() * 100, + play_bars = player.querySelectorAll(".ytp-play-progress"), + load_bars = player.querySelectorAll(".ytp-load-progress"), + width = 0, + progress_play = 0, + progress_load = 0; + + for (var i = 0, l = play_bars.length; i < l; i++) { + width += play_bars[i].offsetWidth; + } + + var width_percent = width / 100; + + for (var i = 0, l = play_bars.length; i < l; i++) { + var a = play_bars[i].offsetWidth / width_percent, + b = 0, + c = 0; + + if (played - progress_play >= a) { + b = 100; + } else if (played > progress_play && played < a + progress_play) { + b = (100 * ((played - progress_play) * width_percent)) / play_bars[i].offsetWidth; + } + + play_bars[i].style.transform = "scaleX(" + b / 100 + ")"; + + if (loaded - progress_load >= a) { + c = 100; + } else if (loaded > progress_load && loaded < a + progress_load) { + c = (100 * ((loaded - progress_load) * width_percent)) / play_bars[i].offsetWidth; + } + + load_bars[i].style.transform = "scaleX(" + c / 100 + ")"; + + progress_play += a; + progress_load += a; + } + } + } +}; + +/*------------------------------------------------------------------------------ +4.2.1.5 VIDEO REMAINING DURATION +------------------------------------------------------------------------------*/ + +ImprovedTube.formatSecond = function (rTime) { + var time = new Date(null); + if (this.storage.duration_with_speed === true) { + var playbackRate = this.elements.video.playbackRate; + time.setSeconds(rTime / playbackRate); + } else { + time.setSeconds(rTime); + } + + if (rTime / 3600 < 1) { + return time.toISOString().substr(14, 5); + } else { + return time.toISOString().substr(11, 8); + } +}; + +ImprovedTube.playerRemainingDuration = function () { + var element = document.querySelector(".ytp-time-remaining-duration"); + if (this.storage.player_remaining_duration === true) { + var player = ImprovedTube.elements.player; + var rTime = ImprovedTube.formatSecond((player.getDuration() - player.getCurrentTime()).toFixed(0)); + if (!element) { + var label = document.createElement("span"); + label.textContent = " (-" + rTime + ")"; + label.className = "ytp-time-remaining-duration"; + document.querySelector(".ytp-time-display").appendChild(label); + } else { + element.textContent = " (-" + rTime + ")"; + } + } else if (element) { + element.remove(); + } +}; + +/*------------------------------------------------------------------------------ +4.2.1.6 Comments position to sidebar +------------------------------------------------------------------------------*/ +ImprovedTube.commentsSidebarPosition=()=>{ if(ImprovedTube.storage.comments_sidebar_position){ + document.querySelector("#columns").appendChild(document.querySelector("#comments")); + document.querySelector("#primary-inner").appendChild(document.querySelector("#secondary")); + // console.log("secondary and its children have been appended to primary-inner") + }else{ + document.querySelector("#columns").appendChild(document.querySelector("#secondary")); + document.querySelector("#below").appendChild(document.querySelector("#comments")); + } +} +/*------------------------------------------------------------------------------ +4.2.2 SIDEBAR +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.2.2.1 LIVECHAT +------------------------------------------------------------------------------*/ +let isCollapsed = false +ImprovedTube.livechat = function () { + if (this.storage.livechat === "collapsed") { + if(ImprovedTube.elements.livechat && !isCollapsed){ + ImprovedTube.elements.livechat.button.click(); + isCollapsed = true + } + }else{ + if(isCollapsed){ + ImprovedTube.elements.livechat.button.click(); + isCollapsed = false + } + } +}; + +/*------------------------------------------------------------------------------ +4.2.3 DETAILS +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.2.3.1 HOW LONG AGO THE VIDEO WAS UPLOADED +------------------------------------------------------------------------------*/ + +ImprovedTube.howLongAgoTheVideoWasUploaded = function () { + if (this.storage.how_long_ago_the_video_was_uploaded === true && this.elements.yt_channel_name) { + var xhr = new XMLHttpRequest(), + key = this.storage["google-api-key"] || ImprovedTube.defaultApiKey, + id = this.getParam(location.href.slice(location.href.indexOf("?") + 1), "v"); + + function timeSince(date) { + var seconds = Math.floor((new Date() - new Date(date)) / 1000), + interval = Math.floor(seconds / 31536000); + + if (interval > 1) { + return interval + " years ago"; + } + interval = Math.floor(seconds / 2592000); + if (interval > 1) { + return interval + " months ago"; + } + interval = Math.floor(seconds / 86400); + if (interval > 1) { + return interval + " days ago"; + } + interval = Math.floor(seconds / 3600); + if (interval > 1) { + return interval + " hours ago"; + } + interval = Math.floor(seconds / 60); + if (interval > 1) { + return interval + " minutes ago"; + } + + return Math.floor(seconds) + " seconds ago"; + } + + xhr.addEventListener("load", function () { + var response = JSON.parse(this.responseText), + element = ImprovedTube.elements.how_long_ago_the_video_was_uploaded || document.createElement("div"); + + ImprovedTube.empty(element); + + if (response.error) { + element.appendChild(document.createTextNode("• Error: " + response.error.code)); + } else { + element.appendChild(document.createTextNode("• " + timeSince(response.items[0].snippet.publishedAt))); + } + + element.className = "it-how-long-ago-the-video-was-uploaded"; + + ImprovedTube.elements.how_long_ago_the_video_was_uploaded = element; + + document.querySelector("#info #info-text").appendChild(element); + }); + + xhr.open("GET", "https://www.googleapis.com/youtube/v3/videos?part=snippet&id=" + id + "&key=" + key, true); + xhr.send(); + } +}; + +/*------------------------------------------------------------------------------ +4.2.3.2 SHOW CHANNEL VIDEOS COUNT +------------------------------------------------------------------------------*/ + +ImprovedTube.channelVideosCount = function () { + if (this.storage.channel_videos_count === true && this.elements.yt_channel_link) { + var key = this.storage["google-api-key"] || ImprovedTube.defaultApiKey; + if (this.elements.yt_channel_link.href.indexOf("/channel/") == -1) { + var xhr = new XMLHttpRequest(), + id = this.getParam(location.href.slice(location.href.indexOf("?") + 1), "v"); + xhr.open("GET", "https://www.googleapis.com/youtube/v3/videos?part=snippet&id=" + id + "&key=" + key, false); + xhr.send(); + if (xhr.readyState === xhr.DONE && xhr.status === 200) { + var response = JSON.parse(xhr.responseText); + id = response.items[0].snippet.channelId; + } + } else { + id = this.elements.yt_channel_link.href.slice(this.elements.yt_channel_link.href.indexOf("/channel/") + "/channel/".length); + if (id.indexOf("/") !== -1) { + id = id.match(/.+?(?=\/)/)[0]; + } + } + + xhr = new XMLHttpRequest(); + + xhr.addEventListener("load", function () { + var response = JSON.parse(this.responseText), + parent = document.querySelector("#meta ytd-channel-name + yt-formatted-string"), + element = ImprovedTube.elements.channel_videos_count || document.createElement("div"); + + ImprovedTube.empty(element); + + if (response.error) { + element.appendChild(document.createTextNode("• Error: " + response.error.code)); + } else { + element.appendChild(document.createTextNode("• " + response.items[0].statistics.videoCount + " videos")); + } + + element.className = "it-channel-videos-count"; + + ImprovedTube.elements.channel_videos_count = element; + + parent.appendChild(element); + + ImprovedTube.elements.channel_videos_count = element; + }); + + xhr.open("GET", "https://www.googleapis.com/youtube/v3/channels?part=statistics&id=" + id + "&key=" + key, true); + xhr.send(); + } +}; + +/*------------------------------------------------------------------------------ +4.2.3.3 DESCRIPTION +------------------------------------------------------------------------------*/ + +ImprovedTube.description = function (el) { + if (this.storage.description === "classic_expanded" || this.storage.description === "expanded" ) { + if(el){el.click();} else {document.querySelector("#more").click() || document.querySelector("#expand").click() ;} + ImprovedTube.improvedtubeYoutubeButtonsUnderPlayer();} + else if (this.storage.description === "normal") {document.querySelector("#less").click() || document.querySelector("#collapse").click() ; + ImprovedTube.improvedtubeYoutubeButtonsUnderPlayer();} +}; + +/*------------------------------------------------------------------------------ +4.2.3.4 HIDE DETAIL BUTTON +------------------------------------------------------------------------------*/ + +ImprovedTube.hideDetailButton = function (el) { + if (el.length === 4) { + el[3].setAttribute("id", "Save-button"); + el[2].setAttribute("id", "Clip-button"); + el[1].setAttribute("id", "Thanks-button"); + } + else if (el.length === 3) { + el[2].setAttribute("id", "Save-button"); + el[1].setAttribute("id", "Clip-button"); + } +}; + +/*-------------------------------------------------------------- +4.2.3.5 DAY OF WEEK +--------------------------------------------------------------*/ + +ImprovedTube.dayOfWeek = function () { + var element = document.querySelector(".ytd-day-of-week"); + if (this.storage.day_of_week === true) { + var days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]; + setTimeout(function () { + var videoDate = document.querySelector("[itemprop=datePublished]").content; + var tempDate = new Date(videoDate); + if (!element) { + var label = document.createElement("span"); + label.textContent = " , " + days[tempDate.getDay() + 1]; + label.className = "ytd-day-of-week"; + document.querySelector("ytd-video-primary-info-renderer #info #info-strings yt-formatted-string").append(label); + } else { + element.textContent = days[tempDate.getDay() + 1] + ", "; + } + }, 25); + } else if (element) { + element.remove(); + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/blacklist.js b/content-scripts/website-context/youtube-features/blacklist.js new file mode 100644 index 000000000..6abf03c8c --- /dev/null +++ b/content-scripts/website-context/youtube-features/blacklist.js @@ -0,0 +1,175 @@ +/*------------------------------------------------------------------------------ +4.8.0 BLACKLIST +------------------------------------------------------------------------------*/ + +ImprovedTube.blacklist = function (type, node) { + if (this.storage.blacklist_activate !== true) { + for (var i = 0, l = this.elements.blacklist_buttons.length; i < l; i++) { + this.elements.blacklist_buttons[i].remove(); + } + + return; + } else if (this.isset(node) === false) { + var a = document.querySelectorAll('a.ytd-thumbnail'), + a2 = document.querySelectorAll('a[href*="/channel/"],a[href*="/user/"],a[href*="/c/"]'), + subscribe_buttons = document.querySelectorAll('ytd-subscribe-button-renderer.ytd-c4-tabbed-header-renderer'); + + for (var i = 0, l = a.length; i < l; i++) { + this.blacklist('video', a[i]); + } + + for (var i = 0, l = subscribe_buttons.length; i < l; i++) { + this.blacklist('channel', subscribe_buttons[i]); + } + + for (var i = 0, l = a2.length; i < l; i++) { + this.blacklist('channel', a2[i]); + } + } + + if (!this.storage.blacklist || typeof this.storage.blacklist !== 'object') { + this.storage.blacklist = { + channels: {}, + videos: {} + }; + } + + if (!this.storage.blacklist.channels || typeof this.storage.blacklist.channels !== 'object') { + this.storage.blacklist.channels = {}; + } + + if (!this.storage.blacklist.videos || typeof this.storage.blacklist.videos !== 'object') { + this.storage.blacklist.videos = {}; + } + + if (type === 'video') { + var button = document.createElement('button'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'), + id = node.href.match(ImprovedTube.regex.video_id); + + button.className = 'it-add-to-blacklist'; + button.addEventListener('click', function (event) { + if (this.parentNode.href) { + var data = this.parentNode.parentNode.__data, + id = this.parentNode.href.match(ImprovedTube.regex.video_id), + title = ''; + + if ( + data && + data.data && + data.data.title && + data.data.title.runs && + data.data.title.runs[0] + ) { + title = data.data.title.runs[0].text; + } else if ( + data && + data && + data.data && + data.data.title.simpleText + ) { + title = data.data.title.simpleText; + } + + if (id && id[1]) { + ImprovedTube.messages.send({ + action: 'blacklist', + type: 'video', + id: id[1], + title + }); + + ImprovedTube.storage.blacklist.videos[id[1]] = { + title: title + }; + + this.parentNode.parentNode.__dataHost.className += ' it-blacklisted-video'; + + event.preventDefault(); + event.stopPropagation(); + } + } + }, true); + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M12 2a10 10 0 100 20 10 10 0 000-20zm0 18A8 8 0 015.69 7.1L16.9 18.31A7.9 7.9 0 0112 20zm6.31-3.1L7.1 5.69A8 8 0 0118.31 16.9z'); + + svg.appendChild(path); + button.appendChild(svg); + + node.appendChild(button); + + this.elements.blacklist_buttons.push(button); + + if (id && id[1] && ImprovedTube.storage.blacklist.videos[id[1]]) { + node.parentNode.__dataHost.classList.add('it-blacklisted-video'); + } + } else if (type === 'channel') { + if (node.nodeName === 'A') { + try { + var id = node.href.match(/(channel|user|c)\/([^/]+)/)[2]; + + if (this.storage.blacklist.channels[id]) { + var parent = node.parentNode.__dataHost.__dataHost; + + if ( + parent.nodeName === 'YTD-GRID-VIDEO-RENDERER' && + parent.nodeName === 'YTD-VIDEO-META-BLOCK' + ) { + parent.classList.add('it-blacklisted-video'); + } + } + } catch (err) {} + } else { + var button = this.elements.blacklistChannel || document.createElement('button'), + id = location.href.match(/(channel|user|c)\/([^/]+)/)[2]; + + button.className = 'it-add-channel-to-blacklist'; + + if (this.storage.blacklist.channels[id]) { + button.innerText = 'Remove from blacklist'; + button.added = true; + } else { + button.innerText = 'Add to blacklist'; + button.added = false; + } + + button.addEventListener('click', function (event) { + var data = this.parentNode.__dataHost.__data.data, + id = location.href.match(/(channel|user|c)\/([^/]+)/)[2]; + + this.added = !this.added; + + ImprovedTube.messages.send({ + type: 'channel', + id, + title: data.title, + prevent: data.avatar.thumbnails[0].url + }); + + ImprovedTube.storage.blacklist.channels[id] = { + title: data.title, + prevent: data.avatar.thumbnails[0].url + }; + + if (this.added) { + button.innerText = 'Remove from blacklist'; + } else { + button.innerText = 'Add to blacklist'; + } + + event.preventDefault(); + event.stopPropagation(); + + return false; + }, true); + + this.elements.blacklist_buttons.push(button); + + node.parentNode.parentNode.appendChild(button); + + this.elements.blacklistChannel = button; + } + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/channel.js b/content-scripts/website-context/youtube-features/channel.js new file mode 100644 index 000000000..47b40a844 --- /dev/null +++ b/content-scripts/website-context/youtube-features/channel.js @@ -0,0 +1,74 @@ +/*------------------------------------------------------------------------------ +4.6.0 CHANNEL +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.6.1 DEFAULT CHANNEL TAB +------------------------------------------------------------------------------*/ + +ImprovedTube.channelDefaultTab = function (a) { + var option = this.storage.channel_default_tab; + + if (option && option !== '/' && a && a.parentNode && a.parentNode.id !== 'contenteditable-root') { + if (this.regex.channel_home_page.test(a.href) && !a.href.endsWith(option)) { + a.href = a.href.replace(this.regex.channel_home_page_postfix, '') + option; + + a.addEventListener('click', function (event) { + event.stopPropagation(); + }, true); + } + } +}; + +/*------------------------------------------------------------------------------ +4.6.2 PLAY ALL BUTTON +------------------------------------------------------------------------------*/ + +ImprovedTube.channelPlayAllButton = function () { + if (this.storage.channel_play_all_button === true) { + if (/\/(channel|user|c)\/[^/]+\/videos/.test(location.href)) { + var container = document.querySelector('ytd-channel-sub-menu-renderer #primary-items'); + + if (!this.elements.playAllButton) { + var button = document.createElement('a'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + button.className = 'it-play-all-button'; + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M6,4l12,8L6,20V4z'); + + svg.appendChild(path); + button.appendChild(svg); + button.appendChild(document.createTextNode('Play all')); + + this.elements.playAllButton = button; + + if (container) { + container.appendChild(button); + } + } else if (container) { + container.appendChild(this.elements.playAllButton); + } + } else if (this.elements.playAllButton) { + this.elements.playAllButton.remove(); + } + + if (this.elements.playAllButton) { + var app = document.querySelector('ytd-app'); + + if ( + app && + app.__data && + app.__data.data && + app.__data.data.response && + app.__data.data.response.metadata && + app.__data.data.response.metadata.channelMetadataRenderer && + app.__data.data.response.metadata.channelMetadataRenderer.externalId + ) { + this.elements.playAllButton.href = '/playlist?list=UU' + app.__data.data.response.metadata.channelMetadataRenderer.externalId.substring(2); + } + } + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/player.js b/content-scripts/website-context/youtube-features/player.js new file mode 100644 index 000000000..f4fa41707 --- /dev/null +++ b/content-scripts/website-context/youtube-features/player.js @@ -0,0 +1,1165 @@ +/*------------------------------------------------------------------------------ +4.4.0 PLAYER +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.4.1 AUTOPLAY +------------------------------------------------------------------------------*/ + +ImprovedTube.autoplay = function () { + var video = ImprovedTube.elements.player; + if (ImprovedTube.video_url !== location.href) { + ImprovedTube.allow_autoplay = false; + ImprovedTube.video_url = location.href + ImprovedTube.storage.newTab = false + } + + if (ImprovedTube.allow_autoplay === false &&( + ( + (document.documentElement.dataset.pageType === "video" && ((location.href.indexOf('list=') === -1 && ImprovedTube.storage.player_autoplay === false) || (ImprovedTube.storage.playlist_autoplay === false && location.href.indexOf('list=') !== -1))) || + (document.documentElement.dataset.pageType === "channel" && ImprovedTube.storage.channel_trailer_autoplay === false) + ) || ( ImprovedTube.storage.only_one_player_instance_playing && ImprovedTube.storage.newTab) + + ) + ) { + + setTimeout(function () { + video.pauseVideo(); + }); + } +}; + + + +/*------------------------------------------------------------------------------ +4.4.2 FORCED PLAY VIDEO FROM THE BEGINNING +------------------------------------------------------------------------------*/ + +ImprovedTube.forcedPlayVideoFromTheBeginning = function () { + if (this.storage.forced_play_video_from_the_beginning === true) { + this.elements.player.seekTo(0); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.2 AUTOPAUSE WHEN SWITCHING TABS +------------------------------------------------------------------------------*/ + +ImprovedTube.playerAutopauseWhenSwitchingTabs = function () { + var player = ImprovedTube.elements.player; + + if (this.storage.player_autopause_when_switching_tabs === true && player) { + if (this.focus === false) { + this.played_before_blur = player.getPlayerState() === 1; + + player.pauseVideo(); + } else if (this.focus === true && this.played_before_blur === true) { + player.playVideo(); + } + } +}; + + +/*------------------------------------------------------------------------------ +4.4.3 FORCED PLAYBACK SPEED +------------------------------------------------------------------------------*/ + +ImprovedTube.playerPlaybackSpeed = function (change) { + var player = this.elements.player, + video = player.querySelector('video'), + option = this.storage.player_playback_speed, + tries = 0; + const intervalMs = 100, + maxIntervalMs = 5000; + + if (this.isset(option) === false) { + option = 1; + } + + var waitForDescInterval = setInterval(() => { + if (document.querySelector('div#description') || (++tries * intervalMs >= maxIntervalMs)) { + clearInterval(waitForDescInterval); + } + + if (this.storage.player_forced_playback_speed === true) { + if (player.getVideoData().isLive === false && + (this.storage.player_force_speed_on_music === true || + (location.href.indexOf('music') === -1 && document.querySelector('h3#title')?.innerText !== 'Music') + )) { + player.setPlaybackRate(Number(option)); + video.playbackRate = Number(option); + } else { + player.setPlaybackRate(1); + } + } + }, intervalMs); +}; + + +/*------------------------------------------------------------------------------ +4.4.4 SUBTITLES +------------------------------------------------------------------------------*/ + +ImprovedTube.subtitles = function () { + if (this.storage.player_subtitles === true) { + var player = this.elements.player; + + if (player && player.toggleSubtitlesOn) { + player.toggleSubtitlesOn(); + } + } +}; + + +/*------------------------------------------------------------------------------ +4.4.4.1 SUBTITLES LANGUAGE +------------------------------------------------------------------------------*/ + +ImprovedTube.subtitlesLanguage = function () { + var option = this.storage.subtitles_language, + autoGenerate = this.storage.auto_generate; + + if (this.isset(option) && option !== 'default') { + var player = this.elements.player, + button = this.elements.player_subtitles_button; + + if (player && player.getOption && button && button.getAttribute('aria-pressed') === 'true') { + var tracklist = this.elements.player.getOption('captions', 'tracklist', { + includeAsr: true + }); + + var matchTrack = false; + for (var i =0, l = tracklist.length; i= 256 && ImprovedTube.mini_player__mode === false && ImprovedTube.elements.player.classList.contains('ytp-player-minimized') === false) { + ImprovedTube.mini_player__mode = true; + + ImprovedTube.mini_player__original_width = ImprovedTube.elements.player.offsetWidth; + ImprovedTube.mini_player__original_height = ImprovedTube.elements.player.offsetHeight; + + ImprovedTube.elements.player.classList.add('it-mini-player'); + + ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); + ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); + + ImprovedTube.mini_player__cursor = ''; + document.documentElement.removeAttribute('it-mini-player-cursor'); + + ImprovedTube.elements.player.style.transform = 'translate(' + ImprovedTube.mini_player__x + 'px, ' + ImprovedTube.mini_player__y + 'px)'; + + ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height, true, true); + + window.addEventListener('mousedown', ImprovedTube.miniPlayer_mouseDown); + window.addEventListener('mousemove', ImprovedTube.miniPlayer_cursorUpdate); + + window.dispatchEvent(new Event('resize')); + } else if (window.scrollY < 256 && ImprovedTube.mini_player__mode === true || ImprovedTube.elements.player.classList.contains('ytp-player-minimized') === true) { + ImprovedTube.mini_player__mode = false; + ImprovedTube.elements.player.classList.remove('it-mini-player'); + ImprovedTube.mini_player__move = false; + ImprovedTube.elements.player.style.transform = 'translate(' + 0 + 'px, ' + 0 + 'px)'; + ImprovedTube.elements.player.style.width = ''; + ImprovedTube.elements.player.style.height = ''; + + ImprovedTube.mini_player__cursor = ''; + document.documentElement.removeAttribute('it-mini-player-cursor'); + + window.removeEventListener('mousedown', ImprovedTube.miniPlayer_mouseDown); + window.removeEventListener('mousemove', ImprovedTube.miniPlayer_cursorUpdate); + + window.dispatchEvent(new Event('resize')); + } +}; + +ImprovedTube.miniPlayer_mouseDown = function (event) { + if (event.button !== 0) { + return false; + } + + if (ImprovedTube.miniPlayer_resize() === true) { + return false; + } + + var is_player = false, + path = event.composedPath(); + + for (var i = 0, l = path.length; i < l; i++) { + if ((path[i].classList && path[i].classList.contains('it-mini-player')) === true) { + is_player = true; + } + } + + if (is_player === false) { + return false; + } + + event.preventDefault(); + + var bcr = ImprovedTube.elements.player.getBoundingClientRect(); + + ImprovedTube.miniPlayer_mouseDown_x = event.clientX; + ImprovedTube.miniPlayer_mouseDown_y = event.clientY; + ImprovedTube.mini_player__width = bcr.width; + ImprovedTube.mini_player__height = bcr.height; + + ImprovedTube.mini_player__player_offset_x = event.clientX - bcr.x; + ImprovedTube.mini_player__player_offset_y = event.clientY - bcr.y; + + ImprovedTube.mini_player__max_x = document.body.offsetWidth - ImprovedTube.mini_player__width; + ImprovedTube.mini_player__max_y = window.innerHeight - ImprovedTube.mini_player__height; + + window.addEventListener('mouseup', ImprovedTube.miniPlayer_mouseUp); + window.addEventListener('mousemove', ImprovedTube.miniPlayer_mouseMove); +}; + +ImprovedTube.miniPlayer_mouseUp = function () { + var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; + + strg.x = ImprovedTube.mini_player__x; + strg.y = ImprovedTube.mini_player__y; + + localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); + + window.removeEventListener('mouseup', ImprovedTube.miniPlayer_mouseUp); + window.removeEventListener('mousemove', ImprovedTube.miniPlayer_mouseMove); + + ImprovedTube.mini_player__move = false; + + setTimeout(function () { + window.removeEventListener('click', ImprovedTube.miniPlayer_click, true); + }); +}; + +ImprovedTube.miniPlayer_click = function (event) { + event.stopPropagation(); + event.preventDefault(); +}; + +ImprovedTube.miniPlayer_mouseMove = function (event) { + if ( + event.clientX < ImprovedTube.miniPlayer_mouseDown_x - 5 || + event.clientY < ImprovedTube.miniPlayer_mouseDown_y - 5 || + event.clientX > ImprovedTube.miniPlayer_mouseDown_x + 5 || + event.clientY > ImprovedTube.miniPlayer_mouseDown_y + 5 + ) { + var x = event.clientX - ImprovedTube.mini_player__player_offset_x, + y = event.clientY - ImprovedTube.mini_player__player_offset_y; + + if (ImprovedTube.mini_player__move === false) { + ImprovedTube.mini_player__move = true; + + window.addEventListener('click', ImprovedTube.miniPlayer_click, true); + } + + if (x < 0) { + x = 0; + } + + if (y < 0) { + y = 0; + } + + if (x > ImprovedTube.mini_player__max_x) { + x = ImprovedTube.mini_player__max_x; + } + + if (y > ImprovedTube.mini_player__max_y) { + y = ImprovedTube.mini_player__max_y; + } + + ImprovedTube.mini_player__x = x; + ImprovedTube.mini_player__y = y; + + ImprovedTube.elements.player.style.transform = 'translate(' + x + 'px, ' + y + 'px)'; + } +}; + +ImprovedTube.miniPlayer_cursorUpdate = function (event) { + var x = event.clientX, + y = event.clientY, + c = ImprovedTube.mini_player__cursor; + + if ( + x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.miniPlayer_resize_offset && + x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && + y >= ImprovedTube.mini_player__y && + y <= ImprovedTube.mini_player__y + ImprovedTube.miniPlayer_resize_offset + ) { + c = 'ne-resize'; + } else if ( + x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.miniPlayer_resize_offset && + x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && + y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.miniPlayer_resize_offset && + y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height + ) { + c = 'se-resize'; + } else if ( + x >= ImprovedTube.mini_player__x && + x <= ImprovedTube.mini_player__x + ImprovedTube.miniPlayer_resize_offset && + y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.miniPlayer_resize_offset && + y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height + ) { + c = 'sw-resize'; + } else if ( + x >= ImprovedTube.mini_player__x && + x <= ImprovedTube.mini_player__x + ImprovedTube.miniPlayer_resize_offset && + y >= ImprovedTube.mini_player__y && + y <= ImprovedTube.mini_player__y + ImprovedTube.miniPlayer_resize_offset + ) { + c = 'nw-resize'; + } else if ( + x >= ImprovedTube.mini_player__x && + x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && + y >= ImprovedTube.mini_player__y && + y <= ImprovedTube.mini_player__y + ImprovedTube.miniPlayer_resize_offset + ) { + c = 'n-resize'; + } else if ( + x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.miniPlayer_resize_offset && + x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && + y >= ImprovedTube.mini_player__y && + y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height + ) { + c = 'e-resize'; + } else if ( + x >= ImprovedTube.mini_player__x && + x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && + y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.miniPlayer_resize_offset && + y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height + ) { + c = 's-resize'; + } else if ( + x >= ImprovedTube.mini_player__x && + x <= ImprovedTube.mini_player__x + ImprovedTube.miniPlayer_resize_offset && + y >= ImprovedTube.mini_player__y && + y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height + ) { + c = 'w-resize'; + } else { + c = ''; + } + + if (ImprovedTube.mini_player__cursor !== c) { + ImprovedTube.mini_player__cursor = c; + + document.documentElement.setAttribute('it-mini-player-cursor', ImprovedTube.mini_player__cursor); + } +}; + +ImprovedTube.miniPlayer_resize = function (event) { + if (ImprovedTube.mini_player__cursor !== '') { + window.removeEventListener('mousemove', ImprovedTube.miniPlayer_cursorUpdate); + window.addEventListener('mouseup', ImprovedTube.miniPlayer_resizeMouseUp); + window.addEventListener('mousemove', ImprovedTube.miniPlayer_resizeMouseMove); + + return true; + } +}; + +ImprovedTube.miniPlayer_resizeMouseMove = function (event) { + if (ImprovedTube.mini_player__cursor === 'n-resize') { + ImprovedTube.elements.player.style.transform = 'translate(' + ImprovedTube.mini_player__x + 'px, ' + event.clientY + 'px)'; + ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); + } else if (ImprovedTube.mini_player__cursor === 'e-resize') { + ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__height); + } else if (ImprovedTube.mini_player__cursor === 's-resize') { + ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, event.clientY - ImprovedTube.mini_player__y); + } else if (ImprovedTube.mini_player__cursor === 'w-resize') { + ImprovedTube.elements.player.style.transform = 'translate(' + event.clientX + 'px, ' + ImprovedTube.mini_player__y + 'px)'; + ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__height); + } else if (ImprovedTube.mini_player__cursor === 'ne-resize') { + ImprovedTube.elements.player.style.transform = 'translate(' + ImprovedTube.mini_player__x + 'px, ' + event.clientY + 'px)'; + ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY, true); + } else if (ImprovedTube.mini_player__cursor === 'se-resize') { + ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, event.clientY - ImprovedTube.mini_player__y, true); + } else if (ImprovedTube.mini_player__cursor === 'sw-resize') { + ImprovedTube.elements.player.style.transform = 'translate(' + event.clientX + 'px, ' + ImprovedTube.mini_player__y + 'px)'; + ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, event.clientY - ImprovedTube.mini_player__y, true); + } else if (ImprovedTube.mini_player__cursor === 'nw-resize') { + ImprovedTube.elements.player.style.transform = 'translate(' + event.clientX + 'px, ' + event.clientY + 'px)'; + ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY, true); + } +}; + +ImprovedTube.miniPlayer_resizeMouseUp = function (event) { + var bcr = ImprovedTube.elements.player.getBoundingClientRect(); + + ImprovedTube.mini_player__x = bcr.left; + ImprovedTube.mini_player__y = bcr.top; + ImprovedTube.mini_player__width = bcr.width; + ImprovedTube.mini_player__height = bcr.height; + + window.dispatchEvent(new Event('resize')); + + var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; + + strg.width = ImprovedTube.mini_player__width; + strg.height = ImprovedTube.mini_player__height; + + localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); + + window.addEventListener('mousemove', ImprovedTube.miniPlayer_cursorUpdate); + window.removeEventListener('mouseup', ImprovedTube.miniPlayer_resizeMouseUp); + window.removeEventListener('mousemove', ImprovedTube.miniPlayer_resizeMouseMove); +}; + +ImprovedTube.miniPlayer = function () { + if (this.storage.mini_player === true) { + var data = localStorage.getItem('improedtube-mini-player'); + + try { + if (this.isset(data)) { + data = JSON.parse(data); + } else { + data = {}; + } + } catch (error) { + data = {}; + } + + data.x = data.x || 16; + data.y = data.y || 16; + data.width = data.width || 200; + data.height = data.height || 150; + + this.mini_player__x = data.x; + this.mini_player__y = data.y; + this.mini_player__width = data.width; + this.mini_player__height = data.height; + + window.removeEventListener('scroll', this.miniPlayer_scroll); + window.addEventListener('scroll', this.miniPlayer_scroll); + } else { + this.mini_player__mode = false; + this.elements.player.classList.remove('it-mini-player'); + this.mini_player__move = false; + + this.elements.player.style.width = ''; + this.elements.player.style.height = ''; + this.elements.player.style.transform = 'translate(' + 0 + 'px, ' + 0 + 'px)'; + + this.elements.player.classList.remove('it-mini-player'); + + this.mini_player__cursor = ''; + document.documentElement.removeAttribute('it-mini-player-cursor'); + + window.dispatchEvent(new Event('resize')); + + window.removeEventListener('mousedown', this.miniPlayer_mouseDown); + window.removeEventListener('mousemove', this.miniPlayer_mouseMove); + window.removeEventListener('mouseup', this.miniPlayer_mouseUp); + window.removeEventListener('click', this.miniPlayer_click); + window.removeEventListener('scroll', this.miniPlayer_scroll); + window.removeEventListener('mousemove', this.miniPlayer_cursorUpdate); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.8 AUTO FULLSCREEN +------------------------------------------------------------------------------*/ + +ImprovedTube.playerAutofullscreen = function () { + if ( + this.storage.player_autofullscreen === true && + document.documentElement.dataset.pageType === 'video' && + !document.fullscreenElement + ) { + this.elements.player.toggleFullscreen(); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.9 QUALITY +------------------------------------------------------------------------------*/ + +ImprovedTube.playerQuality = function () { + var player = this.elements.player, + quality = this.storage.player_quality; + + if (player && player.getAvailableQualityLevels && !player.dataset.defaultQuality) { + var available_quality_levels = player.getAvailableQualityLevels(); + + if (quality && quality !== 'auto') { + if (available_quality_levels.includes(quality) === false) { + quality = available_quality_levels[0]; + } + + player.setPlaybackQualityRange(quality); + player.setPlaybackQuality(quality); + player.dataset.defaultQuality = quality; + } + } +}; + + +/*------------------------------------------------------------------------------ +4.4.10 CODEC H.264 +------------------------------------------------------------------------------*/ + +ImprovedTube.playerH264 = function () { + if (this.storage.player_h264 === true) { + var canPlayType = HTMLMediaElement.prototype.canPlayType; + + function overwrite(self, callback, mime) { + if (/webm|vp8|vp9/.test(mime)) { + return false; + } else { + return callback.call(self, mime); + } + } + + if (window.MediaSource) { + var isTypeSupported = window.MediaSource.isTypeSupported; + + window.MediaSource.isTypeSupported = function (mime) { + return overwrite(this, isTypeSupported, mime); + }; + } + + HTMLMediaElement.prototype.canPlayType = function (mime) { + var status = overwrite(this, canPlayType, mime); + + if (!status) { + return ''; + } else { + return status; + } + }; + } +}; + + +/*------------------------------------------------------------------------------ +4.4.11 ALLOW 60FPS +------------------------------------------------------------------------------*/ + +ImprovedTube.player60fps = function () { + if (this.storage.player_60fps === false) { + var canPlayType = HTMLMediaElement.prototype.canPlayType; + + function overwrite(self, callback, mime) { + var match = /framerate=(\d+)/.exec(mime); + + if (match && match[1] > 30) { + return ''; + } else { + return callback.call(self, mime); + } + } + + if (window.MediaSource) { + var isTypeSupported = window.MediaSource.isTypeSupported; + + window.MediaSource.isTypeSupported = function (mime) { + return overwrite(this, isTypeSupported, mime); + }; + } + + HTMLMediaElement.prototype.canPlayType = function (mime) { + var status = overwrite(this, canPlayType, mime); + + if (!status) { + return ''; + } else { + return status; + } + }; + } +}; + + +/*------------------------------------------------------------------------------ +4.4.12 FORCED VOLUME +------------------------------------------------------------------------------*/ + +ImprovedTube.playerVolume = function () { + if (this.storage.player_forced_volume === true) { + var volume = this.storage.player_volume; + + if (!this.isset(volume)) { + volume = 100; + } else { + volume = Number(volume); + } + + this.elements.player.setVolume(volume); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.13 LOUDNESS NORMALIZATION +------------------------------------------------------------------------------*/ + +ImprovedTube.onvolumechange = function (event) { + if (document.querySelector('.ytp-volume-panel') && ImprovedTube.storage.player_loudness_normalization === false) { + var volume = Number(document.querySelector('.ytp-volume-panel').getAttribute('aria-valuenow')); + + this.volume = volume / 100; + } +}; + +ImprovedTube.playerLoudnessNormalization = function () { + var video = this.elements.video; + + if (video) { + video.removeEventListener('volumechange', this.onvolumechange); + video.addEventListener('volumechange', this.onvolumechange); + } + + if (this.storage.player_loudness_normalization === false) { + try { + var local_storage = localStorage['yt-player-volume']; + + if (this.isset(Number(this.storage.player_volume)) && this.storage.player_forced_volume === true) { + + } else if (local_storage) { + local_storage = JSON.parse(JSON.parse(local_storage).data); + + local_storage = Number(local_storage.volume); + + video.volume = local_storage / 100; + } else { + video.volume = 100; + } + } catch (err) {} + } +}; + + +/*------------------------------------------------------------------------------ +4.4.14 SCREENSHOT +------------------------------------------------------------------------------*/ + +ImprovedTube.screenshot = function () { + var video = ImprovedTube.elements.video, + style = document.createElement('style'), + cvs = document.createElement('canvas'), + ctx = cvs.getContext('2d'); + + style.textContent = 'video{width:' + video.videoWidth + 'px !important;height:' + video.videoHeight + 'px !important}'; + + cvs.width = video.videoWidth; + cvs.height = video.videoHeight; + + document.body.appendChild(style); + + setTimeout(function () { + ctx.drawImage(video, 0, 0, cvs.width, cvs.height); + + cvs.toBlob(function (blob) { + if (ImprovedTube.storage.player_screenshot_save_as !== 'clipboard') { + var a = document.createElement('a'); + + a.href = URL.createObjectURL(blob); + + a.download = location.href.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '-' + new Date(ImprovedTube.elements.player.getCurrentTime() * 1000).toISOString().substr(11, 8).replace(/:/g, '-') + '.png'; + + a.click(); + } else { + navigator.clipboard.write([ + new ClipboardItem({ + 'image/png': blob + }) + ]); + } + }); + + style.remove(); + }); +}; + +ImprovedTube.playerScreenshotButton = function () { + if (this.storage.player_screenshot_button === true) { + var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'); + + svg.appendChild(path); + + this.createPlayerButton({ + id: 'it-screenshot-button', + child: svg, + opacity: 1, + onclick: this.screenshot, + title: 'Screenshot' + }); + } else if (this.elements.buttons['it-screenshot-styles']) { + this.elements.buttons['it-screenshot-styles'].remove(); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.15 REPEAT +------------------------------------------------------------------------------*/ + +ImprovedTube.playerRepeatButton = function (node) { + if (this.storage.player_repeat_button === true) { + var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z'); + + svg.appendChild(path); + + this.createPlayerButton({ + id: 'it-repeat-button', + child: svg, + onclick: function () { + var video = ImprovedTube.elements.video; + + if (video.hasAttribute('loop')) { + video.removeAttribute('loop'); + + this.style.opacity = '.5'; + } else if (!/ad-showing/.test(ImprovedTube.elements.player.className)) { + video.setAttribute('loop', ''); + + this.style.opacity = '1'; + } + }, + title: 'Repeat' + }); + + if (this.storage.player_always_repeat === true) { + setTimeout(function () { + ImprovedTube.elements.video.setAttribute('loop', ''); + + ImprovedTube.elements.buttons['it-repeat-styles'].style.opacity = '1'; + }, 100); + } + } else if (this.elements.buttons['it-repeat-styles']) { + this.elements.buttons['it-repeat-styles'].remove(); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.16 ROTATE +------------------------------------------------------------------------------*/ + +ImprovedTube.playerRotateButton = function () { + if (this.storage.player_rotate_button === true) { + var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M15.55 5.55L11 1v3.07a8 8 0 0 0 0 15.86v-2.02a6 6 0 0 1 0-11.82V10l4.55-4.45zM19.93 11a7.9 7.9 0 0 0-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02a7.92 7.92 0 0 0 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41A7.9 7.9 0 0 0 19.93 13h-2.02a5.9 5.9 0 0 1-1.02 2.48z'); + + svg.appendChild(path); + + this.createPlayerButton({ + id: 'it-rotate-button', + child: svg, + opacity: 1, + onclick: function () { + var player = ImprovedTube.elements.player, + video = ImprovedTube.elements.video, + rotate = Number(document.body.dataset.itRotate) || 0, + transform = ''; + + rotate += 90; + + if (rotate === 360) { + rotate = 0; + } + + document.body.dataset.itRotate = rotate; + + transform += 'rotate(' + rotate + 'deg)'; + + if (rotate == 90 || rotate == 270) { + var is_vertical_video = video.videoHeight > video.videoWidth; + + transform += ' scale(' + (is_vertical_video ? player.clientWidth : player.clientHeight) / (is_vertical_video ? player.clientHeight : player.clientWidth) + ')'; + } + + if (!ImprovedTube.elements.buttons['it-rotate-styles']) { + var style = document.createElement('style'); + + ImprovedTube.elements.buttons['it-rotate-styles'] = style; + + document.body.appendChild(style); + } + + ImprovedTube.elements.buttons['it-rotate-styles'].textContent = 'video{transform:' + transform + '}'; + }, + title: 'Rotate' + }); + } else if (this.elements.buttons['it-rotate-button']) { + this.elements.buttons['it-rotate-button'].remove(); + this.elements.buttons['it-rotate-styles'].remove(); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.17 POPUP PLAYER +------------------------------------------------------------------------------*/ + +ImprovedTube.playerPopupButton = function () { + if (this.storage.player_popup_button === true) { + var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M19 7h-8v6h8V7zm2-4H3C2 3 1 4 1 5v14c0 1 1 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 16H3V5h18v14z'); + + svg.appendChild(path); + + this.createPlayerButton({ + id: 'it-popup-player-button', + child: svg, + opacity: 1, + onclick: function () { + var player = ImprovedTube.elements.player; + + player.pauseVideo(); + + window.open('//www.youtube.com/embed/' + location.href.match(/watch\?v=([A-Za-z0-9\-\_]+)/g)[0].slice(8) + '?start=' + parseInt(player.getCurrentTime()) + '&autoplay=' + (ImprovedTube.storage.player_autoplay == false ? '0' : '1'), '_blank', 'directories=no,toolbar=no,location=no,menubar=no,status=no,titlebar=no,scrollbars=no,resizable=no,width=' + player.offsetWidth + ',height=' + player.offsetHeight); + }, + title: 'Popup' + }); + } else if (this.elements.buttons['it-popup-player-button']) { + this.elements.buttons['it-popup-player-button'].remove(); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.18 Force SDR +------------------------------------------------------------------------------*/ + +ImprovedTube.playerSDR = function () { + if (this.storage.player_SDR === true) { + Object.defineProperty(window.screen, 'pixelDepth', { + enumerable: true, + configurable: true, + value: 24 + }); + } +}; + + +/*------------------------------------------------------------------------------ +4.4.19 Hide controls +------------------------------------------------------------------------------*/ + +ImprovedTube.playerControls = function (mouseIn=false) { + var player = this.elements.player; + + if (player) { + if (this.storage.player_hide_controls === 'always') { + player.hideControls(); + } else if(this.storage.player_hide_controls === 'off') { + player.showControls(); + } else if(this.storage.player_hide_controls === 'when_paused') { + if(this.elements.video.paused) { + if(mouseIn) { + player.showControls(); + } else { + player.hideControls(); + } + } + } + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/playlist.js b/content-scripts/website-context/youtube-features/playlist.js new file mode 100644 index 000000000..00f69d959 --- /dev/null +++ b/content-scripts/website-context/youtube-features/playlist.js @@ -0,0 +1,123 @@ +/*------------------------------------------------------------------------------ +4.5.0 PLAYLIST +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.5.1 UP NEXT AUTOPLAY +------------------------------------------------------------------------------*/ + +ImprovedTube.playlistUpNextAutoplay = function (event) { + if ( + ImprovedTube.getParam(location.href, 'list') && + ImprovedTube.storage.playlist_up_next_autoplay === false + ) { + this.elements.ytd_watch.playlistData.currentIndex = this.elements.ytd_watch.playlistData.totalVideos + } +}; + + +/*------------------------------------------------------------------------------ +4.5.2 REVERSE +------------------------------------------------------------------------------*/ + +ImprovedTube.playlistReverse = function () { + if (this.storage.playlist_reverse === true) { + function update() { + var results = ImprovedTube.elements.ytd_watch.data.contents.twoColumnWatchNextResults, + playlist = results.playlist.playlist, + autoplay = results.autoplay.autoplay; + + playlist.contents.reverse(); + + playlist.currentIndex = playlist.totalVideos - playlist.currentIndex - 1; + playlist.localCurrentIndex = playlist.contents.length - playlist.localCurrentIndex - 1; + + for (var i = 0, l = autoplay.sets.length; i < l; i++) { + var item = autoplay.sets[i]; + + item.autoplayVideo = item.previousButtonVideo; + item.previousButtonVideo = item.nextButtonVideo; + item.nextButtonVideo = item.autoplayVideo; + } + + ImprovedTube.elements.ytd_watch.updatePageData_(JSON.parse(JSON.stringify(ImprovedTube.elements.ytd_watch.data))); + + setTimeout(function () { + var playlist_manager = document.querySelector('yt-playlist-manager'); + + ImprovedTube.elements.ytd_player.updatePlayerComponents(null, autoplay, null, playlist); + playlist_manager.autoplayData = autoplay; + playlist_manager.setPlaylistData(playlist); + ImprovedTube.elements.ytd_player.updatePlayerPlaylist_(playlist); + }, 100); + } + + if (!document.querySelector('#it-reverse-playlist') && ImprovedTube.elements.playlist.actions) { + var button = document.createElement('button'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + button.id = 'it-reverse-playlist'; + button.className = 'style-scope yt-icon-button'; + button.addEventListener('click', function (event) { + var playlist_manager = document.querySelector('yt-playlist-manager'); + + event.preventDefault(); + event.stopPropagation(); + + this.classList.toggle('active'); + + ImprovedTube.playlistReversed = !ImprovedTube.playlistReversed; + + update(); + + return false; + }, true); + + svg.setAttributeNS(null, 'width', '24'); + svg.setAttributeNS(null, 'height', '24'); + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M9 3L5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z'); + + svg.appendChild(path); + + button.appendChild(svg); + + ImprovedTube.elements.playlist.actions.appendChild(button); + } + + if (this.playlistReversed === true) { + update(); + } + } +}; + + +/*------------------------------------------------------------------------------ +4.5.3 REPEAT +------------------------------------------------------------------------------*/ + +ImprovedTube.playlistRepeat = function () { + var option = ImprovedTube.storage.playlist_repeat, + button = document.querySelector("ytd-playlist-loop-button-renderer button"), + svg = button.querySelector("path").attributes.d.textContent.split(" ")[0]; + if (button && ((option === true && svg !== 'M20,14h2v5L5.84,19.02l1.77,1.77l-1.41,1.41L1.99,18l4.21-4.21l1.41,1.41l-1.82,1.82L20,17V14z') + || (option === false && svg !== 'M21,13h1v5L3.93,18.03l2.62,2.62l-0.71,0.71L1.99,17.5l3.85-3.85l0.71,0.71l-2.67,2.67L21,17V13z'))) { + button.click(); + setTimeout(function () {ImprovedTube.playlistRepeat()}, 100); + } +}; + + +/*------------------------------------------------------------------------------ +4.5.4 SHUFFLE +------------------------------------------------------------------------------*/ + +ImprovedTube.playlistShuffle = function () { + var button = ImprovedTube.elements.playlist.shuffle_button, + option = ImprovedTube.storage.playlist_shuffle; + + if (button && ((option === true && button.firstElementChild.firstElementChild.attributes[2].textContent !== 'Loop video') || (option === 'disabled' && button.firstElementChild.firstElementChild.attributes[2].textContent === 'Loop playlist'))) { + button.click(); + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/settings.js b/content-scripts/website-context/youtube-features/settings.js new file mode 100644 index 000000000..2c1e433dd --- /dev/null +++ b/content-scripts/website-context/youtube-features/settings.js @@ -0,0 +1,290 @@ +/*------------------------------------------------------------------------------ +4.10.0 SETTINGS +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.10.1 IMPROVEDTUBE ICON +------------------------------------------------------------------------------*/ + +ImprovedTube.improvedtubeYoutubeIcon = function () { + var data = localStorage.getItem('improvedtube-button-position'), + x = 0, + y = 0, + option = this.storage.improvedtube_youtube_icon, + button = this.elements.improvedtube_button; + + if (data) { + data = JSON.parse(data); + + x = Math.min(Math.max(data.x, 0), document.body.offsetWidth - 48); + y = Math.min(Math.max(data.y, 0), window.innerHeight - 48); + } + + if (!button) { + var label = document.createElement('span'); + + button = document.createElement('button'); + + button.className = 'it-button'; + + button.addEventListener('mousedown', function (event) { + if (ImprovedTube.storage.improvedtube_youtube_icon === 'draggable') { + var x2 = event.layerX, + y2 = event.layerY; + + function mousemove(event) { + if (button.className.indexOf('dragging') === -1) { + button.classList.add('it-button--dragging'); + } + + x = Math.min(Math.max(event.clientX - x2, 0), document.body.offsetWidth - 48); + y = Math.min(Math.max(event.clientY - y2, 0), window.innerHeight - 48); + + button.style.left = x + 'px'; + button.style.top = y + 'px'; + } + + function mouseup() { + localStorage.setItem('improvedtube-button-position', JSON.stringify({ + x, + y + })); + + window.removeEventListener('mousemove', mousemove); + window.removeEventListener('mouseup', mouseup); + } + + function click() { + button.classList.remove('it-button--dragging'); + + window.removeEventListener('click', click); + } + + window.addEventListener('mousemove', mousemove); + window.addEventListener('mouseup', mouseup); + window.addEventListener('click', click); + + event.preventDefault(); + } + }); + + button.addEventListener('click', function () { + if (this.classList.contains('it-button--dragging') === false) { + var rect = this.getBoundingClientRect(), + left = rect.x, + top = rect.y, + scrim = document.createElement('div'), + iframe = document.createElement('iframe'); + + scrim.className = 'it-button__scrim'; + scrim.addEventListener('click', function () { + scrim.remove(); + iframe.remove(); + }); + + iframe.className = 'it-button__iframe'; + + if (document.body.offsetWidth - left < 308) { + left = document.body.offsetWidth - 308; + } + + if (window.innerHeight - top < Math.min(500, window.innerHeight) + 8) { + top = window.innerHeight - Math.min(500, window.innerHeight) - 8; + } + + iframe.style.left = left + 'px'; + iframe.style.top = top + 'px'; + + document.body.appendChild(scrim); + document.body.appendChild(iframe); + + ImprovedTube.messages.send({ + requestOptionsUrl: true + }); + } + }); + + label.textContent = 'ImprovedTube'; + + button.appendChild(label); + + this.elements.improvedtube_button = button; + } + + button.className = 'it-button'; + button.style.left = ''; + button.style.top = ''; + + if (option === 'header_left') { + if (this.storage.header_position === 'normal' && this.elements.masthead.start) { + this.elements.masthead.start.appendChild(button); + } + else if (this.elements.app_drawer.start) { + this.elements.app_drawer.start.appendChild(button); + } + } else if (option === 'header_right') { + if (this.elements.masthead.end) { + this.elements.masthead.end.appendChild(button); + } + } else if (option === 'below_player') { + if (this.elements.video_title) { + button.classList.add('it-button--below-player'); + + this.elements.video_title.appendChild(button); + } + } else if (option === 'sidebar') { + if (this.elements.sidebar_section) { + this.elements.sidebar_section.appendChild(button); + } + } else if (option === 'draggable') { + if (document.body) { + button.style.left = x + 'px'; + button.style.top = y + 'px'; + + button.classList.add('it-button--draggable'); + + document.body.appendChild(button); + } + } else if (button) { + button.remove(); + } +}; + +/*------------------------------------------------------------------------------ +4.10.2 PLAYER BUTTONS +------------------------------------------------------------------------------*/ + +ImprovedTube.improvedtubeYoutubeButtonsUnderPlayer = function () { + if (window.self !== window.top) { + return false; + } + + var section = document.querySelector('#flex.ytd-video-primary-info-renderer'); + if (this.storage.description === "normal" || this.storage.description === "expanded") + {var section = document.querySelector('#subscribe-button');} + + if (section && !document.querySelector('.improvedtube-player-button')) { + + + if (this.storage.below_player_loop !== false) { + var button = document.createElement('button'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + button.className = 'improvedtube-player-button'; + button.dataset.tooltip = 'Loop'; + + svg.style.opacity = '.5'; + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4zm-4-2V9h-1l-2 1v1h1.5v4H13z'); + + button.onclick = function () { + var video = ImprovedTube.elements.video, + svg = this.children[0]; + + if (video.hasAttribute('loop')) { + video.removeAttribute('loop'); + + svg.style.opacity = '.5'; + } else if (!/ad-showing/.test(ImprovedTube.elements.player.className)) { + video.setAttribute('loop', ''); + + svg.style.opacity = '1'; + } + }; + + svg.appendChild(path); + button.appendChild(svg); + + section.insertAdjacentElement('afterend', button) + } + if (this.storage.below_player_pip !== false) { + var button = document.createElement('button'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + button.className = 'improvedtube-player-button'; + button.dataset.tooltip = 'Picture in picture'; + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M19 7h-8v6h8V7zm2-4H3C2 3 1 4 1 5v14c0 1 1 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 16H3V5h18v14z'); + + button.onclick = function () { + var video = document.querySelector('#movie_player video'); + + if (video) { + video.requestPictureInPicture(); + } + }; + + svg.appendChild(path); + button.appendChild(svg); + + section.insertAdjacentElement('afterend', button) + } + + if (this.storage.below_player_screenshot !== false) { + var button = document.createElement('button'), + svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'), + path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); + + button.className = 'improvedtube-player-button'; + button.dataset.tooltip = 'Screenshot'; + + svg.setAttributeNS(null, 'viewBox', '0 0 24 24'); + path.setAttributeNS(null, 'd', 'M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'); + + button.onclick = ImprovedTube.screenshot; + + svg.appendChild(path); + button.appendChild(svg); + + section.insertAdjacentElement('afterend', button) + } + } +}; + + +/*----------------------------------------------------------------------------- +4.10.3 DELETE YOUTUBE COOKIES +-----------------------------------------------------------------------------*/ + +ImprovedTube.deleteYoutubeCookies = function () { + var cookies = document.cookie.split(';'); + + for (var i = 0, l = cookies.length; i < l; i++) { + var cookie = cookies[i], + eqPos = cookie.indexOf('='), + name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; + + document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; + } + + setTimeout(function () { + location.reload(); + }, 100); +}; + + +/*----------------------------------------------------------------------------- +4.10.4 YOUTUBE LANGUAGE +-----------------------------------------------------------------------------*/ + +ImprovedTube.youtubeLanguage = function () { + var value = this.storage.youtube_language; + + if (this.isset(value)) { + var pref = this.getCookieValueByName('PREF'); + + if (value !== 'default') { + var hl = this.getParam(pref, 'hl'); + + if (hl) { + this.setCookie('PREF', pref.replace('hl=' + hl, 'hl=' + value)); + } else { + this.setCookie('PREF', pref + '&hl=' + value); + } + } + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/shortcuts.js b/content-scripts/website-context/youtube-features/shortcuts.js new file mode 100644 index 000000000..525e81283 --- /dev/null +++ b/content-scripts/website-context/youtube-features/shortcuts.js @@ -0,0 +1,710 @@ +/*------------------------------------------------------------------------------ +4.7.0 SHORTCUTS +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcuts = function () { + var keyboard = { + alt: false, + ctrl: false, + shift: false, + keys: {} + }, + mouse = { + player: false, + wheel: 0 + }, + storage = {}; + + function handler() { + var prevent = false; + + for (var key in storage) { + var shortcut = storage[key], + same_keys = true; + + if ( + typeof shortcut === 'object' && + (keyboard.alt === shortcut.alt || !ImprovedTube.isset(shortcut.alt)) && + (keyboard.ctrl === shortcut.ctrl || !ImprovedTube.isset(shortcut.ctrl)) && + (keyboard.shift === shortcut.shift || !ImprovedTube.isset(shortcut.shift)) && + (mouse.wheel === shortcut.wheel || !ImprovedTube.isset(shortcut.wheel)) + ) { + if (keyboard.keys && shortcut.keys) { + for (var code in keyboard.keys) { + if (!shortcut.keys[code]) { + same_keys = false; + } + } + for (var code in shortcut.keys) { + if (!keyboard.keys[code]) { + same_keys = false; + } + } + } + + if (!ImprovedTube.isset(mouse.wheel) || mouse.wheel === 0 || mouse.player === true) { + if (same_keys === true) { + if ([ + 'shortcutAuto', + 'shortcut144p', + 'shortcut240p', + 'shortcut360p', + 'shortcut480p', + 'shortcut720p', + 'shortcut1080p', + 'shortcut1440p', + 'shortcut2160p', + 'shortcut2880p', + 'shortcut4320p' + ].includes(key) === true) { + ImprovedTube['shortcutQuality'](key); + } else if (typeof ImprovedTube[key] === 'function') { + ImprovedTube[key](); + } + + prevent = true; + } + } + } + } + + return prevent; + } + + window.addEventListener('keydown', function (event) { + if (document.activeElement && ['EMBED', 'INPUT', 'OBJECT', 'TEXTAREA', 'IFRAME'].includes(document.activeElement.tagName) === true || event.target.isContentEditable) { + return false; + } + + if (event.code === 'AltLeft' || event.code === 'AltRight') { + keyboard.alt = true; + } else if (event.code === 'ControlLeft' || event.code === 'ControlRight') { + keyboard.ctrl = true; + } else if (event.code === 'ShiftLeft' || event.code === 'ShiftRight') { + keyboard.shift = true; + } else { + keyboard.keys[event.keyCode] = true; + } + + mouse.wheel = 0; + + if (handler() === true) { + event.preventDefault(); + event.stopPropagation(); + + return false; + } + }, true); + + window.addEventListener('keyup', function (event) { + if (document.activeElement && ['EMBED', 'INPUT', 'OBJECT', 'TEXTAREA', 'IFRAME'].includes(document.activeElement.tagName) === true || event.target.isContentEditable) { + return false; + } + + if (event.code === 'AltLeft' || event.code === 'AltRight') { + keyboard.alt = false; + } else if (event.code === 'ControlLeft' || event.code === 'ControlRight') { + keyboard.ctrl = false; + } else if (event.code === 'ShiftLeft' || event.code === 'ShiftRight') { + keyboard.shift = false; + } else { + delete keyboard.keys[event.keyCode]; + } + + mouse.wheel = 0; + }, true); + + window.addEventListener('wheel', function (event) { + if (event.deltaY > 0) { + mouse.wheel = 1; + } else { + mouse.wheel = -1; + } + + if (handler() === true) { + event.preventDefault(); + event.stopPropagation(); + + return false; + } + }, { + passive: false, + capture: true + }); + + document.addEventListener('improvedtube-player-loaded', function () { + try{ImprovedTube.elements.player.parentNode.addEventListener('mouseover', function () { + mouse.player = true; + mouse.wheel = 0; + }, true);} catch(err){console.log(err);} + finally { setTimeout( ImprovedTube.elements.player.parentNode.addEventListener('mouseover', function () { + mouse.player = true; + mouse.wheel = 0; + }, true), 300); + } + + ImprovedTube.elements.player.parentNode.addEventListener('mouseout', function () { + mouse.player = false; + mouse.wheel = 0; + }, true); + }); + + document.addEventListener('improvedtube-blur', function () { + keyboard.alt = false; + keyboard.ctrl = false; + keyboard.shift = false; + + for (var key in keyboard.keys) { + delete keyboard.keys[key]; + } + + mouse.player = false; + mouse.wheel = 0; + }); + + for (var name in this.storage) { + if (name.indexOf('shortcut_') === 0) { + if (this.isset(this.storage[name]) && this.storage[name] !== false) { + try { + var key = 'shortcut' + (name.replace(/_?shortcut_?/g, '').replace(/\_/g, '-')).split('-').map(function (element, index) { + return element[0].toUpperCase() + element.slice(1); + }).join(''); + + storage[key] = this.storage[name]; + } catch (error) { + console.error(error); + } + } + } + } +}; + + +/*------------------------------------------------------------------------------ +4.7.1 QUALITY +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutQuality = function (key) { + if (this.elements.player) { + var value = key.replace('shortcut', '').toLowerCase(); + + if (value === '144p') { + value = 'tiny'; + } + + if (value === '240p') { + value = 'small'; + } + + if (value === '360p') { + value = 'medium'; + } + + if (value === '480p') { + value = 'large'; + } + + if (value === '720p') { + value = 'hd720'; + } + + if (value === '1080p') { + value = 'hd1080'; + } + + if (value === '1440p') { + value = 'hd1440'; + } + + if (value === '2160p') { + value = 'hd2160'; + } + + if (value === '2880p') { + value = 'hd2880'; + } + + if (value === '4320p') { + value = 'highres'; + } + + this.elements.player.setPlaybackQualityRange(value); + this.elements.player.setPlaybackQuality(value); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.2 PICTURE IN PICTURE +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutPictureInPicture = function () { + if (this.elements.video) { + this.elements.video.requestPictureInPicture(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.3 TOGGLE CONTROLS +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutToggleControls = function () { + if (this.elements.player) { + this.storage.player_hide_controls = !this.storage.player_hide_controls; + + if (this.storage.player_hide_controls) { + this.elements.player.hideControls(); + } else { + this.elements.player.showControls(); + } + } +}; + + +/*------------------------------------------------------------------------------ +4.7.4 PLAY / PAUSE +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutPlayPause = function () { + if (this.elements.player) { + if (this.elements.video.paused) { + this.elements.player.playVideo(); + } else { + this.elements.player.pauseVideo(); + } + } +}; + + +/*------------------------------------------------------------------------------ +4.7.5 STOP +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutStop = function () { + if (this.elements.player) { + this.elements.player.stopVideo(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.6 TOGGLE AUTOPLAY +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutToggleAutoplay = function () { + var toggle = document.querySelector('#ytd-player .ytp-autonav-toggle-button'), + attribute = toggle.getAttribute('aria-checked') === 'true'; + + if (toggle) { + toggle.click(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.7 NEXT VIDEO +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutNextVideo = function () { + if (this.elements.player) { + var playlist_loop_button = document.querySelector('[aria-label="Loop playlist"]'); + + if (playlist_loop_button) { + if (playlist_loop_button.ariaPressed === 'true') { + this.elements.player.setLoop(true); + } else { + this.elements.player.setLoop(false) + } + } + + this.elements.player.nextVideo(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.8 PREVIOUS VIDEO +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutPrevVideo = function () { + if (this.elements.player) { + var playlist_loop_button = document.querySelector('[aria-label="Loop playlist"]'); + + if (playlist_loop_button) { + if (playlist_loop_button.ariaPressed === 'true') { + this.elements.player.setLoop(true); + } else { + this.elements.player.setLoop(false) + } + } + + this.elements.player.previousVideo(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.9 SEEK BACKWARD +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutSeekBackward = function () { + if (this.elements.player) { + this.elements.player.seekBy(-10); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.10 SEEK FORWARD +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutSeekForward = function () { + if (this.elements.player) { + this.elements.player.seekBy(10); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.11 SEEK NEXT CHAPTER +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutSeekNextChapter = function () { + if (this.elements.player) { + var player = this.elements.player, + chapters_container = player.querySelector('.ytp-chapters-container'), + progress_bar = player.querySelector('.ytp-progress-bar'); + + if (chapters_container && chapters_container.children && progress_bar) { + var chapters = chapters_container.children, + duration = player.getDuration(), + current_width = player.getCurrentTime() / (duration / 100) * (progress_bar.offsetWidth / 100); + + for (var i = 0, l = chapters.length; i < l; i++) { + var left = chapters[i].offsetLeft; + + if (current_width < left) { + player.seekTo(left / (progress_bar.offsetWidth / 100) * (duration / 100)); + + return false; + } + } + } + } +}; + + +/*------------------------------------------------------------------------------ +4.7.12 SEEK PREVIOUS CHAPTER +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutSeekPreviousChapter = function () { + if (this.elements.player) { + var player = this.elements.player, + chapters_container = player.querySelector('.ytp-chapters-container'), + progress_bar = player.querySelector('.ytp-progress-bar'); + + if (chapters_container && chapters_container.children && progress_bar) { + var chapters = chapters_container.children, + duration = player.getDuration(), + current_width = player.getCurrentTime() / (duration / 100) * (progress_bar.offsetWidth / 100); + + for (var i = chapters.length - 1; i > 0; i--) { + if (current_width > chapters[i].offsetLeft) { + var left = 0; + + if (i > 0) { + left = chapters[i - 1].offsetLeft; + } + + player.seekTo(left / (progress_bar.offsetWidth / 100) * (duration / 100)); + + return false; + } + } + } + } +}; + + +/*------------------------------------------------------------------------------ +4.7.13 INCREASE VOLUME +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutIncreaseVolume = function () { + var player = this.elements.player, + value = Number(this.storage.shortcut_volume_step) || 5; + + if (player) { + player.setVolume(player.getVolume() + value); + + localStorage['yt-player-volume'] = JSON.stringify({ + data: JSON.stringify({ + volume: player.getVolume(), + muted: player.isMuted(), + expiration: Date.now(), + creation: Date.now() + }) + }); + + sessionStorage['yt-player-volume'] = localStorage['yt-player-volume']; + + this.showStatus(player.getVolume()); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.14 DECREASE VOLUME +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutDecreaseVolume = function () { + var player = this.elements.player, + value = Number(this.storage.shortcut_volume_step) || 5; + + if (player) { + player.setVolume(player.getVolume() - value); + + localStorage['yt-player-volume'] = JSON.stringify({ + data: JSON.stringify({ + volume: player.getVolume(), + muted: player.isMuted(), + expiration: Date.now(), + creation: Date.now() + }) + }); + + sessionStorage['yt-player-volume'] = localStorage['yt-player-volume']; + + this.showStatus(player.getVolume()); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.15 SCREENSHOT +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutScreenshot = function () { + this.screenshot(); +}; + + +/*------------------------------------------------------------------------------ +4.7.16 INCREASE PLAYBACK SPEED +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutIncreasePlaybackSpeed = function () { + var video = this.elements.video, + value = Number(ImprovedTube.storage.shortcut_playback_speed_step) || .05; + + if (video) { + video.playbackRate = video.playbackRate + value; + + ImprovedTube.showStatus(video.playbackRate); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.17 DECREASE PLAYBACK SPEED +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutDecreasePlaybackSpeed = function () { + var video = this.elements.video, + value = Number(ImprovedTube.storage.shortcut_playback_speed_step) || .05; + + if (video) { + video.playbackRate = Math.max(video.playbackRate - value, .05); + + ImprovedTube.showStatus(video.playbackRate); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.18 RESET PLAYBACK SPEED +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutResetPlaybackSpeed = function () { + var video = this.elements.video; + + if (video) { + video.playbackRate = 1; + + ImprovedTube.showStatus(video.playbackRate); + } +}; + +/*------------------------------------------------------------------------------ +4.7.19 GO TO SEARCH BOX +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutGoToSearchBox = function () { + var search = document.querySelector('input#search'); + if (search) { + search.focus(); + //SHOW HEADER ON "SEARCH" + var headerPos = document.documentElement.getAttribute('it-header-position'); + if (headerPos){if (headerPos !== 'normal' && headerPos !== 'static') { + document.documentElement.setAttribute('it-header-position-original', headerPos); + + + search.addEventListener('focusin', function (e) { + document.documentElement.setAttribute('it-header-position', 'normal'); + }); + + search.addEventListener('focusout', function (e) { + var origHeaderPos = document.documentElement.getAttribute('it-header-position-original'); + document.documentElement.setAttribute('it-header-position', origHeaderPos); + }); + }} + } +}; + +/*------------------------------------------------------------------------------ +4.7.20 ACTIVATE FULLSCREEN +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutActivateFullscreen = function () { + if (this.elements.player) { + this.elements.player.toggleFullscreen(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.21 ACTIVATE CAPTIONS +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutActivateCaptions = function () { + var player = this.elements.player; + + if (player && player.toggleSubtitlesOn) { + player.toggleSubtitlesOn(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.22 LIKE +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutLike = function () { + var like = (document.querySelectorAll('#menu #top-level-buttons-computed ytd-toggle-button-renderer button')[0]); + + if (like) { + like.click(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.23 DISLIKE +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutDislike = function () { + var like = (document.querySelectorAll('#menu #top-level-buttons-computed ytd-toggle-button-renderer button')[1]); + + if (like) { + like.click(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.24 SUBSCRIBE +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutSubscribe = function () { + if (this.elements.subscribe_button) { + this.elements.subscribe_button.click(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.25 DARK THEME +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutDarkTheme = function () { + pref = ''; + cookieValue = '400'; + if (document.cookie.match(/PREF\=([^\s]*(?=\;)|[^\s]*$)/)) { + pref = document.cookie.match(/PREF\=([^\s]*(?=\;)|[^\s]*$)/)[1]; + } + + + if (document.documentElement.hasAttribute('dark')) { + cookieValue = '80000'; + document.documentElement.removeAttribute('dark'); + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.documentElement.removeAttribute('it-themes'); + document.getElementById("cinematics").style.visibility = 'hidden'; + + } else { + document.documentElement.setAttribute('dark', ''); + document.querySelector('ytd-masthead').setAttribute('dark', ''); + document.documentElement.setAttribute('it-themes', 'true'); + document.getElementById("cinematics").style.visibility = 'visibile'; + document.getElementById("cinematics").style.mixBlendMode = 'lighten'; + } + + + if (pref.match(/(f6=)[^\&]+/)){ + cookieValue = pref.replace(/(f6=)[^\&]+/, cookieValue); + } else { + cookieValue = pref + "&f6=" + cookieValue; + } + ImprovedTube.setCookie('PREF', cookieValue); +}; + +/*------------------------------------------------------------------------------ +4.7.26 CUSTOM MINI PLAYER +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutCustomMiniPlayer = function () { + this.storage.mini_player = !this.storage.mini_player; + + this.miniPlayer(); +}; + + +/*------------------------------------------------------------------------------ +4.7.27 STATS FOR NERDS +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutStatsForNerds = function () { + var player = this.elements.player; + + if (player.isVideoInfoVisible()) { + player.hideVideoInfo(); + } else { + player.showVideoInfo(); + } +}; + + +/*------------------------------------------------------------------------------ +4.7.28 TOGGLE CARDS +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutToggleCards = function () { + document.documentElement.toggleAttribute('it-player-hide-cards'); +}; + + +/*------------------------------------------------------------------------------ +4.7.29 POPUP PLAYER +------------------------------------------------------------------------------*/ + +ImprovedTube.shortcutPopupPlayer = function () { + var player = this.elements.player; + + if (document.documentElement.dataset.pageType === 'video' && player) { + player.pauseVideo(); + + window.open('//www.youtube.com/embed/' + location.href.match(/watch\?v=([A-Za-z0-9\-\_]+)/g)[0].slice(8) + '?start=' + parseInt(player.getCurrentTime()) + '&autoplay=' + (ImprovedTube.storage.player_autoplay == false ? '0' : '1'), '_blank', 'directories=no,toolbar=no,location=no,menubar=no,status=no,titlebar=no,scrollbars=no,resizable=no,width=' + player.offsetWidth + ',height=' + player.offsetHeight); + } +}; \ No newline at end of file diff --git a/content-scripts/website-context/youtube-features/themes.js b/content-scripts/website-context/youtube-features/themes.js new file mode 100644 index 000000000..1bbb2e0a8 --- /dev/null +++ b/content-scripts/website-context/youtube-features/themes.js @@ -0,0 +1,156 @@ +/*------------------------------------------------------------------------------ +4.3.0 THEMES +------------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------------ +4.3.1 MY COLORS +------------------------------------------------------------------------------*/ + +ImprovedTube.themes = function () { + if ( + this.storage.theme === 'custom' && + Array.isArray(this.storage.theme_primary_color) && + Array.isArray(this.storage.theme_text_color) + ) { + var style = this.elements.my_colors || document.createElement('style'), + primary_color = this.storage.theme_primary_color, + text_color = this.storage.theme_text_color; + + if (primary_color) { + primary_color = 'rgb(' + primary_color.join(',') + ')'; + } else { + primary_color = 'rgb(200, 200, 200)'; + } + + if (text_color) { + text_color = 'rgb(' + text_color.join(',') + ')'; + } else { + text_color = 'rgb(25, 25, 25)'; + } + + style.className = 'it-theme-editor'; + style.textContent = 'html{' + + '--yt-swatch-textbox-bg:rgba(19,19,19,1)!important;' + + '--yt-swatch-icon-color:rgba(136,136,136,1)!important;' + + '--yt-spec-brand-background-primary:rgba(0,0,0, 0.1) !important;' + + '--yt-spec-brand-background-secondary:rgba(0,0,0, 0.1) !important;' + + '--yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important;' + + '--yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important;' + + '--yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important;' + + '--yt-spec-brand-button-background:rgba(136,136,136,1) !important;' + + '--yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important;' + + '--yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important;' + + '--yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important;' + + '--yt-spec-10-percent-layer:rgba(136,136,136,1) !important;' + + '--yt-swatch-primary:' + primary_color + '!important;' + + '--yt-swatch-primary-darker:' + primary_color + '!important;' + + '--yt-spec-brand-background-solid:' + primary_color + '!important;' + + '--yt-spec-general-background-a:' + primary_color + '!important;' + + '--yt-spec-general-background-b:' + primary_color + '!important;' + + '--yt-spec-general-background-c:' + primary_color + '!important;' + + '--yt-spec-touch-response:' + primary_color + '!important;' + + '--yt-swatch-text: ' + text_color + '!important;' + + '--yt-swatch-important-text: ' + text_color + '!important;' + + '--yt-swatch-input-text: ' + text_color + '!important;' + + '--yt-swatch-logo-override: ' + text_color + '!important;' + + '--yt-spec-text-primary:' + text_color + ' !important;' + + '--yt-spec-text-primary-inverse:' + text_color + ' !important;' + + '--yt-spec-text-secondary:' + text_color + ' !important;' + + '--yt-spec-text-disabled:' + text_color + ' !important;' + + '--yt-spec-icon-active-other:' + text_color + ' !important;' + + '--yt-spec-icon-inactive:' + text_color + ' !important;' + + '--yt-spec-icon-disabled:' + text_color + ' !important;' + + '--yt-spec-filled-button-text:' + text_color + ' !important;' + + '--yt-spec-call-to-action-inverse:' + text_color + ' !important;' + + '--yt-spec-brand-icon-active:' + text_color + ' !important;' + + '--yt-spec-brand-icon-inactive:' + text_color + ' !important;' + + '--yt-spec-brand-link-text:' + text_color + '!important;' + + '--yt-spec-brand-subscribe-button-background:' + text_color + ' !important;' + + '--yt-spec-wordmark-text:' + text_color + ' !important;' + + '--yt-spec-selected-nav-text:' + text_color + ' !important;' + + '--yt-spec-base-background:' + primary_color + '!important;' + + '--yt-spec-raised-background:' + primary_color + '!important;' + + '--yt-spec-menu-background:' + primary_color + '!important;' + + 'ytd-masthead { background-color:' + primary_color + '!important;}' + + '--yt-spec-inverted-background: #fff;' + + '}'; + + '#cinematics { visibility: hidden !important;}' + + '#cinematics { display: none !important;}' + this.elements.my_colors = style; + document.documentElement.appendChild(style); + if (document.documentElement.hasAttribute('dark') !== null && document.documentElement.hasAttribute('dark')) { + cookieValue = '80000'; document.documentElement.removeAttribute('dark'); + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.getElementById("cinematics").style.visibility = 'hidden'; + document.getElementById("cinematics").style.display = 'none !important';} + document.querySelector('ytd-masthead').style.backgroundColor = ''+primary_color+''; + } else if (this.elements.my_colors) { + this.elements.my_colors.remove(); + if (this.storage.theme) { + if (this.storage.theme === 'default'){ + if (document.documentElement.hasAttribute('it-themes') !== null && document.documentElement.hasAttribute('it-themes') === true){ + document.documentElement.removeAttribute('it-themes'); + document.documentElement.setAttribute('it-themes', 'false'); + } + if( ( document.documentElement.hasAttribute('dark') !== null && document.documentElement.hasAttribute('dark') ) || ( document.querySelector('ytd-masthead').hasAttribute('dark') !== null && document.querySelector('ytd-masthead').hasAttribute('dark')) + ){ + cookieValue = '80000'; document.documentElement.removeAttribute('dark'); + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.getElementById("cinematics").style.visibility = 'hidden'; + document.getElementById("cinematics").style.display = 'none !important';} + document.querySelector('ytd-masthead').style.backgroundColor ='#fffff7' ; + } + else if (this.storage.theme === 'dark'){ c = '400'; document.documentElement.setAttribute('dark', ''); + document.querySelector('ytd-masthead').setAttribute('dark', '') + document.getElementById("cinematics").style.visibility = 'visible'; + document.querySelector('ytd-masthead').style.backgroundColor ='#000'; + } + else if (this.storage.theme === 'dawn' || this.storage.theme === 'sunset' || this.storage.theme === 'night' ){ + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.getElementById("cinematics").style.mixBlendMode = 'lighten'; + document.getElementById("cinematics").style.visibility = 'visible'; + document.getElementById("cinematics").style.filter = 'invert(0)'; + } else if (this.storage.theme === 'plain'){ + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.getElementById("cinematics").style.visibility = 'visible'; + document.getElementById("cinematics").style.filter = 'invert(1)'; + document.getElementById("cinematics").style.mixBlendMode = 'darken' + } else if (this.storage.theme === 'desert'){ + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.getElementById("cinematics").style.visibility = 'hidden'; + document.getElementById("cinematics").style.display = 'none'; + } else if (this.storage.theme === 'black') { + document.documentElement.setAttribute('it-themes', 'true'); + document.getElementById("cinematics").style.visibility = 'hidden'; + document.getElementById("cinematics").style.display = 'none !important'; + document.querySelector('ytd-masthead').style.backgroundColor ='#000'; + cookieValue = '80000'; + document.querySelector('ytd-masthead').removeAttribute('dark'); + document.documentElement.removeAttribute('dark'); + } } else {if (document.documentElement.hasAttribute('it-themes') !== null && document.documentElement.hasAttribute('it-themes') === true){ + document.getElementById("cinematics").style.visibility = 'hidden'; + document.getElementById("cinematics").style.display = 'none !important'; + } + if ( (document.documentElement.hasAttribute('dark') !== null && document.documentElement.hasAttribute('dark') ) + || ( document.querySelector('ytd-masthead').hasAttribute('dark') !== null && document.querySelector('ytd-masthead').hasAttribute('dark') ) + ){ + cookieValue = '400'; document.documentElement.setAttribute('dark', ''); + document.querySelector('ytd-masthead').setAttribute('dark', ''); + document.getElementById("cinematics").style.visibility = 'visible'; } + } +} + pref = ''; + if (typeof cookieValue !== 'undefined'){ + if (document.cookie.match(/PREF\=([^\s]*(?=\;)|[^\s]*$)/)) { + pref = document.cookie.match(/PREF\=([^\s]*(?=\;)|[^\s]*$)/)[1]; + } + + + if (pref.match(/(f6=)[^\&]+/)){ + cookieValue = pref.replace(/(f6=)[^\&]+/, cookieValue); + } else { + cookieValue = pref + "&f6=" + cookieValue; + } + ImprovedTube.setCookie('PREF', cookieValue); + } +}; diff --git a/manifest.json b/manifest.json new file mode 100644 index 000000000..a4c74efd0 --- /dev/null +++ b/manifest.json @@ -0,0 +1,83 @@ +{ + "manifest_version": 2, + "name": "'Improve YouTube!'🎧(for YouTube & Videos)", + "short_name": "ImprovedTube", + "description": "__MSG_description_ext__", + "version": "4.2", + "default_locale": "en", + "icons": { + + "16": "assets/icons/16.png", + "32": "assets/icons/32.png", + "48": "assets/icons/48.png", + "128": "assets/icons/128.png" + }, + "background": { + "scripts": [ + "background.js" + ] + }, + "browser_action": { + "default_popup": "options-page/index.html" + }, + "options_page": "options-page/index.html", + "content_scripts": [ + { + "all_frames": true, + "css": [ + "content-scripts/extension-context/youtube-features/content-styles.css", + "content-scripts/extension-context/youtube-features/night-mode/night-mode.css", + "content-scripts/extension-context/youtube-features/general/general.css", + "content-scripts/extension-context/youtube-features/appearance/header/header.css", + "content-scripts/extension-context/youtube-features/appearance/player/player.css", + "content-scripts/extension-context/youtube-features/appearance/details/details.css", + "content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.css", + "content-scripts/extension-context/youtube-features/appearance/comments/comments.css", + "content-scripts/extension-context/youtube-features/appearance/footer/footer.css" + ], + "exclude_matches": [ + "https://www.youtube.com/audiolibrary/*", + "https://www.youtube.com/tv*" + ], + "js": [ + "assets/satus/satus.js", + "content-scripts/extension-context/core.js", + "content-scripts/extension-context/functions.js", + "content-scripts/extension-context/youtube-features/night-mode/night-mode.js", + "content-scripts/extension-context/youtube-features/general/general.js", + "content-scripts/extension-context/youtube-features/appearance/player/player.js", + "content-scripts/extension-context/youtube-features/appearance/details/details.js", + "content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.js", + "content-scripts/extension-context/youtube-features/appearance/comments/comments.js", + "content-scripts/extension-context/init.js" + ], + "matches": [ + "https://www.youtube.com/*" + ], + "run_at": "document_start" + } + ], + "offline_enabled": true, + "optional_permissions": [ + "downloads" + ], + "permissions": [ + "contextMenus", + "storage" + ], + "web_accessible_resources": [ + "options-page/index.html", + "content-scripts/website-context/core.js", + "content-scripts/website-context/functions.js", + "content-scripts/website-context/youtube-features/appearance.js", + "content-scripts/website-context/youtube-features/themes.js", + "content-scripts/website-context/youtube-features/player.js", + "content-scripts/website-context/youtube-features/playlist.js", + "content-scripts/website-context/youtube-features/channel.js", + "content-scripts/website-context/youtube-features/shortcuts.js", + "content-scripts/website-context/youtube-features/blacklist.js", + "content-scripts/website-context/youtube-features/settings.js", + "content-scripts/website-context/init.js", + "content-scripts/website-context/mutations.js" + ] +} diff --git a/manifest3.json b/manifest3.json new file mode 100644 index 000000000..e6ac9fb99 --- /dev/null +++ b/manifest3.json @@ -0,0 +1,86 @@ +{ + "manifest_version": 3, + "name": "'Improve YouTube!'🎧(for YouTube & Videos)", + "description": "__MSG_description_ext__", + "version": "4.1", + "default_locale": "en", + "icons": { + "128": "assets/icons/128.png", + "16": "assets/icons/16.png", + "32": "assets/icons/32.png", + "48": "assets/icons/48.png" + }, + "background": { + "service_worker": "background.js" + }, + "action": { + "default_popup": "options-page/index.html" + }, + "options_page": "options-page/index.html", + "content_scripts": [ + { + "all_frames": true, + "css": [ + "content-scripts/extension-context/youtube-features/content-styles.css", + "content-scripts/extension-context/youtube-features/night-mode/night-mode.css", + "content-scripts/extension-context/youtube-features/general/general.css", + "content-scripts/extension-context/youtube-features/appearance/header/header.css", + "content-scripts/extension-context/youtube-features/appearance/player/player.css", + "content-scripts/extension-context/youtube-features/appearance/details/details.css", + "content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.css", + "content-scripts/extension-context/youtube-features/appearance/comments/comments.css", + "content-scripts/extension-context/youtube-features/appearance/footer/footer.css" + ], + "exclude_matches": [ + "https://www.youtube.com/audiolibrary/*", + "https://www.youtube.com/tv*" + ], + "js": [ + "assets/satus/satus.js", + "content-scripts/extension-context/core.js", + "content-scripts/extension-context/functions.js", + "content-scripts/extension-context/youtube-features/night-mode/night-mode.js", + "content-scripts/extension-context/youtube-features/general/general.js", + "content-scripts/extension-context/youtube-features/appearance/player/player.js", + "content-scripts/extension-context/youtube-features/appearance/details/details.js", + "content-scripts/extension-context/youtube-features/appearance/sidebar/sidebar.js", + "content-scripts/extension-context/youtube-features/appearance/comments/comments.js", + "content-scripts/extension-context/init.js" + ], + "matches": [ + "https://www.youtube.com/*" + ], + "run_at": "document_start" + } + ], + "offline_enabled": true, + "optional_permissions": [ + "downloads" + ], + "permissions": [ + "contextMenus", + "storage" + ], + "web_accessible_resources": [ + { + "resources": [ + "options-page/index.html", + "content-scripts/website-context/core.js", + "content-scripts/website-context/functions.js", + "content-scripts/website-context/youtube-features/appearance.js", + "content-scripts/website-context/youtube-features/themes.js", + "content-scripts/website-context/youtube-features/player.js", + "content-scripts/website-context/youtube-features/playlist.js", + "content-scripts/website-context/youtube-features/channel.js", + "content-scripts/website-context/youtube-features/shortcuts.js", + "content-scripts/website-context/youtube-features/blacklist.js", + "content-scripts/website-context/youtube-features/settings.js", + "content-scripts/website-context/init.js", + "content-scripts/website-context/mutations.js" + ], + "matches": [ + "https://www.youtube.com/*" + ] + } + ] +} diff --git a/options-page/functions.js b/options-page/functions.js new file mode 100644 index 000000000..e74995da5 --- /dev/null +++ b/options-page/functions.js @@ -0,0 +1,161 @@ +/*-------------------------------------------------------------- +>>> FUNCTIONS: +---------------------------------------------------------------- +# Attributes +# Export settings +# Import settings +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# ATTRIBUTES +--------------------------------------------------------------*/ + +extension.attributes = function () { + var attributes = { + theme: true, + improvedtube_home: true, + title_version: true, + it_general: true, + it_appearance: true, + it_themes: true, + it_player: true, + it_playlist: true, + it_channel: true, + it_shortcuts: true, + it_blacklist: true, + it_analyzer: true, + layer_animation_scale: false + }; + + for (var attribute in attributes) { + var value = satus.storage.get(attribute); + + if (attribute === 'improvedtube_home') { + attribute = 'home-style'; + } + + if (satus.isset(value)) { + extension.skeleton.rendered.setAttribute(attribute.replace('it_', '').replace(/_/g, '-'), value); + } + } +}; + + +/*-------------------------------------------------------------- +# EXPORT SETTINGS +--------------------------------------------------------------*/ + +extension.exportSettings = function () { + if (location.href.indexOf('action=export-settings') !== -1) { + satus.render({ + component: 'modal', + variant: 'confirm', + content: 'areYouSureYouWantToExportTheData', + buttons: { + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function () { + this.modalProvider.close(); + } + } + }, + ok: { + component: 'button', + text: 'ok', + on: { + click: function () { + try { + var blob = new Blob([JSON.stringify(satus.storage.data)], { + type: 'application/json;charset=utf-8' + }); + + chrome.permissions.request({ + permissions: ['downloads'] + }, function (granted) { + if (granted) { + chrome.downloads.download({ + url: URL.createObjectURL(blob), + filename: 'improvedtube.json', + saveAs: true + }, function () { + setTimeout(function () { + close(); + }, 1000); + }); + } + }); + } catch (error) { + console.error(error); + } + } + } + } + } + }, extension.skeleton.rendered); + } +}; + + +/*-------------------------------------------------------------- +# IMPORT SETTINGS +--------------------------------------------------------------*/ + +extension.importSettings = function () { + if (location.href.indexOf('action=import-settings') !== -1) { + satus.render({ + component: 'modal', + variant: 'confirm', + content: 'areYouSureYouWantToImportTheData', + buttons: { + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function () { + this.modalProvider.close(); + } + } + }, + ok: { + component: 'button', + text: 'ok', + on: { + click: function () { + var input = document.createElement('input'); + + input.type = 'file'; + + input.addEventListener('change', function () { + var file_reader = new FileReader(); + + file_reader.onload = function () { + var data = JSON.parse(this.result); + + for (var key in data) { + satus.storage.set(key, data[key]); + } + + setTimeout(function () { + chrome.runtime.sendMessage({ + action: 'import-settings' + }); + + setTimeout(function () { + close(); + }, 128); + }, 256); + }; + + file_reader.readAsText(this.files[0]); + }); + + input.click(); + } + } + } + } + }, extension.skeleton.rendered); + } +}; \ No newline at end of file diff --git a/options-page/index.html b/options-page/index.html new file mode 100644 index 000000000..dd8dd27dc --- /dev/null +++ b/options-page/index.html @@ -0,0 +1,48 @@ + + + + + + ImprovedTube + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/options-page/index.js b/options-page/index.js new file mode 100644 index 000000000..9741582c5 --- /dev/null +++ b/options-page/index.js @@ -0,0 +1,58 @@ +/*-------------------------------------------------------------- +>>> INDEX: +---------------------------------------------------------------- +# Global variable +# Initialization +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# GLOBAL VARIABLE +--------------------------------------------------------------*/ + +var extension = { + skeleton: {} +}; + + +/*-------------------------------------------------------------- +# INITIALIZATION +--------------------------------------------------------------*/ + +satus.storage.import(function (items) { + var language = items.language; + + if (!language || language === 'default') { + language = window.navigator.language; + } + + satus.locale.import(language, function () { + satus.render(extension.skeleton); + + extension.exportSettings(); + extension.importSettings(); + + satus.parentify(extension.skeleton, [ + 'attr', + 'baseProvider', + 'layersProvider', + 'rendered', + 'storage', + 'parentObject', + 'parentSkeleton', + 'childrenContainer', + 'value' + ]); + + extension.attributes(); + }, '_locales/'); + + satus.events.on('storage-set', extension.attributes); +}); + +chrome.runtime.sendMessage({ + action: 'options-page-connected' +}, function (response) { + if (response.isTab) { + document.body.setAttribute('tab', ''); + } +}); \ No newline at end of file diff --git a/options-page/skeleton-parts/active-features.js b/options-page/skeleton-parts/active-features.js new file mode 100644 index 000000000..3c1ad2e14 --- /dev/null +++ b/options-page/skeleton-parts/active-features.js @@ -0,0 +1,134 @@ +/*-------------------------------------------------------------- +>>> ACTIVE FEATURES +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.activeFeatures = { + component: 'button', + on: { + click: { + component: 'section', + variant: 'card', + on: { + render: function () { + var component = this; + + satus.search('', extension.skeleton, function (features) { + var skeleton = {}; + + for (var key in features) { + var feature = features[key], + default_value = feature.value, + value = satus.storage.get(feature.storage || key), + parent_object = feature; + + if (!satus.isset(default_value)) { + if (feature.component === 'select') { + if (feature.options && feature.options[0]) { + default_value = feature.options[0].value; + } + } else { + default_value = false; + } + } + + if (satus.isset(value) && value != default_value) { + while ( + parent_object.parentObject && + !parent_object.parentObject.category + ) { + parent_object = parent_object.parentObject; + } + + if (parent_object.parentObject) { + var category = parent_object.parentObject.label.text; + + parent_object = feature; + + while ( + parent_object.parentObject && + parent_object.parentObject.component !== 'button' + ) { + parent_object = parent_object.parentObject; + } + + parent_object = parent_object.parentObject; + + if (parent_object) { + if (parent_object.label) { + var subcategory = parent_object.label.text; + } else { + var subcategory = parent_object.text; + } + + if (category === subcategory) { + var text = satus.locale.get(category); + } else { + var text = satus.locale.get(category) + ' > ' + satus.locale.get(subcategory); + } + + if (!skeleton[category + subcategory]) { + skeleton[category + subcategory] = { + component: 'section', + variant: 'card', + title: text + }; + } + + skeleton[category + subcategory][key] = feature; + } else { + if (!skeleton[category]) { + skeleton[category] = { + component: 'section', + variant: 'card', + title: category + }; + } + + skeleton[category][key] = feature; + } + } + } + } + + if (Object.keys(skeleton).length === 0) { + satus.render({ + component: 'span', + text: 'empty' + }, component); + } else { + satus.render(skeleton, component.parentNode); + + component.remove(); + } + }); + } + } + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'none', + 'stroke-width': '1.75' + }, + + path1: { + component: 'path', + attr: { + 'd': 'M22 11.08V12a10 10 0 11-5.93-9.14' + } + }, + path2: { + component: 'path', + attr: { + 'd': 'M22 4L12 14.01l-3-3' + } + } + }, + label: { + component: 'span', + text: 'activeFeatures' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/analyzer.js b/options-page/skeleton-parts/analyzer.js new file mode 100644 index 000000000..a1a83e20e --- /dev/null +++ b/options-page/skeleton-parts/analyzer.js @@ -0,0 +1,219 @@ +/*-------------------------------------------------------------- +>>> ANALYZER +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.analyzer = { + component: 'button', + variant: 'analyzer', + on: { + click: { + analyzer_activation: { + component: 'switch', + variant: 'activation', + text: 'activate' + }, + chartSection: { + component: 'section', + variant: 'card', + title: 'watchTime', + + chart: { + component: 'chart', + type: 'bar', + labels: function () { + var labels = []; + + for (var i = 0; i < 4; i++) { + var hour = i * 6; + + if (satus.storage.get('use_24_hour_format') === false) { + if (hour === 0) { + hour = 12; + } + + if (hour > 12) { + hour = hour - 12 + 'P'; + } else { + hour += 'A'; + } + } else { + if (hour < 10) { + hour = '0' + hour; + } + } + + labels.push(String(hour)); + } + + return labels; + }, + datasets: function () { + var analyzer = satus.storage.get('analyzer'), + datasets = [], + channel_counter = {}, + max = 3600; + + if (satus.isObject(analyzer)) { + var hours = analyzer[ /*new Date().toDateString()*/ 'Sun May 29 2022']; + + if (satus.isObject(hours)) { + for (var hour in hours) { + var channels = hours[hour], + max2 = 0; + + if (satus.isObject(channels)) { + for (var name in channels) { + var seconds = channels[name]; + + if (satus.isNumber(seconds)) { + if (!satus.isObject(channel_counter[name])) { + channel_counter[name] = { + label: name, + data: [] + }; + + for (var i = 0; i < 24; i++) { + channel_counter[name].data.push(0); + } + } + + channel_counter[name].data[hour] = seconds; + + max2 += seconds; + } + } + } + + if (max2 > max) { + max = max2; + } + } + } + } + + for (var i = 0, k = Object.keys(channel_counter), l = k.length; i < l; i++) { + var channel = channel_counter[k[i]]; + + channel.color = satus.color.hslToRgb([360 / l * i, 100, 40]); + + for (var j = 0, m = channel.data.length; j < m; j++) { + channel.data[j] = channel.data[j] / (max / 100); + + if (channel.data[j] < 1) { + channel.data[j] = 0; + } + } + + datasets.push(channel); + } + + return datasets; + } + } + }, + mostViewedChannelsSection: { + component: 'section', + variant: 'card', + title: 'mostViewedChannels', + on: { + render: function () { + var analyzer = satus.storage.get('analyzer'), + array = [], + object = {}; + + if (satus.isObject(analyzer)) { + for (var key in analyzer) { + var date = analyzer[key]; + + if (satus.isObject(date)) { + for (var hour in date) { + var channels = date[hour]; + + if (satus.isObject(channels)) { + for (var name in channels) { + var data = channels[name]; + + if (satus.isNumber(data)) { + if (!satus.isObject(object[name])) { + object[name] = 0; + } + + object[name] += data; + } + } + } + } + } + } + } + + for (var key in object) { + var hours = 0, + minutes = 0, + seconds = object[key]; + + hours = Math.floor(seconds / 60 / 60); + minutes = Math.floor(seconds / 60) % 60; + seconds = Math.floor(seconds - minutes * 60); + + if (hours < 10) { + hours = '0' + hours; + } + + if (minutes < 10) { + minutes = '0' + minutes; + } + + if (seconds < 10) { + seconds = '0' + seconds; + } + + array.push([ + key, + hours + ':' + minutes + ':' + seconds + ]); + } + + if (array.length > 0) { + satus.render({ + component: 'list', + items: satus.sort(array, 'desc', 1).slice(0, 8) + }, this); + } else { + satus.render({ + component: 'span', + text: 'empty' + }, this); + } + } + } + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'transparent', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + 'd': 'M21.21 15.89A10 10 0 118 2.83M22 12A10 10 0 0012 2v10z' + } + } + } + }, + label: { + component: 'span', + text: 'analyzer' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/appearance.js b/options-page/skeleton-parts/appearance.js new file mode 100644 index 000000000..aa2faf110 --- /dev/null +++ b/options-page/skeleton-parts/appearance.js @@ -0,0 +1,845 @@ +/*-------------------------------------------------------------- +>>> APPEARANCE +---------------------------------------------------------------- +# Header +# Player +# Details +# Comments +# Footer +# Sidebar +--------------------------------------------------------------*/ +extension.skeleton.main.layers.section.appearance = { + component: "button", + variant: "appearance", + category: true, + on: { + click: { + component: "section", + variant: "appearance", + }, + }, + + icon: { + component: "span", + + svg: { + component: "svg", + attr: { + viewBox: "0 0 24 24", + fill: "transparent", + stroke: "currentColor", + "stroke-linecap": "round", + "stroke-width": "1.75", + }, + + path: { + component: "path", + attr: { + d: "M17 3a2.83 2.83 0 114 4L7.5 20.5 2 22l1.5-5.5L17 3z", + }, + }, + }, + }, + label: { + component: "span", + text: "appearance", + }, +}; + +/*-------------------------------------------------------------- +# HEADER +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.appearance.on.click.header = { + component: "button", + variant: "header", + text: "header", + on: { + click: { + component: "section", + variant: "card", + + header_position: { + component: "select", + text: "position", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "hidden", + value: "hidden", + }, + { + text: "hover", + value: "hover", + }, + { + text: "hiddenOnVideoPage", + value: "hidden_on_video_page", + }, + { + text: "hoverOnVideoPage", + value: "hover_on_video_page", + }, + { + text: "static", + value: "static", + }, + ], + tags: "hide,hover,static,top", + }, + header_improve_logo: { + component: "switch", + text: "improveLogo", + tags: "youtube", + }, + header_hide_right_buttons: { + component: "switch", + text: "hideRightButtons", + tags: "user", + }, + header_hide_country_code: { + component: "switch", + text: "hideCountryCode", + tags: "country,code", + }, + hide_voice_search_button: { + component: "switch", + text: "hideVoiceSearchButton", + }, + }, + }, +}; + +/*-------------------------------------------------------------- +# PLAYER +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.appearance.on.click.player = { + component: "button", + variant: "player", + text: "player", + on: { + click: { + component: "section", + variant: "card", + + player_size: { + component: "select", + variant: "player-size", + text: "playerSize", + options: [ + { + text: "doNotChange", + value: "do_not_change", + }, + { + text: "Max. width within the page", + value: "max_width", + }, + { + text: "fullWindow", + value: "full_window", + }, + { + text: "fitToWindow", + value: "fit_to_window", + }, + { + text: "240p", + value: "240p", + }, + { + text: "360p", + value: "360p", + }, + { + text: "480p", + value: "480p", + }, + { + text: "576p", + value: "576p", + }, + { + text: "720p", + value: "720p", + }, + { + text: "1080p", + value: "1080p", + }, + { + text: "1440p", + value: "1440p", + }, + { + text: "2160p", + value: "2160p", + }, + { + text: "custom", + value: "custom", + }, + ], + }, + customPlayerSizeSection: { + component: "section", + variant: "custom-player-size", + + custom_player_size_width: { + component: "text-field", + placeholder: "1280", + storage: "custom_player_size_width", + }, + x: { + component: "span", + text: "x", + }, + custom_player_size_height: { + component: "text-field", + placeholder: "720", + storage: "custom_player_size_height", + }, + }, + hide_controls: { + component: "select", + text: "hidePlayerControlsBar", + options: [ + { + text: "off", + value: "off", + default: "true", + }, + { + text: "whenPaused", + value: "when_paused", + }, + { + text: "always", + value: "always", + }, + ], + storage: "player_hide_controls", + }, + player_hide_controls_options: { + component: "button", + text: "hidePlayerControlsBarButtons", + on: { + click: { + component: "section", + variant: "card", + + player_play_button: { + component: "switch", + text: "playPause", + }, + player_previous_button: { + component: "switch", + text: "previousVideo", + }, + player_next_button: { + component: "switch", + text: "nextVideo", + }, + player_volume_button: { + component: "switch", + text: "volume", + }, + player_autoplay_button: { + component: "switch", + text: "autoplay", + }, + player_settings_button: { + component: "switch", + text: "settings", + }, + player_subtitles_button: { + component: "switch", + text: "subtitles", + }, + player_miniplayer_button: { + component: "switch", + text: "nativeMiniPlayer", + }, + player_view_button: { + component: "switch", + text: "viewMode", + }, + player_screen_button: { + component: "switch", + text: "screen", + }, + player_remote_button: { + component: "switch", + text: "remote", + }, + }, + }, + }, + forced_theater_mode: { + component: "switch", + text: "forcedTheaterMode", + tags: "wide", + }, + hide_gradient_bottom: { + component: "switch", + text: "hideGradientBottom", + }, + player_hide_skip_overlay: { + component: "switch", + text: "hideSkipOverlay", + value: false, + tags: "remove,hide", + }, + player_remaining_duration: { + component: "switch", + text: "showRemainingDuration", + id: "show-remaining-duration", + value: false, + }, + duration_with_speed: { + component: "switch", + text: "durationWithSpeed", + value: false, + }, + always_show_progress_bar: { + component: "switch", + text: "alwaysShowProgressBar", + }, + player_color: { + component: "select", + text: "playerColor", + options: [ + { + text: "red", + value: "red", + }, + { + text: "pink", + value: "pink", + }, + { + text: "purple", + value: "purple", + }, + { + text: "deepPurple", + value: "deep_purple", + }, + { + text: "indigo", + value: "indigo", + }, + { + text: "blue", + value: "blue", + }, + { + text: "lightBlue", + value: "light_blue", + }, + { + text: "cyan", + value: "cyan", + }, + { + text: "teal", + value: "teal", + }, + { + text: "green", + value: "green", + }, + { + text: "lightGreen", + value: "light_green", + }, + { + text: "lime", + value: "lime", + }, + { + text: "yellow", + value: "yellow", + }, + { + text: "amber", + value: "amber", + }, + { + text: "orange", + value: "orange", + }, + { + text: "deepOrange", + value: "deep_orange", + }, + { + text: "brown", + value: "brown", + }, + { + text: "blueGray", + value: "blue_gray", + }, + { + text: "white", + value: "white", + }, + ], + tags: "style", + }, + player_transparent_background: { + component: "switch", + text: "transparentBackground", + }, + player_hide_annotations: { + component: "switch", + text: "hideAnnotations", + tags: "hide,remove,elements", + }, + player_hide_cards: { + component: "switch", + text: "hideCards", + tags: "hide,remove,elements", + }, + player_show_cards_on_mouse_hover: { + component: "switch", + text: "showCardsOnMouseHover", + tags: "hide,remove,elements", + }, + player_hide_endscreen: { + component: "switch", + text: "hideEndscreen", + }, + player_hd_thumbnail: { + component: "switch", + text: "hdThumbnail", + tags: "preview", + }, + hide_scroll_for_details: { + component: "switch", + text: "hideScrollForDetails", + tags: "remove,hide", + }, + }, + }, +}; + +/*-------------------------------------------------------------- +# DETAIL +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.appearance.on.click.details = { + component: "button", + variant: "details", + text: "details", + on: { + click: { + component: "section", + variant: "card", + description: { + component: "select", + text: "description", + + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "expanded", + value: "expanded", + }, + { + text: "Classic", + value: "classic", + }, + { + text: "Classic expanded", + value: "classic_expanded", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_details_button: { + component: "button", + text: "hideDetailButton", + on: { + click: { + component: "section", + variant: "card", + youtubesdetailbuttons: { + component: "select", + text: "YouTube's detail buttons", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "Remove names", + value: "remove_labels", + }, + { + text: "Faint/transparent", + value: "faint_transparent", + }, + { + text: "Remove", + value: "remove", + }, + { + text: "Hide names", + value: "hide_labels", + }, + { + text: "Remove icons", + value: "remove_icons", + }, + ], + tags: "hide,remove", + }, + likes: { + component: "select", + text: "'like'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_dislike_button: { + component: "select", + text: "'dislike'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + red_dislike_button: { + component: "switch", + text: "redDislikeButton", + }, + hide_share_button: { + component: "select", + text: "'share'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_download_button: { + component: "select", + text: "'download'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_thanks_button: { + component: "select", + text: "'thanks'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_clip_button: { + component: "select", + text: "'clip'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_save_button: { + component: "select", + text: "'save'", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "iconsOnly", + value: "icons_only", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "hide,remove", + }, + hide_report_button: { + component: "switch", + text: "hide 'report'", + tags: "hide,remove", + }, + hide_more_button: { + component: "switch", + text: "hide 'more'", + tags: "hide,remove", + }, + }, + }, + }, + hide_views_count: { + component: "switch", + text: "hideViewsCount", + tags: "hide,remove", + }, + hide_details: { + component: "switch", + text: "hideDetails", + tags: "hide,remove", + }, + day_of_week: { + component: "switch", + text: "displayDayOfTheWeak", + }, + hide_date: { + component: "switch", + text: "hideDate", + tags: "hide,remove", + }, + api: {component: 'section', + variant: 'card', + title: "(Currently requiring a YouTube-API-key: )", + + how_long_ago_the_video_was_uploaded: { + component: "switch", + text: "howLongAgoTheVideoWasUploaded", + }, + channel_videos_count: { + component: "switch", + text: "showChannelVideosCount", + }, + },}, + }, +}; + +/*-------------------------------------------------------------- +# COMMENTS +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.appearance.on.click.comments = { + component: "button", + variant: "comments", + text: "comments", + on: { + click: { + component: "section", + variant: "card", + + comments: { + component: "select", + text: "comments", + + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "collapsed", + value: "collapsed", + }, + { + text: "hidden", + value: "hidden", + }, + ], + }, + comments_sidebar_position: { + component: "switch", + text: "SidebarPosition", + }, + squared_user_images: { + component: 'switch', + text: 'squaredUserImages', + tags: 'avatar' + }, + hide_author_avatars: { + component: "switch", + text: "Hide avatars", + }, + hide_comments_count: { + component: "switch", + text: "hideCommentsCount", + tags: "hide,remove", + }, + }, + }, +}; + +/*-------------------------------------------------------------- +# FOOTER +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.appearance.on.click.footer = { + component: "button", + variant: "footer", + text: "footer", + on: { + click: { + component: "section", + variant: "card", + + hide_footer: { + component: "switch", + text: "hideFooter", + tags: "bottom", + }, + }, + }, +}; + +/*-------------------------------------------------------------- +# SIDEBAR +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.appearance.on.click.sidebar = { + component: "button", + variant: "sidebar", + text: "sidebar", + on: { + click: { + component: "section", + variant: "card", + + related_videos: { + component: "select", + text: "relatedVideos", + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "collapsed", + value: "collapsed", + }, + { + text: "hidden", + value: "hidden", + }, + ], + tags: "right", + }, + no_page_margin: { + component: 'switch', + text: 'To the side! (No page margin)', + value: false + }, + sidebar_left: { + component: "switch", + text: "moveSidebarLeft", + }, + thumbnails_right: { + component: "switch", + text: "moveThumbnailsRight", + }, + thumbnails_hide: { + component: "switch", + text: "hideThumbnails", + }, + livechat: { + component: "select", + text: "liveChat", + + options: [ + { + text: "normal", + value: "normal", + }, + { + text: "collapsed", + value: "collapsed", + }, + { + text: "hidden", + value: "hidden", + }, + ], + }, + hide_playlist: { + component: "switch", + text: "hidePlaylist", + }, + }, + }, +}; diff --git a/options-page/skeleton-parts/blacklist.js b/options-page/skeleton-parts/blacklist.js new file mode 100644 index 000000000..7a6c4b091 --- /dev/null +++ b/options-page/skeleton-parts/blacklist.js @@ -0,0 +1,213 @@ +/*-------------------------------------------------------------- +>>> BLACKLIST +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.blacklist = { + component: 'button', + variant: 'blacklist', + category: true, + on: { + click: { + blacklist_activate: { + component: 'switch', + variant: 'activation', + text: 'activate' + }, + section2: { + component: 'section', + variant: 'card', + + channels: { + component: 'button', + text: 'channels', + on: { + click: { + component: 'section', + variant: 'card', + on: { + render: function () { + var skeleton = {}, + blacklist = satus.storage.get('blacklist'); + + if (blacklist && blacklist.channels) { + for (var key in blacklist.channels) { + var channel = blacklist.channels[key]; + + if (channel !== false) { + skeleton[key] = { + component: 'div', + variant: 'blacklist', + data: { + id: key + }, + + title: { + component: 'div', + text: channel.title || '' + }, + delete: { + component: 'button', + on: { + click: function () { + var blacklist = satus.storage.get('blacklist'), + component = this.parentNode; + + if (blacklist && blacklist.channels) { + delete blacklist.channels[component.dataset.id]; + + satus.storage.set('blacklist', blacklist, function () { + component.remove(); + }); + } + } + }, + + svg: { + component: 'svg', + attr: { + 'fill': 'currentColor', + 'viewBox': '0 0 24 24' + }, + + path: { + component: 'path', + attr: { + 'd': 'M6 19c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v10zM18 4h-2.5l-.7-.7A1 1 0 0 0 14 3H9.9a1 1 0 0 0-.7.3l-.7.7H6c-.6 0-1 .5-1 1s.5 1 1 1h12c.6 0 1-.5 1-1s-.5-1-1-1z' + } + } + } + } + }; + } + } + } + + if (Object.keys(skeleton).length === 0) { + satus.render({ + component: 'span', + text: 'empty' + }, this); + } else { + satus.render(skeleton, this); + } + } + } + } + } + }, + videos: { + component: 'button', + text: 'videos', + on: { + click: { + component: 'section', + variant: 'card', + on: { + render: function () { + var skeleton = {}, + blacklist = satus.storage.get('blacklist'); + + if (blacklist && blacklist.videos) { + for (var key in blacklist.videos) { + var video = blacklist.videos[key]; + + if (video !== false) { + skeleton[key] = { + component: 'div', + variant: 'blacklist', + data: { + id: key + }, + + title: { + component: 'div', + text: video.title || '' + }, + delete: { + component: 'button', + on: { + click: function () { + var blacklist = satus.storage.get('blacklist'), + component = this.parentNode; + + if (blacklist && blacklist.videos) { + delete blacklist.videos[component.dataset.id]; + + satus.storage.set('blacklist', blacklist, function () { + component.remove(); + }); + } + } + }, + + svg: { + component: 'svg', + attr: { + 'fill': 'currentColor', + 'viewBox': '0 0 24 24' + }, + + path: { + component: 'path', + attr: { + 'd': 'M6 19c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v10zM18 4h-2.5l-.7-.7A1 1 0 0 0 14 3H9.9a1 1 0 0 0-.7.3l-.7.7H6c-.6 0-1 .5-1 1s.5 1 1 1h12c.6 0 1-.5 1-1s-.5-1-1-1z' + } + } + } + } + }; + } + } + } + + if (Object.keys(skeleton).length === 0) { + satus.render({ + component: 'span', + text: 'empty' + }, this); + } else { + satus.render(skeleton, this); + } + } + } + } + } + } + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'transparent', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + circle: { + component: 'circle', + attr: { + 'cx': '12', + 'cy': '12', + 'r': '10' + } + }, + path: { + component: 'path', + attr: { + 'd': 'M4.93 4.93l14.14 14.14' + } + } + } + }, + label: { + component: 'span', + text: 'blacklist' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/channel.js b/options-page/skeleton-parts/channel.js new file mode 100644 index 000000000..2167718dc --- /dev/null +++ b/options-page/skeleton-parts/channel.js @@ -0,0 +1,80 @@ +/*-------------------------------------------------------------- +>>> CHANNEL +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.channel = { + component: 'button', + variant: 'channel', + category: true, + on: { + click: { + component: 'section', + variant: 'card', + + channel_default_tab: { + component: 'select', + text: 'defaultChannelTab', + options: [{ + text: 'home', + value: '/home' + }, { + text: 'videos', + value: '/videos' + }, { + text: 'playlists', + value: '/playlists' + }] + }, + channel_trailer_autoplay: { + component: 'switch', + text: 'trailerAutoplay', + value: true + }, + channel_play_all_button: { + component: 'switch', + text: 'playAllButton' + }, + channel_hide_featured_content: { + component: 'switch', + text: 'hideFeaturedContent' + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'transparent', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + rect: { + component: 'rect', + attr: { + 'width': '20', + 'height': '15', + 'x': '2', + 'y': '7', + 'rx': '2', + 'ry': '2' + } + }, + path: { + component: 'path', + attr: { + 'd': 'M17 2l-5 5-5-5' + } + } + } + }, + label: { + component: 'span', + text: 'channel' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/general.js b/options-page/skeleton-parts/general.js new file mode 100644 index 000000000..4a3c385ad --- /dev/null +++ b/options-page/skeleton-parts/general.js @@ -0,0 +1,1225 @@ +/*-------------------------------------------------------------- +>>> GENERAL +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.general = { + component: 'button', + variant: 'general', + category: true, + on: { + click: { + section_1: { + component: 'section', + variant: 'card', +default_content_country: { + component: 'select', + text: 'defaultContentCountry', + options: [{ + text: "default", + value: "default" + }, + { + text: "Afghanistan", + value: "AF" + }, + { + text: "Albania", + value: "AL" + }, + { + text: "Algeria", + value: "DZ" + }, + { + text: "American Samoa", + value: "AS" + }, + { + text: "Andorra", + value: "AD" + }, + { + text: "Angola", + value: "AO" + }, + { + text: "Anguilla", + value: "AI" + }, + { + text: "Antarctica", + value: "AQ" + }, + { + text: "Antigua and Barbuda", + value: "AG" + }, + { + text: "Argentina", + value: "AR" + }, + { + text: "Armenia", + value: "AM" + }, + { + text: "Aruba", + value: "AW" + }, + { + text: "Australia", + value: "AU" + }, + { + text: "Austria", + value: "AT" + }, + { + text: "Azerbaijan", + value: "AZ" + }, + { + text: "Bahrain", + value: "BH" + }, + { + text: "Bailiwick of Guernsey", + value: "GG" + }, + { + text: "Bangladesh", + value: "BD" + }, + { + text: "Barbados", + value: "BB" + }, + { + text: "Belarus", + value: "BY" + }, + { + text: "Belgium", + value: "BE" + }, + { + text: "Belize", + value: "BZ" + }, + { + text: "Benin", + value: "BJ" + }, + { + text: "Bermuda", + value: "BM" + }, + { + text: "Bhutan", + value: "BT" + }, + { + text: "Bolivia", + value: "BO" + }, + { + text: "Bonaire", + value: "BQ" + }, + { + text: "Bosnia and Herzegovina", + value: "BA" + }, + { + text: "Botswana", + value: "BW" + }, + { + text: "Bouvet Island", + value: "BV" + }, + { + text: "Brazil", + value: "BR" + }, + { + text: "British Indian Ocean Territory", + value: "IO" + }, + { + text: "British Virgin Islands", + value: "VG" + }, + { + text: "Brunei", + value: "BN" + }, + { + text: "Bulgaria", + value: "BG" + }, + { + text: "Burkina Faso", + value: "BF" + }, + { + text: "Burundi", + value: "BI" + }, + { + text: "Cambodia", + value: "KH" + }, + { + text: "Cameroon", + value: "CM" + }, + { + text: "Canada", + value: "CA" + }, + { + text: "Cape Verde", + value: "CV" + }, + { + text: "Cayman Islands", + value: "KY" + }, + { + text: "Central African Republic", + value: "CF" + }, + { + text: "Chad", + value: "TD" + }, + { + text: "Chile", + value: "CL" + }, + { + text: "China", + value: "CN" + }, + { + text: "Christmas Island", + value: "CX" + }, + { + text: "Cocos (Keeling) Islands", + value: "CC" + }, + { + text: "Collectivity of Saint Martin", + value: "MF" + }, + { + text: "Colombia", + value: "CO" + }, + { + text: "Comoros", + value: "KM" + }, + { + text: "Cook Islands", + value: "CK" + }, + { + text: "Costa Rica", + value: "CR" + }, + { + text: "Croatia", + value: "HR" + }, + { + text: "Cuba", + value: "CU" + }, + { + text: "Curaçao", + value: "CW" + }, + { + text: "Cyprus", + value: "CY" + }, + { + text: "Czech Republic", + value: "CZ" + }, + { + text: "Democratic Republic of the Congo", + value: "CD" + }, + { + text: "Denmark", + value: "DK" + }, + { + text: "Djibouti", + value: "DJ" + }, + { + text: "Dominica", + value: "DM" + }, + { + text: "Dominican Republic", + value: "DO" + }, + { + text: "East Timor", + value: "TL" + }, + { + text: "Ecuador", + value: "EC" + }, + { + text: "Egypt", + value: "EG" + }, + { + text: "El Salvador", + value: "SV" + }, + { + text: "Equatorial Guinea", + value: "GQ" + }, + { + text: "Eritrea", + value: "ER" + }, + { + text: "Estonia", + value: "EE" + }, + { + text: "Eswatini", + value: "SZ" + }, + { + text: "Ethiopia", + value: "ET" + }, + { + text: "Falkland Islands", + value: "FK" + }, + { + text: "Faroe Islands", + value: "FO" + }, + { + text: "Federated States of Micronesia", + value: "FM" + }, + { + text: "Fiji", + value: "FJ" + }, + { + text: "Finland", + value: "FI" + }, + { + text: "France", + value: "FR" + }, + { + text: "French Guiana", + value: "GF" + }, + { + text: "French Polynesia", + value: "PF" + }, + { + text: "French Southern and Antarctic Lands", + value: "TF" + }, + { + text: "Gabon", + value: "GA" + }, + { + text: "Georgia (country)", + value: "GE" + }, + { + text: "Germany", + value: "DE" + }, + { + text: "Ghana", + value: "GH" + }, + { + text: "Gibraltar", + value: "GI" + }, + { + text: "Greece", + value: "GR" + }, + { + text: "Greenland", + value: "GL" + }, + { + text: "Grenada", + value: "GD" + }, + { + text: "Guadeloupe", + value: "GP" + }, + { + text: "Guam", + value: "GU" + }, + { + text: "Guatemala", + value: "GT" + }, + { + text: "Guinea", + value: "GN" + }, + { + text: "Guinea-Bissau", + value: "GW" + }, + { + text: "Guyana", + value: "GY" + }, + { + text: "Haiti", + value: "HT" + }, + { + text: "Heard Island and McDonald Islands", + value: "HM" + }, + { + text: "Holy See", + value: "VA" + }, + { + text: "Honduras", + value: "HN" + }, + { + text: "Hong Kong", + value: "HK" + }, + { + text: "Hungary", + value: "HU" + }, + { + text: "Iceland", + value: "IS" + }, + { + text: "India", + value: "IN" + }, + { + text: "Indonesia", + value: "ID" + }, + { + text: "Iran", + value: "IR" + }, + { + text: "Iraq", + value: "IQ" + }, + { + text: "Isle of Man", + value: "IM" + }, + { + text: "Israel", + value: "IL" + }, + { + text: "Italy", + value: "IT" + }, + { + text: "Ivory Coast", + value: "CI" + }, + { + text: "Jamaica", + value: "JM" + }, + { + text: "Japan", + value: "JP" + }, + { + text: "Jersey", + value: "JE" + }, + { + text: "Jordan", + value: "JO" + }, + { + text: "Kazakhstan", + value: "KZ" + }, + { + text: "Kenya", + value: "KE" + }, + { + text: "Kiribati", + value: "KI" + }, + { + text: "Kuwait", + value: "KW" + }, + { + text: "Kyrgyzstan", + value: "KG" + }, + { + text: "Laos", + value: "LA" + }, + { + text: "Latvia", + value: "LV" + }, + { + text: "Lebanon", + value: "LB" + }, + { + text: "Lesotho", + value: "LS" + }, + { + text: "Liberia", + value: "LR" + }, + { + text: "Libya", + value: "LY" + }, + { + text: "Liechtenstein", + value: "LI" + }, + { + text: "Lithuania", + value: "LT" + }, + { + text: "Luxembourg", + value: "LU" + }, + { + text: "Macau", + value: "MO" + }, + { + text: "Madagascar", + value: "MG" + }, + { + text: "Malawi", + value: "MW" + }, + { + text: "Malaysia", + value: "MY" + }, + { + text: "Maldives", + value: "MV" + }, + { + text: "Mali", + value: "ML" + }, + { + text: "Malta", + value: "MT" + }, + { + text: "Marshall Islands", + value: "MH" + }, + { + text: "Martinique", + value: "MQ" + }, + { + text: "Mauritania", + value: "MR" + }, + { + text: "Mauritius", + value: "MU" + }, + { + text: "Mayotte", + value: "YT" + }, + { + text: "Mexico", + value: "MX" + }, + { + text: "Moldova", + value: "MD" + }, + { + text: "Monaco", + value: "MC" + }, + { + text: "Mongolia", + value: "MN" + }, + { + text: "Montenegro", + value: "ME" + }, + { + text: "Montserrat", + value: "MS" + }, + { + text: "Morocco", + value: "MA" + }, + { + text: "Mozambique", + value: "MZ" + }, + { + text: "Myanmar", + value: "MM" + }, + { + text: "Namibia", + value: "NA" + }, + { + text: "Nauru", + value: "NR" + }, + { + text: "Nepal", + value: "NP" + }, + { + text: "Netherlands", + value: "NL" + }, + { + text: "New Caledonia", + value: "NC" + }, + { + text: "New Zealand", + value: "NZ" + }, + { + text: "Nicaragua", + value: "NI" + }, + { + text: "Niger", + value: "NE" + }, + { + text: "Nigeria", + value: "NG" + }, + { + text: "Niue", + value: "NU" + }, + { + text: "Norfolk Island", + value: "NF" + }, + { + text: "North Korea", + value: "KP" + }, + { + text: "North Macedonia", + value: "MK" + }, + { + text: "Northern Mariana Islands", + value: "MP" + }, + { + text: "Norway", + value: "NO" + }, + { + text: "Oman", + value: "OM" + }, + { + text: "Pakistan", + value: "PK" + }, + { + text: "Palau", + value: "PW" + }, + { + text: "Panama", + value: "PA" + }, + { + text: "Papua New Guinea", + value: "PG" + }, + { + text: "Paraguay", + value: "PY" + }, + { + text: "Peru", + value: "PE" + }, + { + text: "Philippines", + value: "PH" + }, + { + text: "Pitcairn Islands", + value: "PN" + }, + { + text: "Poland", + value: "PL" + }, + { + text: "Portugal", + value: "PT" + }, + { + text: "Puerto Rico", + value: "PR" + }, + { + text: "Qatar", + value: "QA" + }, + { + text: "Republic of Ireland", + value: "IE" + }, + { + text: "Republic of the Congo", + value: "CG" + }, + { + text: "Romania", + value: "RO" + }, + { + text: "Russia", + value: "RU" + }, + { + text: "Rwanda", + value: "RW" + }, + { + text: "Réunion", + value: "RE" + }, + { + text: "Saint Barthélemy", + value: "BL" + }, + { + text: "Saint Helena", + value: "SH" + }, + { + text: "Saint Kitts and Nevis", + value: "KN" + }, + { + text: "Saint Lucia", + value: "LC" + }, + { + text: "Saint Pierre and Miquelon", + value: "PM" + }, + { + text: "Saint Vincent and the Grenadines", + value: "VC" + }, + { + text: "Samoa", + value: "WS" + }, + { + text: "San Marino", + value: "SM" + }, + { + text: "Saudi Arabia", + value: "SA" + }, + { + text: "Senegal", + value: "SN" + }, + { + text: "Serbia", + value: "RS" + }, + { + text: "Seychelles", + value: "SC" + }, + { + text: "Sierra Leone", + value: "SL" + }, + { + text: "Singapore", + value: "SG" + }, + { + text: "Sint Maarten", + value: "SX" + }, + { + text: "Slovakia", + value: "SK" + }, + { + text: "Slovenia", + value: "SI" + }, + { + text: "Solomon Islands", + value: "SB" + }, + { + text: "Somalia", + value: "SO" + }, + { + text: "South Africa", + value: "ZA" + }, + { + text: "South Georgia and the South Sandwich Islands", + value: "GS" + }, + { + text: "South Korea", + value: "KR" + }, + { + text: "South Sudan", + value: "SS" + }, + { + text: "Spain", + value: "ES" + }, + { + text: "Sri Lanka", + value: "LK" + }, + { + text: "State of Palestine", + value: "PS" + }, + { + text: "Sudan", + value: "SD" + }, + { + text: "Suriname", + value: "SR" + }, + { + text: "Svalbard", + value: "SJ" + }, + { + text: "Sweden", + value: "SE" + }, + { + text: "Switzerland", + value: "CH" + }, + { + text: "Syria", + value: "SY" + }, + { + text: "São Tomé and Príncipe", + value: "ST" + }, + { + text: "Taiwan", + value: "TW" + }, + { + text: "Tajikistan", + value: "TJ" + }, + { + text: "Tanzania", + value: "TZ" + }, + { + text: "Thailand", + value: "TH" + }, + { + text: "The Bahamas", + value: "BS" + }, + { + text: "The Gambia", + value: "GM" + }, + { + text: "Togo", + value: "TG" + }, + { + text: "Tokelau", + value: "TK" + }, + { + text: "Tonga", + value: "TO" + }, + { + text: "Trinidad and Tobago", + value: "TT" + }, + { + text: "Tunisia", + value: "TN" + }, + { + text: "Turkey", + value: "TR" + }, + { + text: "Turkmenistan", + value: "TM" + }, + { + text: "Turks and Caicos Islands", + value: "TC" + }, + { + text: "Tuvalu", + value: "TV" + }, + { + text: "Uganda", + value: "UG" + }, + { + text: "Ukraine", + value: "UA" + }, + { + text: "United Arab Emirates", + value: "AE" + }, + { + text: "United Kingdom", + value: "GB" + }, + { + text: "United States Virgin Islands", + value: "VI" + }, + { + text: "United States", + value: "UM" + }, + { + text: "United States", + value: "US" + }, + { + text: "Uruguay", + value: "UY" + }, + { + text: "Uzbekistan", + value: "UZ" + }, + { + text: "Vanuatu", + value: "VU" + }, + { + text: "Venezuela", + value: "VE" + }, + { + text: "Vietnam", + value: "VN" + }, + { + text: "Wallis and Futuna", + value: "WF" + }, + { + text: "Western Sahara", + value: "EH" + }, + { + text: "Yemen", + value: "YE" + }, + { + text: "Zambia", + value: "ZM" + }, + { + text: "Zimbabwe", + value: "ZW" + }, + { + text: "Åland Islands", + value: "AX" + } + ] + }, + youtube_home_page: { + component: 'select', + text: 'youtubeHomePage', + options: [{ + text: 'home', + value: '/' + }, { + text: 'trending', + value: '/feed/trending' + }, { + text: 'subscriptions', + value: '/feed/subscriptions' + }, { + text: 'history', + value: '/feed/history' + }, { + text: 'watchLater', + value: '/playlist?list=WL' + }, { + text: 'search', + value: 'search' + }, { + text: 'liked', + value: '/playlist?list=LL' + }, { + text: 'library', + value: '/feed/library' + }], + tags: 'trending,subscriptions,history,watch,search' + }, + collapse_of_subscription_sections: { + component: 'switch', + text: 'collapseOfSubscriptionSections' + }, + remove_related_search_results: { + component: 'switch', + text: 'removeRelatedSearchResults' + }, + }, + section_2: { + component: 'section', + variant: 'card', + title: 'watchedVideos', + + mark_watched_videos: { + component: 'switch', + text: 'markWatchedVideos', + on: { + click: function () { + if (satus.storage.get('mark_watched_videos')) { + if (!satus.storage.get('track_watched_videos')) { + this.nextSibling.click(); + } + } + } + } + }, + track_watched_videos: { + component: 'switch', + text: 'trackWatchedVideos' + }, + delete_watched_videos: { + component: 'button', + text: 'deleteWatchedVideos', + style: { + justifyContent: 'space-between' + }, + on: { + click: { + component: 'modal', + variant: 'confirm', + content: 'thisWillRemoveAllWatchedVideos', + buttons: { + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function () { + this.modalProvider.close(); + } + } + }, + reset: { + component: 'button', + text: 'accept', + on: { + click: function () { + var modal = this.parentNode.parentNode.parentNode; + + satus.storage.remove('watched'); + + modal.skeleton.parentSkeleton.counter.rendered.textContent = '0'; + + modal.close(); + } + } + } + } + } + }, + + counter: { + component: 'span', + style: { + opacity: .64 + }, + on: { + render: function () { + var watched = satus.storage.get('watched'); + + if (watched) { + this.textContent = Object.keys(watched).length; + } else { + this.textContent = '0'; + } + } + } + } + } + }, + section_3: { + component: 'section', + variant: 'card', + title: 'thumbnails', + hide_animated_thumbnails: { + component: 'switch', + text: 'hideAnimatedThumbnails', + tags: 'preview' + }, + popup_window_buttons: { + component: 'switch', + text: 'popupWindowButtons', + }, + hide_thumbnail_overlay: { + component: 'switch', + text: 'hideThumbnailOverlay', + tags: 'preview' + }, + thumbnails_quality: { + component: 'select', + text: 'thumbnailsQuality', + options: [{ + text: 'default', + value: 'null' + }, { + text: 'low', + value: 'default' + }, { + text: 'medium', + value: 'mqdefault' + }, { + text: 'high', + value: 'hqdefault' + }, { + text: 'sd', + value: 'sddefault' + }, { + text: 'hd', + value: 'maxresdefault' + }], + tags: 'preview quality' + } + }, + section_4: { + component: 'section', + variant: 'card', + title: 'more', + add_scroll_to_top: { + component: 'switch', + text: 'addScrollToTop', + tags: 'up' + }, + confirmation_before_closing: { + component: 'switch', + text: 'confirmationBeforeClosing', + tags: 'random prevent close exit' + }, + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'none', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + 'd': 'M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1zM4 22v-7' + } + } + } + }, + label: { + component: 'span', + text: 'general' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/mixer.js b/options-page/skeleton-parts/mixer.js new file mode 100644 index 000000000..ec472b3da --- /dev/null +++ b/options-page/skeleton-parts/mixer.js @@ -0,0 +1,127 @@ +/*-------------------------------------------------------------- +>>> MIXER +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.mixer = { + component: 'button', + on: { + click: { + component: 'section', + variant: 'card', + on: { + render: function () { + var component = this, + parent = component.parentNode; + + if (chrome && chrome.tabs) { + chrome.tabs.query({}, function (tabs) { + satus.render({ + component: 'span', + text: 'noOpenVideoTabs' + }, component); + + for (var i = 0, l = tabs.length; i < l; i++) { + var tab = tabs[i]; + + chrome.tabs.sendMessage(tab.id, { + action: 'mixer' + }, function (response) { + if (response) { + console.log(response); + if (component) { + component.remove(); + + component = undefined; + } + + satus.render({ + component: 'section', + class: 'satus-section--mixer', + style: { + 'backgroundImage': 'url(https://img.youtube.com/vi/' + response.url + '/0.jpg)', + }, + + title: { + component: 'h1', + text: response.title + }, + section: { + component: 'section', + data: { + 'noConnectionLabel': satus.locale.get('tryToReloadThePage') || 'tryToReloadThePage' + }, + + mixer_volume: { + component: 'slider', + variant: 'row', + text: 'volume', + data: { + id: response.tabId + }, + storage: false, + step: 1, + min: 0, + max: 100, + value: response.volume, + on: { + change: function () { + chrome.tabs.sendMessage(Number(this.dataset.id), { + action: 'set-volume', + value: this.storage.value + }); + } + } + }, + mixer_playback_speed: { + component: 'slider', + variant: 'row', + text: 'playbackSpeed', + data: { + id: response.tabId + }, + storage: false, + min: .1, + max: 8, + step: .05, + value: response.playbackRate, + on: { + change: function () { + chrome.tabs.sendMessage(Number(this.dataset.id), { + action: 'set-playback-speed', + value: this.storage.value + }); + } + } + } + } + }, parent); + } + }); + } + }); + } + } + } + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'none', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + 'd': 'M11 5L6 9H2v6h4l5 4V5zM19.07 4.93a10 10 0 010 14.14M15.54 8.46a5 5 0 010 7.07' + } + } + }, + label: { + component: 'span', + text: 'mixer' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/night-mode.js b/options-page/skeleton-parts/night-mode.js new file mode 100644 index 000000000..e4861db04 --- /dev/null +++ b/options-page/skeleton-parts/night-mode.js @@ -0,0 +1,96 @@ +/*-------------------------------------------------------------- +>>> NIGHT MODE +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.nightMode = { + component: 'button', + category: true, + on: { + click: { + filters: { + component: 'section', + variant: 'card', + title: 'filters', + + dim: { + component: 'slider', + variant: 'row', + text: 'dim', + step: 1, + max: 90, + value: 0 + }, + bluelight: { + component: 'slider', + variant: 'row', + text: 'bluelight', + step: 1, + max: 90, + value: 0 + } + }, + schedule: { + component: 'section', + variant: 'card', + title: 'schedule', + + schedule: { + component: 'select', + text: 'activate', + + options: [{ + text: 'disabled', + value: 'disabled' + }, { + text: 'sunsetToSunrise', + value: 'sunset_to_sunrise' + }, { + text: 'systemPeferenceDark', + value: 'system_peference_dark' + }, { + text: 'systemPeferenceLight', + value: 'system_peference_light' + }] + }, + schedule_time_from: { + component: 'time', + text: 'timeFrom', + variant: 'from', + hour12: function () { + return satus.storage.get('use_24_hour_format') === false; + } + }, + schedule_time_to: { + component: 'time', + text: 'timeTo', + variant: 'to', + hour12: function () { + return satus.storage.get('use_24_hour_format') === false; + } + } + } + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'none', + 'stroke-linecap': 'round', + 'stroke-linejoin': 'round', + 'stroke-width': '1.75' + }, + + path1: { + component: 'path', + attr: { + 'd': 'M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z' + } + } + }, + label: { + component: 'span', + text: 'nightMode' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/player.js b/options-page/skeleton-parts/player.js new file mode 100644 index 000000000..aa76718c9 --- /dev/null +++ b/options-page/skeleton-parts/player.js @@ -0,0 +1,1039 @@ +/*-------------------------------------------------------------- +>>> PLAYER +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.player = { + component: 'button', + variant: 'player', + category: true, + on: { + click: {} + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'transparent', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + 'd': 'M5 3l14 9-14 9V3z' + } + } + } + }, + label: { + component: 'span', + text: 'player' + } +}; + + +/*-------------------------------------------------------------- +# SECTION +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.player.on.click = { + section_1: { + component: 'section', + variant: 'card', + + autoplay: { + component: 'switch', + text: 'autoplay', + value: true, + storage: 'player_autoplay' + }, + autopause_when_switching_tabs: { + component: 'switch', + text: 'autopauseWhenSwitchingTabs', + storage: 'player_autopause_when_switching_tabs', + on: { click: function () { + if (satus.storage.get('player_autopause_when_switching_tabs')) { + if (satus.storage.get('only_one_player_instance_playing')) { + this.nextSibling.click(); + } + } + } + } + }, + only_one_player_instance_playing: { + component: 'switch', + text: 'onlyOnePlayerInstancePlaying', + on: { + click: function () { + if (satus.storage.get('only_one_player_instance_playing')) { + if (satus.storage.get('player_autopause_when_switching_tabs')) { + this.previousSibling.click(); + } + } + } + } + }, + ads: { + text: 'ads', + component: 'select', + options: [{ + text: 'onAllVideos', + value: 'all_videos', + default: 'true' + }, { + text: 'blockAll', + value: 'block_all' + }, { + text: 'blockMusic', + value: 'block_music' + }, { + text: 'onSubscribedChannels', + value: 'subscribed_channels' + }], + storage: 'player_ads' + }, + quality: { + component: 'select', + text: 'quality', + options: [{ + text: 'auto', + value: 'auto' + }, { + text: '144p', + value: 'tiny' + }, { + text: '240p', + value: 'small' + }, { + text: '360p', + value: 'medium' + }, { + text: '480p', + value: 'large' + }, { + text: '720p', + value: 'hd720' + }, { + text: '1080p', + value: 'hd1080' + }, { + text: '1440p', + value: 'hd1440' + }, { + text: '2160p', + value: 'hd2160' + }, { + text: '2880p', + value: 'hd2880' + }, { + text: '4320p', + value: 'highres' + }], + storage: 'player_quality' + }, + player_forced_volume: { + component: 'switch', + text: 'forcedVolume', + id: 'forced-volume' + }, + player_volume: { + component: 'slider', + text: 'volume', + step: 1, + max: 400, + value: 100 + }, + player_loudness_normalization: { + component: 'switch', + text: 'loudnessNormalization', + value: true + }, + player_forced_playback_speed: { + component: 'switch', + text: 'forcedPlaybackSpeed', + id: 'forced-playback-speed' + }, + player_force_speed_on_music: { + component: 'switch', + text: 'forcedPlaybackSpeedMusic', + id: 'forced-playback-speed-music' + }, + player_playback_speed: { + component: 'slider', + text: 'playbackSpeed', + textarea: true, + value: 1, + min: .1, + max: 8, + step: .05 + }, + + forced_play_video_from_the_beginning: { + component: 'switch', + text: 'forcedPlayVideoFromTheBeginning' + }, + autofullscreen: { + component: 'switch', + text: 'autoFullscreen', + storage: 'player_autofullscreen' + }, + subtitles: { + component: 'button', + text: 'subtitles', + on: { + click: { + component: 'section', + variant: 'card', + + player_subtitles: { + component: 'switch', + text: 'subtitles' + }, + auto_generate: { + component: 'switch', + text: 'Allow auto generate' + }, + subtitles_language: { + component: 'select', + text: 'language', + options: [{ + value: 'default', + text: 'default' + }, + { + value: 'af', + text: 'Afrikaans' + }, + { + value: 'sq', + text: 'Albanian' + }, + { + value: 'am', + text: 'Amharic' + }, + { + value: 'ar', + text: 'Arabic' + }, + { + value: 'hy', + text: 'Armenian' + }, + { + value: 'az', + text: 'Azerbaijani' + }, + { + value: 'bn', + text: 'Bangla' + }, + { + value: 'eu', + text: 'Basque' + }, + { + value: 'be', + text: 'Belarusian' + }, + { + value: 'bs', + text: 'Bosnian' + }, + { + value: 'bg', + text: 'Bulgarian' + }, + { + value: 'my', + text: 'Burmese' + }, + { + value: 'ca', + text: 'Catalan' + }, + { + value: 'ceb', + text: 'Cebuano' + }, + { + value: 'zh-Hans', + text: 'Chinese (Simplified)' + }, + { + value: 'zh-Hant', + text: 'Chinese (Traditional)' + }, + { + value: 'co', + text: 'Corsican' + }, + { + value: 'hr', + text: 'Croatian' + }, + { + value: 'cs', + text: 'Czech' + }, + { + value: 'da', + text: 'Danish' + }, + { + value: 'nl', + text: 'Dutch' + }, + { + value: 'en', + text: 'English' + }, + { + value: 'eo', + text: 'Esperanto' + }, + { + value: 'et', + text: 'Estonian' + }, + { + value: 'fil', + text: 'Filipino' + }, + { + value: 'fi', + text: 'Finnish' + }, + { + value: 'fr', + text: 'French' + }, + { + value: 'gl', + text: 'Galician' + }, + { + value: 'ka', + text: 'Georgian' + }, + { + value: 'de', + text: 'German' + }, + { + value: 'el', + text: 'Greek' + }, + { + value: 'gu', + text: 'Gujarati' + }, + { + value: 'ht', + text: 'Haitian Creole' + }, + { + value: 'ha', + text: 'Hausa' + }, + { + value: 'haw', + text: 'Hawaiian' + }, + { + value: 'iw', + text: 'Hebrew' + }, + { + value: 'hi', + text: 'Hindi' + }, + { + value: 'hmn', + text: 'Hmong' + }, + { + value: 'hu', + text: 'Hungarian' + }, + { + value: 'is', + text: 'Icelandic' + }, + { + value: 'ig', + text: 'Igbo' + }, + { + value: 'id', + text: 'Indonesian' + }, + { + value: 'ga', + text: 'Irish' + }, + { + value: 'it', + text: 'Italian' + }, + { + value: 'ja', + text: 'Japanese' + }, + { + value: 'jv', + text: 'Javanese' + }, + { + value: 'kn', + text: 'Kannada' + }, + { + value: 'kk', + text: 'Kazakh' + }, + { + value: 'km', + text: 'Khmer' + }, + { + value: 'rw', + text: 'Kinyarwanda' + }, + { + value: 'ko', + text: 'Korean' + }, + { + value: 'ku', + text: 'Kurdish' + }, + { + value: 'ky', + text: 'Kyrgyz' + }, + { + value: 'lo', + text: 'Lao' + }, + { + value: 'la', + text: 'Latin' + }, + { + value: 'lv', + text: 'Latvian' + }, + { + value: 'lt', + text: 'Lithuanian' + }, + { + value: 'lb', + text: 'Luxembourgish' + }, + { + value: 'mk', + text: 'Macedonian' + }, + { + value: 'mg', + text: 'Malagasy' + }, + { + value: 'ms', + text: 'Malay' + }, + { + value: 'ml', + text: 'Malayalam' + }, + { + value: 'mt', + text: 'Maltese' + }, + { + value: 'mi', + text: 'Maori' + }, + { + value: 'mr', + text: 'Marathi' + }, + { + value: 'mn', + text: 'Mongolian' + }, + { + value: 'ne', + text: 'Nepali' + }, + { + value: 'no', + text: 'Norwegian' + }, + { + value: 'ny', + text: 'Nyanja' + }, + { + value: 'or', + text: 'Odia' + }, + { + value: 'ps', + text: 'Pashto' + }, + { + value: 'fa', + text: 'Persian' + }, + { + value: 'pl', + text: 'Polish' + }, + { + value: 'pt', + text: 'Portuguese' + }, + { + value: 'pa', + text: 'Punjabi' + }, + { + value: 'ro', + text: 'Romanian' + }, + { + value: 'ru', + text: 'Russian' + }, + { + value: 'sm', + text: 'Samoan' + }, + { + value: 'gd', + text: 'Scottish Gaelic' + }, + { + value: 'sr', + text: 'Serbian' + }, + { + value: 'sn', + text: 'Shona' + }, + { + value: 'sd', + text: 'Sindhi' + }, + { + value: 'si', + text: 'Sinhala' + }, + { + value: 'sk', + text: 'Slovak' + }, + { + value: 'sl', + text: 'Slovenian' + }, + { + value: 'so', + text: 'Somali' + }, + { + value: 'st', + text: 'Southern Sotho' + }, + { + value: 'es', + text: 'Spanish' + }, + { + value: 'su', + text: 'Sundanese' + }, + { + value: 'sw', + text: 'Swahili' + }, + { + value: 'sv', + text: 'Swedish' + }, + { + value: 'tg', + text: 'Tajik' + }, + { + value: 'ta', + text: 'Tamil' + }, + { + value: 'tt', + text: 'Tatar' + }, + { + value: 'te', + text: 'Telugu' + }, + { + value: 'th', + text: 'Thai' + }, + { + value: 'tr', + text: 'Turkish' + }, + { + value: 'tk', + text: 'Turkmen' + }, + { + value: 'uk', + text: 'Ukrainian' + }, + { + value: 'ur', + text: 'Urdu' + }, + { + value: 'ug', + text: 'Uyghur' + }, + { + value: 'uz', + text: 'Uzbek' + }, + { + value: 'vi', + text: 'Vietnamese' + }, + { + value: 'cy', + text: 'Welsh' + }, + { + value: 'fy', + text: 'Western Frisian' + }, + { + value: 'xh', + text: 'Xhosa' + }, + { + value: 'yi', + text: 'Yiddish' + }, + { + value: 'yo', + text: 'Yoruba' + }, + { + value: 'zu', + text: 'Zulu' + } + ] + }, + subtitles_font_family: { + component: 'select', + text: 'fontFamily', + options: [{ + text: 'Monospaced Serif', + value: 1 + }, { + text: 'Proportional Serif', + value: 2 + }, { + text: 'Monospaced Sans-Serif', + value: 3 + }, { + text: 'Proportional Sans-Serif', + value: 4 + }, { + text: 'Casual', + value: 5 + }, { + text: 'Cursive', + value: 6 + }, { + text: 'Small Capitals', + value: 7 + }] + }, + subtitles_font_color: { + component: 'select', + text: 'fontColor', + options: [{ + text: 'white', + value: '#fff' + }, { + text: 'yellow', + value: '#ff0' + }, { + text: 'green', + value: '#0f0' + }, { + text: 'cyan', + value: '#0ff' + }, { + text: 'blue', + value: '#00f' + }, { + text: 'magenta', + value: '#f0f' + }, { + text: 'red', + value: '#f00' + }, { + text: 'black', + value: '#000' + }] + }, + subtitles_font_size: { + component: 'select', + text: 'fontSize', + options: [{ + text: '50%', + value: -2 + }, { + text: '75%', + value: -1 + }, { + text: '100%', + value: 0 + }, { + text: '150%', + value: 1 + }, { + text: '200%', + value: 2 + }, { + text: '300%', + value: 3 + }, { + text: '400%', + value: 4 + }] + }, + subtitles_background_color: { + component: 'select', + text: 'backgroundColor', + options: [{ + text: 'white', + value: '#fff' + }, { + text: 'yellow', + value: '#ff0' + }, { + text: 'green', + value: '#0f0' + }, { + text: 'cyan', + value: '#0ff' + }, { + text: 'blue', + value: '#00f' + }, { + text: 'magenta', + value: '#f0f' + }, { + text: 'red', + value: '#f00' + }, { + text: 'black', + value: '#000' + }] + }, + subtitles_background_opacity: { + component: 'slider', + text: 'backgroundOpacity', + value: 75, + min: 0, + max: 100, + step: 1 + }, + subtitles_window_color: { + component: 'select', + text: 'windowColor', + options: [{ + text: 'white', + value: '#fff' + }, { + text: 'yellow', + value: '#ff0' + }, { + text: 'green', + value: '#0f0' + }, { + text: 'cyan', + value: '#0ff' + }, { + text: 'blue', + value: '#00f' + }, { + text: 'magenta', + value: '#f0f' + }, { + text: 'red', + value: '#f00' + }, { + text: 'black', + value: '#000' + }] + }, + subtitles_window_opacity: { + component: 'slider', + text: 'windowOpacity', + value: 0, + min: 0, + max: 100, + step: 1 + }, + subtitles_character_edge_style: { + component: 'select', + text: 'characterEdgeStyle', + options: [{ + text: 'none', + value: 0 + }, { + text: 'dropShadow', + value: 4 + }, { + text: 'raised', + value: 1 + }, { + text: 'depressed', + value: 2 + }, { + text: 'outline', + value: 3 + }] + }, + subtitles_font_opacity: { + component: 'slider', + text: 'fontOpacity', + value: 100, + min: 0, + max: 100, + step: 1 + } + } + } + }, + crop_chapter_titles: { + component: 'switch', + text: 'cropChapterTitles', + value: true, + storage: 'player_crop_chapter_titles' + }, + up_next_autoplay: { + component: 'switch', + text: 'upNextAutoplay', + value: true + }, + mini_player: { + component: 'switch', + text: 'customMiniPlayer' + }, + h264: { + component: 'switch', + text: 'codecH264', + storage: 'player_h264', + on: { + click: function () { + if (this.dataset.value === 'true') { + var component = this; + satus.render({ + component: 'modal', + + message: { + component: 'text', + text: 'youtubeLimitsVideoQualityTo1080pForH264Codec' + }, + actions: { + component: 'section', + variant: 'actions', + + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function () { + component.click(); + this.parentNode.parentNode.parentNode.close() + } + } + }, + ok: { + component: 'button', + text: 'OK', + on: { + click: function () { + this.parentNode.parentNode.parentNode.close() + } + } + } + } + },this.parentNode.parentNode.parentNode); + } + } + } + }, + player_codecs: { + component: 'button', + text: 'codecs', + on: { + click: { + section: { + component: 'section', + variant: 'card', + + block_h264: { + component: 'switch', + text: 'blockH264' + }, + block_vp8: { + component: 'switch', + text: 'blockVp8' + }, + block_vp9: { + component: 'switch', + text: 'blockVp9' + }, + block_av1: { + component: 'switch', + text: 'blockAv1' + } + } + } + } + }, + avoid_cpu_rendering_when_possible: { + component: 'select', + text: 'avoidCpuRenderingWhenPossible', + options: [{ + text: 'disabled', + value: 'disabled' + }, + { + text: 'auto', + value: 'auto' + }, + { + text: 'avoidAv1', + value: 'av1' + }, + { + text: 'avoidAv1Vp9', + value: 'av1-vp9' + }, + { + text: 'avoidAv1Vp8Vp9', + value: 'av1-vp8-vp9' + } + ] + + }, + player_60fps: { + component: 'switch', + text: 'allow60fps', + value: true + }, + sdr: { + component: 'switch', + text: 'forceSDR', + value: false, + storage: 'player_SDR' + }, + }, + section_2: { + component: 'section', + variant: 'card', + title: 'buttons', + + player_screenshot: { + component: 'button', + text: 'screenshot', + on: { + click: { + component: 'section', + variant: 'card', + + player_screenshot_button: { + component: 'switch', + text: 'activate' + }, + player_screenshot_save_as: { + component: 'select', + text: 'saveAs', + options: [{ + text: 'file', + value: 'file' + }, { + text: 'clipboard', + value: 'clipboard' + }] + } + } + } + }, + player_repeat: { + component: 'button', + text: 'repeat', + on: { + click: { + component: 'section', + variant: 'card', + + player_repeat_button: { + component: 'switch', + text: 'activate' + }, + player_always_repeat: { + component: 'switch', + text: 'alwaysActive' + } + } + } + }, + player_rotate_button: { + component: 'switch', + text: 'rotate' + }, + player_popup_button: { + component: 'switch', + text: 'popupPlayer' + } + }, + section_3: { + component: 'section', + variant: 'card', + title: 'Buttons below the player', + + below_player_screenshot: { + component: 'switch', + text: 'screenshot', + value: true + }, + below_player_pip: { + component: 'switch', + text: 'pictureInPicture', + value: true + }, + below_player_loop: { + component: 'switch', + text: 'loop', + value: true + } + } +}; diff --git a/options-page/skeleton-parts/playlist.js b/options-page/skeleton-parts/playlist.js new file mode 100644 index 000000000..a7b6ea188 --- /dev/null +++ b/options-page/skeleton-parts/playlist.js @@ -0,0 +1,71 @@ +/*-------------------------------------------------------------- +>>> PLAYLIST +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.playlist = { + component: 'button', + variant: 'playlist', + category: true, + on: { + click: { + section: { + component: 'section', + variant: 'card', + + playlist_autoplay: { + component: 'switch', + text: 'autoplay', + value: true + }, + playlist_up_next_autoplay: { + component: 'switch', + text: 'upNextAutoplay', + value: true + } + }, + section2: { + component: 'section', + variant: 'card', + + playlist_reverse: { + component: 'switch', + text: 'reverse' + }, + playlist_repeat: { + component: 'switch', + text: 'repeat' + }, + playlist_shuffle: { + component: 'switch', + text: 'shuffle' + } + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + viewBox: '0 0 24 24', + fill: 'transparent', + stroke: 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + d: 'M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01' + } + } + } + }, + label: { + component: 'span', + text: 'playlist' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/search.js b/options-page/skeleton-parts/search.js new file mode 100644 index 000000000..77f6b769d --- /dev/null +++ b/options-page/skeleton-parts/search.js @@ -0,0 +1,206 @@ +/*-------------------------------------------------------------- +>>> PLAYLIST +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.search.on.click = { + component: 'text-field', + variant: 'search', + storage: false, + prepend: true, + placeholder: 'search', + lineNumbers: false, + rows: 1, + on: { + render: function () { + this.focus(); + }, + blur: function () { + if (this.value.length === 0) { + var search_results = document.querySelector('.search-results'); + + if (search_results) { + search_results.close(); + } + + this.remove(); + } + }, + keydown: function (event) { + var self = this; + + setTimeout(function () { + if (self.storage.value.length === 0 && event.key === 'Backspace') { + var search_results = document.querySelector('.search-results'); + + if (search_results) { + search_results.close(); + } + + self.baseProvider.classList.remove('search-mode'); + } + }); + }, + input: function (event) { + var self = this, + value = this.value.trim(); + + if (value.length > 0) { + satus.search(value, extension.skeleton, function (results) { + var search_results = document.querySelector('.search-results'), + skeleton = { + component: 'modal', + class: 'search-results' + }; + + for (var key in results) { + var result = results[key], + parent = result; + + while ( + parent.parentObject && + !parent.parentObject.category + ) { + parent = parent.parentObject; + } + + var category = ''; + + if (parent.parentObject && parent.parentObject.label && parent.parentObject.label.text) { + category = parent.parentObject.label.text; + } + + parent = result; + + while ( + parent.parentObject && + parent.parentObject.component !== 'button' + ) { + parent = parent.parentObject; + } + + parent = parent.parentObject; + + if (parent) { + if (parent.label) { + var subcategory = parent.label.text; + } else { + var subcategory = parent.text; + } + + if (category === subcategory) { + var text = satus.locale.get(category); + } else { + var text = satus.locale.get(category) + ' > ' + satus.locale.get(subcategory); + } + + skeleton[category + subcategory + '_label'] = { + component: 'span', + class: 'satus-section--label', + text: text + }; + + if (!skeleton[category + subcategory]) { + skeleton[category + subcategory] = { + component: 'section', + variant: 'card' + }; + } + + skeleton[category + subcategory][key] = result; + } else { + skeleton[category + '_label'] = { + component: 'span', + class: 'satus-section--label', + text: category + }; + + if (!skeleton[category]) { + skeleton[category] = { + component: 'section', + variant: 'card' + }; + } + + skeleton[category][key] = result; + } + } + + if (Object.keys(results).length === 0) { + if (search_results) { + search_results.remove(); + + self.removeAttribute('results'); + } + } else { + if (search_results) { + var surface = document.querySelector('.search-results .satus-modal__surface'); + + satus.empty(surface); + + satus.render(skeleton, surface, undefined, true); + } else { + self.setAttribute('results', ''); + + satus.render(skeleton, self.baseProvider); + + document.querySelector('.search-results .satus-modal__scrim').addEventListener('click', function () { + var text_field = this.parentElement.baseProvider.skeleton.header.sectionEnd.textField.rendered, + search_results = document.querySelector('.search-results'); + + if (search_results) { + search_results.close(); + } + + text_field.value = ''; + text_field.style.display = ''; + + self.removeAttribute('results'); + }); + } + } + }, true); + } else { + var search_results = document.querySelector('.search-results'); + + if (search_results) { + search_results.close(); + + self.removeAttribute('results'); + } + } + } + }, + + close: { + component: 'button', + variant: 'icon', + on: { + click: function () { + var search_results = document.querySelector('.search-results'); + + if (search_results) { + search_results.close(); + } + + this.parentNode.remove(); + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'stroke-width': '1.75', + 'stroke': 'none', + 'fill': 'currentColor' + }, + + path: { + component: 'path', + attr: { + 'd': 'M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z' + } + } + } + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/settings.js b/options-page/skeleton-parts/settings.js new file mode 100644 index 000000000..7ee816344 --- /dev/null +++ b/options-page/skeleton-parts/settings.js @@ -0,0 +1,878 @@ +/*-------------------------------------------------------------- +>>> SETTINGS: +---------------------------------------------------------------- +# Button +# Appearance +# Language +# Date & time +# Backup & reset +# Developer options +# About +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BUTTON +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings = { + component: 'button', + category: true, + on: { + click: { + firstSection: { + component: 'section', + variant: 'card' + }, + secondSection: { + component: 'section', + variant: 'card' + } + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'none', + 'stroke-width': '1.75' + }, + + circle: { + component: 'circle', + attr: { + 'cx': '12', + 'cy': '12', + 'r': '3' + } + }, + path: { + component: 'path', + attr: { + 'd': 'M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-2 2 2 2 0 01-2-2v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83 0 2 2 0 010-2.83l.06-.06a1.65 1.65 0 00.33-1.82 1.65 1.65 0 00-1.51-1H3a2 2 0 01-2-2 2 2 0 012-2h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 010-2.83 2 2 0 012.83 0l.06.06a1.65 1.65 0 001.82.33H9a1.65 1.65 0 001-1.51V3a2 2 0 012-2 2 2 0 012 2v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 0 2 2 0 010 2.83l-.06.06a1.65 1.65 0 00-.33 1.82V9a1.65 1.65 0 001.51 1H21a2 2 0 012 2 2 2 0 01-2 2h-.09a1.65 1.65 0 00-1.51 1z' + } + } + }, + label: { + component: 'span', + text: 'settings' + } +}; + + +/*-------------------------------------------------------------- +# APPEARANCE +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.firstSection.appearance = { + component: 'button', + text: 'appearance', + before: { + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'currentColor' + }, + + path: { + component: 'path', + attr: { + 'd': 'M7 16c.6 0 1 .5 1 1a2 2 0 0 1-2 2h-.5a4 4 0 0 0 .5-2c0-.6.5-1 1-1M18.7 3a1 1 0 0 0-.7.3l-9 9 2.8 2.7 9-9c.3-.4.3-1 0-1.4l-1.4-1.3a1 1 0 0 0-.7-.3zM7 14a3 3 0 0 0-3 3c0 1.3-1.2 2-2 2 1 1.2 2.5 2 4 2a4 4 0 0 0 4-4 3 3 0 0 0-3-3z' + } + } + } + }, + on: { + click: { + header: { + component: 'section', + variant: 'card', + title: 'header', + + title_version: { + component: 'switch', + text: 'showVersion' + } + }, + home: { + component: 'section', + variant: 'card', + title: 'homeScreen', + + layout: { + component: 'select', + text: 'layout', + storage: 'improvedtube_home', + options: [{ + text: 'bubbles', + value: 'bubbles' + }, { + text: 'list', + value: 'list' + }] + }, + hideCategories: { + component: 'button', + text: 'hideCategories', + on: { + click: { + section: { + component: 'section', + variant: 'card', + + it_general: { + component: 'checkbox', + text: 'general' + }, + it_appearance: { + component: 'checkbox', + text: 'appearance' + }, + it_themes: { + component: 'checkbox', + text: 'themes' + }, + it_player: { + component: 'checkbox', + text: 'player' + }, + it_playlist: { + component: 'checkbox', + text: 'playlist' + }, + it_channel: { + component: 'checkbox', + text: 'channel' + }, + it_shortcuts: { + component: 'checkbox', + text: 'shortcuts' + }, + it_mixer: { + component: 'checkbox', + text: 'mixer' + }, + it_analyzer: { + component: 'checkbox', + text: 'analyzer' + }, + it_blacklist: { + component: 'checkbox', + text: 'blacklist' + } + } + } + } + }, + improvedtube_youtube_icon: { + text: 'improvedtubeIconOnYoutube', + component: 'select', + options: [{ + text: 'disabled', + value: 'disabled' + }, { + text: 'youtubeHeaderLeft', + value: 'header_left' + }, { + text: 'youtubeHeaderRight', + value: 'header_right' + }, { + text: 'sidebar', + value: 'sidebar' + }, { + text: 'draggable', + value: 'draggable' + }, { + text: 'belowPlayer', + value: 'below_player' + }] + } + }, + animations: { + component: 'section', + variant: 'card', + title: 'animations', + + layer_animation_scale: { + component: 'select', + text: 'layerAnimationScale', + value: 0, + options: [{ + text: '0x', + value: 0 + }, { + text: '1x', + value: 1 + }] + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# LANGUAGE +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.language = { + component: 'button', + text: 'language', + before: { + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'none', + 'stroke': 'currentColor', + 'troke-linecap': 'round', + 'stroke-linejoin': 'round', + 'stroke-width': '1.75' + }, + + circle: { + component: 'circle', + attr: { + 'cx': '12', + 'cy': '12', + 'r': '10' + } + }, + path: { + component: 'path', + attr: { + 'd': 'M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z' + } + } + } + }, + on: { + click: { + section: { + component: 'section', + variant: 'card', + languages: [{ + value: 'default', + text: 'default' + }, + { + value: "en", + text: "English" + }, { + value: "es", + text: "Español (España)" + }, { + value: "es-419", + text: "Español (Latinoamérica)" + }, { + value: "es-US", + text: "Español (US)" + }, { + value: "ru", + text: "Русский" + }, { + value: "de", + text: "Deutsch" + }, { + value: "pt-PT", + text: "Português" + }, { + value: "pt", + text: "Português (Brasil)" + }, { + value: "fr", + text: "Français" + }, { + value: "pl", + text: "Polski" + }, { + value: "ja", + text: "日本語" + }, { + value: "af", + text: "Afrikaans" + }, { + value: "az", + text: "Azərbaycan" + }, { + value: "id", + text: "Bahasa Indonesia" + }, { + value: "ms", + text: "Bahasa Malaysia" + }, { + value: "bs", + text: "Bosanski" + }, { + value: "ca", + text: "Català" + }, { + value: "cs", + text: "Čeština" + }, { + value: "da", + text: "Dansk" + }, { + value: "et", + text: "Eesti" + }, { + value: "eu", + text: "Euskara" + }, { + value: "fil", + text: "Filipino" + }, { + value: "fr-CA", + text: "Français (Canada)" + }, { + value: "gl", + text: "Galego" + }, { + value: "hr", + text: "Hrvatski" + }, { + value: "zu", + text: "IsiZulu" + }, { + value: "is", + text: "Íslenska" + }, { + value: "it", + text: "Italiano" + }, { + value: "sw", + text: "Kiswahili" + }, { + value: "lv", + text: "Latviešu valoda" + }, { + value: "lt", + text: "Lietuvių" + }, { + value: "hu", + text: "Magyar" + }, { + value: "nl", + text: "Nederlands" + }, { + value: "no", + text: "Norsk" + }, { + value: "uz", + text: "O‘zbek" + }, { + value: "ro", + text: "Română" + }, { + value: "sq", + text: "Shqip" + }, { + value: "sk", + text: "Slovenčina" + }, { + value: "sl", + text: "Slovenščina" + }, { + value: "sr-Latn", + text: "Srpski" + }, { + value: "fi", + text: "Suomi" + }, { + value: "sv", + text: "Svenska" + }, { + value: "vi", + text: "Tiếng Việt" + }, { + value: "tr", + text: "Türkçe" + }, { + value: "be", + text: "Беларуская" + }, { + value: "bg", + text: "Български" + }, { + value: "ky", + text: "Кыргызча" + }, { + value: "kk", + text: "Қазақ Тілі" + }, { + value: "mk", + text: "Македонски" + }, { + value: "mn", + text: "Монгол" + }, { + value: "sr", + text: "Српски" + }, { + value: "uk", + text: "Українська" + }, { + value: "el", + text: "Ελληνικά" + }, { + value: "hy", + text: "Հայերեն" + }, { + value: "iw", + text: "עברית" + }, { + value: "ur", + text: "اردو" + }, { + value: "ar", + text: "العربية" + }, { + value: "fa", + text: "فارسی" + }, { + value: "ne", + text: "नेपाली" + }, { + value: "mr", + text: "मराठी" + }, { + value: "hi", + text: "हिन्दी" + }, { + value: "bn", + text: "বাংলা" + }, { + value: "pa", + text: "ਪੰਜਾਬੀ" + }, { + value: "gu", + text: "ગુજરાતી" + }, { + value: "ta", + text: "தமிழ்" + }, { + value: "te", + text: "తెలుగు" + }, { + value: "kn", + text: "ಕನ್ನಡ" + }, { + value: "ml", + text: "മലയാളം" + }, { + value: "si", + text: "සිංහල" + }, { + value: "th", + text: "ภาษาไทย" + }, { + value: "lo", + text: "ລາວ" + }, { + value: "my", + text: "ဗမာ" + }, { + value: "ka", + text: "ქართული" + }, { + value: "am", + text: "አማርኛ" + }, { + value: "km", + text: "ខ្មែរ" + }, { + value: "zh-CN", + text: "中文 (简体)" + }, { + value: "zh-TW", + text: "中文 (繁體)" + }, { + value: "zh-HK", + text: "中文 (香港)" + }, { + value: "ko", + text: "한국어" + } + ], + + improvedtube: { + component: 'select', + text: 'ImprovedTube', + storage: 'language', + options: function () { + return extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.language.on.click.section.languages; + } + }, + youtube: { + component: 'select', + text: 'YouTube', + storage: 'youtube_language', + options: function () { + return extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.language.on.click.section.languages; + } + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# DATE & TIME +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.dateAndTime = { + component: 'button', + text: 'dateAndTime', + before: { + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'currentColor' + }, + + path: { + component: 'path', + attr: { + 'd': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-.2-13c-.5 0-.8.3-.8.7v4.7c0 .4.2.7.5.9l4.1 2.5c.4.2.8 0 1-.3.2-.3.1-.7-.2-1l-3.9-2.2V7.7c0-.4-.3-.7-.7-.7z' + } + } + } + }, + on: { + click: { + component: 'section', + variant: 'card', + + use_24_hour_format: { + component: 'switch', + text: 'use24HourFormat', + value: true + } + } + } +}; + + +/*-------------------------------------------------------------- +# BACKUP & RESET +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.backupAndReset = { + component: 'button', + text: 'backupAndReset', + before: { + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'currentColor' + }, + + path: { + component: 'path', + attr: { + 'd': 'M13.3 3A9 9 0 0 0 4 12H2.2c-.5 0-.7.5-.3.8l2.7 2.8c.2.2.6.2.8 0L8 12.8c.4-.3.1-.8-.3-.8H6a7 7 0 1 1 2.7 5.5 1 1 0 0 0-1.3.1 1 1 0 0 0 0 1.5A9 9 0 0 0 22 11.7C22 7 18 3.1 13.4 3zm-.6 5c-.4 0-.7.3-.7.8v3.6c0 .4.2.7.5.9l3.1 1.8c.4.2.8.1 1-.2.2-.4.1-.8-.2-1l-3-1.8V8.7c0-.4-.2-.7-.7-.7z' + } + } + } + }, + on: { + click: { + section: { + component: 'section', + variant: 'card', + + importSettings: { + component: 'button', + text: 'importSettings', + on: { + click: function () { + if (location.href.indexOf('/index.html?action=import-settings') !== -1) { + extension.importSettings(); + } else { + window.open(chrome.runtime.getURL('options-page/index.html?action=import-settings'), '_blank'); + } + } + } + }, + exportSettings: { + component: 'button', + text: 'exportSettings', + on: { + click: function () { + if (location.href.indexOf('/index.html?action=export-settings') !== -1) { + extension.exportSettings(); + } else { + window.open(chrome.runtime.getURL('options-page/index.html?action=export-settings'), '_blank'); + } + } + } + } + }, + reset: { + component: 'section', + variant: 'card', + + resetAllSettings: { + component: 'button', + text: 'resetAllSettings', + on: { + click: { + component: 'modal', + variant: 'confirm', + content: 'allYourSettingsWillBeErasedAndCanTBeRecovered', + buttons: { + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function () { + this.modalProvider.close(); + } + } + }, + reset: { + component: 'button', + text: 'reset', + on: { + click: function () { + satus.storage.clear(function () { + window.close(); + }); + } + } + } + } + } + } + }, + resetAllShortcuts: { + component: 'button', + text: 'resetAllShortcuts', + on: { + click: { + component: 'modal', + variant: 'confirm', + content: 'allYourShortcutsWillBeErasedAndCanTBeRecovered', + buttons: { + cancel: { + component: 'button', + text: 'cancel', + on: { + click: function () { + this.modalProvider.close(); + } + } + }, + reset: { + component: 'button', + text: 'reset', + on: { + click: function () { + for (var key in satus.storage.data) { + if (key.indexOf('shortcut_') === 0) { + satus.storage.remove(key); + } + } + + this.modalProvider.close(); + } + } + } + } + } + } + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# DEVELOPER OPTIONS +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.developerOptions = { + component: 'button', + text: 'developerOptions', + before: { + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'currentColor' + }, + + path: { + component: 'path', + attr: { + 'd': 'M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z' + } + } + } + }, + on: { + click: { + component: 'section', + variant: 'card', + + api: { + component: 'button', + text: 'API', + on: { + click: { + component: 'section', + variant: 'transparent-card', + title: 'YouTube API', + + textField: { + component: 'text-field', + storage: 'google-api-key', + value: 'AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA', + rows: 1, + lineNumbers: false + } + } + } + }, + css: { + component: 'button', + text: 'CSS', + on: { + click: { + component: 'text-field', + storage: 'custom_css', + style: { + height: '100%' + } + } + } + }, + js: { + component: 'button', + text: 'JavaScript', + on: { + click: { + component: 'text-field', + storage: 'custom_js', + style: { + height: '100%' + } + } + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# ABOUT +--------------------------------------------------------------*/ + +extension.skeleton.header.sectionEnd.menu.on.click.settings.on.click.secondSection.about = { + component: 'button', + text: 'about', + before: { + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'currentColor' + }, + + path: { + component: 'path', + attr: { + 'd': 'M11 7h2v2h-2zm0 4h2v6h-2zm1-9a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16z' + } + } + } + }, + on: { + click: { + extensionSection: { + component: 'section', + variant: 'card', + + list: { + component: 'list', + items: [ + ['name', satus.user.browser.manifest().name], + ['version', satus.user.browser.manifest().version_name || satus.user.browser.manifest().version], + ['permissions', satus.user.browser.manifest().permissions.join(', ').replace('https://www.youtube.com/', 'YouTube')] + ] + } + }, + otherSection: { + component: 'section', + variant: 'card', + + softwareInformation: { + component: 'button', + text: 'softwareInformation', + on: { + click: { + osSection: { + component: 'section', + variant: 'card', + title: 'os', + + list: { + component: 'list', + items: [ + ['name', satus.user.os.name()], + ['bitness', satus.user.os.bitness()] + ] + } + }, + browserSection: { + component: 'section', + variant: 'card', + title: 'browser', + + list: { + component: 'list', + items: [ + ['name', satus.user.browser.name()], + ['version', satus.user.browser.version()], + ['platform', satus.user.browser.platform()], + ['audioFormats', satus.user.browser.audio().join(', ')], + ['videoFormats', satus.user.browser.video().join(', ')], + ['Flash', satus.user.browser.flash()], + ['Java', satus.user.browser.java()], + ['Cookies', satus.user.browser.cookies()] + ] + } + } + } + } + }, + hardwareInformation: { + component: 'button', + text: 'hardwareInformation', + on: { + click: { + component: 'section', + variant: 'card', + + list: { + component: 'list', + items: [ + ['screen', satus.user.device.screen()], + ['cores', satus.user.device.cores()], + ['gpu', satus.user.device.gpu()], + ['ram', satus.user.device.ram()] + ] + } + } + } + } + } + } + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/shortcuts.js b/options-page/skeleton-parts/shortcuts.js new file mode 100644 index 000000000..1318987e1 --- /dev/null +++ b/options-page/skeleton-parts/shortcuts.js @@ -0,0 +1,372 @@ +/*-------------------------------------------------------------- +>>> SHURTCUTS +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.shortcuts = { + component: 'button', + variant: 'shortcuts', + category: true, + on: { + click: { + playerSection: { + component: 'section', + variant: 'card', + title: 'player', + + shortcut_quality: { + component: 'button', + text: 'quality', + on: { + click: { + component: 'section', + variant: 'card', + + shortcut_auto: { + component: 'shortcut', + text: 'auto' + }, + shortcut_144p: { + component: 'shortcut', + text: '144p' + }, + shortcut_240p: { + component: 'shortcut', + text: '240p' + }, + shortcut_360p: { + component: 'shortcut', + text: '360p' + }, + shortcut_480p: { + component: 'shortcut', + text: '480p' + }, + shortcut_720p: { + component: 'shortcut', + text: '720p' + }, + shortcut_1080p: { + component: 'shortcut', + text: '1080p' + }, + shortcut_1440p: { + component: 'shortcut', + text: '1440p' + }, + shortcut_2160p: { + component: 'shortcut', + text: '2160p' + }, + shortcut_2880p: { + component: 'shortcut', + text: '2880p' + }, + shortcut_4320p: { + component: 'shortcut', + text: '4320p' + } + } + } + }, + volume: { + component: 'button', + text: 'volume', + on: { + click: { + section_1: { + component: 'section', + variant: 'card', + + volume_step: { + component: 'slider', + text: 'step', + min: 1, + max: 10, + step: 1, + value: 5, + storage: 'shortcut_volume_step' + } + }, + + section_2: { + component: 'section', + variant: 'card', + + increase_volume: { + component: 'shortcut', + text: 'increaseVolume', + storage: 'shortcut_increase_volume', + value: { + keys: { + 38: { + key: 'ArrowUp' + } + } + } + }, + decrease_volume: { + component: 'shortcut', + text: 'decreaseVolume', + storage: 'shortcut_decrease_volume', + value: { + keys: { + 40: { + key: 'ArrowDown' + } + } + } + } + } + } + } + }, + playback_speed: { + component: 'button', + text: 'playbackSpeed', + on: { + click: { + section_step: { + component: 'section', + variant: 'card', + + playback_speed_step: { + component: 'slider', + text: 'step', + min: .05, + max: .5, + step: .05, + value: .05, + storage: 'shortcut_playback_speed_step' + } + }, + + section: { + component: 'section', + variant: 'card', + + increase_playback_speed: { + component: 'shortcut', + text: 'increasePlaybackSpeed', + storage: 'shortcut_increase_playback_speed', + value: { + keys: { + 188: { + key: '<' + } + } + } + }, + decrease_playback_speed: { + component: 'shortcut', + text: 'decreasePlaybackSpeed', + storage: 'shortcut_decrease_playback_speed', + value: { + keys: { + 190: { + key: '>' + } + } + } + }, + reset_playback_speed: { + component: 'shortcut', + text: 'reset', + storage: 'shortcut_reset_playback_speed' + } + } + } + } + }, + shortcut_play_pause: { + component: 'shortcut', + text: 'playPause', + value: { + keys: { + 32: { + code: 'space' + } + } + } + }, + shortcut_stop: { + component: 'shortcut', + text: 'stop' + }, + shortcut_seek_backward: { + component: 'shortcut', + text: 'seekBackward10Seconds', + value: { + keys: { + 74: { + key: 'j' + } + } + } + }, + shortcut_seek_forward: { + component: 'shortcut', + text: 'seekForward10Seconds', + value: { + keys: { + 76: { + key: 'l' + } + } + } + }, + shortcut_seek_next_chapter: { + component: 'shortcut', + text: 'seekNextChapter' + }, + shortcut_seek_previous_chapter: { + component: 'shortcut', + text: 'seekPreviousChapter' + }, + shortcut_next_video: { + component: 'shortcut', + text: 'nextVideo', + value: { + shift: true, + keys: { + 78: { + key: 'n' + } + } + } + }, + shortcut_prev_video: { + component: 'shortcut', + text: 'previousVideo', + value: { + shift: true, + keys: { + 80: { + key: 'p' + } + } + } + }, + shortcut_activate_fullscreen: { + component: 'shortcut', + text: 'activateFullscreen', + value: { + keys: { + 70: { + key: 'f' + } + } + } + }, + shortcut_activate_captions: { + component: 'shortcut', + text: 'activateCaptions', + value: { + keys: { + 67: { + key: 'c' + } + } + } + }, + shortcut_toggle_cards: { + component: 'shortcut', + text: 'toggleCards' + }, + shortcut_popup_player: { + component: 'shortcut', + text: 'popupPlayer' + }, + shortcut_stats_for_nerds: { + component: 'shortcut', + text: 'statsForNerds' + } + }, + section: { + component: 'section', + variant: 'card', + + picture_in_picture: { + component: 'shortcut', + text: 'pictureInPicture', + storage: 'shortcut_picture_in_picture' + }, + shortcut_screenshot: { + component: 'shortcut', + text: 'screenshot' + }, + shortcut_toggle_controls: { + component: 'shortcut', + text: 'toggleControls' + }, + shortcut_toggle_autoplay: { + component: 'shortcut', + text: 'toggleAutoplay' + }, + shortcut_custom_mini_player: { + component: 'shortcut', + text: 'customMiniPlayer', + value: { + keys: { + 73: { + key: 'i' + } + } + } + }, + shortcut_go_to_search_box: { + component: 'shortcut', + text: 'goToSearchBox', + value: { + keys: { + 191: { + key: '/' + } + } + } + }, + shortcut_like_shortcut: { + component: 'shortcut', + text: 'like' + }, + shortcut_dislike_shortcut: { + component: 'shortcut', + text: 'dislike' + }, + shortcut_subscribe: { + component: 'shortcut', + text: 'subscribe' + }, + shortcut_dark_theme: { + component: 'shortcut', + text: 'darkTheme' + } + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'transparent', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + 'd': 'M18 3a3 3 0 00-3 3v12a3 3 0 003 3 3 3 0 003-3 3 3 0 00-3-3H6a3 3 0 00-3 3 3 3 0 003 3 3 3 0 003-3V6a3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3h12a3 3 0 003-3 3 3 0 00-3-3z' + } + } + } + }, + label: { + component: 'span', + text: 'shortcuts' + } +}; \ No newline at end of file diff --git a/options-page/skeleton-parts/themes.js b/options-page/skeleton-parts/themes.js new file mode 100644 index 000000000..e978f722f --- /dev/null +++ b/options-page/skeleton-parts/themes.js @@ -0,0 +1,240 @@ +/*-------------------------------------------------------------- +>>> THEMES +---------------------------------------------------------------- +# Font +# Themes +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.themes = { + component: 'button', + variant: 'themes', + category: true, + on: { + click: { + section: { + component: 'section', + variant: 'card' + } + } + }, + + icon: { + component: 'span', + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'fill': 'transparent', + 'stroke': 'currentColor', + 'stroke-linecap': 'round', + 'stroke-width': '1.75' + }, + + path: { + component: 'path', + attr: { + 'd': 'M12 2.69l5.66 5.66a8 8 0 11-11.31 0z' + } + } + } + }, + label: { + component: 'span', + text: 'themes' + } +}; + +/*-------------------------------------------------------------- +# THEMES +--------------------------------------------------------------*/ + +extension.skeleton.main.layers.section.themes.on.click.section = { + component: 'section', + variant: 'transparent-card', + + custom: { + component: 'label', + variant: 'custom-theme', + text: 'custom', + + radio: { + component: 'radio', + group: 'theme', + value: 'custom', + checked: true, + on: { + click: { + section: { + component: 'section', + variant: 'card', + group: 'theme', + theme_primary_color: { + component: 'color-picker', + text: 'primaryColor', + value: [200, 200, 200] + }, + + scroll_bar: { + component: 'select', + text: 'scrollBar', + options: [{ + text: 'default', + value: 'default' + }, { + text: 'hidden', + value: 'hidden' + }] + }, + font: { + component: 'select', + text: 'font', + options: [{ + text: 'default', + value: 'Default' + }, { + text: 'Comfortaa', + value: 'Comfortaa' + }, { + text: 'Lato', + value: 'Lato' + }, { + text: 'Marriweather', + value: 'Marriweather' + }, { + text: 'Montserrat', + value: 'Montserrat' + }, { + text: 'Noto Sans', + value: 'Noto+Sans' + }, { + text: 'Open Sans', + value: 'Open+Sans' + }, { + text: 'Oswald', + value: 'Oswald' + }, { + text: 'Poppins', + value: 'Poppins' + }, { + text: 'PT Sans', + value: 'PT+Sans' + }, { + text: 'Raleway', + value: 'Raleway' + }, { + text: 'Roboto Condensed', + value: 'Roboto+Condensed' + }, { + text: 'Roboto Mono', + value: 'Roboto+Mono' + }, { + text: 'Roboto Slab', + value: 'Roboto+Slab' + }, { + text: 'Source Sans Pro', + value: 'Source+Sans+Pro' + }] + }, + theme_text_color: { + component: 'color-picker', + text: 'textColor', + value: [25, 25, 25] + }, + + + } + } + } + } + }, + default: { + component: 'label', + variant: 'default-theme', + text: 'default', + + radio: { + component: 'radio', + group: 'theme', + value: 'default', + checked: true + } + }, + dark: { + component: 'label', + variant: 'dark-theme', + text: 'dark', + + radio: { + component: 'radio', + group: 'theme', + value: 'dark' + } + }, + night: { + component: 'label', + variant: 'night-theme', + text: 'night', + + radio: { + component: 'radio', + group: 'theme', + value: 'night' + } + }, + dawn: { + component: 'label', + variant: 'dawn-theme', + text: 'dawn', + + radio: { + component: 'radio', + group: 'theme', + value: 'dawn' + } + }, + sunset: { + component: 'label', + variant: 'sunset-theme', + text: 'sunset', + + radio: { + component: 'radio', + group: 'theme', + value: 'sunset' + } + }, + desert: { + component: 'label', + variant: 'desert-theme', + text: 'desert', + + radio: { + component: 'radio', + group: 'theme', + value: 'desert' + } + }, + plain: { + component: 'label', + variant: 'plain-theme', + text: 'plain', + + radio: { + component: 'radio', + group: 'theme', + value: 'plain' + } + }, + black: { + component: 'label', + variant: 'black-theme', + text: 'black', + + radio: { + component: 'radio', + group: 'theme', + value: 'black' + } + } +}; \ No newline at end of file diff --git a/options-page/skeleton.js b/options-page/skeleton.js new file mode 100644 index 000000000..6dad63274 --- /dev/null +++ b/options-page/skeleton.js @@ -0,0 +1,194 @@ +/*-------------------------------------------------------------- +>>> SKELETON: +---------------------------------------------------------------- +# Base +# Header +# Main +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BASE +--------------------------------------------------------------*/ + +extension.skeleton = { + component: 'base' +}; + + +/*-------------------------------------------------------------- +# HEADER +--------------------------------------------------------------*/ + +extension.skeleton.header = { + component: 'header', + + sectionStart: { + component: 'section', + variant: 'align-start', + + back: { + component: 'button', + variant: 'icon', + attr: { + 'hidden': 'true' + }, + on: { + click: 'main.layers.back' + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'stroke-width': '1.5', + 'stroke': 'currentColor', + 'fill': 'none' + }, + + path: { + component: 'path', + attr: { + 'd': 'M14 18l-6-6 6-6' + } + } + } + }, + title: { + component: 'span', + variant: 'title', + data: { + version: chrome.runtime.getManifest().version + } + } + }, + sectionEnd: { + component: 'section', + variant: 'align-end', + + search: { + component: 'button', + variant: 'icon', + on: {}, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'stroke': 'currentcolor', + 'stroke-linecap': 'round', + 'stroke-linejoin': 'round', + 'stroke-width': '1.25', + 'fill': 'none' + }, + + circle: { + component: 'circle', + attr: { + 'cx': '11', + 'cy': '10.5', + 'r': '6' + } + }, + path: { + component: 'path', + attr: { + 'd': 'M20 20l-4-4' + } + } + } + }, + menu: { + component: 'button', + variant: 'icon', + on: { + click: { + component: 'modal', + variant: 'vertical-menu' + } + }, + + svg: { + component: 'svg', + attr: { + 'viewBox': '0 0 24 24', + 'stroke-width': '2', + 'stroke': 'currentColor', + 'fill': 'none' + }, + + circle1: { + component: 'circle', + attr: { + 'cx': '12', + 'cy': '5.25', + 'r': '0.45' + } + }, + circle2: { + component: 'circle', + attr: { + 'cx': '12', + 'cy': '12', + 'r': '0.45' + } + }, + circle3: { + component: 'circle', + attr: { + 'cx': '12', + 'cy': '18.75', + 'r': '0.45' + } + } + } + } + } +}; + + +/*-------------------------------------------------------------- +# MAIN +--------------------------------------------------------------*/ + +extension.skeleton.main = { + component: 'main', + + layers: { + component: 'layers', + on: { + open: function () { + var skeleton = satus.last(this.path), + section = this.baseProvider.skeleton.header.sectionStart, + title = 'ImprovedTube'; + + if (skeleton.parentSkeleton) { + if (skeleton.parentSkeleton.label) { + title = skeleton.parentSkeleton.label.text; + } else if (skeleton.parentSkeleton.text) { + title = skeleton.parentSkeleton.text; + } + } + + section.back.rendered.hidden = this.path.length <= 1; + section.title.rendered.innerText = satus.locale.get(title); + + var vertical_menu = document.querySelector('.satus-modal--vertical-menu'); + + if (vertical_menu) { + vertical_menu.close(); + } + } + }, + + section: { + component: 'section', + variant: function () { + if (satus.storage.get('improvedtube_home') === 'list') { + return 'card'; + } + + return 'home'; + } + } + } +}; \ No newline at end of file diff --git a/options-page/styles/analyzer.css b/options-page/styles/analyzer.css new file mode 100644 index 000000000..8d37df7cf --- /dev/null +++ b/options-page/styles/analyzer.css @@ -0,0 +1,41 @@ +/*-------------------------------------------------------------- +>>> ANALYZER +--------------------------------------------------------------*/ + +.analyzer-watch-time { + font-size: 13px; + + display: flex; + + margin: 16px 6px 0; + + opacity: .72; + + justify-content: space-between; +} + +.analyzer-watch-time__label { + text-transform: uppercase; +} + +.satus-switch--activation { + margin: 12px; + padding: 12px; + + border-radius: 3px; + background: rgba(var(--satus-light), .08); + + --satus-switch-track: rgba(var(--satus-light), .1); +} + +.satus-switch--activation:focus { + background: rgba(var(--satus-light), .16); +} + +.satus-switch--activation:hover { + background: rgba(var(--satus-light), .12); +} + +.satus-switch--activation[data-value='true']>.satus-switch__i { + opacity: .88; +} \ No newline at end of file diff --git a/options-page/styles/appearance.css b/options-page/styles/appearance.css new file mode 100644 index 000000000..49d30d9ac --- /dev/null +++ b/options-page/styles/appearance.css @@ -0,0 +1,170 @@ +/*-------------------------------------------------------------- +>>> APPEARANCE: +---------------------------------------------------------------- +# Buttons +# Custom player size +# Hide Detail Button +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BUTTONS +--------------------------------------------------------------*/ + +.satus-section--appearance { + position: relative; + + width: 100%; + max-width: 900px; + height: 100%; + margin: auto; +} + +.satus-section--appearance .satus-button { + position: absolute; + + display: block; + + transition: transform .5s, box-shadow .5s; + transform: scale(1); + text-align: center; + + border: 1px solid var(--it-appearance-shadow-color); + border-radius: 3px; + background: var(--satus-section-background); + box-shadow: 0 0 2px 0 rgb(0 0 0 / 0%); +} + +.satus-section--appearance .satus-button:hover { + z-index: 9; + + transition-duration: .25s; + transform: scale(1.03) translate(-8px, -4px); + + box-shadow: 1px 1px 0 0 var(--main-appearance-shadow, var(--it-appearance-shadow-color)), 2px 2px 0 0 var(--main-appearance-shadow, var(--it-appearance-shadow-color)), 3px 3px 0 0 var(--main-appearance-shadow, var(--it-appearance-shadow-color)), 4px 4px 0 0 var(--main-appearance-shadow, var(--it-appearance-shadow-color)), 5px 6px 4px 0 rgba(0, 0, 0, .1); +} + +.satus-section--appearance .satus-button--header { + top: 16px; + left: 16px; + + width: calc(100% - 32px); + height: 40px; + min-height: auto; +} + +.satus-section--appearance .satus-button--header:hover { + transform: scale(1.03) translate(-9px, -4px); +} + +.satus-section--appearance .satus-button--player { + top: 64px; + left: 16px; + + width: calc(70% - 32px); + height: 96px; + min-height: auto; + + color: #eee; + border-color: #333; + background-color: #444; +} + +.satus-section--appearance .satus-button--player .label { + color: #fff; +} + +.satus-section--appearance .satus-button--player:hover { + transform: scale(1.03) translate(-7px, -4px); + + box-shadow: 1px 1px 0 0 #333, 2px 2px 0 0 #333, 3px 3px 0 0 #333, 4px 4px 0 0 #333, 5px 6px 4px 0 rgba(0, 0, 0, .1); +} + +.satus-section--appearance .satus-button--details { + top: 168px; + left: 16px; + + width: calc(70% - 32px); + height: 56px; + min-height: auto; +} + +.satus-section--appearance .satus-button--comments { + top: 232px; + left: 16px; + + width: calc(70% - 32px); + height: 80px; + min-height: auto; +} + +.satus-section--appearance .satus-button--footer { + top: 320px; + left: 16px; + + width: calc(70% - 32px); + height: 32px; + min-height: auto; +} + +.satus-section--appearance .satus-button--sidebar { + top: 64px; + left: calc(70% - 8px); + + width: calc(30% - 8px); + height: 160px; +} + + +/*-------------------------------------------------------------- +# CUSTOM PLAYER SIZE +--------------------------------------------------------------*/ + +.satus-section--custom-player-size { + position: relative; + + display: flex; + visibility: hidden; + overflow: hidden; + + height: 0; + padding: 0 8px; + + transition: 400ms; + + background: rgba(var(--satus-light), .04); + box-shadow: inset 0 3px 4px -4px, inset 0 -3px 4px -4px; + + flex-wrap: nowrap; + align-items: center; +} + +.satus-select--player-size[data-value='custom']+.satus-section--custom-player-size { + visibility: visible; + + height: 68px; + padding: 16px 8px; +} + +.satus-section--custom-player-size>.satus-text-field { + width: auto; + min-width: unset; + + text-align: center; + + flex: 1; +} + +.satus-section--custom-player-size>span { + margin: 0 8px; + + content: 'x'; +} + + + /*-------------------------------------------------------------- +DURATION WITH SPEED +--------------------------------------------------------------*/ + +#show-remaining-duration:not([data-value='true']) + .satus-switch { + display: none; +} \ No newline at end of file diff --git a/options-page/styles/blacklist.css b/options-page/styles/blacklist.css new file mode 100644 index 000000000..4dd40db17 --- /dev/null +++ b/options-page/styles/blacklist.css @@ -0,0 +1,22 @@ +/*-------------------------------------------------------------- +>>> BLACKLIST +--------------------------------------------------------------*/ + +.satus-div--blacklist> :first-child { + overflow: hidden; + + white-space: nowrap; + text-overflow: ellipsis; + + flex: 1; +} + +.satus-div--blacklist>button { + height: 32px; + margin: 0 0 0 12px; + padding: 6px; +} + +.satus-div--blacklist:not(:hover)>button { + display: none; +} \ No newline at end of file diff --git a/options-page/styles/fonts.css b/options-page/styles/fonts.css new file mode 100644 index 000000000..1390e99c6 --- /dev/null +++ b/options-page/styles/fonts.css @@ -0,0 +1,40 @@ +/*-------------------------------------------------------------- +>>> FONTS: +---------------------------------------------------------------- +# Sources +# Base +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# SOURCES +--------------------------------------------------------------*/ + +@font-face { + font-family: 'Roboto'; + + src: url(../../assets/fonts/Roboto-Regular.ttf); +} + +@font-face { + font-family: 'Roboto'; + font-weight: 300; + + src: url(../../assets/fonts/Roboto-Light.ttf); +} + +@font-face { + font-family: 'Roboto'; + font-weight: 500; + + src: url(../../assets/fonts/Roboto-Medium.ttf); +} + + +/*-------------------------------------------------------------- +# BASE +--------------------------------------------------------------*/ + +.satus-base { + font-family: 'Roboto', sans-serif; + font-size: 14px; +} \ No newline at end of file diff --git a/options-page/styles/header.css b/options-page/styles/header.css new file mode 100644 index 000000000..cd6c4a9af --- /dev/null +++ b/options-page/styles/header.css @@ -0,0 +1,28 @@ +/*-------------------------------------------------------------- +>>> HEADER +--------------------------------------------------------------*/ + +.satus-header>.satus-section--align-start { + max-width: calc(100% - 96px); +} + +.satus-base[title-version='true'] .satus-span--title::after { + font: 700 10px sans-serif; + + margin: 0 0 0 4px; + + content: attr(data-version); + + opacity: .6; +} + +.satus-modal--vertical-menu .satus-button svg { + stroke: var(--satus-primary); +} + +.satus-modal--vertical-menu .satus-button .satus-span { + overflow: hidden; + + white-space: nowrap; + text-overflow: ellipsis; +} \ No newline at end of file diff --git a/options-page/styles/home.css b/options-page/styles/home.css new file mode 100644 index 000000000..27cc21d20 --- /dev/null +++ b/options-page/styles/home.css @@ -0,0 +1,115 @@ +/*-------------------------------------------------------------- +>>> HOME: +---------------------------------------------------------------- +# Buttons +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BUTTONS +--------------------------------------------------------------*/ + +.satus-section--home .satus-button { + display: flex; + flex-direction: column; + + width: calc(100% / 3); + height: unset; + margin: 8px 0 0; + padding: 8px 0; +} + +.satus-base:not([improvedtube-home='list'])[page] .satus-section--home .satus-button { + width: 96px; +} + +.satus-section--home .satus-button:focus, +.satus-section--home .satus-button:hover { + background: transparent; +} + +.satus-section--home .satus-button> :nth-child(1) { + display: flex; + + width: 60px; + height: 60px; + margin: 0 0 8px; + padding: 16px; + + transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; + + color: var(--satus-bubble-foreground); + border-radius: 50%; + background: var(--satus-bubble-background); + box-shadow: var(--satus-bubble-shadow-raised); + + align-items: center; + justify-content: center; +} + +.satus-section--home .satus-button:hover> :nth-child(1) { + transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; + transform: translateY(4px) scale(.975); + + box-shadow: var(--satus-bubble-shadow-unelevated); +} + +.satus-section--home .satus-button> :nth-child(2) { + overflow: hidden; + + width: 100%; + padding: 0 8px; + + text-align: center; + white-space: nowrap; + text-overflow: ellipsis; +} + +.satus-section--home svg { + position: relative; + top: 1px; +} + +.satus-button--player svg { + top: 1px; + left: 2px; +} + +.satus-base[home-style='list'] .satus-button--general > span:first-child, +.satus-base[home-style='list'] .satus-button--appearance > span:first-child, +.satus-base[home-style='list'] .satus-button--themes > span:first-child, +.satus-base[home-style='list'] .satus-button--player > span:first-child, +.satus-base[home-style='list'] .satus-button--playlist > span:first-child, +.satus-base[home-style='list'] .satus-button--channel > span:first-child, +.satus-base[home-style='list'] .satus-button--shortcuts > span:first-child, +.satus-base[home-style='list'] .satus-button--blacklist > span:first-child, +.satus-base[home-style='list'] .satus-button--analyzer > span:first-child { + display: block; + height: 20px; + width: 20px; + color: var(--satus-primary); + margin: 0 14px 0 0; +} + +.satus-base[general='true'] .satus-button--general, +.satus-base[appearance='true'] .satus-button--appearance, +.satus-base[themes='true'] .satus-button--themes, +.satus-base[player='true'] .satus-button--player, +.satus-base[playlist='true'] .satus-button--playlist, +.satus-base[channel='true'] .satus-button--channel, +.satus-base[shortcuts='true'] .satus-button--shortcuts, +.satus-base[blacklist='true'] .satus-button--blacklist, +.satus-base[analyzer='true'] .satus-button--analyzer { + display: none !important; +} + + +body[tab] { + width: 100vw; + height: 100vh; + overflow: hidden; +} + +body[tab] .satus-base { + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/options-page/styles/mixer.css b/options-page/styles/mixer.css new file mode 100644 index 000000000..d0280b3c6 --- /dev/null +++ b/options-page/styles/mixer.css @@ -0,0 +1,110 @@ +/*-------------------------------------------------------------- +# MIXER +--------------------------------------------------------------*/ + +.satus-section--mixer { + position: relative; + + overflow: hidden; + flex-direction: column; + + width: calc(100% - 32px); + height: 128px; + margin: 8px 16px 0; + + border: unset; + border-radius: 10px; + background-color: #000; + background-repeat: no-repeat; + background-position: center; + background-size: cover; + + flex: unset; + align-items: flex-start; +} + +.satus-section--mixer::before { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + + content: ''; + + background: rgba(0, 0, 0, .5); +} + +.satus-section--mixer .satus-h1 { + font-size: 14px; + + position: absolute; + bottom: 0; + left: 0; + + margin: 16px; + + transition: 200ms; + + color: #fff; + text-shadow: 0 0 1px rgb(0, 0, 0, .4); +} + +.satus-section--mixer:hover .satus-h1 { + opacity: 0; +} + +.satus-section--mixer>.satus-section { + position: absolute; + bottom: 0; + + visibility: hidden; + + width: 100%; + margin: 0; + padding: 4px 0; + + transition: 200ms; + transform: translateY(32px); + + opacity: 0; + border: unset; + border-radius: unset; + background: #fff; +} + +.satus-section--mixer:hover>.satus-section { + visibility: visible; + + transform: translateY(0); + + opacity: 1; +} + +.satus-section--mixer.noconnection>.satus-section>div { + visibility: hidden; + + pointer-events: none; +} + +.satus-section--mixer.noconnection>.satus-section::after { + font-size: 18px; + font-weight: 500; + + position: absolute; + top: 50%; + + width: 100%; + + content: attr(data-no-connection-label); + transform: translateY(-50%); + text-align: center; + + opacity: .8; +} + +.satus-section--mixer .satus-slider { + width: 100%; + padding: 4px 12px; +} \ No newline at end of file diff --git a/options-page/styles/night-mode.css b/options-page/styles/night-mode.css new file mode 100644 index 000000000..b6255aae4 --- /dev/null +++ b/options-page/styles/night-mode.css @@ -0,0 +1,8 @@ +/*-------------------------------------------------------------- +>>> NIGHT MODE +--------------------------------------------------------------*/ + +:not([data-value='sunset_to_sunrise']) + .satus-time--from, +:not([data-value='sunset_to_sunrise']) + * + .satus-time--to { + display: none !important +} \ No newline at end of file diff --git a/options-page/styles/player.css b/options-page/styles/player.css new file mode 100644 index 000000000..14698d864 --- /dev/null +++ b/options-page/styles/player.css @@ -0,0 +1,9 @@ +/*-------------------------------------------------------------- +>>> PLAYER +--------------------------------------------------------------*/ + +#forced-volume:not([data-value='true']) + .satus-slider, +#forced-playback-speed:not([data-value='true']) + .satus-switch, +#forced-playback-speed:not([data-value='true']) + .satus-switch + .satus-slider { + display: none; +} \ No newline at end of file diff --git a/options-page/styles/search.css b/options-page/styles/search.css new file mode 100644 index 000000000..136c69bab --- /dev/null +++ b/options-page/styles/search.css @@ -0,0 +1,104 @@ +/*-------------------------------------------------------------- +>>> SEARCH: +---------------------------------------------------------------- +# Buttons +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# BUTTONS +--------------------------------------------------------------*/ + +.satus-text-field--search { + position: absolute; + z-index: 1; + right: 60px; + + width: calc(100vw - 72px); + margin: 0; + padding-right: 36px; +} + +.satus-text-field--search:focus { + box-shadow: 0 0 0 4px rgba(13, 110, 253, .25); +} + +.search-mode .satus-text-field--search { + display: block; +} + +.search-mode--results { + border-bottom-right-radius: unset; + border-bottom-left-radius: unset; +} + +.satus-text-field--search>.satus-button { + position: absolute; + z-index: 9; + top: 0; + right: 0; + + width: 26px; + min-width: 26px; + height: 26px; + margin: 4px; + padding: 3px; +} + +.satus-text-field--search[results] { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.search-results { + top: 56px; + + height: calc(100vh - 56px); +} + +.search-results .satus-modal__surface { + position: absolute; + top: -10px; + left: 12px; + + width: calc(100% - 72px); + min-width: unset; + max-width: unset; + max-height: calc(100vh - 56px); + margin: 0; + padding: 0; + + transform: none; + transform-origin: top; + animation: none; + + opacity: 1; + border: 1px solid var(--satus-text-field-border); + border-top: none; + border-radius: 4px; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-color: var(--satus-text-field-background); + box-shadow: none; +} + +.search-results .satus-section>* { + width: 100%; + height: 40px; + min-height: unset; + padding: 0 16px; +} + +.search-results .satus-select__label { + text-align: left; +} + +.search-results .satus-section--label { + font-size: 15px; + font-weight: 500; + + display: block; + + width: calc(100% - 16px); + max-width: 900px; + margin: 8px auto 0 12px; +} \ No newline at end of file diff --git a/options-page/styles/settings.css b/options-page/styles/settings.css new file mode 100644 index 000000000..19c1a6e0a --- /dev/null +++ b/options-page/styles/settings.css @@ -0,0 +1,31 @@ +/*-------------------------------------------------------------- +>>> SETTINGS: +---------------------------------------------------------------- +# Animations +# Email +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# ANIMATIONS +--------------------------------------------------------------*/ + +[layer-animation-scale='0'] .satus-layers__layer { + animation-duration: 0s !important +} + + +/*-------------------------------------------------------------- +# EMAIL +--------------------------------------------------------------*/ + +.satus-button--email { + display: flex; + height: auto; + margin: auto; + padding: 8px; + cursor: pointer; + text-align: center; + letter-spacing: .125px; + color: var(--satus-primary); + justify-content: center +} \ No newline at end of file diff --git a/options-page/styles/themes.css b/options-page/styles/themes.css new file mode 100644 index 000000000..00f3111e5 --- /dev/null +++ b/options-page/styles/themes.css @@ -0,0 +1,450 @@ +/*-------------------------------------------------------------- +>>> THEMES: +---------------------------------------------------------------- +# Default +--------------------------------------------------------------*/ + +/*-------------------------------------------------------------- +# DEFAULT +--------------------------------------------------------------*/ + +.satus-base { + --satus-bubble-foreground: rgba(255, 255, 255, .75); + --satus-bubble-background: linear-gradient(135deg, #ff4766, #f50029); + --satus-bubble-shadow-raised: 0 2px 1px 1px #d60024, 0 4px 4px rgb(82, 0, 14, .32); + --satus-bubble-shadow-unelevated: 0 1px 1px 0 #d60024, 0 1px 2px rgb(82, 0, 14, .32); + --it-appearance-shadow-color: #dfdfdf; +} + +.satus-base[theme='dark'] { + --satus-light: 255, 255, 255; + --satus-base-background: #131316; + --satus-base-foreground: #e0e0e0; + --satus-header-background: #26262c; + --satus-header-text: #e0e0e0; + --satus-header-shadow: 0 1px 0 #000; + --satus-layers-background: #131316; + --satus-layers-text: #e0e0e0; + --satus-section-background: #1c1d21; + --satus-section-border: #212121; + --satus-switch-track: #e1e4ea; + --satus-modal-background: #2a2b32; + --satus-modal-foreground: #e0e0e0; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-tabs-background: #1c1d21; + --satus-tabs-foreground: #33343d; + --satus-text-field-background: #1e1e1e; + --satus-text-field-foreground: #e0e0e0; +} + +.satus-base[theme='night'] { + --satus-bubble-foreground: rgba(255, 255, 255, .75); + --satus-bubble-background: linear-gradient(135deg, #3a48b4, #5663c8); + --satus-bubble-shadow-raised: 0 2px 1px 1px #2f3b92, 0 4px 4px rgb(82, 0, 14, .32); + --satus-bubble-shadow-unelevated: 0 1px 1px 0 #2f3b92, 0 1px 2px rgb(82, 0, 14, .32); + --it-appearance-shadow-color: #dfdfdf; + --satus-light: 255, 255, 255; + --satus-primary: #f5f5f5; + --satus-base-background: #191f4d; + --satus-base-foreground: #f5f5f5; + --satus-header-background: #3a48b4; + --satus-header-text: #f5f5f5; + --satus-header-shadow: 0 1px 0 #000; + --satus-layers-background: #191f4d; + --satus-layers-text: #f5f5f5; + --satus-section-background: #28327b; + --satus-section-border: #2f3b92; + --satus-switch-track: #e1e4ea; + --satus-modal-background: #3a48b4; + --satus-modal-foreground: #f5f5f5; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-text-field-background: #3a48b4; + --satus-text-field-foreground: #f5f5f5; + --satus-text-field-border: #5d6acb; +} + +.satus-base[theme='dawn'] { + --satus-bubble-foreground: rgba(255, 255, 255, .75); + --satus-bubble-background: linear-gradient(145deg, #ed5a97 46%, #ffa77a); + --satus-bubble-shadow-raised: 0 2px 1px 1px #de357c, 0 4px 4px rgb(82, 0, 14, .32); + --satus-bubble-shadow-unelevated: 0 1px 1px 0 #de357c, 0 1px 2px rgb(82, 0, 14, .32); + --it-appearance-shadow-color: #dfdfdf; + --satus-light: 255, 255, 255; + --satus-primary: #f5f5f5; + --satus-base-background: linear-gradient(345deg, #ffa77a, #de357c 70%); + --satus-base-foreground: #f5f5f5; + --satus-header-background: #e45892; + --satus-header-text: #fff; + --satus-header-shadow: 0 2px 2px #db2470; + --satus-layers-background: linear-gradient(345deg, #ffa77a, #de357c 70%); + --satus-layers-text: #f5f5f5; + --satus-section-background: rgb(221, 75, 136, .6); + --satus-section-border: rgb(224, 92, 147, .8); + --satus-switch-track: rgb(255, 255, 255, .24); + --satus-modal-background: #e45892; + --satus-modal-foreground: #fff; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-text-field-background: #ed74a9; + --satus-text-field-foreground: #f5f5f5; + --satus-text-field-border: #e53883; +} + +.satus-base[theme='sunset'] { + --satus-bubble-foreground: rgba(255, 255, 255, .75); + --satus-bubble-background: linear-gradient(145deg, #ef4d5a 46%, #fa7965); + --satus-bubble-shadow-raised: 0 2px 1px 1px #e14749, 0 4px 4px rgb(82, 0, 14, .32); + --satus-bubble-shadow-unelevated: 0 1px 1px 0 #e14749, 0 1px 2px rgb(82, 0, 14, .32); + --it-appearance-shadow-color: #dfdfdf; + --satus-light: 255, 255, 255; + --satus-primary: #f5f5f5; + --satus-base-background: linear-gradient(345deg, #a96165, #2f3364 70%); + --satus-base-foreground: #f5f5f5; + --satus-header-background: #313668; + --satus-header-text: #fff; + --satus-header-shadow: 0 2px 2px #262a54; + --satus-layers-background: linear-gradient(345deg, #a96165, #2f3364 70%); + --satus-layers-text: #f5f5f5; + --satus-section-background: rgb(62, 67, 121, .6); + --satus-section-border: #313668; + --satus-switch-track: rgb(255, 255, 255, .24); + --satus-modal-background: #313668; + --satus-modal-foreground: #fff; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-text-field-background: #313668; + --satus-text-field-foreground: #f5f5f5; + --satus-text-field-border: #313668; +} + +.satus-base[theme='desert'] { + --satus-bubble-foreground: rgba(255, 255, 255, .75); + --satus-bubble-background: linear-gradient(145deg, #7ea5f1 46%, #5a8bed); + --satus-bubble-shadow-raised: 0 2px 1px 1px #3571e9, 0 4px 4px rgb(82, 0, 14, .32); + --satus-bubble-shadow-unelevated: 0 1px 1px 0 #3571e9, 0 1px 2px rgb(82, 0, 14, .32); + --it-appearance-shadow-color: #dfdfdf; + --satus-light: 0, 0, 0; + --satus-primary: #73a1fc; + --satus-base-background: #fde49b; + --satus-base-foreground: #444; + --satus-header-background: #73a1fc; + --satus-header-foreground: #fff; + --satus-header-shadow: 0 2px 2px #5288f4; + --satus-layers-background: #fde49b; + --satus-layers-text: #242424; + --satus-section-background: #fcda73; + --satus-section-foreground: #444; + --satus-section-border: #fcd55f; + --satus-switch-track: rgb(255, 255, 255, .24); + --satus-modal-background: #73a1fc; + --satus-modal-foreground: #fff; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-text-field-background: #73a1fc; + --satus-text-field-foreground: #f5f5f5; + --satus-text-field-border: #73a1fc; +} + +.satus-base[theme='plain'] { + --satus-bubble-foreground: rgba(255, 255, 255, .75); + --satus-bubble-background: linear-gradient(145deg, #4c946b 46%, #4c946b); + --satus-bubble-shadow-raised: 0 2px 1px 1px #4c946b, 0 4px 4px rgb(82, 0, 14, .32); + --satus-bubble-shadow-unelevated: 0 1px 1px 0 #4c946b, 0 1px 2px rgb(82, 0, 14, .32); + --it-appearance-shadow-color: #dfdfdf; + --satus-light: 0, 0, 0; + --satus-primary: #fff; + --satus-base-background: #8db9a0; + --satus-base-foreground: #fff; + --satus-header-background: #57a87a; + --satus-header-foreground: #fff; + --satus-header-shadow: 0 2px 2px #4c946b; + --satus-layers-background: #8db9a0; + --satus-layers-text: #242424; + --satus-section-background: #4c946b; + --satus-section-foreground: #fff; + --satus-section-border: #458762; + --satus-switch-track: rgb(255, 255, 255, .24); + --satus-modal-background: #57a87a; + --satus-modal-foreground: #fff; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-text-field-background: ##57a87a; + --satus-text-field-foreground: #f5f5f5; + --satus-text-field-border: #4c946b; +} + +.satus-base[theme='black'] { + --it-appearance-shadow-color: #333; + --satus-light: 255, 255, 255; + --satus-base-background: #000; + --satus-base-foreground: #e0e0e0; + --satus-header-background: #111; + --satus-header-text: #e0e0e0; + --satus-header-shadow: 0 1px 0 #222; + --satus-layers-background: #000; + --satus-layers-text: #b8b8b8; + --satus-section-background: #131316; + --satus-section-border: #26272c; + --satus-switch-track: #292929; + --satus-modal-background: #1d1e20; + --satus-modal-foreground: #e0e0e0; + --satus-modal-shadow: 0 1px 5px 3px rgba(0, 0, 0, .24); + --satus-tabs-background: #1c1d21; + --satus-tabs-foreground: #33343d; + --satus-text-field-background: #1e1e1e; + --satus-text-field-border: #333; + --satus-text-field-foreground: #e0e0e0; +} + + +.satus-label[class$='-theme'] { + display: flex; + + height: 80px; + margin: 0 0 12px 0; + padding: 8px 16px; + + cursor: pointer; + + color: #fff; + border: 1px solid rgba(var(--satus-light), .1); + border-radius: 8px; + text-shadow: 0 1px 3px #000; + + justify-content: space-between; + align-items: center; +} + +.satus-label--custom-theme { + background: linear-gradient(to left, #e52d27, #b31217); +} + +.satus-label--default-theme { + background: #f0f0f0; +} + +.satus-label--dark-theme { + position: relative; + + overflow: hidden; + + background: linear-gradient(#0d1216, #353d46) !important; +} + +.satus-label--dark-theme::before { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; + + content: ''; + animation-name: satus-label--dark-theme; + animation-duration: 4s; + animation-timing-function: ease-in-out; + animation-iteration-count: infinite; + pointer-events: none; + + background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; + background-repeat: no-repeat !important; + background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; + background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; + + filter: blur(8px); +} + +@keyframes satus-label--dark-theme { + 0% { + background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; + } + + 50% { + background-position: 20px 20px, 230px -20px, 0 -40px, 160px 10px; + } + + 100% { + background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; + } +} + +.satus-label--night-theme { + position: relative; + + overflow: hidden; + + animation-name: satus-label--night-theme; + animation-duration: .75s; + animation-iteration-count: infinite; + + background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), linear-gradient(#3a48b4, #61a7f5) !important; + background-repeat: no-repeat !important; + background-position: 75% 80%, 35% 65%, 30% 10%, 50% 40%, 10% 80%, 90% 10%, 0 0 !important; + background-size: 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, auto !important; +} + +@keyframes satus-label--night-theme { + 0% { + background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), linear-gradient(#3a48b4, #61a7f5); + } + + 25% { + background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), linear-gradient(#3a48b4, #61a7f5); + } + + 50% { + background-image: radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .9) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), linear-gradient(#3a48b4, #61a7f5); + } + + 75% { + background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), linear-gradient(#3a48b4, #61a7f5); + } + + 100% { + background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), linear-gradient(#3a48b4, #61a7f5); + } +} + +.satus-label--dawn-theme { + position: relative; + + overflow: hidden; + + background: linear-gradient(#ed74a9, #ffba99) !important; +} + +.satus-slabel-dawn-theme::before { + position: absolute; + right: 1rem; + bottom: -5rem; + + width: 10rem; + height: 10rem; + + content: ''; + animation-name: satus-label--dawn-theme; + animation-duration: .75s; + animation-iteration-count: infinite; + pointer-events: none; + + border-radius: 50%; + background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; +} + +@keyframes satus-label--dawn-theme { + 0% { + background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%); + } + + 50% { + background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .30) 20%, rgba(255, 255, 231, .30) 35%, rgba(255, 255, 231, .20) 35%, rgba(255, 255, 231, .20) 55%, rgba(255, 255, 231, .10) 55%, rgba(255, 255, 231, .10) 75%, transparent 75%); + } + + 100% { + background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%); + } +} + +.satus-label--sunset-theme { + position: relative; + + overflow: hidden; + + background: linear-gradient(#2f3364, #a96165) !important; +} + +.satus-label--sunset-theme::before { + position: absolute; + top: -1rem; + left: 50%; + + overflow: hidden; + + width: 8rem; + height: 8rem; + + content: ''; + transform: translate(-50%, 0%); + pointer-events: none; + + border-radius: 50%; + background: linear-gradient(#fa7965, #f56264, transparent) !important; +} + +.satus-label--desert-theme { + position: relative; + + overflow: hidden; + + background-image: radial-gradient(#ffe498 50%, transparent 50%), linear-gradient(#9dc2ee, #f5fdff) !important; + background-repeat: no-repeat !important; + background-position: -120px 36px, 0 !important; + background-size: 240%, 100% !important; +} + +.satus-label--desert-theme::before { + position: absolute; + top: -100%; + left: 40%; + + width: 10rem; + height: 10rem; + + content: ''; + animation-name: satus-label--desert-theme; + animation-duration: .75s; + animation-delay: .5s; + animation-iteration-count: infinite; + pointer-events: none; + + border-radius: 50%; + background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; +} + +@keyframes satus-label--desert-theme { + 0% { + background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%); + } + + 50% { + background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .30) 20%, rgba(255, 255, 231, .30) 35%, rgba(255, 255, 231, .20) 35%, rgba(255, 255, 231, .20) 55%, rgba(255, 255, 231, .10) 55%, rgba(255, 255, 231, .1) 75%, transparent 75%); + } + + 100% { + background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%); + } +} + +.satus-label--plain-theme { + position: relative; + + overflow: hidden; + + background-image: radial-gradient(#dea975 50%, transparent 50%), radial-gradient(#e8b887 50%, transparent 50%), radial-gradient(#f1cc9f 50%, transparent 50%), radial-gradient(#f3ddb8 50%, transparent 50%), linear-gradient(#abceb8, #e7ede1) !important; + background-repeat: no-repeat !important; + background-position: -50px 50px, -370px 40px, 0 36px, -360px 26px, 0 !important; + background-size: 240%, 240%, 240%, 240%, 100% !important; +} + +.satus-label--plain-theme::before { + position: absolute; + top: -70%; + left: 10%; + + width: 7rem; + height: 7rem; + + content: ''; + animation-name: satus-label--plain-theme; + animation-duration: .75s; + animation-delay: .2s; + animation-iteration-count: infinite; + pointer-events: none; + + border-radius: 50%; + background: radial-gradient(#fff 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; +} + +.satus-label--black-theme { + background: #000 !important; +} + +.satus-radio__content { + display: none; +} \ No newline at end of file diff --git a/py/build.py b/py/build.py new file mode 100644 index 000000000..d69a79cce --- /dev/null +++ b/py/build.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +#--------------------------------------------------------------- +# >>> TABLE OF CONTENTS: +#--------------------------------------------------------------- +# 1.0 Import modules +# 2.0 Chromium +# 3.0 Firefox +# 4.0 Initialization +#--------------------------------------------------------------- + +#--------------------------------------------------------------- +# 1.0 IMPORT MODULES +#--------------------------------------------------------------- + +import shutil +import sys +import json +import os +import pathlib +import re +import zipfile + + +#--------------------------------------------------------------- +# 2.0 CHROMIUM +#--------------------------------------------------------------- + +def chromium(browser): + temporary_path = '../cached' + + if (os.path.isdir(temporary_path)): + shutil.rmtree(temporary_path, ignore_errors=True) + + os.mkdir(temporary_path) + os.chdir(temporary_path) + + for item in os.listdir('../'): + if ( + item != '.git' and + item != '.github' and + item != 'cached' and + item != 'previews' and + item != 'py' and + item != 'wiki' and + item != 'LICENSE' and + item != 'README.md' and + item != 'SECURITY.md' and + item.find('.zip') == -1 + ): + s = os.path.join('../', item) + d = os.path.join(temporary_path, item) + if os.path.isdir(s): + shutil.copytree(s, d, True, None) + else: + shutil.copy2(s, d) + + with open('manifest.json', 'r+') as json_file: + data = json.load(json_file) + + version = data['version'] + + if (browser == 'beta'): + data['name'] = 'ImprovedTube (testing)'; + + json_file.seek(0) + json.dump(data, json_file, indent=4, sort_keys=True) + json_file.truncate() + + archive = zipfile.ZipFile('../chromium-' + version + '.zip', 'w', zipfile.ZIP_DEFLATED) + + for root, dirs, files in os.walk('.'): + for file in files: + archive.write(os.path.join(root, file), + os.path.relpath(os.path.join(root, file), + os.path.join('.', '.'))) + + archive.close() + shutil.rmtree(temporary_path) + + +#--------------------------------------------------------------- +# 3.0 FIREFOX +#--------------------------------------------------------------- + +def firefox(): + temporary_path = '../cached' + + if (os.path.isdir(temporary_path)): + shutil.rmtree(temporary_path, ignore_errors=True) + + os.mkdir(temporary_path) + os.chdir(temporary_path) + + for item in os.listdir('../'): + if ( + item != '.git' and + item != '.github' and + item != 'cached' and + item != 'previews' and + item != 'py' and + item != 'wiki' and + item != 'LICENSE' and + item != 'README.md' and + item != 'SECURITY.md' and + item.find('.zip') == -1 + ): + s = os.path.join('../', item) + d = os.path.join(temporary_path, item) + if os.path.isdir(s): + shutil.copytree(s, d, True, None) + else: + shutil.copy2(s, d) + + with open('background.js', 'r') as file: + lines = file.readlines() + + with open('background.js', 'w') as file: + skip = False + + for pos, line in enumerate(lines): + if (lines[pos].find('8.0 GOOGLE ANALYTICS') != -1): + skip = True + + if (skip == False): + file.write(line) + + if (line.find('/*--------------------------------------------------------------') != -1): + skip = False + + with open('manifest.json', 'r+') as json_file: + data = json.load(json_file) + + version = data['version'] + + del data['content_security_policy'] + del data['update_url'] + + json_file.seek(0) + json.dump(data, json_file, indent=4, sort_keys=True) + json_file.truncate() + + archive = zipfile.ZipFile('../firefox-' + version + '.zip', 'w', zipfile.ZIP_DEFLATED) + + for root, dirs, files in os.walk('.'): + for file in files: + archive.write(os.path.join(root, file), + os.path.relpath(os.path.join(root, file), + os.path.join('.', '.'))) + + archive.close() + shutil.rmtree(temporary_path) + + +#--------------------------------------------------------------- +# 4.0 INITIALIZATION +#--------------------------------------------------------------- + +for arg in sys.argv: + if arg == '-chromium-stable': + chromium('stable') + elif arg == '-chromium-beta': + chromium('beta') + elif arg == '-firefox': + firefox() \ No newline at end of file diff --git a/py/building for browser stores.md b/py/building for browser stores.md new file mode 100644 index 000000000..66a836837 --- /dev/null +++ b/py/building for browser stores.md @@ -0,0 +1,32 @@ +### For every Browser extension, a builder / build.py should consider these rules per browser-store: +- Edge: doesnt allow a chrome update url + - update URL edge: https://edge.microsoft.com/extensionwebstorebase/v1/crx , replace chrome: https://clients2.google.com/service/update2/crx + +##### Extension name (title in manifest.js) + + - Edge & Whale deny ' (Replace ' with *) + - Whale denies '&' (replace with '+') + - Opera denies Emoji (delete) + +- Microsoft store has a bug/complification with languages https://github.com/code4charity/YouTube-Extension/discussions/966#discussioncomment-963315 + +##### FIREFOX: + +- Security: remove or comment-out: "remote content" (googleapis.com/youtube) called as dynamic innerHtml +- Version 3.2: Firefox has commented-out // video.parentNode.parentNode.pauseVideo(); (fixes autoplay-bug) + +#### Firefox & Opera : + +- Require moving google analytics. However it can be added / remain when generating the google webstore version. + +--- +--- + +#### ImprovedTube only: +- The repo should include m.youtube (firefox addons are available on phones) + AND *.youtube.com + global permission, to work for all \'s. +
besides as of now only our Google Webstore version should remains with www.youtube, until we announce change + + + + diff --git a/py/locale.py b/py/locale.py new file mode 100644 index 000000000..6e854a525 --- /dev/null +++ b/py/locale.py @@ -0,0 +1,258 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# ------------------------------------------------------------------------------ +# >>> TABLE OF CONTENTS: +# ------------------------------------------------------------------------------ +# 1.0 Import modules +# 2.0 Lower camel case +# 3.0 Get list of files +# 4.0 Add item +# 5.0 Remove item +# 6.0 Change key +# 7.0 Decode +# 8.0 Upgrade +# 9.0 Initialization +# ------------------------------------------------------------------------------ + +# ------------------------------------------------------------------------------ +# 1.0 IMPORT MODULES +# ------------------------------------------------------------------------------ + +import io +import json +import os +import pathlib +import re +import sys + + +# ------------------------------------------------------------------------------ +# 2.0 LOWER CAMEL CASE +# ------------------------------------------------------------------------------ + +def lowerCamelCase(string): + string = re.sub(r"(-|_)+", ' ', string).title() + string = re.sub(r"[^a-zA-Z0-9]", '', string) + + return string[0].lower() + string[1:] + + +# ------------------------------------------------------------------------------ +# 3.0 GET LIST OF FILES +# ------------------------------------------------------------------------------ + +def getListOfFiles(path): + allFiles = list() + + for entry in os.listdir(path): + fullPath = os.path.join(path, entry) + + if not os.path.isdir(fullPath): + allFiles.append(fullPath) + + for entry in os.listdir(path): + fullPath = os.path.join(path, entry) + + if os.path.isdir(fullPath): + allFiles = allFiles + getListOfFiles(fullPath) + + return allFiles + + +# ------------------------------------------------------------------------------ +# 4.0 ADD ITEM +# ------------------------------------------------------------------------------ + +def addItem(allFiles): + message = input('Enter your message: ') + camelized_message = lowerCamelCase(message) + + for keyFile in allFiles: + with open(keyFile, 'r+', encoding='utf-8') as json_file: + data = json.load(json_file) + + if (camelized_message in data) == False: + data[camelized_message] = {'message': message} + + json_file.seek(0) + json.dump(data, json_file, ensure_ascii=False, indent=4, sort_keys=True) + json_file.truncate() + + +# ------------------------------------------------------------------------------ +# 5.0 REMOVE ITEM +# ------------------------------------------------------------------------------ + +def removeItem(allFiles): + key = input('Enter your key (lowerCamelCase): ') + + for keyFile in allFiles: + with open(keyFile, 'r+', encoding='utf-8') as json_file: + data = json.load(json_file) + + if key in data: + del data[key] + + json_file.seek(0) + json.dump(data, json_file, ensure_ascii=False, indent=4, + sort_keys=True) + json_file.truncate() + + +# ------------------------------------------------------------------------------ +# 6.0 CHANGE KEY +# ------------------------------------------------------------------------------ + +def changeKey(allFiles): + old_key = input('Enter key: ') + new_key = input('Enter new key: ') + + for keyFile in allFiles: + with open(keyFile, 'r+', encoding='utf-8') as file: + data = json.load(file) + + if old_key in data: + data[new_key] = data[old_key] + + del data[old_key] + + file.seek(0) + json.dump(data, file, ensure_ascii=False, indent=4, sort_keys=True) + file.truncate() + + +# ------------------------------------------------------------------------------ +# 7.0 DECODE +# ------------------------------------------------------------------------------ + +def decodeCharacters(allFiles): + for keyFile in allFiles: + with open(keyFile, 'r+', encoding='utf-8') as json_file: + data = json.load(json_file) + + json_file.seek(0) + json.dump(data, json_file, ensure_ascii=False, indent=4, + sort_keys=True) + json_file.truncate() + + +# ------------------------------------------------------------------------------ +# 8.0 UPGRADE +# ------------------------------------------------------------------------------ + +def upgrade(): + locales = [ + 'ar', + 'am', + 'bg', + 'bn', + 'ca', + 'cs', + 'da', + 'de', + 'el', + 'en', + 'en_GB', + 'en_US', + 'es', + 'es_419', + 'et', + 'fa', + 'fi', + 'fil', + 'fr', + 'gu', + 'he', + 'hi', + 'hr', + 'hu', + 'id', + 'it', + 'ja', + 'kn', + 'ko', + 'lt', + 'lv', + 'ml', + 'mr', + 'ms', + 'nl', + 'no', + 'pl', + 'pt_BR', + 'pt_PT', + 'ro', + 'ru', + 'sk', + 'sl', + 'sr', + 'sv', + 'sw', + 'ta', + 'te', + 'th', + 'tr', + 'uk', + 'vi', + 'zh_CN', + 'zh_TW' + ] + + if os.path.exists('../_locales/en/messages.json'): + file = open('../_locales/en/messages.json', 'r+', encoding='utf-8') + + default_locale = json.load(file) + + file.close() + else: + default_locale = {} + + for locale in locales: + path = '../_locales/' + locale + + if not os.path.exists(path): + pathlib.Path(path).mkdir(parents=True, exist_ok=True) + + file = io.open(path + '/messages.json', mode='w', encoding='utf-8') + + json.dump(default_locale, file, ensure_ascii=False, indent=4, sort_keys=True) + + file.close() + else: + with open(path + '/messages.json', 'r+', encoding='utf-8') as file: + data = json.load(file) + + file.seek(0) + + for key in default_locale: + if (key in data) == False: + data[key] = default_locale[key] + + json.dump(data, file, ensure_ascii=False, indent=4, sort_keys=True) + + file.truncate() + + file.close() + + +# ------------------------------------------------------------------------------ +# 9.0 INITIALIZATION +# ------------------------------------------------------------------------------ + +if not os.path.exists('../_locales/'): + pathlib.Path('../_locales/').mkdir(parents=True, exist_ok=True) + +allFiles = getListOfFiles('../_locales/') + +for arg in sys.argv: + if arg == '-add': + addItem(allFiles) + elif arg == '-remove': + removeItem(allFiles) + elif arg == '-decode': + decodeCharacters(allFiles) + elif arg == '-change-key': + changeKey(allFiles) + elif arg == '-upgrade': + upgrade() \ No newline at end of file diff --git a/stable/_locales/ar/messages.json b/stable/_locales/ar/messages.json deleted file mode 100644 index 0cc3feda0..000000000 --- a/stable/_locales/ar/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "حول" - }, - "accept": { - "message": "قبول" - }, - "activate": { - "message": "تفعيل" - }, - "activateCaptions": { - "message": "تفعيل الترجمة" - }, - "activateFullscreen": { - "message": "تفعيل ملء الشاشة" - }, - "activated": { - "message": "مفعل" - }, - "activatedFeatures": { - "message": "الميزات المفعلة" - }, - "activeFeatures": { - "message": "الميزات النشطة" - }, - "addScrollToTop": { - "message": "آضف الصعود لأعلى" - }, - "ads": { - "message": "الاعلانات" - }, - "all": { - "message": "الكل" - }, - "allow": { - "message": "سماح" - }, - "allow60fps": { - "message": "السماح لـ60إطار" - }, - "alwaysActive": { - "message": "دائما نشط" - }, - "alwaysShowProgressBar": { - "message": "إظهار شريط التقدم دائمًا" - }, - "amber": { - "message": "العنبر" - }, - "analyzer": { - "message": "المحلل" - }, - "appearance": { - "message": "المظهر العام" - }, - "audio": { - "message": "الصوت" - }, - "audioFormats": { - "message": "تنسيقات الصوت" - }, - "auto": { - "message": "تلقائي" - }, - "autoFullscreen": { - "message": "ملء تلقائي للشاشة" - }, - "autopauseWhenSwitchingTabs": { - "message": "إيقاف تلقائي عند التبديل بين التبويبات" - }, - "autoplay": { - "message": "تشغيل تلقائي" - }, - "backupAndReset": { - "message": "إعادة تعيين والنسخ الاحتياطي" - }, - "baseOnSystemColorScheme": { - "message": "يناء على نظام ألوان النظام" - }, - "belowPlayer": { - "message": "اسفل المشغل" - }, - "black": { - "message": "اسود" - }, - "blacklist": { - "message": "القائمة السوداء" - }, - "blockAll": { - "message": "حظر الكل" - }, - "blue": { - "message": "ازرق" - }, - "blueGray": { - "message": "ازرق رمادي" - }, - "bluelight": { - "message": "الضوء الأزرق" - }, - "brown": { - "message": "بنى" - }, - "browser": { - "message": "المتصفح" - }, - "browserVersion": { - "message": "إصدار المتصفح" - }, - "bubbles": { - "message": "فقاعات" - }, - "bug": { - "message": "خلل برمجي" - }, - "buttons": { - "message": "أزرار" - }, - "cancel": { - "message": "إلغاء" - }, - "categories": { - "message": "التصنيفات" - }, - "channel": { - "message": "قناة" - }, - "channels": { - "message": "القنوات" - }, - "clipboard": { - "message": "الحافظة" - }, - "codecH264": { - "message": "h.الترميز 264" - }, - "collapseOfSubscriptionSections": { - "message": "ضغط قسم الاشتراكات" - }, - "collapsed": { - "message": "ضغط" - }, - "comments": { - "message": "التعليقات" - }, - "confirmationBeforeClosing": { - "message": "التأكيد قبل الإغلاق" - }, - "cookies": { - "message": "ملفات تعريف الارتباط" - }, - "cores": { - "message": "النواه" - }, - "cropChapterTitles": { - "message": "اقتطاع عناوين الفصول" - }, - "customCss": { - "message": "مخصص CSS" - }, - "customJs": { - "message": "مخصص JS" - }, - "customMiniPlayer": { - "message": "المشغل الصغير المخصص" - }, - "cyan": { - "message": "ازرق سماوي" - }, - "dark": { - "message": "داكن" - }, - "darkTheme": { - "message": "مظهر داكن" - }, - "dateAndTime": { - "message": "التاريخ والوقت" - }, - "dawn": { - "message": "فجر" - }, - "decreasePlaybackSpeed": { - "message": "تقليل سرعة التشغيل" - }, - "decreaseVolume5": { - "message": "5% خفض الصوت" - }, - "deepOrange": { - "message": "برتقالي غامق" - }, - "deepPurple": { - "message": "أرجواني داكن" - }, - "defaultChannelTab": { - "message": "علامة تبويب القناة الافتراضية" - }, - "deleteYoutubeCookies": { - "message": "حذف ملفات تعريف الارتباط من اليوتيوب" - }, - "description": { - "message": "الوصف" - }, - "desert": { - "message": "صحراء" - }, - "details": { - "message": "التفاصيل" - }, - "developerOptions": { - "message": "خيارات المطور" - }, - "device": { - "message": "الجهاز" - }, - "dim": { - "message": "قاتمة" - }, - "disabled": { - "message": "معطل" - }, - "dislike": { - "message": "لم يعجبنى" - }, - "doNotChange": { - "message": "الإفتراضي" - }, - "donate": { - "message": "تبرع" - }, - "draggable": { - "message": "قابل للسحب" - }, - "email": { - "message": "البريد الإلكتروني" - }, - "empty": { - "message": "فارغة" - }, - "enabled": { - "message": "ممكّن" - }, - "enabledForced": { - "message": "ممكّن (إجباري)" - }, - "expanded": { - "message": "موسع" - }, - "exportSettings": { - "message": "تصدير الإعدادات" - }, - "extension": { - "message": "الإضافة" - }, - "file": { - "message": "ملف" - }, - "filters": { - "message": "مرشحات" - }, - "fitToWindow": { - "message": "مناسب للنافذة" - }, - "flash": { - "message": "فلاش" - }, - "font": { - "message": "الخط" - }, - "footer": { - "message": "الحزء السفلي" - }, - "forcedPlaybackSpeed": { - "message": "تثبيت سرعة التشغيل" - }, - "forcedTheaterMode": { - "message": "فرض وضع المسرح" - }, - "forcedVolume": { - "message": "تثبيت مستوى الصوت" - }, - "foundABug": { - "message": "وجدت خطأ؟" - }, - "fullWindow": { - "message": "نافذة كاملة" - }, - "general": { - "message": "عام" - }, - "github": { - "message": "جيتهب" - }, - "goToSearchBox": { - "message": "انتقل إلى مربع البحث" - }, - "gpu": { - "message": "كرت الشاشة" - }, - "green": { - "message": "أخضر" - }, - "hdThumbnail": { - "message": "صورة مصغرة عالية الدقة" - }, - "hdThumbnails": { - "message": "صور مصغرة عالية الدقة" - }, - "header": { - "message": "الجزء العلوي" - }, - "hidden": { - "message": "إخفاء" - }, - "hiddenOnVideoPage": { - "message": "مخفي على صفحة الفيديو" - }, - "hideAnimatedThumbnails": { - "message": "إخفاء الصور المصغرة المتحركة" - }, - "hideAnnotations": { - "message": "إخفاء التعليقات التوضيحية" - }, - "hideCards": { - "message": "إخفاء البطاقات" - }, - "hideDetails": { - "message": "إخفاء التفاصيل" - }, - "hideEndscreen": { - "message": "إخفاء شاشة النهاية" - }, - "hideFeaturedContent": { - "message": "إخفاء المحتوى المميز" - }, - "hideFooter": { - "message": "إخفاء الجزء السفلي" - }, - "hidePlaylist": { - "message": "إخفاء قائمة التشغيل" - }, - "hideRightButtons": { - "message": "إخفاء الأزرار اليسرى" - }, - "hideScrollForDetails": { - "message": "«إخفاء «التمرير للحصول على التفاصيل" - }, - "hideViewsCount": { - "message": "إخفاء عدد المشاهدات" - }, - "history": { - "message": "السجلّ" - }, - "home": { - "message": "الصفحة الرئيسية" - }, - "hover": { - "message": "تمرير" - }, - "hoverOnVideoPage": { - "message": "تمرير فوق صفحة الفيديو" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "منذ متى تم تحميل الفيديو" - }, - "icons": { - "message": "أيقونات" - }, - "iconsOnly": { - "message": "أيقونات فقط" - }, - "importSettings": { - "message": "استيراد الاعدادات" - }, - "improveLogo": { - "message": "تحسين الشعار" - }, - "improvedtubeIconInBrowser": { - "message": "في المتصفح ImprovedTube ايقونة" - }, - "improvedtubeIconOnYoutube": { - "message": "في اليوتيوب ImprovedTube ايقونة" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube لغة" - }, - "improvedtubeVersion": { - "message": "ImprovedTube اصدار" - }, - "increasePlaybackSpeed": { - "message": "زيادة سرعة التشغيل" - }, - "increaseVolume5": { - "message": "5% زيادة الصوت" - }, - "indigo": { - "message": "نيلي" - }, - "items": { - "message": "العناصر" - }, - "languages": { - "message": "اللغات" - }, - "legacyYoutube": { - "message": "اليوتيوب القديم" - }, - "light": { - "message": "ضوء" - }, - "lightBlue": { - "message": "أزرق فاتح" - }, - "lightGreen": { - "message": "اخضر فاتح" - }, - "like": { - "message": "اعحبني" - }, - "likes": { - "message": "الإعجابات" - }, - "lime": { - "message": "جير" - }, - "list": { - "message": "قائمة" - }, - "liveChat": { - "message": "محادثة مباشرة" - }, - "liveChatType": { - "message": "نوع المحادثة مباشرة" - }, - "loudnessNormalization": { - "message": "تطبيع الإزعاج" - }, - "markWatchedVideos": { - "message": "التعليم على الفيديو المشاهد" - }, - "mixer": { - "message": "مهندس الصوت" - }, - "myColors": { - "message": "ألواني" - }, - "name": { - "message": "الاسم" - }, - "nativeMiniPlayer": { - "message": "المشغل الافتراضي الصغير" - }, - "new": { - "message": "جديد" - }, - "nextVideo": { - "message": "الفيديو التالي" - }, - "night": { - "message": "ليل" - }, - "noActiveFeatures": { - "message": "لا يوجد ميزات نشطة" - }, - "noOpenVideoTabs": { - "message": "لا توجد علامات تبويب فيديو مفتوحة" - }, - "none": { - "message": "لاشيء" - }, - "normal": { - "message": "عادي" - }, - "old": { - "message": "قديم" - }, - "onAllVideos": { - "message": "على جميع مقاطع الفيديو" - }, - "onSubscribedChannels": { - "message": "على القنوات المشتركة" - }, - "onlyActiveOnYoutube": { - "message": "نشط فقط على اليوتيوب" - }, - "onlyOnePlayerInstancePlaying": { - "message": "تشغيل مشغل واحد فقط" - }, - "orange": { - "message": "برتقالي" - }, - "os": { - "message": "نظام التشغيل" - }, - "other": { - "message": "آخر" - }, - "permissions": { - "message": "الأذونات" - }, - "pictureInPicture": { - "message": "فيديو عائم" - }, - "pink": { - "message": "زهري" - }, - "plain": { - "message": "عادي" - }, - "platform": { - "message": "المنصة" - }, - "playPause": { - "message": "تشغيل / ايقاف" - }, - "playbackSpeed": { - "message": "سرعة التشغيل" - }, - "player": { - "message": "المشغل" - }, - "playerColor": { - "message": "لون المشغل" - }, - "playerSize": { - "message": "حجم المشغل" - }, - "playlist": { - "message": "قائمة التشغيل" - }, - "playlists": { - "message": "قوائم التشغيل" - }, - "popupPlayer": { - "message": "مشفل منبثق" - }, - "position": { - "message": "التموضع" - }, - "pressAnyKeyOrScroll": { - "message": ".اضغط على أي مفتاح أو استخدم عجلة الماوس" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "اضغط على أي مفتاح أو استخدم عجلة الماوس" - }, - "previousVideo": { - "message": "الفيديو السابق" - }, - "primaryColor": { - "message": "اللون الأصلي" - }, - "purple": { - "message": "أرجواني" - }, - "quality": { - "message": "الجودة" - }, - "ram": { - "message": "الذاكرة العشوائية" - }, - "rateUs": { - "message": "قيمنا" - }, - "red": { - "message": "احمر" - }, - "redDislikeButton": { - "message": "إظهار زر لم يعجبني باللون الأحمر" - }, - "relatedVideos": { - "message": "فيديوهات ذات علاقة" - }, - "removeRelatedSearchResults": { - "message": "إزالة عمليات بحث مرتبطة بـ" - }, - "repeat": { - "message": "تكرار" - }, - "reset": { - "message": "إعادة تعيين" - }, - "resetAllSettings": { - "message": "إعادة تعيين كافة الإعدادات" - }, - "resetAllShortcuts": { - "message": "إعادة تعيين جميع الاختصارات" - }, - "reverse": { - "message": "عكس" - }, - "rotate": { - "message": "استدارة" - }, - "save": { - "message": "حفظ" - }, - "saveAs": { - "message": "حفظ باسم" - }, - "schedule": { - "message": "جدوله" - }, - "screen": { - "message": "الشاشة" - }, - "screenshot": { - "message": "لقطة شاشة" - }, - "search": { - "message": "بحث" - }, - "searchBarOnly": { - "message": "شريط البحث فقط" - }, - "seekBackward10Seconds": { - "message": "إرجاع بمقدار 10 ثوانٍ" - }, - "seekForward10Seconds": { - "message": "تقديم 10 ثوانٍ إلى الأمام" - }, - "settings": { - "message": "الإعدادات" - }, - "settingsSuccessfullyImported": { - "message": "تم استيراد الإعدادات بنجاح" - }, - "shortcuts": { - "message": "اختصارات" - }, - "showCardsOnMouseHover": { - "message": "عرض البطاقات عند تمرير الماوس" - }, - "showChannelVideosCount": { - "message": "إظهار عدد مقاطع الفيديو للقناة" - }, - "shuffle": { - "message": "عشوائي" - }, - "sidebar": { - "message": "الشريط الجانبي" - }, - "spacebar": { - "message": "مفتاح المسافة" - }, - "squaredUserImages": { - "message": "صور المستخدمين مربعة" - }, - "static": { - "message": "ثابت" - }, - "step": { - "message": "خطوة" - }, - "stop": { - "message": "ايقاف" - }, - "style": { - "message": "نمط" - }, - "styles": { - "message": "الأنماط" - }, - "subscriptions": { - "message": "الاشتراكات" - }, - "subtitles": { - "message": "الترجمات" - }, - "sunset": { - "message": "غروب الشمس" - }, - "sunsetToSunrise": { - "message": "من غروب الشمس إلى شروقها" - }, - "systemPeferenceDark": { - "message": "تفضيل النظام: داكن" - }, - "systemPeferenceLight": { - "message": "تفضيل النظام: فاتح" - }, - "teal": { - "message": "أزرق مخضر" - }, - "textColor": { - "message": "لون النص" - }, - "themes": { - "message": "المظاهر" - }, - "thisWillRemoveAllCookies": { - "message": ".سيؤدي هذا إلى إزالة كافة ملفات تعريف الارتباط" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "سيؤدي هذا إلى إزالة جميع ملفات تعريف ارتباط اليوتيوب" - }, - "thisWillResetAllSettings": { - "message": ".سيؤدي هذا إلى إعادة تعيين جميع الإعدادات" - }, - "thisWillResetAllShortcuts": { - "message": "سيؤدي هذا إلى إعادة تعيين جميع الاختصارات" - }, - "thumbnails": { - "message": "الصور المصغرة" - }, - "timeFrom": { - "message": "الوقت من" - }, - "timeTo": { - "message": "وقت ل" - }, - "todayAt": { - "message": "اليوم عند الساعة" - }, - "topChat": { - "message": "رسائل المحادثة الهامّة" - }, - "trailerAutoplay": { - "message": "التشغيل التلقائي للفيديو الدعائي" - }, - "translations": { - "message": "الترجمات" - }, - "transparentBackground": { - "message": "خلفية شفافة" - }, - "trending": { - "message": "المحتوى الرائج" - }, - "tryToReloadThePage": { - "message": "حاول إعادة تحميل الصفحة" - }, - "type": { - "message": "النوع" - }, - "upNextAutoplay": { - "message": "تشغيل التالي تلقائيا" - }, - "use24HourFormat": { - "message": "استخدم تنسيق 24 ساعة" - }, - "version": { - "message": "الإصدار" - }, - "video": { - "message": "الفيديو" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "سيتم توسيع وصف الفيديو للحصول على اسم الفئة" - }, - "videoFormats": { - "message": "تنسيقات الفيديو" - }, - "videos": { - "message": "الفيديوهات" - }, - "volume": { - "message": "الصوت" - }, - "watchLater": { - "message": "المشاهدة لاحقا" - }, - "watchTime": { - "message": "وقت المشاهدة" - }, - "whenTabIsChanged": { - "message": "عندما يتم تغيير علامة التبويب" - }, - "white": { - "message": "أبيض" - }, - "yellow": { - "message": "أصفر" - }, - "youtubeHeaderLeft": { - "message": "جزء اليوتيوب العلوي (يسار) " - }, - "youtubeHeaderRight": { - "message": "جزء اليوتيوب العلوي (يمين)" - }, - "youtubeHomePage": { - "message": "صفحة اليوتيوب الرئيسية" - }, - "youtubeLanguage": { - "message": "لغة اليوتيوب" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "يحد اليوتيوب من جودة الفيديو الى ١٠٨٠ لـ الترميز h.264" - } -} diff --git a/stable/_locales/de/messages.json b/stable/_locales/de/messages.json deleted file mode 100644 index c51eb474d..000000000 --- a/stable/_locales/de/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Info" - }, - "accept": { - "message": "Akzeptieren" - }, - "activate": { - "message": "Aktivieren" - }, - "activateCaptions": { - "message": "Untertitel aktivieren" - }, - "activateFullscreen": { - "message": "Vollbild aktivieren" - }, - "activated": { - "message": "Aktiviert" - }, - "activatedFeatures": { - "message": "Aktivierte Features" - }, - "activeFeatures": { - "message": "Meine aktiven Funktionen" - }, - "addScrollToTop": { - "message": "«Nach Oben»-Button" - }, - "ads": { - "message": "Werbung" - }, - "all": { - "message": "Alles" - }, - "allow": { - "message": "zulassen" - }, - "allow60fps": { - "message": "60 fps zulassen" - }, - "alwaysActive": { - "message": "Immer aktiv" - }, - "alwaysShowProgressBar": { - "message": "Steuerunsleiste immer anzeigen" - }, - "amber": { - "message": "Bernstein" - }, - "analyzer": { - "message": "Analyzer" - }, - "appearance": { - "message": "Aussehen" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Audio Formate" - }, - "auto": { - "message": "Auto" - }, - "autoFullscreen": { - "message": "Auto-Vollbild" - }, - "autopauseWhenSwitchingTabs": { - "message": "Video pausieren beim Tab-Wechsel" - }, - "autoplay": { - "message": "Autoplay" - }, - "backupAndReset": { - "message": "Sichern oder zurücksetzen" - }, - "baseOnSystemColorScheme": { - "message": "auf Systemfarben basieren" - }, - "belowPlayer": { - "message": "Unterm Player" - }, - "black": { - "message": "Schwarz" - }, - "blacklist": { - "message": "Blacklist" - }, - "blockAll": { - "message": "immer blockieren" - }, - "blue": { - "message": "Blau" - }, - "blueGray": { - "message": "Blau grau" - }, - "bluelight": { - "message": "Blaues Licht" - }, - "brown": { - "message": "Braun" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Browser Version" - }, - "bubbles": { - "message": "Blasen" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Buttons" - }, - "cancel": { - "message": "Abbrechen" - }, - "categories": { - "message": "Kategorien" - }, - "channel": { - "message": "Channel" - }, - "channels": { - "message": "Channels" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Abos einklappen" - }, - "collapsed": { - "message": "Eingeklappt" - }, - "comments": { - "message": "Kommentar" - }, - "confirmationBeforeClosing": { - "message": "Bestätigung beim Schließen" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Kerne" - }, - "cropChapterTitles": { - "message": "Kapitel abschneiden" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Dunkel" - }, - "darkTheme": { - "message": "Dark theme" - }, - "dateAndTime": { - "message": "Datum & Uhrzeit" - }, - "dawn": { - "message": "Morgendämmerung" - }, - "decreasePlaybackSpeed": { - "message": "Abspielgeschwindigkeit verringern" - }, - "decreaseVolume": { - "message": "Lautstärke reduzieren" - }, - "deepOrange": { - "message": "dunkel-Orange" - }, - "deepPurple": { - "message": "dunkel-Lila" - }, - "defaultChannelTab": { - "message": "Standard Channel Tab" - }, - "deleteYoutubeCookies": { - "message": "YouTube Cookies löschen" - }, - "description": { - "message": "Beschreibung" - }, - "desert": { - "message": "Wüste" - }, - "details": { - "message": "Details" - }, - "developerOptions": { - "message": "Entwickleroptionen" - }, - "device": { - "message": "Gerät" - }, - "dim": { - "message": "dimmen" - }, - "disabled": { - "message": "ausgeschaltet" - }, - "dislike": { - "message": "Dislike" - }, - "doNotChange": { - "message": "Nicht ändern" - }, - "donate": { - "message": "Spenden" - }, - "draggable": { - "message": "Verschiebbar" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Leer" - }, - "enabled": { - "message": "aktiviert" - }, - "enabledForced": { - "message": "aktiviert (erzwungen)" - }, - "expanded": { - "message": "ausgeklappt" - }, - "exportSettings": { - "message": "Einstellungen als Datei speichern" - }, - "extension": { - "message": "Extension" - }, - "file": { - "message": "Datei" - }, - "filters": { - "message": "Filter" - }, - "fitToWindow": { - "message": "Ans Fenster anpassen" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Fußzeile" - }, - "forcedPlaybackSpeed": { - "message": "erzwungene Abspielgeschwindigkeit" - }, - "forcedTheaterMode": { - "message": "Kinomodus erzwingen" - }, - "forcedVolume": { - "message": "Fixe Lautstärke" - }, - "foundABug": { - "message": "Fehler gefunden?" - }, - "fullWindow": { - "message": "Ganzes Fenster" - }, - "general": { - "message": "Allgemein" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "YouTube Suche" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Grün" - }, - "hdThumbnail": { - "message": "HD Vorschaubild" - }, - "hdThumbnails": { - "message": "HD Vorschaubilder" - }, - "header": { - "message": "Header / 'Kopfzeile'" - }, - "hidden": { - "message": "Ausblenden" - }, - "hiddenOnVideoPage": { - "message": "Ausblenden auf Video Seiten" - }, - "hideAnimatedThumbnails": { - "message": "Keine animierten Vorschaubilder" - }, - "hideAnnotations": { - "message": "Anmerkungen ausblenden" - }, - "hideCards": { - "message": "Karten ausblenden" - }, - "hideDetails": { - "message": "Details ausblenden" - }, - "hideEndscreen": { - "message": "Schlussbildschirme ausblenden" - }, - "hideFeaturedContent": { - "message": "'Empfohlene Inhalte' ausblenden" - }, - "hideFooter": { - "message": "Fußzeile ausblenden" - }, - "hidePlaylist": { - "message": "Playlists ausblenden" - }, - "hideRightButtons": { - "message": "Rechte Buttons ausblenden" - }, - "hideScrollForDetails": { - "message": "«Für Details scrollen» ausblenden" - }, - "hideViewsCount": { - "message": "Zuschauerzähler ausblenden" - }, - "history": { - "message": "Verlauf" - }, - "home": { - "message": "Standard" - }, - "hover": { - "message": "Nur anzeigen wenn die Maus darauf zeigt" - }, - "hoverOnVideoPage": { - "message": "auf Video-Seiten nur wenn die Maus..." - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Alter des Videos (seit Hochlade-Datum)" - }, - "icons": { - "message": "Icons" - }, - "iconsOnly": { - "message": "nur Icons" - }, - "importSettings": { - "message": "Einstellungen importieren" - }, - "improveLogo": { - "message": "Logo verbessern" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon im Browser" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icon auf YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube Sprache" - }, - "improvedtubeVersion": { - "message": "ImprovedTube Version" - }, - "increasePlaybackSpeed": { - "message": "Abspiel Geschwingkeit erhöhen" - }, - "increaseVolume": { - "message": "Lautstärke erhöhen" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Sprachen" - }, - "legacyYoutube": { - "message": "Klassiches YouTube" - }, - "light": { - "message": "Hell" - }, - "lightBlue": { - "message": "Hellblau" - }, - "lightGreen": { - "message": "Hellgrün" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes" - }, - "lime": { - "message": "Limette" - }, - "list": { - "message": "Liste" - }, - "liveChat": { - "message": "Live Chat" - }, - "liveChatType": { - "message": "Live Chat Typ" - }, - "loudnessNormalization": { - "message": "Lautstärke normalisieren" - }, - "markWatchedVideos": { - "message": "gesehene Videos markieren" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "Meine Farben" - }, - "name": { - "message": "Name" - }, - "nativeMiniPlayer": { - "message": "Standard Mini-Player" - }, - "new": { - "message": "Neu" - }, - "nextVideo": { - "message": "Nächstes Video" - }, - "night": { - "message": "Nacht" - }, - "noActiveFeatures": { - "message": "Keine aktiven Features" - }, - "noOpenVideoTabs": { - "message": "Keine YouTube Videos geöffnet" - }, - "none": { - "message": "Keine" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Alt" - }, - "onAllVideos": { - "message": "in allen Videos" - }, - "onSubscribedChannels": { - "message": "nur in abonnierten Channels" - }, - "onlyActiveOnYoutube": { - "message": "nur auf YouTube rot färben" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Nur ein Video gleichzeitig" - }, - "orange": { - "message": "Orange" - }, - "os": { - "message": "Betriebsystem" - }, - "other": { - "message": "Andere" - }, - "permissions": { - "message": "Berechtigungen" - }, - "pictureInPicture": { - "message": "Bild-in-Bild" - }, - "pink": { - "message": "Pink" - }, - "plain": { - "message": "Schlicht" - }, - "platform": { - "message": "Plattform" - }, - "playPause": { - "message": "Play / Pause" - }, - "playbackSpeed": { - "message": "Abspiel-Geschwindigkeit" - }, - "player": { - "message": "Player" - }, - "playerColor": { - "message": "Player Farbe" - }, - "playerSize": { - "message": "Player Größe" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlists" - }, - "popupPlayer": { - "message": "Player in eigenem Fenster" - }, - "position": { - "message": "Position" - }, - "pressAnyKeyOrScroll": { - "message": "Eine Taste drücken oder scrollen!" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Eine Taste drücken oder scrollen!" - }, - "previousVideo": { - "message": "Letztes Video" - }, - "primaryColor": { - "message": "Primäre Farbe" - }, - "purple": { - "message": "Lila" - }, - "quality": { - "message": "Qualität" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Bewerte mich" - }, - "red": { - "message": "Rot" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Verwandte Videos" - }, - "removeRelatedSearchResults": { - "message": "Verwandte Suchergebnisse entfernen" - }, - "repeat": { - "message": "Repeat" - }, - "reset": { - "message": "Zurücksetzen" - }, - "resetAllSettings": { - "message": "Alle Einstellungen zurücksetzen" - }, - "resetAllShortcuts": { - "message": "Alle Shortcuts zurücksetzen" - }, - "reverse": { - "message": "Rückwärts" - }, - "rotate": { - "message": "Drehen" - }, - "save": { - "message": "Speicher" - }, - "saveAs": { - "message": "Speichern unter" - }, - "schedule": { - "message": "Nachtschaltung" - }, - "screen": { - "message": "Bildschirm" - }, - "screenshot": { - "message": "Screenshot" - }, - "search": { - "message": "Suche" - }, - "searchBarOnly": { - "message": "Nur die Suchleiste" - }, - "seekBackward10Seconds": { - "message": "10 Sekunden zurück" - }, - "seekForward10Seconds": { - "message": "10 Sekunden überspringen" - }, - "settings": { - "message": "Einstellungen" - }, - "settingsSuccessfullyImported": { - "message": "Einstellungen erfolgreich importiert!" - }, - "shortcuts": { - "message": "Hotkeys" - }, - "showCardsOnMouseHover": { - "message": "Infokarten bei Mausover anzeigen" - }, - "showChannelVideosCount": { - "message": "Anzahl Videos je Channel anzeigen" - }, - "shuffle": { - "message": "Zufallswiedergabe" - }, - "sidebar": { - "message": "Seitenleiste" - }, - "spacebar": { - "message": "Leertaste" - }, - "squaredUserImages": { - "message": "Quadratische Profilbilder" - }, - "static": { - "message": "Statisch" - }, - "step": { - "message": "Schritt" - }, - "stop": { - "message": "Stop" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "Abonnements" - }, - "subtitles": { - "message": "Untertitel" - }, - "sunset": { - "message": "Sonnenuntergang" - }, - "sunsetToSunrise": { - "message": "Abends bis Morgens" - }, - "systemPeferenceDark": { - "message": "System Einstellungen: dunkel" - }, - "systemPeferenceLight": { - "message": "System Einstellungen: hell" - }, - "teal": { - "message": "Blaugrün" - }, - "textColor": { - "message": "Textfarbe" - }, - "themes": { - "message": "Farbschemen" - }, - "thisWillRemoveAllCookies": { - "message": "Alle Cookies werden gelöscht" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Alle YouTube Cookies werden gelöscht" - }, - "thisWillResetAllSettings": { - "message": "Alle Einstellungen werden entfernt" - }, - "thisWillResetAllShortcuts": { - "message": "Alle Shortcuts werden entfernt" - }, - "thumbnails": { - "message": "Vorschaubilder" - }, - "timeFrom": { - "message": "Start" - }, - "timeTo": { - "message": "Stop" - }, - "todayAt": { - "message": "Heute um" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Trailer autoplay" - }, - "translations": { - "message": "Übersetzungen" - }, - "transparentBackground": { - "message": "Transparenter Hintergrund" - }, - "trending": { - "message": "Trending" - }, - "tryToReloadThePage": { - "message": "Versuche die Seite neu zu laden" - }, - "type": { - "message": "Typ" - }, - "upNextAutoplay": { - "message": "Nächstes Video automatisch abspielen" - }, - "use24HourFormat": { - "message": "24-Stunden Format" - }, - "version": { - "message": "Version" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "Die Video-Beschreibung wird um den Kategorienamen erweitert" - }, - "videoFormats": { - "message": "Video Formate" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Lautstärke" - }, - "watchLater": { - "message": "Später ansehen" - }, - "watchTime": { - "message": "Verbrauchte Zeit" - }, - "whenTabIsChanged": { - "message": "Beim Tab-Wechsel" - }, - "white": { - "message": "Weiß" - }, - "yellow": { - "message": "Gelb" - }, - "youtubeHeaderLeft": { - "message": "YouTube Kopfzeile (Links)" - }, - "youtubeHeaderRight": { - "message": "YouTube Kopfzeile (Rechts)" - }, - "youtubeHomePage": { - "message": "YouTube Startseite" - }, - "youtubeLanguage": { - "message": "YouTube Sprache" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube begrenzt die Qualität auf 1080p für den h.264 Codec" - } -} diff --git a/stable/_locales/en/messages.json b/stable/_locales/en/messages.json deleted file mode 100644 index ed7a9e0ba..000000000 --- a/stable/_locales/en/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "About" - }, - "accept": { - "message": "Accept" - }, - "activate": { - "message": "Activate" - }, - "activateCaptions": { - "message": "Activate captions" - }, - "activateFullscreen": { - "message": "Activate fullscreen" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activeFeatures": { - "message": "Active features" - }, - "addScrollToTop": { - "message": "Add «Scroll to top»" - }, - "ads": { - "message": "Ads" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "Allow" - }, - "allow60fps": { - "message": "Allow 60fps" - }, - "alwaysActive": { - "message": "Always active" - }, - "alwaysShowProgressBar": { - "message": "Always show progress bar" - }, - "amber": { - "message": "Amber" - }, - "analyzer": { - "message": "Analyzer" - }, - "appearance": { - "message": "Appearance" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Audio formats" - }, - "auto": { - "message": "Auto" - }, - "autoFullscreen": { - "message": "Auto-fullscreen" - }, - "autopauseWhenSwitchingTabs": { - "message": "Autopause when switching tabs" - }, - "autoplay": { - "message": "Autoplay" - }, - "backupAndReset": { - "message": "Backup & reset" - }, - "baseOnSystemColorScheme": { - "message": "Base on system color scheme" - }, - "belowPlayer": { - "message": "Below player" - }, - "black": { - "message": "Black" - }, - "blacklist": { - "message": "Blacklist" - }, - "blockAll": { - "message": "Block all" - }, - "blue": { - "message": "Blue" - }, - "blueGray": { - "message": "Blue gray" - }, - "bluelight": { - "message": "Bluelight" - }, - "brown": { - "message": "Brown" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Browser version" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Buttons" - }, - "cancel": { - "message": "Cancel" - }, - "categories": { - "message": "Categories" - }, - "channel": { - "message": "Channel" - }, - "channels": { - "message": "Channels" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "collapsed": { - "message": "Collapsed" - }, - "comments": { - "message": "Comments" - }, - "confirmationBeforeClosing": { - "message": "Confirmation before closing" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Cores" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Dark" - }, - "darkTheme": { - "message": "Dark theme" - }, - "dateAndTime": { - "message": "Date & time" - }, - "dawn": { - "message": "Dawn" - }, - "decreasePlaybackSpeed": { - "message": "Decrease playback speed" - }, - "decreaseVolume": { - "message": "Decrease volume" - }, - "deepOrange": { - "message": "Deep orange" - }, - "deepPurple": { - "message": "Deep purple" - }, - "defaultChannelTab": { - "message": "Default channel tab" - }, - "deleteYoutubeCookies": { - "message": "Delete YouTube cookies" - }, - "description": { - "message": "Description" - }, - "desert": { - "message": "Desert" - }, - "details": { - "message": "Details" - }, - "developerOptions": { - "message": "Developer options" - }, - "device": { - "message": "Device" - }, - "dim": { - "message": "Dim" - }, - "disabled": { - "message": "Disabled" - }, - "dislike": { - "message": "Dislike" - }, - "doNotChange": { - "message": "Don't change" - }, - "donate": { - "message": "Donate" - }, - "draggable": { - "message": "Draggable" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Empty" - }, - "enabled": { - "message": "Enabled" - }, - "enabledForced": { - "message": "Enabled (forced)" - }, - "expanded": { - "message": "Expanded" - }, - "exportSettings": { - "message": "Export settings" - }, - "extension": { - "message": "Extension" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filters" - }, - "fitToWindow": { - "message": "Fit to window" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Footer" - }, - "forcedPlaybackSpeed": { - "message": "Forced playback speed" - }, - "forcedTheaterMode": { - "message": "Forced theater mode" - }, - "forcedVolume": { - "message": "Forced volume" - }, - "foundABug": { - "message": "Found a bug?" - }, - "fullWindow": { - "message": "Full window" - }, - "general": { - "message": "General" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Go to search box" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Green" - }, - "hdThumbnail": { - "message": "HD thumbnail" - }, - "hdThumbnails": { - "message": "HD thumbnails" - }, - "header": { - "message": "Header" - }, - "hidden": { - "message": "Hidden" - }, - "hiddenOnVideoPage": { - "message": "Hidden on video page" - }, - "hideAnimatedThumbnails": { - "message": "Hide animated thumbnails" - }, - "hideAnnotations": { - "message": "Hide annotations" - }, - "hideCards": { - "message": "Hide cards" - }, - "hideDetails": { - "message": "Hide details" - }, - "hideEndscreen": { - "message": "Hide endscreen" - }, - "hideFeaturedContent": { - "message": "Hide featured content" - }, - "hideFooter": { - "message": "Hide footer" - }, - "hidePlaylist": { - "message": "Hide playlist" - }, - "hideRightButtons": { - "message": "Hide right buttons" - }, - "hideScrollForDetails": { - "message": "Hide «Scroll for details»" - }, - "hideViewsCount": { - "message": "Hide views count" - }, - "history": { - "message": "History" - }, - "home": { - "message": "Home" - }, - "hover": { - "message": "Hover" - }, - "hoverOnVideoPage": { - "message": "Hover on video page" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "How long ago the video was uploaded" - }, - "icons": { - "message": "Icons" - }, - "iconsOnly": { - "message": "Icons only" - }, - "importSettings": { - "message": "Import settings" - }, - "improveLogo": { - "message": "Improve logo" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon in Browser" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icon on YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube language" - }, - "improvedtubeVersion": { - "message": "ImprovedTube version" - }, - "increasePlaybackSpeed": { - "message": "Increase playback speed" - }, - "increaseVolume": { - "message": "Increase volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Languages" - }, - "legacyYoutube": { - "message": "Legacy YouTube" - }, - "light": { - "message": "Light" - }, - "lightBlue": { - "message": "Light blue" - }, - "lightGreen": { - "message": "Light green" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "List" - }, - "liveChat": { - "message": "Live chat" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "Loudness normalization" - }, - "markWatchedVideos": { - "message": "Mark watched videos" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "Name" - }, - "nativeMiniPlayer": { - "message": "Native mini player" - }, - "new": { - "message": "New" - }, - "nextVideo": { - "message": "Next video" - }, - "night": { - "message": "Night" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "noOpenVideoTabs": { - "message": "No open video tabs" - }, - "none": { - "message": "None" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Old" - }, - "onAllVideos": { - "message": "On all videos" - }, - "onSubscribedChannels": { - "message": "On subscribed channels" - }, - "onlyActiveOnYoutube": { - "message": "Only active on YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "orange": { - "message": "Orange" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Other" - }, - "permissions": { - "message": "Permissions" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Pink" - }, - "plain": { - "message": "Plain" - }, - "platform": { - "message": "Platform" - }, - "playPause": { - "message": "Play / Pause" - }, - "playbackSpeed": { - "message": "Playback speed" - }, - "player": { - "message": "Player" - }, - "playerColor": { - "message": "Player color" - }, - "playerSize": { - "message": "Player size" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlists" - }, - "popupPlayer": { - "message": "Popup player" - }, - "position": { - "message": "Position" - }, - "pressAnyKeyOrScroll": { - "message": "Press any key or use mouse wheel." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Press any key or use mouse wheel" - }, - "previousVideo": { - "message": "Previous video" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "Purple" - }, - "quality": { - "message": "Quality" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Rate us" - }, - "red": { - "message": "Red" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Related videos" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "Repeat" - }, - "reset": { - "message": "Reset" - }, - "resetAllSettings": { - "message": "Reset all settings" - }, - "resetAllShortcuts": { - "message": "Reset all shortcuts" - }, - "reverse": { - "message": "Reverse" - }, - "rotate": { - "message": "Rotate" - }, - "save": { - "message": "Save" - }, - "saveAs": { - "message": "Save as" - }, - "schedule": { - "message": "Schedule" - }, - "screen": { - "message": "Screen" - }, - "screenshot": { - "message": "Screenshot" - }, - "search": { - "message": "Search" - }, - "searchBarOnly": { - "message": "Search bar only" - }, - "seekBackward10Seconds": { - "message": "Seek backward 10 seconds" - }, - "seekForward10Seconds": { - "message": "Seek forward 10 seconds" - }, - "settings": { - "message": "Settings" - }, - "settingsSuccessfullyImported": { - "message": "Settings successfully imported" - }, - "shortcuts": { - "message": "Shortcuts" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "Show channel videos count" - }, - "shuffle": { - "message": "Shuffle" - }, - "sidebar": { - "message": "Sidebar" - }, - "spacebar": { - "message": "Spacebar" - }, - "squaredUserImages": { - "message": "Squared user images" - }, - "static": { - "message": "Static" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Stop" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "Subscriptions" - }, - "subtitles": { - "message": "Subtitles" - }, - "sunset": { - "message": "Sunset" - }, - "sunsetToSunrise": { - "message": "Sunset to sunrise" - }, - "systemPeferenceDark": { - "message": "System peference: dark" - }, - "systemPeferenceLight": { - "message": "System peference: light" - }, - "teal": { - "message": "Teal" - }, - "textColor": { - "message": "Text color" - }, - "themes": { - "message": "Themes" - }, - "thisWillRemoveAllCookies": { - "message": "This will remove all cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "This will remove all YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "This will reset all settings." - }, - "thisWillResetAllShortcuts": { - "message": "This will reset all shortcuts" - }, - "thumbnails": { - "message": "Thumbnails" - }, - "timeFrom": { - "message": "Time from" - }, - "timeTo": { - "message": "Time to" - }, - "todayAt": { - "message": "Today at" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Trailer autoplay" - }, - "translations": { - "message": "Translations" - }, - "transparentBackground": { - "message": "Transparent background" - }, - "trending": { - "message": "Trending" - }, - "tryToReloadThePage": { - "message": "Try to reload the page" - }, - "type": { - "message": "Type" - }, - "upNextAutoplay": { - "message": "Up next autoplay" - }, - "use24HourFormat": { - "message": "Use 24-hour format" - }, - "version": { - "message": "Version" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "Video formats" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Watch later" - }, - "watchTime": { - "message": "Watch time" - }, - "whenTabIsChanged": { - "message": "When tab is changed" - }, - "white": { - "message": "White" - }, - "yellow": { - "message": "Yellow" - }, - "youtubeHeaderLeft": { - "message": "YouTube Header (left)" - }, - "youtubeHeaderRight": { - "message": "YouTube Header (right)" - }, - "youtubeHomePage": { - "message": "YouTube home page" - }, - "youtubeLanguage": { - "message": "YouTube language" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limits video quality to 1080p for h.264 codec" - } -} diff --git a/stable/_locales/es/messages.json b/stable/_locales/es/messages.json deleted file mode 100644 index 3c699f9bc..000000000 --- a/stable/_locales/es/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Acerca de" - }, - "accept": { - "message": "Aceptar" - }, - "activate": { - "message": "Activar" - }, - "activateCaptions": { - "message": "Activar subtítulos" - }, - "activateFullscreen": { - "message": "Activar pantalla completa" - }, - "activated": { - "message": "Activado" - }, - "activatedFeatures": { - "message": "Características activadas" - }, - "activeFeatures": { - "message": "Activar características" - }, - "addScrollToTop": { - "message": "Botón ir arriba" - }, - "ads": { - "message": "Ads" - }, - "all": { - "message": "Todo" - }, - "allow": { - "message": "Permitir" - }, - "allow60fps": { - "message": "Permitir 60fps" - }, - "alwaysActive": { - "message": "Siempre activo" - }, - "alwaysShowProgressBar": { - "message": "Siempre mostrar barra de progreso" - }, - "amber": { - "message": "Ambar" - }, - "analyzer": { - "message": "Analizador" - }, - "appearance": { - "message": "Apariencia" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Formatos de audio" - }, - "auto": { - "message": "Auto" - }, - "autoFullscreen": { - "message": "Auto Pantalla completa" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausar cuando cambio de pestaña" - }, - "autoplay": { - "message": "Reproducción automática" - }, - "backupAndReset": { - "message": "Backup & reset" - }, - "baseOnSystemColorScheme": { - "message": "Según tema del sistema" - }, - "belowPlayer": { - "message": "Debajo del reproductor" - }, - "black": { - "message": "Negro" - }, - "blacklist": { - "message": "Lista negra" - }, - "blockAll": { - "message": "Bloquear todo" - }, - "blue": { - "message": "Azul" - }, - "blueGray": { - "message": "Gris azulado" - }, - "bluelight": { - "message": "Luz Azul" - }, - "brown": { - "message": "Marron" - }, - "browser": { - "message": "Navegador" - }, - "browserVersion": { - "message": "Version del navegador" - }, - "bubbles": { - "message": "Burbujas" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Botones" - }, - "cancel": { - "message": "Cancelar" - }, - "categories": { - "message": "Categorias" - }, - "channel": { - "message": "Canal" - }, - "channels": { - "message": "Canales" - }, - "clipboard": { - "message": "Portapapeles" - }, - "codecH264": { - "message": "Códec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Compactar seccion de suscripciones" - }, - "collapsed": { - "message": "Compacto" - }, - "comments": { - "message": "Comentarios" - }, - "confirmationBeforeClosing": { - "message": "Confirmar antes de cerrar" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Núcleos" - }, - "cropChapterTitles": { - "message": "Cortar título de capítulos" - }, - "customCss": { - "message": "CSS personalizado" - }, - "customJs": { - "message": "JS personalizado" - }, - "customMiniPlayer": { - "message": "Mini-Reproductor" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Oscuro" - }, - "darkTheme": { - "message": "Tema oscuro" - }, - "dateAndTime": { - "message": "Fecha y hora" - }, - "dawn": { - "message": "Amanecer" - }, - "decreasePlaybackSpeed": { - "message": "Bajar velocidad de reproducción" - }, - "decreaseVolume": { - "message": "Bajar volumen" - }, - "deepOrange": { - "message": "Naranja profundo" - }, - "deepPurple": { - "message": "Violeta profundo" - }, - "defaultChannelTab": { - "message": "Pestaña del canal por defecto" - }, - "deleteYoutubeCookies": { - "message": "Borrar cookies de YouTube" - }, - "description": { - "message": "Descripción" - }, - "desert": { - "message": "Desierto" - }, - "details": { - "message": "Detalles" - }, - "developerOptions": { - "message": "Options de desarrollador" - }, - "device": { - "message": "Dispositivo" - }, - "dim": { - "message": "Oscuro" - }, - "disabled": { - "message": "Desactivado" - }, - "dislike": { - "message": "Dislike" - }, - "doNotChange": { - "message": "No cambiar" - }, - "donate": { - "message": "Donar" - }, - "draggable": { - "message": "Arrastrable" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Empty" - }, - "enabled": { - "message": "Activado" - }, - "enabledForced": { - "message": "Activado (forzado)" - }, - "expanded": { - "message": "Expandido" - }, - "exportSettings": { - "message": "Exportar configuración" - }, - "extension": { - "message": "Extensión" - }, - "file": { - "message": "Archivo" - }, - "filters": { - "message": "Filtros" - }, - "fitToWindow": { - "message": "Ajustar a la ventana" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Fuente" - }, - "footer": { - "message": "Pie" - }, - "forcedPlaybackSpeed": { - "message": "Velocidad de reproducción forzada" - }, - "forcedTheaterMode": { - "message": "Forzar modo teatro" - }, - "forcedVolume": { - "message": "Forzar volumen" - }, - "foundABug": { - "message": "Encontraste un bug?" - }, - "fullWindow": { - "message": "Pantalla completa" - }, - "general": { - "message": "General" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Ir a barra de búsqueda" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura HD" - }, - "hdThumbnails": { - "message": "Miniaturas HD" - }, - "header": { - "message": "Encabezado" - }, - "hidden": { - "message": "Oculto" - }, - "hiddenOnVideoPage": { - "message": "Oculto en la página de video" - }, - "hideAnimatedThumbnails": { - "message": "Ocultar miniaturas animadas" - }, - "hideAnnotations": { - "message": "Ocultar anotaciones" - }, - "hideCards": { - "message": "Ocultar tarjetas" - }, - "hideDetails": { - "message": "Ocultar detalles" - }, - "hideEndscreen": { - "message": "Ocultar pantalla final" - }, - "hideFeaturedContent": { - "message": "Ocultar contenido destacado" - }, - "hideFooter": { - "message": "Ocultar pie de página" - }, - "hidePlaylist": { - "message": "Ocultar playlist" - }, - "hideRightButtons": { - "message": "Ocultar botones a la derecha" - }, - "hideScrollForDetails": { - "message": "Ocultar «Desliza hacia abajo para ver mas detalles»" - }, - "hideViewsCount": { - "message": "Ocultar contador de visitas" - }, - "history": { - "message": "Historial" - }, - "home": { - "message": "Inicio" - }, - "hover": { - "message": "Cursor sobre" - }, - "hoverOnVideoPage": { - "message": "Cursor sobre la página de video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Hace cuánto tiempo se subió el video" - }, - "icons": { - "message": "Iconos" - }, - "iconsOnly": { - "message": "Solo iconos" - }, - "importSettings": { - "message": "Importar configuración" - }, - "improveLogo": { - "message": "Mejorar logo de YouTube" - }, - "improvedtubeIconInBrowser": { - "message": "Icono ImprovedTube en navegador" - }, - "improvedtubeIconOnYoutube": { - "message": "Icono ImprovedTube en YouTube" - }, - "improvedtubeLanguage": { - "message": "Idioma ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Version ImprovedTube" - }, - "increasePlaybackSpeed": { - "message": "Aumentar velocidad de reproducción" - }, - "increaseVolume": { - "message": "Aumentar volumen" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Lenguajes" - }, - "legacyYoutube": { - "message": " YouTube antiguo" - }, - "light": { - "message": "Claro" - }, - "lightBlue": { - "message": "Azul claro" - }, - "lightGreen": { - "message": "Verde claro" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes" - }, - "lime": { - "message": "Lima" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Chat en directo" - }, - "liveChatType": { - "message": "Tipo de chat en directo" - }, - "loudnessNormalization": { - "message": "Permitir normalización de volumen" - }, - "markWatchedVideos": { - "message": "Marcar videos vistos" - }, - "mixer": { - "message": "Mezclador" - }, - "myColors": { - "message": "Mis colores" - }, - "name": { - "message": "Nombre" - }, - "nativeMiniPlayer": { - "message": "Mini reproductor nativo" - }, - "new": { - "message": "Nuevo" - }, - "nextVideo": { - "message": "Reproducir el siguiente video" - }, - "night": { - "message": "Noche" - }, - "noActiveFeatures": { - "message": "Sin características activas" - }, - "noOpenVideoTabs": { - "message": "Sin pestañas abiertas" - }, - "none": { - "message": "Ninguno" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Viejo" - }, - "onAllVideos": { - "message": "En todos los videos" - }, - "onSubscribedChannels": { - "message": "En canales suscritos" - }, - "onlyActiveOnYoutube": { - "message": "Solo activo en YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Solo una pestaña reproduciendo" - }, - "orange": { - "message": "Naranja" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Otro" - }, - "permissions": { - "message": "Permisos" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Plano" - }, - "platform": { - "message": "Plataforma" - }, - "playPause": { - "message": "Reproducir/pausar video" - }, - "playbackSpeed": { - "message": "Velocidad de reproducción" - }, - "player": { - "message": "Reproductor" - }, - "playerColor": { - "message": "Color del reproductor" - }, - "playerSize": { - "message": "Tamaño del reproductor" - }, - "playlist": { - "message": "Listas de reproducción" - }, - "playlists": { - "message": "Listas de reproducción" - }, - "popupPlayer": { - "message": "Reproductor emergente" - }, - "position": { - "message": "Posición" - }, - "pressAnyKeyOrScroll": { - "message": "Apretar una tecla o mover el mouse" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Apretar una tecla o mover la rueda del mouse" - }, - "previousVideo": { - "message": "Reproducir video anterior" - }, - "primaryColor": { - "message": "Color Primario" - }, - "purple": { - "message": "Violeta" - }, - "quality": { - "message": "Calidad" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Calificanos" - }, - "red": { - "message": "Rojo" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Vídeos relacionados" - }, - "removeRelatedSearchResults": { - "message": "Quitar resultados relacionados" - }, - "repeat": { - "message": "Repetir" - }, - "reset": { - "message": "Reset" - }, - "resetAllSettings": { - "message": "Restablecer todos los ajustes" - }, - "resetAllShortcuts": { - "message": "Restablecer todos los atajos" - }, - "reverse": { - "message": "Reversa" - }, - "rotate": { - "message": "Rotar" - }, - "save": { - "message": "Guardar" - }, - "saveAs": { - "message": "Guardar como" - }, - "schedule": { - "message": "Programar" - }, - "screen": { - "message": "Pantalla" - }, - "screenshot": { - "message": "Captura de pantalla" - }, - "search": { - "message": "Búsqueda" - }, - "searchBarOnly": { - "message": "Solo barra de búsqueda" - }, - "seekBackward10Seconds": { - "message": "Retroceder 10 segundos" - }, - "seekForward10Seconds": { - "message": "Adelantar 10 segundos" - }, - "settings": { - "message": "Ajustes" - }, - "settingsSuccessfullyImported": { - "message": "Ajustes importados correctamente" - }, - "shortcuts": { - "message": "Atajos" - }, - "showCardsOnMouseHover": { - "message": "Mostrar tarjetas al pasar el mouse" - }, - "showChannelVideosCount": { - "message": "Mostrar recuento de videos del canal" - }, - "shuffle": { - "message": "Al azar" - }, - "sidebar": { - "message": "Barra lateral" - }, - "spacebar": { - "message": "Espacio" - }, - "squaredUserImages": { - "message": "Fotos de perfil cuadradas" - }, - "static": { - "message": "Estatico" - }, - "step": { - "message": "Paso" - }, - "stop": { - "message": "Detener" - }, - "style": { - "message": "Estilo" - }, - "styles": { - "message": "Estilos" - }, - "subscriptions": { - "message": "Suscripciones" - }, - "subtitles": { - "message": "Permitir subtítulos" - }, - "sunset": { - "message": "Atardecer" - }, - "sunsetToSunrise": { - "message": "Atardecer al amanecer" - }, - "systemPeferenceDark": { - "message": "Según sistema: Oscuro" - }, - "systemPeferenceLight": { - "message": "Según sistema: Claro" - }, - "teal": { - "message": "Verde azulado" - }, - "textColor": { - "message": "Color de texto" - }, - "themes": { - "message": "Temas" - }, - "thisWillRemoveAllCookies": { - "message": "Esto borrará todas las cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Esto borrará todas las cookies de YouTube" - }, - "thisWillResetAllSettings": { - "message": "Esto restablecerá todos los ajustes" - }, - "thisWillResetAllShortcuts": { - "message": "Esto restablecerá todos los atajos" - }, - "thumbnails": { - "message": "Miniaturas" - }, - "timeFrom": { - "message": "Desde" - }, - "timeTo": { - "message": "Hasta" - }, - "todayAt": { - "message": "Hoy a las" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Reproducción automática del trailer" - }, - "translations": { - "message": "Traducciones" - }, - "transparentBackground": { - "message": "Fondo transparente" - }, - "trending": { - "message": "Tendencias" - }, - "tryToReloadThePage": { - "message": "Trata de recargar la página" - }, - "type": { - "message": "Tipo" - }, - "upNextAutoplay": { - "message": "Hasta la próxima reproducción automática" - }, - "use24HourFormat": { - "message": "Usar formato 24hs" - }, - "version": { - "message": "Versión" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "La descripción del video se ampliará para obtener el nombre de la categoría." - }, - "videoFormats": { - "message": "Formatos de video " - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volumen" - }, - "watchLater": { - "message": "Ver más tarde" - }, - "watchTime": { - "message": "Visualizaciones" - }, - "whenTabIsChanged": { - "message": "Cuando cambia de pestaña" - }, - "white": { - "message": "Blanco" - }, - "yellow": { - "message": "Amarillo" - }, - "youtubeHeaderLeft": { - "message": "Encabezado YouTube (izq)" - }, - "youtubeHeaderRight": { - "message": "Encabezado YouTube (der)" - }, - "youtubeHomePage": { - "message": "Página de inicio de YouTube" - }, - "youtubeLanguage": { - "message": "Idioma de YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limita calidad de video a 1080p para el codec h.264" - } -} diff --git a/stable/_locales/fr/messages.json b/stable/_locales/fr/messages.json deleted file mode 100644 index e0d23aa61..000000000 --- a/stable/_locales/fr/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "À propos" - }, - "accept": { - "message": "Accept" - }, - "activate": { - "message": "Activate" - }, - "activateCaptions": { - "message": "Activate captions" - }, - "activateFullscreen": { - "message": "Activate fullscreen" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activeFeatures": { - "message": "Active features" - }, - "addScrollToTop": { - "message": "Add «Scroll to top»" - }, - "ads": { - "message": "Ads" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "Allow" - }, - "allow60fps": { - "message": "Permettre 60fps" - }, - "alwaysActive": { - "message": "Toujour Allumer" - }, - "alwaysShowProgressBar": { - "message": "Always show progress bar" - }, - "amber": { - "message": "Amber" - }, - "analyzer": { - "message": "Analyzer" - }, - "appearance": { - "message": "Apparence" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Audio formats" - }, - "auto": { - "message": "Auto" - }, - "autoFullscreen": { - "message": "Auto-plein écran" - }, - "autopauseWhenSwitchingTabs": { - "message": "Autopause when switching tabs" - }, - "autoplay": { - "message": "Lecture automatique" - }, - "backupAndReset": { - "message": "Sauvegarde & Réinitialiser" - }, - "baseOnSystemColorScheme": { - "message": "Base on system color scheme" - }, - "belowPlayer": { - "message": "Below player" - }, - "black": { - "message": "Black" - }, - "blacklist": { - "message": "Blacklist" - }, - "blockAll": { - "message": "Block all" - }, - "blue": { - "message": "Blue" - }, - "blueGray": { - "message": "Blue gray" - }, - "bluelight": { - "message": "Lumière bleue" - }, - "brown": { - "message": "Brown" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Browser version" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Buttons" - }, - "cancel": { - "message": "Cancel" - }, - "categories": { - "message": "Categories" - }, - "channel": { - "message": "chaîne" - }, - "channels": { - "message": "chaînes" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "collapsed": { - "message": "Collapsed" - }, - "comments": { - "message": "Comments" - }, - "confirmationBeforeClosing": { - "message": "Confirmation before closing" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Cores" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Dark" - }, - "darkTheme": { - "message": "Dark theme" - }, - "dateAndTime": { - "message": "Date & time" - }, - "dawn": { - "message": "Dawn" - }, - "decreasePlaybackSpeed": { - "message": "Decrease playback speed" - }, - "decreaseVolume": { - "message": "Decrease volume" - }, - "deepOrange": { - "message": "Deep orange" - }, - "deepPurple": { - "message": "Deep purple" - }, - "defaultChannelTab": { - "message": "Onglet d'accueil d'une chaîne" - }, - "deleteYoutubeCookies": { - "message": "Supprimer les cookies YouTube" - }, - "description": { - "message": "Description" - }, - "desert": { - "message": "Desert" - }, - "details": { - "message": "Details" - }, - "developerOptions": { - "message": "Developer options" - }, - "device": { - "message": "Device" - }, - "dim": { - "message": "Assombrir" - }, - "disabled": { - "message": "Désactivé" - }, - "dislike": { - "message": "Dislike" - }, - "doNotChange": { - "message": "Ne pas changez" - }, - "donate": { - "message": "Donate" - }, - "draggable": { - "message": "Draggable" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Empty" - }, - "enabled": { - "message": "Activé" - }, - "enabledForced": { - "message": "Enabled (forced)" - }, - "expanded": { - "message": "Expanded" - }, - "exportSettings": { - "message": "Exporter réglages" - }, - "extension": { - "message": "Extension" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filters" - }, - "fitToWindow": { - "message": "Fit to window" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Footer" - }, - "forcedPlaybackSpeed": { - "message": "Forced playback speed" - }, - "forcedTheaterMode": { - "message": "Forced theater mode" - }, - "forcedVolume": { - "message": "Forced volume" - }, - "foundABug": { - "message": "Found a bug?" - }, - "fullWindow": { - "message": "Full window" - }, - "general": { - "message": "Général" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Go to search box" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Green" - }, - "hdThumbnail": { - "message": "HD thumbnail" - }, - "hdThumbnails": { - "message": "HD vignettes" - }, - "header": { - "message": "Header" - }, - "hidden": { - "message": "Hidden" - }, - "hiddenOnVideoPage": { - "message": "Hidden on video page" - }, - "hideAnimatedThumbnails": { - "message": "Vignettes sans animation" - }, - "hideAnnotations": { - "message": "Hide annotations" - }, - "hideCards": { - "message": "Hide cards" - }, - "hideDetails": { - "message": "Hide details" - }, - "hideEndscreen": { - "message": "Hide endscreen" - }, - "hideFeaturedContent": { - "message": "Hide featured content" - }, - "hideFooter": { - "message": "Hide footer" - }, - "hidePlaylist": { - "message": "Hide playlist" - }, - "hideRightButtons": { - "message": "Hide right buttons" - }, - "hideScrollForDetails": { - "message": "Hide «Scroll for details»" - }, - "hideViewsCount": { - "message": "Hide views count" - }, - "history": { - "message": "Historique" - }, - "home": { - "message": "Accueil" - }, - "hover": { - "message": "Hover" - }, - "hoverOnVideoPage": { - "message": "Hover on video page" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "How long ago the video was uploaded" - }, - "icons": { - "message": "Icons" - }, - "iconsOnly": { - "message": "Icons only" - }, - "importSettings": { - "message": "Importer réglages" - }, - "improveLogo": { - "message": "Improve logo" - }, - "improvedtubeIconInBrowser": { - "message": "Icône ImprovedTube dans le navigateur" - }, - "improvedtubeIconOnYoutube": { - "message": "Icône ImprovedTube sur YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube language" - }, - "improvedtubeVersion": { - "message": "ImprovedTube version" - }, - "increasePlaybackSpeed": { - "message": "Increase playback speed" - }, - "increaseVolume": { - "message": "Increase volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Languages" - }, - "legacyYoutube": { - "message": "Legacy YouTube" - }, - "light": { - "message": "Light" - }, - "lightBlue": { - "message": "Light blue" - }, - "lightGreen": { - "message": "Light green" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "List" - }, - "liveChat": { - "message": "Live chat" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "Loudness normalization" - }, - "markWatchedVideos": { - "message": "Mark watched videos" - }, - "mixer": { - "message": "Mélangeur de volume" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "Name" - }, - "nativeMiniPlayer": { - "message": "Native mini player" - }, - "new": { - "message": "New" - }, - "nextVideo": { - "message": "Next video" - }, - "night": { - "message": "Night" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "noOpenVideoTabs": { - "message": "No open video tabs" - }, - "none": { - "message": "None" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Old" - }, - "onAllVideos": { - "message": "On all videos" - }, - "onSubscribedChannels": { - "message": "On subscribed channels" - }, - "onlyActiveOnYoutube": { - "message": "Allumer uniquement sur YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "orange": { - "message": "Orange" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Other" - }, - "permissions": { - "message": "Permissions" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Pink" - }, - "plain": { - "message": "Plain" - }, - "platform": { - "message": "Platform" - }, - "playPause": { - "message": "Play / Pause" - }, - "playbackSpeed": { - "message": "Vitesse de lecture" - }, - "player": { - "message": "Lecteur" - }, - "playerColor": { - "message": "Couleur du lecteur" - }, - "playerSize": { - "message": "Player size" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlists" - }, - "popupPlayer": { - "message": "Détacher le lecteur" - }, - "position": { - "message": "Position" - }, - "pressAnyKeyOrScroll": { - "message": "Press any key or use mouse wheel." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Press any key or use mouse wheel" - }, - "previousVideo": { - "message": "Previous video" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "Purple" - }, - "quality": { - "message": "Quality" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Rate us" - }, - "red": { - "message": "Red" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Related videos" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "Lire en boucle" - }, - "reset": { - "message": "Reset" - }, - "resetAllSettings": { - "message": "Réinitialiser réglages" - }, - "resetAllShortcuts": { - "message": "Reset all shortcuts" - }, - "reverse": { - "message": "Inverser" - }, - "rotate": { - "message": "Faire pivoté la video" - }, - "save": { - "message": "Save" - }, - "saveAs": { - "message": "Save as" - }, - "schedule": { - "message": "Planifier" - }, - "screen": { - "message": "Screen" - }, - "screenshot": { - "message": "Capture d'écran" - }, - "search": { - "message": "Search" - }, - "searchBarOnly": { - "message": "Search bar only" - }, - "seekBackward10Seconds": { - "message": "Seek backward 10 seconds" - }, - "seekForward10Seconds": { - "message": "Seek forward 10 seconds" - }, - "settings": { - "message": "Réglages" - }, - "settingsSuccessfullyImported": { - "message": "Settings successfully imported" - }, - "shortcuts": { - "message": "Raccourcis" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "Show channel videos count" - }, - "shuffle": { - "message": "Aléatoire" - }, - "sidebar": { - "message": "Sidebar" - }, - "spacebar": { - "message": "Spacebar" - }, - "squaredUserImages": { - "message": "Squared user images" - }, - "static": { - "message": "Static" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Stop" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "Abonnements" - }, - "subtitles": { - "message": "Permettre sous-titres" - }, - "sunset": { - "message": "Sunset" - }, - "sunsetToSunrise": { - "message": "Sunset to sunrise" - }, - "systemPeferenceDark": { - "message": "System peference: dark" - }, - "systemPeferenceLight": { - "message": "System peference: light" - }, - "teal": { - "message": "Teal" - }, - "textColor": { - "message": "Text color" - }, - "themes": { - "message": "Thèmes" - }, - "thisWillRemoveAllCookies": { - "message": "This will remove all cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "This will remove all YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "This will reset all settings." - }, - "thisWillResetAllShortcuts": { - "message": "This will reset all shortcuts" - }, - "thumbnails": { - "message": "Vignettes" - }, - "timeFrom": { - "message": "Time from" - }, - "timeTo": { - "message": "Time to" - }, - "todayAt": { - "message": "Today at" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Démarrage automatique des annonces" - }, - "translations": { - "message": "Translations" - }, - "transparentBackground": { - "message": "Transparent background" - }, - "trending": { - "message": "Tendances" - }, - "tryToReloadThePage": { - "message": "Try to reload the page" - }, - "type": { - "message": "Type" - }, - "upNextAutoplay": { - "message": "Cocher LECTURE AUTOMATIQUE" - }, - "use24HourFormat": { - "message": "Use 24-hour format" - }, - "version": { - "message": "Version" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "Video formats" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "À regarder plus tard" - }, - "watchTime": { - "message": "Watch time" - }, - "whenTabIsChanged": { - "message": "When tab is changed" - }, - "white": { - "message": "White" - }, - "yellow": { - "message": "Yellow" - }, - "youtubeHeaderLeft": { - "message": "YouTube Header (left)" - }, - "youtubeHeaderRight": { - "message": "YouTube Header (right)" - }, - "youtubeHomePage": { - "message": "Page d'accueil YouTube" - }, - "youtubeLanguage": { - "message": "YouTube language" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limits video quality to 1080p for h.264 codec" - } -} diff --git a/stable/_locales/id/messages.json b/stable/_locales/id/messages.json deleted file mode 100644 index 97397aaa9..000000000 --- a/stable/_locales/id/messages.json +++ /dev/null @@ -1,797 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Tentang" - }, - "accept": { - "message": "Terima" - }, - "activate": { - "message": "Aktifkan" - }, - "activateCaptions": { - "message": "Aktifkan keterangan" - }, - "activateFullscreen": { - "message": "Aktifkan layar penuh" - }, - "activated": { - "message": "Diaktifkan" - }, - "activatedFeatures": { - "message": "Fitur diaktifkan" - }, - "activeFeatures": { - "message": "Fitur yang aktif" - }, - "addScrollToTop": { - "message": "Tambah «Gulir ke atas»" - }, - "ads": { - "message": "Tampilkan iklan" - }, - "all": { - "message": "Semua" - }, - "allow": { - "message": "Izinkan" - }, - "allow60fps": { - "message": "Izinkan 60fps" - }, - "alwaysActive": { - "message": "Selalu aktif" - }, - "alwaysShowProgressBar": { - "message": "Selalu tampilkan progress bar" - }, - "amber": { - "message": "Amber" - }, - "analyzer": { - "message": "Analisa" - }, - "appearance": { - "message": "Tampilan" - }, - "audio": { - "message": "Suara" - }, - "audioFormats": { - "message": "Format suara" - }, - "auto": { - "message": "Otomatis" - }, - "autoFullscreen": { - "message": "Layar penuh otomatis" - }, - "autopauseWhenSwitchingTabs": { - "message": "Jeda saat mengganti tab" - }, - "autoplay": { - "message": "Putar secara otomatis" - }, - "backupAndReset": { - "message": "Cadangkan & setel ulang" - }, - "baseOnSystemColorScheme": { - "message": "Berdasarkan skema warna sistem" - }, - "belowPlayer": { - "message": "Dibawah pemutar" - }, - "black": { - "message": "Hitam" - }, - "blacklist": { - "message": "Blokir" - }, - "blockAll": { - "message": "Blokir semua" - }, - "blue": { - "message": "Biru" - }, - "blueGray": { - "message": "Abu-abu biru" - }, - "bluelight": { - "message": "Cahaya biru" - }, - "brown": { - "message": "Coklat" - }, - "browser": { - "message": "Peramban" - }, - "browserVersion": { - "message": "Versi peramban" - }, - "bubbles": { - "message": "Gelembung" - }, - "bug": { - "message": "Masalah" - }, - "buttons": { - "message": "Tombol" - }, - "cancel": { - "message": "Batalkan" - }, - "categories": { - "message": "Kategori" - }, - "channel": { - "message": "Saluran" - }, - "channels": { - "message": "Saluran" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Tutup bagian berlangganan" - }, - "collapsed": { - "message": "Tutup" - }, - "comments": { - "message": "Komentar" - }, - "confirmationBeforeClosing": { - "message": "Konfirmasi sebelum ditutup" - }, - "cookies": { - "message": "Kuki" - }, - "cores": { - "message": "Inti" - }, - "cropChapterTitles": { - "message": "Hilangkan judul babak" - }, - "customCss": { - "message": "Kostum CSS" - }, - "customJs": { - "message": "Kostum JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "Gelap" - }, - "darkTheme": { - "message": "Tema gelap" - }, - "dateAndTime": { - "message": "Tanggal dan waktu" - }, - "dawn": { - "message": "Fajar" - }, - "decreasePlaybackSpeed": { - "message": "Kurangi kecepatan pemutaran" - }, - "decreaseVolume": { - "message": "Kurangi suara" - }, - "deepOrange": { - "message": "Oranye tua" - }, - "deepPurple": { - "message": "Ungu tua" - }, - "defaultChannelTab": { - "message": "Tab saluran standar" - }, - "deleteYoutubeCookies": { - "message": "Hapus kuki youtube" - }, - "description": { - "message": "Deskripsi" - }, - "desert": { - "message": "Gurun" - }, - "details": { - "message": "Detail" - }, - "developerOptions": { - "message": "Opsi pengembang" - }, - "device": { - "message": "Perangkat" - }, - "dim": { - "message": "Redupkan" - }, - "disabled": { - "message": "Dinonaktifkan" - }, - "dislike": { - "message": "Tidak Suka" - }, - "doNotChange": { - "message": "Jangan ubah" - }, - "donate": { - "message": "Donasi" - }, - "draggable": { - "message": "Dapat diseret" - }, - "email": { - "message": "Surel" - }, - "empty": { - "message": "Kosong" - }, - "enabled": { - "message": "Aktifkan" - }, - "enabledForced": { - "message": "Aktifkan (paksa)" - }, - "expanded": { - "message": "Perluas" - }, - "exportSettings": { - "message": "Ekspor pengaturan" - }, - "extension": { - "message": "Ekstensi" - }, - "file": { - "message": "Berkas" - }, - "filters": { - "message": "Saringan" - }, - "fitToWindow": { - "message": "Sesuaikan dengan layar" - }, - "flash": { - "message": "Cahaya" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Catatan kaki" - }, - "forcedPlaybackSpeed": { - "message": "Paksa kecepatan pemutaran" - }, - "forcedTheaterMode": { - "message": "Paksa mode teater" - }, - "forcedVolume": { - "message": "Paksa suara" - }, - "foundABug": { - "message": "Menemukan masalah?" - }, - "fullWindow": { - "message": "Layar penuh" - }, - "general": { - "message": "Umum" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Ke kotak pencarian" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Hijau" - }, - "hdThumbnail": { - "message": "Gambar kecil HD" - }, - "hdThumbnails": { - "message": "Gambar kecil HD" - }, - "header": { - "message": "Kepala" - }, - "hidden": { - "message": "Sembunyikan" - }, - "hiddenOnVideoPage": { - "message": "Tersembunyi di halaman video" - }, - "hideAnimatedThumbnails": { - "message": "Sembunyikan animasi gambar kecil" - }, - "hideAnnotations": { - "message": "Sembunyikan penjelasan" - }, - "hideCards": { - "message": "Sembunyikan kartu" - }, - "hideDetails": { - "message": "Sembunyikan detail" - }, - "hideEndscreen": { - "message": "Sembunyikan layar akhir" - }, - "hideFeaturedContent": { - "message": "Sembunyikan konten unggulan" - }, - "hideFooter": { - "message": "Sembunyikan catatan kaki" - }, - "hidePlaylist": { - "message": "Sembunyikan daftar putar" - }, - "hideRightButtons": { - "message": "Sembunyikan tombol kanan" - }, - "hideScrollForDetails": { - "message": "Sembunyikan «gulir untuk detail»" - }, - "hideViewsCount": { - "message": "Sembunyikan jumlah penayangan" - }, - "history": { - "message": "Sejarah" - }, - "home": { - "message": "Beranda" - }, - "hover": { - "message": "Arahkan" - }, - "hoverOnVideoPage": { - "message": "Arahkan pada halaman video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Berapa lama video itu diunggah" - }, - "icons": { - "message": "Ikon" - }, - "iconsOnly": { - "message": "Ikon saja" - }, - "importSettings": { - "message": "Impor pengaturan" - }, - "improveLogo": { - "message": "Tingkatkan kualitas logo" - }, - "improvedtubeIconInBrowser": { - "message": "Ikon ImprovedTube di peramban" - }, - "improvedtubeIconOnYoutube": { - "message": "Ikon ImprovedTube di YouTube" - }, - "improvedtubeLanguage": { - "message": "Bahasa ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Versi ImprovedTube" - }, - "increasePlaybackSpeed": { - "message": "Tingkatkan kecepatan pemutaran" - }, - "increaseVolume": { - "message": "Tingkatkan suara" - }, - "indigo": { - "message": "Nila" - }, - "items": { - "message": "Item" - }, - "languages": { - "message": "Bahasa" - }, - "legacyYoutube": { - "message": "YouTube lama" - }, - "light": { - "message": "Terang" - }, - "lightBlue": { - "message": "Biru terang" - }, - "lightGreen": { - "message": "Hijau terang" - }, - "like": { - "message": "Suka" - }, - "likes": { - "message": "Suka" - }, - "lime": { - "message": "Limau" - }, - "list": { - "message": "Daftar" - }, - "liveChat": { - "message": "Obrolan langsung" - }, - "liveChatType": { - "message": "Jenis obrolan langsung" - }, - "loudnessNormalization": { - "message": "Normalkan suara" - }, - "markWatchedVideos": { - "message": "Tandai video yang ditonton" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "Warna saya" - }, - "name": { - "message": "Nama" - }, - "nativeMiniPlayer": { - "message": "Pemutar kecil bawaan" - }, - "new": { - "message": "Baru" - }, - "nextVideo": { - "message": "Video selanjutnya" - }, - "night": { - "message": "Malam" - }, - "noActiveFeatures": { - "message": "Tidak ada fitur aktif" - }, - "noOpenVideoTabs": { - "message": "Tidak ada tab video terbuka" - }, - "none": { - "message": "Tidak ada" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Lama" - }, - "onAllVideos": { - "message": "Disetiap video" - }, - "onSubscribedChannels": { - "message": "Di saluran berlangganan" - }, - "onlyActiveOnYoutube": { - "message": "Hanya aktif di YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Hanya mainkan satu pemutar" - }, - "orange": { - "message": "Oranye" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Lainnya" - }, - "permissions": { - "message": "Perizinan" - }, - "pictureInPicture": { - "message": "Gambar di dalam gambar" - }, - "pink": { - "message": "Merah jambu" - }, - "plain": { - "message": "Dataran" - }, - "platform": { - "message": "Platform" - }, - "playPause": { - "message": "Mulai / Jeda" - }, - "playbackSpeed": { - "message": "Kecepatan pemutar" - }, - "player": { - "message": "Pemutar" - }, - "playerColor": { - "message": "Warna pemutar" - }, - "playerSize": { - "message": "Ukuran pemutar" - }, - "playlist": { - "message": "Daftar putar" - }, - "playlists": { - "message": "Daftar putar" - }, - "popupPlayer": { - "message": "Pemutar sembulan" - }, - "position": { - "message": "Posisi" - }, - "pressAnyKeyOrScroll": { - "message": "Tekan tombol apa saja atau gunakan roda mouse." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Tekan tombol apa saja atau gunakan roda mouse" - }, - "previousVideo": { - "message": "Video sebelumnya" - }, - "primaryColor": { - "message": "Warna utama" - }, - "purple": { - "message": "Ungu" - }, - "quality": { - "message": "Kualitas video" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Nilai Kami" - }, - "red": { - "message": "Merah" - }, - "relatedVideos": { - "message": "Video terkait" - }, - "removeRelatedSearchResults": { - "message": "Hapus hasil pencarian terkait" - }, - "repeat": { - "message": "Putar ulang" - }, - "reset": { - "message": "Setel ulang" - }, - "resetAllSettings": { - "message": "Setel ulang semua pengaturan" - }, - "resetAllShortcuts": { - "message": "Setel ulang semua pintasan" - }, - "reverse": { - "message": "Putar secara terbalik" - }, - "rotate": { - "message": "Putar" - }, - "save": { - "message": "Simpan" - }, - "saveAs": { - "message": "Simpan dengan" - }, - "schedule": { - "message": "Jadwal" - }, - "screen": { - "message": "Layar" - }, - "screenshot": { - "message": "Tangkapan layar" - }, - "search": { - "message": "Cari" - }, - "searchBarOnly": { - "message": "Hanya bilah pencarian" - }, - "seekBackward10Seconds": { - "message": "Mundur 10 detik" - }, - "seekForward10Seconds": { - "message": "Maju 10 detik" - }, - "settings": { - "message": "Pengaturan" - }, - "settingsSuccessfullyImported": { - "message": "Berhasil mengimpor pengaturan" - }, - "shortcuts": { - "message": "Pintasan" - }, - "showCardsOnMouseHover": { - "message": "Tunjukkan kartu pada arah mouse" - }, - "showChannelVideosCount": { - "message": "Tampilkan jumlah video saluran" - }, - "shuffle": { - "message": "Putar secara acak" - }, - "sidebar": { - "message": "Bilah samping" - }, - "spacebar": { - "message": "Bilah spasi" - }, - "squaredUserImages": { - "message": "Gambar pengguna kotak" - }, - "static": { - "message": "Statis" - }, - "step": { - "message": "Langkah" - }, - "stop": { - "message": "Berhenti" - }, - "style": { - "message": "Mode" - }, - "styles": { - "message": "Mode" - }, - "subscriptions": { - "message": "Berlangganan" - }, - "subtitles": { - "message": "Teks" - }, - "sunset": { - "message": "Senja" - }, - "sunsetToSunrise": { - "message": "Matahari terbenam hingga matahari terbit" - }, - "systemPeferenceDark": { - "message": "Preferensi sistem: gelap" - }, - "systemPeferenceLight": { - "message": "Preferensi sistem: terang" - }, - "teal": { - "message": "Hijau kebiruan" - }, - "textColor": { - "message": "Warna teks" - }, - "themes": { - "message": "Tema" - }, - "thisWillRemoveAllCookies": { - "message": "Ini akan menghapus semua kuki." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Ini akan menghapus semua kuki YouTube" - }, - "thisWillResetAllSettings": { - "message": "Ini akan mengatur ulang semua pengaturan." - }, - "thisWillResetAllShortcuts": { - "message": "Ini akan mengatur ulang semua pintasan" - }, - "thumbnails": { - "message": "Gambar kecil" - }, - "timeFrom": { - "message": "Waktu dari" - }, - "timeTo": { - "message": "Waktu ke" - }, - "todayAt": { - "message": "Hari ini di" - }, - "topChat": { - "message": "Obrolan teratas" - }, - "trailerAutoplay": { - "message": "Putar otomatis cuplikan" - }, - "translations": { - "message": "Terjemahan" - }, - "transparentBackground": { - "message": "Latar belakang transparan" - }, - "trending": { - "message": "Populer" - }, - "tryToReloadThePage": { - "message": "Coba muat ulang halaman" - }, - "type": { - "message": "Tipe" - }, - "upNextAutoplay": { - "message": "Putar otomatis berikutnya" - }, - "use24HourFormat": { - "message": "Gunakan format 24 jam" - }, - "version": { - "message": "Versi" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "Deskripsi video akan diperluas untuk mendapatkan nama kategori" - }, - "videoFormats": { - "message": "Format video" - }, - "videos": { - "message": "Video" - }, - "volume": { - "message": "Suara" - }, - "watchLater": { - "message": "Tonton nanti" - }, - "watchTime": { - "message": "Waktu tayang" - }, - "whenTabIsChanged": { - "message": "Saat tab berubah" - }, - "white": { - "message": "Putih" - }, - "yellow": { - "message": "Kuning" - }, - "youtubeHeaderLeft": { - "message": "Kepala YouTube (kiri)" - }, - "youtubeHeaderRight": { - "message": "Kepala YouTube (kanan)" - }, - "youtubeHomePage": { - "message": "Beranda YouTube" - }, - "youtubeLanguage": { - "message": "Bahasa YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube membatasi kualitas video hingga 1080p untuk codec h.264" - } -} diff --git a/stable/_locales/it/messages.json b/stable/_locales/it/messages.json deleted file mode 100644 index 39bdb5a3a..000000000 --- a/stable/_locales/it/messages.json +++ /dev/null @@ -1,797 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Al riguardo" - }, - "accept": { - "message": "Accetta" - }, - "activate": { - "message": "Attivo" - }, - "activateCaptions": { - "message": "Attiva didascalie" - }, - "activateFullscreen": { - "message": "Attiva schermo intero" - }, - "activated": { - "message": "Attivato/a" - }, - "activatedFeatures": { - "message": "Funzionalità attivate" - }, - "activeFeatures": { - "message": "Funzioni disponibili" - }, - "addScrollToTop": { - "message": "Aggiungi «Scorri in cima»" - }, - "ads": { - "message": "Pubblicità" - }, - "all": { - "message": "Tutte" - }, - "allow": { - "message": "Permetti" - }, - "allow60fps": { - "message": "Permetti 60 fps" - }, - "alwaysActive": { - "message": "Sempre attivo" - }, - "alwaysShowProgressBar": { - "message": "Mostra sempre barra di avanzamento" - }, - "amber": { - "message": "Ambra" - }, - "analyzer": { - "message": "Analizzatore" - }, - "appearance": { - "message": "Aspetto" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Formati audio" - }, - "auto": { - "message": "Automatico" - }, - "autoFullscreen": { - "message": "Schermo intero automatico" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausa automatica al cambio scheda" - }, - "autoplay": { - "message": "Avvio automatico" - }, - "backupAndReset": { - "message": "Backup e reimpostazione" - }, - "baseOnSystemColorScheme": { - "message": "Basato sullo schema colore di sistema" - }, - "belowPlayer": { - "message": "Sotto il lettore" - }, - "black": { - "message": "Nero" - }, - "blacklist": { - "message": "Lista nera" - }, - "blockAll": { - "message": "Blocca tutte" - }, - "blue": { - "message": "Blu" - }, - "blueGray": { - "message": "Grigio blu" - }, - "bluelight": { - "message": "Luce blu" - }, - "brown": { - "message": "Marrone" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Versione browser" - }, - "bubbles": { - "message": "Bolle" - }, - "bug": { - "message": "Difetto" - }, - "buttons": { - "message": "Pulsanti" - }, - "cancel": { - "message": "Annulla" - }, - "categories": { - "message": "Categorie" - }, - "channel": { - "message": "Canale" - }, - "channels": { - "message": "Canali" - }, - "clipboard": { - "message": "Appunti" - }, - "codecH264": { - "message": "Codec H.264" - }, - "collapseOfSubscriptionSections": { - "message": "Comprimi sezioni di sottoscrizione" - }, - "collapsed": { - "message": "Compressa/i" - }, - "comments": { - "message": "Commenti" - }, - "confirmationBeforeClosing": { - "message": "Conferma prima della chiusura" - }, - "cookies": { - "message": "Cookie" - }, - "cores": { - "message": "Core" - }, - "cropChapterTitles": { - "message": "Ritaglia titoli dei capitoli" - }, - "customCss": { - "message": "CSS personalizzato" - }, - "customJs": { - "message": "JS personalizzato" - }, - "customMiniPlayer": { - "message": "Mini lettore personalizzato" - }, - "cyan": { - "message": "Ciano" - }, - "dark": { - "message": "Scuro" - }, - "darkTheme": { - "message": "Tema scuro" - }, - "dateAndTime": { - "message": "Data e ora" - }, - "dawn": { - "message": "Albeggio" - }, - "decreasePlaybackSpeed": { - "message": "Riduci velocità riproduzione" - }, - "decreaseVolume": { - "message": "Riduci volume" - }, - "deepOrange": { - "message": "Arancione profondo" - }, - "deepPurple": { - "message": "Viola profondo" - }, - "defaultChannelTab": { - "message": "Scheda predefinita canale" - }, - "deleteYoutubeCookies": { - "message": "Cancella cookie di YouTube" - }, - "description": { - "message": "Descrizione" - }, - "desert": { - "message": "Deserto" - }, - "details": { - "message": "Dettagli" - }, - "developerOptions": { - "message": "Opzioni per gli sviluppatori" - }, - "device": { - "message": "Dispositivo" - }, - "dim": { - "message": "Smorzamento" - }, - "disabled": { - "message": "Disabilitato" - }, - "dislike": { - "message": "Non gradire" - }, - "doNotChange": { - "message": "Non cambiare" - }, - "donate": { - "message": "Donare" - }, - "draggable": { - "message": "Trascinabile" - }, - "email": { - "message": "EMail" - }, - "empty": { - "message": "Vuota" - }, - "enabled": { - "message": "Abilitato" - }, - "enabledForced": { - "message": "Abilitato (forzato)" - }, - "expanded": { - "message": "Estesa" - }, - "exportSettings": { - "message": "Esporta impostazioni" - }, - "extension": { - "message": "Estensione" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filtri" - }, - "fitToWindow": { - "message": "Adatta alla finestra" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Footer" - }, - "forcedPlaybackSpeed": { - "message": "Velocità riproduzione forzata" - }, - "forcedTheaterMode": { - "message": "Modalità cinema forzata" - }, - "forcedVolume": { - "message": "Volume forzato" - }, - "foundABug": { - "message": "Trovato un bug?" - }, - "fullWindow": { - "message": "Finestra intera" - }, - "general": { - "message": "Generale" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Vai alla casella di ricerca" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura in altà qualità" - }, - "hdThumbnails": { - "message": "Miniature in alta qualità" - }, - "header": { - "message": "Intestazione" - }, - "hidden": { - "message": "Nascosta/i" - }, - "hiddenOnVideoPage": { - "message": "Nascosta nella pagina video" - }, - "hideAnimatedThumbnails": { - "message": "Nascondi miniature animate" - }, - "hideAnnotations": { - "message": "Nascondi annotazioni" - }, - "hideCards": { - "message": "Nascondi tessere di fine video" - }, - "hideDetails": { - "message": "Nascondi dettagli" - }, - "hideEndscreen": { - "message": "Nascondi finale video" - }, - "hideFeaturedContent": { - "message": "Nascondi contenuti in primo piano" - }, - "hideFooter": { - "message": "Nascondi footer" - }, - "hidePlaylist": { - "message": "Nascondi playlist" - }, - "hideRightButtons": { - "message": "Nascondi pulsanti sulla destra" - }, - "hideScrollForDetails": { - "message": "Nascondi «Scorri per dettagli»" - }, - "hideViewsCount": { - "message": "Nascondi contatore visualizzazioni" - }, - "history": { - "message": "Cronologia" - }, - "home": { - "message": "Pagina iniziale" - }, - "hover": { - "message": "In sospensione" - }, - "hoverOnVideoPage": { - "message": "In sospensione sulla pagine del video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Quanto tempo fa il video è stato caricato" - }, - "icons": { - "message": "Icone" - }, - "iconsOnly": { - "message": "Solo icone" - }, - "importSettings": { - "message": "Importa impostazioni" - }, - "improveLogo": { - "message": "Migliora logo" - }, - "improvedtubeIconInBrowser": { - "message": "Icona ImprovedTube nel browser" - }, - "improvedtubeIconOnYoutube": { - "message": "Icona ImprovedTube su YouTube" - }, - "improvedtubeLanguage": { - "message": "Lingua ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Versione ImprovedTube" - }, - "increasePlaybackSpeed": { - "message": "Aumenta velocità riproduzione" - }, - "increaseVolume": { - "message": "Aumenta volume" - }, - "indigo": { - "message": "Indaco" - }, - "items": { - "message": "Oggetti" - }, - "languages": { - "message": "Lingue" - }, - "legacyYoutube": { - "message": "YouTube versione legacy" - }, - "light": { - "message": "Chiaro" - }, - "lightBlue": { - "message": "Blu chiaro" - }, - "lightGreen": { - "message": "Verde chiaro" - }, - "like": { - "message": "Mi piace" - }, - "likes": { - "message": "Numero di Mi piace" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Chat dal vivo" - }, - "liveChatType": { - "message": "Tipologia chat dal vivo" - }, - "loudnessNormalization": { - "message": "Normalizzazione rumorosità" - }, - "markWatchedVideos": { - "message": "Contrassegna video visti" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "Miei colori" - }, - "name": { - "message": "Nome" - }, - "nativeMiniPlayer": { - "message": "Mini lettore nativo" - }, - "new": { - "message": "Nuovo" - }, - "nextVideo": { - "message": "Prossimo video" - }, - "night": { - "message": "Notte" - }, - "noActiveFeatures": { - "message": "Nessuna funzionalità attiva" - }, - "noOpenVideoTabs": { - "message": "Nessuna scheda video aperta" - }, - "none": { - "message": "Alcuno/a" - }, - "normal": { - "message": "Standard" - }, - "old": { - "message": "Vecchio" - }, - "onAllVideos": { - "message": "Su tutti i video" - }, - "onSubscribedChannels": { - "message": "Su canali iscritti" - }, - "onlyActiveOnYoutube": { - "message": "Attivo solo su YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Istanza unica di riproduzione attiva" - }, - "orange": { - "message": "Arancione" - }, - "os": { - "message": "Sistema operativo" - }, - "other": { - "message": "Altro" - }, - "permissions": { - "message": "Autorizzazioni" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Pianura" - }, - "platform": { - "message": "Piattaforma" - }, - "playPause": { - "message": "Avvio / Pausa" - }, - "playbackSpeed": { - "message": "Velocità riproduzione" - }, - "player": { - "message": "Lettore" - }, - "playerColor": { - "message": "Colore lettore" - }, - "playerSize": { - "message": "Dimensione lettore" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlist" - }, - "popupPlayer": { - "message": "Lettore pop-up" - }, - "position": { - "message": "Posizione" - }, - "pressAnyKeyOrScroll": { - "message": "Premere un qualunque tasto o scorrere" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Premere un qualunque tasto o usare rotella del mouse" - }, - "previousVideo": { - "message": "Video precedente" - }, - "primaryColor": { - "message": "Colore primario" - }, - "purple": { - "message": "Viola" - }, - "quality": { - "message": "Qualità" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Valutaci" - }, - "red": { - "message": "Rosso" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Video correlati" - }, - "removeRelatedSearchResults": { - "message": "Rimuovi risultati di ricerca correlati" - }, - "repeat": { - "message": "Ripeti" - }, - "reset": { - "message": "Reimpostazione" - }, - "resetAllSettings": { - "message": "Reimposta tutte le impostazioni" - }, - "resetAllShortcuts": { - "message": "Reimposta tutte le scorciatoie" - }, - "reverse": { - "message": "Inverti" - }, - "rotate": { - "message": "Ruota" - }, - "save": { - "message": "Salva" - }, - "saveAs": { - "message": "Salva come" - }, - "schedule": { - "message": "Programmazione" - }, - "screen": { - "message": "Schermo" - }, - "screenshot": { - "message": "Screenshot" - }, - "search": { - "message": "Ricerca" - }, - "searchBarOnly": { - "message": "Cerca solamente nella barra" - }, - "seekBackward10Seconds": { - "message": "Muovi indietro 10 secondi" - }, - "seekForward10Seconds": { - "message": "Muovi avanti 10 secondi" - }, - "settings": { - "message": "Impostazioni" - }, - "settingsSuccessfullyImported": { - "message": "Impostazioni importate con successo" - }, - "shortcuts": { - "message": "Scorciatoie" - }, - "showCardsOnMouseHover": { - "message": "Mostra tessere di fine video al passaggio del mouse" - }, - "showChannelVideosCount": { - "message": "Mostra contatore visualizzazioni canale" - }, - "shuffle": { - "message": "Riproduzione casuale" - }, - "sidebar": { - "message": "Barra laterale" - }, - "spacebar": { - "message": "Barra spaziatrice" - }, - "squaredUserImages": { - "message": "Immagini utenti squadrate" - }, - "static": { - "message": "Statica" - }, - "stop": { - "message": "Arresto" - }, - "style": { - "message": "Stile" - }, - "styles": { - "message": "Stili" - }, - "subscriptions": { - "message": "Sottoscrizioni" - }, - "subtitles": { - "message": "Sottotitoli" - }, - "sunset": { - "message": "Tramonto" - }, - "sunsetToSunrise": { - "message": "Dal tramonto all'alba" - }, - "systemPeferenceDark": { - "message": "Preferenza di sistema: scuro" - }, - "systemPeferenceLight": { - "message": "Preferenza di sistema: chiaro" - }, - "teal": { - "message": "Verde acqua" - }, - "textColor": { - "message": "Colore testo" - }, - "themes": { - "message": "Temi" - }, - "thisWillRemoveAllCookies": { - "message": "Questo rimuoverà tutti i cookie" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Questo rimuoverà tutti i cookie di YouTube" - }, - "thisWillResetAllSettings": { - "message": "Questo rimuoverà tutte le impostazioni" - }, - "thisWillResetAllShortcuts": { - "message": "Questo Reimposterà tutte le scorciatoie" - }, - "thumbnails": { - "message": "Miniature" - }, - "timeFrom": { - "message": "Dalle ore" - }, - "timeTo": { - "message": "Alle ore" - }, - "todayAt": { - "message": "Oggi alle" - }, - "topChat": { - "message": "Chat superiore" - }, - "trailerAutoplay": { - "message": "Avvio automatico trailer" - }, - "translations": { - "message": "Traduzioni" - }, - "transparentBackground": { - "message": "Sfondo trasparente" - }, - "trending": { - "message": "Di tendenza" - }, - "tryToReloadThePage": { - "message": "Provare a ricaricare la pagina" - }, - "type": { - "message": "Tipologia" - }, - "upNextAutoplay": { - "message": "Avvio automatico prossimo video" - }, - "use24HourFormat": { - "message": "Usa formato a 24 ore" - }, - "version": { - "message": "Versione" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "La descrizione del video verrà espansa per ottenere il nome della categoria" - }, - "videoFormats": { - "message": "Formati video" - }, - "videos": { - "message": "Video" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Guarda più tardi" - }, - "watchTime": { - "message": "Tempo di visione" - }, - "whenTabIsChanged": { - "message": "Quando la scheda è cambiata" - }, - "white": { - "message": "Bianco" - }, - "yellow": { - "message": "Giallo" - }, - "youtubeHeaderLeft": { - "message": "Intestazione YouTube (sinistra)" - }, - "youtubeHeaderRight": { - "message": "Intestazione YouTube (destra)" - }, - "youtubeHomePage": { - "message": "Pagina iniziale YouTube" - }, - "youtubeLanguage": { - "message": "Lingua YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limita la qualità video a 1080p per il codec h.264" - } -} diff --git a/stable/_locales/ja/messages.json b/stable/_locales/ja/messages.json deleted file mode 100644 index 40092685c..000000000 --- a/stable/_locales/ja/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "このソフトについて" - }, - "accept": { - "message": "了解" - }, - "activate": { - "message": "有効にする" - }, - "activateCaptions": { - "message": "キャプションを有効にする" - }, - "activateFullscreen": { - "message": "全画面にする" - }, - "activated": { - "message": "有効化" - }, - "activatedFeatures": { - "message": "有効化された機能" - }, - "activeFeatures": { - "message": "機能の切り替え" - }, - "addScrollToTop": { - "message": "「一番上にスクロール」のボタンを追加する" - }, - "ads": { - "message": "広告" - }, - "all": { - "message": "すべて" - }, - "allow": { - "message": "許可" - }, - "allow60fps": { - "message": "60fpsを許可する" - }, - "alwaysActive": { - "message": "常に有効" - }, - "alwaysShowProgressBar": { - "message": "常にプログレスバーを表示する" - }, - "amber": { - "message": "アンバー" - }, - "analyzer": { - "message": "分析" - }, - "appearance": { - "message": "外観" - }, - "audio": { - "message": "音声" - }, - "audioFormats": { - "message": "音声形式" - }, - "auto": { - "message": "自動" - }, - "autoFullscreen": { - "message": "自動的に全画面にする" - }, - "autopauseWhenSwitchingTabs": { - "message": "タブ切り替えで自動的に一時停止" - }, - "autoplay": { - "message": "自動再生" - }, - "backupAndReset": { - "message": "バックアップとリセット" - }, - "baseOnSystemColorScheme": { - "message": "システムの色に合わせる" - }, - "belowPlayer": { - "message": "プレーヤーの下" - }, - "black": { - "message": "黒" - }, - "blacklist": { - "message": "ブラックリスト" - }, - "blockAll": { - "message": "すべてブロックする" - }, - "blue": { - "message": "青" - }, - "blueGray": { - "message": "青みがかった灰" - }, - "bluelight": { - "message": "ブルーライト" - }, - "brown": { - "message": "茶" - }, - "browser": { - "message": "ブラウザー" - }, - "browserVersion": { - "message": "ブラウザーのバージョン" - }, - "bubbles": { - "message": "バブル" - }, - "bug": { - "message": "バグ" - }, - "buttons": { - "message": "ボタン" - }, - "cancel": { - "message": "キャンセル" - }, - "categories": { - "message": "カテゴリー" - }, - "channel": { - "message": "チャンネル" - }, - "channels": { - "message": "チャンネル" - }, - "clipboard": { - "message": "クリップボード" - }, - "codecH264": { - "message": "H.264コーデック" - }, - "collapseOfSubscriptionSections": { - "message": "サブスクリプション部分を畳む" - }, - "collapsed": { - "message": "畳む" - }, - "comments": { - "message": "コメント" - }, - "confirmationBeforeClosing": { - "message": "閉じる前に確認する" - }, - "cookies": { - "message": "Cookie" - }, - "cores": { - "message": "コア数" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "カスタム CSS" - }, - "customJs": { - "message": "カスタム JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "シアン" - }, - "dark": { - "message": "ダーク" - }, - "darkTheme": { - "message": "ダークテーマ" - }, - "dateAndTime": { - "message": "日付と時刻" - }, - "dawn": { - "message": "夜明け" - }, - "decreasePlaybackSpeed": { - "message": "再生速度を下げる" - }, - "decreaseVolume": { - "message": "音量を下げる" - }, - "deepOrange": { - "message": "深いオレンジ" - }, - "deepPurple": { - "message": "深い紫" - }, - "defaultChannelTab": { - "message": "デフォルトのチャンネルタブ" - }, - "deleteYoutubeCookies": { - "message": "YouTube の Cookie を削除する" - }, - "description": { - "message": "説明" - }, - "desert": { - "message": "砂漠" - }, - "details": { - "message": "詳細" - }, - "developerOptions": { - "message": "開発者向けオプション" - }, - "device": { - "message": "デバイス" - }, - "dim": { - "message": "暗さ" - }, - "disabled": { - "message": "無効" - }, - "dislike": { - "message": "低評価" - }, - "doNotChange": { - "message": "変更しない" - }, - "donate": { - "message": "寄付する" - }, - "draggable": { - "message": "ドラッグ可能にする" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "なし" - }, - "enabled": { - "message": "有効" - }, - "enabledForced": { - "message": "有効 (強制)" - }, - "expanded": { - "message": "広げる" - }, - "exportSettings": { - "message": "設定をエクスポートする" - }, - "extension": { - "message": "拡張" - }, - "file": { - "message": "ファイル" - }, - "filters": { - "message": "フィルター" - }, - "fitToWindow": { - "message": "ウィンドウに合わせる" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "フォント" - }, - "footer": { - "message": "フッター" - }, - "forcedPlaybackSpeed": { - "message": "再生速度を指定する" - }, - "forcedTheaterMode": { - "message": "シアターモードにする" - }, - "forcedVolume": { - "message": "音量を指定する" - }, - "foundABug": { - "message": "バグ報告" - }, - "fullWindow": { - "message": "フルウィンドウ" - }, - "general": { - "message": "一般" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "検索ボックスに行く" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "緑" - }, - "hdThumbnail": { - "message": "HDサムネイル" - }, - "hdThumbnails": { - "message": "HDサムネイル" - }, - "header": { - "message": "ヘッダー" - }, - "hidden": { - "message": "隠す" - }, - "hiddenOnVideoPage": { - "message": "動画ページでは隠す" - }, - "hideAnimatedThumbnails": { - "message": "サムネイルのアニメーションを行わない" - }, - "hideAnnotations": { - "message": "アノテーションを隠す" - }, - "hideCards": { - "message": "カードを隠す" - }, - "hideDetails": { - "message": "詳細を隠す" - }, - "hideEndscreen": { - "message": "再生終了時の画面を隠す" - }, - "hideFeaturedContent": { - "message": "おすすめチャンネルを非表示にする" - }, - "hideFooter": { - "message": "フッターを隠す" - }, - "hidePlaylist": { - "message": "再生リストを隠す" - }, - "hideRightButtons": { - "message": "右ボタンを隠す" - }, - "hideScrollForDetails": { - "message": "「スクロールして詳細を表示」を隠す" - }, - "hideViewsCount": { - "message": "視聴数を隠す" - }, - "history": { - "message": "履歴" - }, - "home": { - "message": "ホーム" - }, - "hover": { - "message": "ホバー" - }, - "hoverOnVideoPage": { - "message": "動画ページではホバー" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "動画がアップロードされてからの時間" - }, - "icons": { - "message": "アイコン" - }, - "iconsOnly": { - "message": "アイコンのみ" - }, - "importSettings": { - "message": "設定をインポートする" - }, - "improveLogo": { - "message": "ロゴを改良する" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTubeアイコンをブラウザに表示する" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTubeアイコンをYouTubeに表示する" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube の言語" - }, - "improvedtubeVersion": { - "message": "ImprovedTube のバージョン" - }, - "increasePlaybackSpeed": { - "message": "再生速度を上げる" - }, - "increaseVolume": { - "message": "音量を上げる" - }, - "indigo": { - "message": "インディゴ" - }, - "items": { - "message": "アイテム" - }, - "languages": { - "message": "言語" - }, - "legacyYoutube": { - "message": "古い YouTube にする" - }, - "light": { - "message": "ライト" - }, - "lightBlue": { - "message": "薄い青" - }, - "lightGreen": { - "message": "薄い緑" - }, - "like": { - "message": "高評価" - }, - "likes": { - "message": "高評価" - }, - "lime": { - "message": "ライム" - }, - "list": { - "message": "リスト" - }, - "liveChat": { - "message": "ライブチャット" - }, - "liveChatType": { - "message": "ライブチャットの種類" - }, - "loudnessNormalization": { - "message": "音量のノーマリゼーション" - }, - "markWatchedVideos": { - "message": "視聴した動画にマークを付ける" - }, - "mixer": { - "message": "ミキサー" - }, - "myColors": { - "message": "色設定" - }, - "name": { - "message": "名前" - }, - "nativeMiniPlayer": { - "message": "ネイティブミニプレーヤー" - }, - "new": { - "message": "新規" - }, - "nextVideo": { - "message": "次の動画" - }, - "night": { - "message": "夜" - }, - "noActiveFeatures": { - "message": "有効化された機能がありません" - }, - "noOpenVideoTabs": { - "message": "開いている動画タブがありません" - }, - "none": { - "message": "なし" - }, - "normal": { - "message": "標準" - }, - "old": { - "message": "Old" - }, - "onAllVideos": { - "message": "すべて許可する" - }, - "onSubscribedChannels": { - "message": "登録したチャンネルでは許可する" - }, - "onlyActiveOnYoutube": { - "message": "YouTube で有効" - }, - "onlyOnePlayerInstancePlaying": { - "message": "1つのプレーヤーインスタンスのみにする" - }, - "orange": { - "message": "オレンジ" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "その他" - }, - "permissions": { - "message": "権限" - }, - "pictureInPicture": { - "message": "ピクチャーインピクチャー" - }, - "pink": { - "message": "ピンク" - }, - "plain": { - "message": "プレーン" - }, - "platform": { - "message": "プラットフォーム" - }, - "playPause": { - "message": "再生/一時停止" - }, - "playbackSpeed": { - "message": "再生速度" - }, - "player": { - "message": "プレーヤー" - }, - "playerColor": { - "message": "プレーヤーの色" - }, - "playerSize": { - "message": "プレーヤーのサイズ" - }, - "playlist": { - "message": "再生リスト" - }, - "playlists": { - "message": "再生リスト" - }, - "popupPlayer": { - "message": "ポップアッププレーヤー" - }, - "position": { - "message": "位置" - }, - "pressAnyKeyOrScroll": { - "message": "任意のキーを押すか、マウスホイールを使用してください" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "任意のキーを押すか、マウスホイールを使用してください" - }, - "previousVideo": { - "message": "前の動画" - }, - "primaryColor": { - "message": "全体の色" - }, - "purple": { - "message": "紫" - }, - "quality": { - "message": "画質" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "評価する" - }, - "red": { - "message": "赤" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "関連動画" - }, - "removeRelatedSearchResults": { - "message": "関連動画を検索結果から削除する" - }, - "repeat": { - "message": "リピート" - }, - "reset": { - "message": "リセット" - }, - "resetAllSettings": { - "message": "すべての設定をリセットする" - }, - "resetAllShortcuts": { - "message": "すべてのショートカットをリセットする" - }, - "reverse": { - "message": "逆順にする" - }, - "rotate": { - "message": "回転" - }, - "save": { - "message": "保存" - }, - "saveAs": { - "message": "別名で保存する" - }, - "schedule": { - "message": "スケジュール" - }, - "screen": { - "message": "スクリーン" - }, - "screenshot": { - "message": "スクリーンショット" - }, - "search": { - "message": "検索" - }, - "searchBarOnly": { - "message": "検索バーのみ" - }, - "seekBackward10Seconds": { - "message": "10秒戻る" - }, - "seekForward10Seconds": { - "message": "10秒進む" - }, - "settings": { - "message": "設定" - }, - "settingsSuccessfullyImported": { - "message": "設定を正常にインポートしました" - }, - "shortcuts": { - "message": "ショートカット" - }, - "showCardsOnMouseHover": { - "message": "マウスオーバーでカードを表示する" - }, - "showChannelVideosCount": { - "message": "チャンネルの動画数を表示する" - }, - "shuffle": { - "message": "シャッフル" - }, - "sidebar": { - "message": "サイドバー" - }, - "spacebar": { - "message": "スペースキー" - }, - "squaredUserImages": { - "message": "ユーザー画像を四角にする" - }, - "static": { - "message": "スタティック" - }, - "step": { - "message": "ステップ" - }, - "stop": { - "message": "停止" - }, - "style": { - "message": "スタイル" - }, - "styles": { - "message": "スタイル" - }, - "subscriptions": { - "message": "登録チャンネル" - }, - "subtitles": { - "message": "サブタイトル" - }, - "sunset": { - "message": "夕焼け" - }, - "sunsetToSunrise": { - "message": "夕焼けから日の出へ" - }, - "systemPeferenceDark": { - "message": "システム設定: ダーク" - }, - "systemPeferenceLight": { - "message": "システム設定: ライト" - }, - "teal": { - "message": "ティール" - }, - "textColor": { - "message": "文字の色" - }, - "themes": { - "message": "テーマ" - }, - "thisWillRemoveAllCookies": { - "message": "これはすべての Cookie を削除します。" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "YouTube のすべての Cookie を削除します" - }, - "thisWillResetAllSettings": { - "message": "すべての設定をリセットします。" - }, - "thisWillResetAllShortcuts": { - "message": "すべてのショートカットをリセットします" - }, - "thumbnails": { - "message": "サムネイル" - }, - "timeFrom": { - "message": "この時間から" - }, - "timeTo": { - "message": "この時間まで" - }, - "todayAt": { - "message": "測定時刻" - }, - "topChat": { - "message": "上位チャット" - }, - "trailerAutoplay": { - "message": "トレーラーを自動再生する" - }, - "translations": { - "message": "翻訳" - }, - "transparentBackground": { - "message": "透明な背景" - }, - "trending": { - "message": "急上昇" - }, - "tryToReloadThePage": { - "message": "ページをリロードしてみてください" - }, - "type": { - "message": "種類" - }, - "upNextAutoplay": { - "message": "次の動画を自動再生する" - }, - "use24HourFormat": { - "message": "24時間表示にする" - }, - "version": { - "message": "バージョン" - }, - "video": { - "message": "動画" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "動画の説明はカテゴリ名を取得するために広げられます" - }, - "videoFormats": { - "message": "動画形式" - }, - "videos": { - "message": "動画" - }, - "volume": { - "message": "音量" - }, - "watchLater": { - "message": "後で見る" - }, - "watchTime": { - "message": "視聴時間" - }, - "whenTabIsChanged": { - "message": "タブを変更したとき" - }, - "white": { - "message": "白" - }, - "yellow": { - "message": "黄" - }, - "youtubeHeaderLeft": { - "message": "YouTube のヘッダー左" - }, - "youtubeHeaderRight": { - "message": "YouTube のヘッダー右" - }, - "youtubeHomePage": { - "message": "YouTube のホームページ" - }, - "youtubeLanguage": { - "message": "YouTube の言語" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube はH.264コーデックの画質を1080pに制限しています" - } -} diff --git a/stable/_locales/ko/messages.json b/stable/_locales/ko/messages.json deleted file mode 100644 index d44bbad92..000000000 --- a/stable/_locales/ko/messages.json +++ /dev/null @@ -1,797 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "About" - }, - "accept": { - "message": "동의" - }, - "activate": { - "message": "활성화" - }, - "activateCaptions": { - "message": "자막 활성화" - }, - "activateFullscreen": { - "message": "전체화면 활성화" - }, - "activated": { - "message": "활성화됨" - }, - "activatedFeatures": { - "message": "활성화된 기능" - }, - "activeFeatures": { - "message": "활성 기능" - }, - "addScrollToTop": { - "message": "\u003C\u003C맨위로>> 추가" - }, - "ads": { - "message": "광고" - }, - "all": { - "message": "모두" - }, - "allow": { - "message": "허용" - }, - "allow60fps": { - "message": "60fps 허용" - }, - "alwaysActive": { - "message": "항상 활성화" - }, - "alwaysShowProgressBar": { - "message": "재생 진행 상태 항상 표시" - }, - "amber": { - "message": "호박색" - }, - "analyzer": { - "message": "분석" - }, - "appearance": { - "message": "외관" - }, - "audio": { - "message": "오디오" - }, - "audioFormats": { - "message": "오디오 형식" - }, - "auto": { - "message": "자동" - }, - "autoFullscreen": { - "message": "자동 전체화면" - }, - "autopauseWhenSwitchingTabs": { - "message": "탭전환시 자동 일시정지" - }, - "autoplay": { - "message": "자동재생" - }, - "backupAndReset": { - "message": "백업 & 리셋" - }, - "baseOnSystemColorScheme": { - "message": "시스템 색 구성표 기반" - }, - "belowPlayer": { - "message": "플레이어 아래" - }, - "black": { - "message": "검정" - }, - "blacklist": { - "message": "블랙리스트" - }, - "blockAll": { - "message": "모두 차단" - }, - "blue": { - "message": "파랑" - }, - "blueGray": { - "message": "블루그레이" - }, - "bluelight": { - "message": "블루라이트" - }, - "brown": { - "message": "갈색" - }, - "browser": { - "message": "브라우저" - }, - "browserVersion": { - "message": "브라우저 버전" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "버그" - }, - "buttons": { - "message": "버튼" - }, - "cancel": { - "message": "취소" - }, - "categories": { - "message": "카테고리" - }, - "channel": { - "message": "채널" - }, - "channels": { - "message": "채널" - }, - "clipboard": { - "message": "클립보드" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "구독섹션 축소" - }, - "collapsed": { - "message": "축소됨" - }, - "comments": { - "message": "댓글" - }, - "confirmationBeforeClosing": { - "message": "닫기전에 확인하기" - }, - "cookies": { - "message": "쿠키" - }, - "cores": { - "message": "Cores" - }, - "cropChapterTitles": { - "message": "제목 자르기" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "customMiniPlayer": { - "message": "커스텀 미니플레이어" - }, - "cyan": { - "message": "Cyan" - }, - "dark": { - "message": "다크" - }, - "darkTheme": { - "message": "다크 테마" - }, - "dateAndTime": { - "message": "날짜 & 시간" - }, - "dawn": { - "message": "석양" - }, - "decreasePlaybackSpeed": { - "message": "되감기 속도 감소" - }, - "decreaseVolume": { - "message": "볼륨 감소" - }, - "deepOrange": { - "message": "Deep orange" - }, - "deepPurple": { - "message": "Deep purple" - }, - "defaultChannelTab": { - "message": "기본 채널 탭" - }, - "deleteYoutubeCookies": { - "message": "YouTube 쿠키 삭제" - }, - "description": { - "message": "설명" - }, - "desert": { - "message": "Desert" - }, - "details": { - "message": "자세히" - }, - "developerOptions": { - "message": "개발자 옵션" - }, - "device": { - "message": "기기" - }, - "dim": { - "message": "어둡게" - }, - "disabled": { - "message": "비활성화" - }, - "dislike": { - "message": "싫어요" - }, - "doNotChange": { - "message": "바꾸지 않음" - }, - "donate": { - "message": "후원하기" - }, - "draggable": { - "message": "드래그 가능" - }, - "email": { - "message": "이메일" - }, - "empty": { - "message": "비어있음" - }, - "enabled": { - "message": "활성화" - }, - "enabledForced": { - "message": "활성화 (강제)" - }, - "expanded": { - "message": "확장" - }, - "exportSettings": { - "message": "설정 내보내기" - }, - "extension": { - "message": "확대" - }, - "file": { - "message": "파일" - }, - "filters": { - "message": "필터" - }, - "fitToWindow": { - "message": "창크기에 맞추기" - }, - "flash": { - "message": "플래시" - }, - "font": { - "message": "글꼴" - }, - "footer": { - "message": "하단" - }, - "forcedPlaybackSpeed": { - "message": "되감기 속도 강제설정" - }, - "forcedTheaterMode": { - "message": "강제 영화관 모드" - }, - "forcedVolume": { - "message": "볼륨 강제설정" - }, - "foundABug": { - "message": "버그신고" - }, - "fullWindow": { - "message": "전체 화면" - }, - "general": { - "message": "일반" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "검색창으로 이동" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Green" - }, - "hdThumbnail": { - "message": "HD 썸네일" - }, - "hdThumbnails": { - "message": "HD 썸네일" - }, - "header": { - "message": "헤더" - }, - "hidden": { - "message": "숨김" - }, - "hiddenOnVideoPage": { - "message": "비디오 페이지 숨기기" - }, - "hideAnimatedThumbnails": { - "message": "썸네일 애니메이션 숨기기" - }, - "hideAnnotations": { - "message": "설명 숨기기" - }, - "hideCards": { - "message": "카드 숨기기" - }, - "hideDetails": { - "message": "상세설명 숨기기" - }, - "hideEndscreen": { - "message": "종료후 화면 숨기기" - }, - "hideFeaturedContent": { - "message": "추천 영상 숨기기" - }, - "hideFooter": { - "message": "하단 숨기기" - }, - "hidePlaylist": { - "message": "재생 목록 숨기기" - }, - "hideRightButtons": { - "message": "오른쪽 버튼 숨기기" - }, - "hideScrollForDetails": { - "message": "«스크롤 하여 자세한 설명» 숨기기" - }, - "hideViewsCount": { - "message": "조회수 숨기기" - }, - "history": { - "message": "히스토리" - }, - "home": { - "message": "홈" - }, - "hover": { - "message": "띄우기" - }, - "hoverOnVideoPage": { - "message": "비디오 페이지 띄우기" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "업로드 시기" - }, - "icons": { - "message": "아이콘" - }, - "iconsOnly": { - "message": "아이콘만" - }, - "importSettings": { - "message": "설정 불러오기" - }, - "improveLogo": { - "message": "Improve 로고" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube 브라우저 아이콘" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube 유튜브 아이콘" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube 언어" - }, - "improvedtubeVersion": { - "message": "ImprovedTube 버전" - }, - "increasePlaybackSpeed": { - "message": "되감기 속도 증가" - }, - "increaseVolume": { - "message": "볼륨 증가" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "요소" - }, - "languages": { - "message": "언어" - }, - "legacyYoutube": { - "message": "레거시 YouTube" - }, - "light": { - "message": "밝게" - }, - "lightBlue": { - "message": "Light blue" - }, - "lightGreen": { - "message": "Light green" - }, - "like": { - "message": "좋아요" - }, - "likes": { - "message": "좋아요" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "리스트" - }, - "liveChat": { - "message": "실시간 채팅" - }, - "liveChatType": { - "message": "실시간 채팅 유형" - }, - "loudnessNormalization": { - "message": "볼륨 자동조정" - }, - "markWatchedVideos": { - "message": "시청한 영상 표시" - }, - "mixer": { - "message": "믹서" - }, - "myColors": { - "message": "내 컬러" - }, - "name": { - "message": "이름" - }, - "nativeMiniPlayer": { - "message": "네이티브 미니플레이어" - }, - "new": { - "message": "New" - }, - "nextVideo": { - "message": "다음 영상" - }, - "night": { - "message": "Night" - }, - "noActiveFeatures": { - "message": "활성 기능 없음" - }, - "noOpenVideoTabs": { - "message": "열린 비디오 탭 없음" - }, - "none": { - "message": "없음" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Old" - }, - "onAllVideos": { - "message": "모든 비디오" - }, - "onSubscribedChannels": { - "message": "구독한 채널" - }, - "onlyActiveOnYoutube": { - "message": "YouTube만 활성화" - }, - "onlyOnePlayerInstancePlaying": { - "message": "하나의 플레이어만 재생" - }, - "orange": { - "message": "Orange" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "기타" - }, - "permissions": { - "message": "권한" - }, - "pictureInPicture": { - "message": "PIP 재생" - }, - "pink": { - "message": "Pink" - }, - "plain": { - "message": "Plain" - }, - "platform": { - "message": "플랫폼" - }, - "playPause": { - "message": "재생 / 일시정지" - }, - "playbackSpeed": { - "message": "되감기 속도" - }, - "player": { - "message": "플레이어" - }, - "playerColor": { - "message": "플레이어 컬러" - }, - "playerSize": { - "message": "플레이어 크기" - }, - "playlist": { - "message": "플레이리스트" - }, - "playlists": { - "message": "플레이리스트" - }, - "popupPlayer": { - "message": "팝업 플레이어" - }, - "position": { - "message": "위치" - }, - "pressAnyKeyOrScroll": { - "message": "사용할 단축키 or 마우스 휠을 누르세요." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "사용할 단축키 or 마우스 휠을 누르세요." - }, - "previousVideo": { - "message": "이전 영상" - }, - "primaryColor": { - "message": "주 색상" - }, - "purple": { - "message": "Purple" - }, - "quality": { - "message": "퀄리티" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "평가하기" - }, - "red": { - "message": "Red" - }, - "relatedVideos": { - "message": "관련 영상" - }, - "removeRelatedSearchResults": { - "message": "관련 검색결과 제거" - }, - "repeat": { - "message": "반복" - }, - "reset": { - "message": "리셋" - }, - "resetAllSettings": { - "message": "모든 설정 리셋" - }, - "resetAllShortcuts": { - "message": "모든 단축키 리셋" - }, - "reverse": { - "message": "반대로" - }, - "rotate": { - "message": "회전" - }, - "save": { - "message": "저장" - }, - "saveAs": { - "message": "다른이름으로 저장" - }, - "schedule": { - "message": "스케줄" - }, - "screen": { - "message": "스크린" - }, - "screenshot": { - "message": "스크린샷" - }, - "search": { - "message": "검색" - }, - "searchBarOnly": { - "message": "검색창만" - }, - "seekBackward10Seconds": { - "message": "뒤로 10초" - }, - "seekForward10Seconds": { - "message": "앞으로 10초" - }, - "settings": { - "message": "설정" - }, - "settingsSuccessfullyImported": { - "message": "설정 내보내기 완료" - }, - "shortcuts": { - "message": "단축키" - }, - "showCardsOnMouseHover": { - "message": "마우스 올릴 때 카드보기" - }, - "showChannelVideosCount": { - "message": "채널의 비디오수 표시" - }, - "shuffle": { - "message": "셔플" - }, - "sidebar": { - "message": "사이드바" - }, - "spacebar": { - "message": "스페이스바" - }, - "squaredUserImages": { - "message": "정사각형 프로필사진" - }, - "static": { - "message": "고정" - }, - "step": { - "message": "스텝" - }, - "stop": { - "message": "정지" - }, - "style": { - "message": "스타일" - }, - "styles": { - "message": "스타일" - }, - "subscriptions": { - "message": "구독" - }, - "subtitles": { - "message": "자막" - }, - "sunset": { - "message": "Sunset" - }, - "sunsetToSunrise": { - "message": "Sunset to sunrise" - }, - "systemPeferenceDark": { - "message": "개인 설정: dark" - }, - "systemPeferenceLight": { - "message": "개인 설정: light" - }, - "teal": { - "message": "Teal" - }, - "textColor": { - "message": "텍스트 색상" - }, - "themes": { - "message": "테마" - }, - "thisWillRemoveAllCookies": { - "message": "모든 쿠키를 삭제합니다." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "모든 유튜브 쿠키를 삭제합니다." - }, - "thisWillResetAllSettings": { - "message": "모든 설정을 초기화 합니다." - }, - "thisWillResetAllShortcuts": { - "message": "모든 단축키를 초기화 합니다." - }, - "thumbnails": { - "message": "썸네일" - }, - "timeFrom": { - "message": "다음시간 부터" - }, - "timeTo": { - "message": "다음시간 까지" - }, - "todayAt": { - "message": "오늘의" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "트레일러 자동재생" - }, - "translations": { - "message": "번역" - }, - "transparentBackground": { - "message": "투명한 배경" - }, - "trending": { - "message": "인기" - }, - "tryToReloadThePage": { - "message": "새로고침을 시도하십시오" - }, - "type": { - "message": "타입" - }, - "upNextAutoplay": { - "message": "다음영상 자동재생" - }, - "use24HourFormat": { - "message": "24시간 형식 사용" - }, - "version": { - "message": "버젼" - }, - "video": { - "message": "영상" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "카테고리의 이름을 얻기 위해 비디오 설명이 확장됩니다" - }, - "videoFormats": { - "message": "비디오 형식" - }, - "videos": { - "message": "비디오" - }, - "volume": { - "message": "음량" - }, - "watchLater": { - "message": "나중에 보기" - }, - "watchTime": { - "message": "시간 보기" - }, - "whenTabIsChanged": { - "message": "탭이 바뀔때" - }, - "white": { - "message": "White" - }, - "yellow": { - "message": "Yellow" - }, - "youtubeHeaderLeft": { - "message": "YouTube 헤더 (왼쪽)" - }, - "youtubeHeaderRight": { - "message": "YouTube 헤더 (오른쪽)" - }, - "youtubeHomePage": { - "message": "YouTube 홈페이지" - }, - "youtubeLanguage": { - "message": "YouTube 언어" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube는 h.264 코덱에서 비디오 품질을 1080p로 제한합니다" - } -} diff --git a/stable/_locales/nl/messages.json b/stable/_locales/nl/messages.json deleted file mode 100644 index d10a37b27..000000000 --- a/stable/_locales/nl/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Over" - }, - "accept": { - "message": "Accepteren" - }, - "activate": { - "message": "Activeren" - }, - "activateCaptions": { - "message": "Activeer bijschriften" - }, - "activateFullscreen": { - "message": "Activeer volledig scherm" - }, - "activated": { - "message": "Geactiveerd" - }, - "activatedFeatures": { - "message": "Geactiveerde features" - }, - "activeFeatures": { - "message": "Actieve features" - }, - "addScrollToTop": { - "message": "Voeg «Scroll to top» toe" - }, - "ads": { - "message": "Reclames" - }, - "all": { - "message": "Alles" - }, - "allow": { - "message": "Toestaan" - }, - "allow60fps": { - "message": "60fps toestaan" - }, - "alwaysActive": { - "message": "Altijd actief" - }, - "alwaysShowProgressBar": { - "message": "Altijd voortgangsbalk laten zien" - }, - "amber": { - "message": "Amber" - }, - "analyzer": { - "message": "Analyse" - }, - "appearance": { - "message": "Uiterlijk" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "Audio formaten" - }, - "auto": { - "message": "Automatisch" - }, - "autoFullscreen": { - "message": "Automatisch volledig scherm" - }, - "autopauseWhenSwitchingTabs": { - "message": "Automatisch pauzeren bij het wisselen van tabbladen" - }, - "autoplay": { - "message": "Automatisch afspelen" - }, - "backupAndReset": { - "message": "Backup maken & reseten" - }, - "baseOnSystemColorScheme": { - "message": "Baseer op kleurenschema van systeem" - }, - "belowPlayer": { - "message": "Onder de speler" - }, - "black": { - "message": "Zwart" - }, - "blacklist": { - "message": "Zwarte lijst" - }, - "blockAll": { - "message": "Alles blokkeren" - }, - "blue": { - "message": "Blauw" - }, - "blueGray": { - "message": "Blauw grijs" - }, - "bluelight": { - "message": "Blauw licht" - }, - "brown": { - "message": "Bruin" - }, - "browser": { - "message": "Browser" - }, - "browserVersion": { - "message": "Browser versie" - }, - "bubbles": { - "message": "Bubbels" - }, - "bug": { - "message": "Insect" - }, - "buttons": { - "message": "Knoppen" - }, - "cancel": { - "message": "Annuleren" - }, - "categories": { - "message": "Categoriën" - }, - "channel": { - "message": "Kanaal" - }, - "channels": { - "message": "Kanalen" - }, - "clipboard": { - "message": "Klembord" - }, - "codecH264": { - "message": "Encoderen in h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Uitklappen van abonnee sectie" - }, - "collapsed": { - "message": "Ingeklapt" - }, - "comments": { - "message": "Reacties" - }, - "confirmationBeforeClosing": { - "message": "Bevestiging voor sluiten" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Kernen" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "Aangepaste CSS" - }, - "customJs": { - "message": "Aangepaste JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Cyaan" - }, - "dark": { - "message": "Donker" - }, - "darkTheme": { - "message": "Donker thema" - }, - "dateAndTime": { - "message": "Datum & tijd" - }, - "dawn": { - "message": "Morgenrood" - }, - "decreasePlaybackSpeed": { - "message": "Verminder afspeelsnelheid" - }, - "decreaseVolume": { - "message": "Verminder volume" - }, - "deepOrange": { - "message": "Donker oranje" - }, - "deepPurple": { - "message": "donker aars" - }, - "defaultChannelTab": { - "message": "Standaard kanaaltabblad" - }, - "deleteYoutubeCookies": { - "message": "YouTube-cookies verwijderen" - }, - "description": { - "message": "Beschrijving" - }, - "desert": { - "message": "Woestijn" - }, - "details": { - "message": "Details" - }, - "developerOptions": { - "message": "Ontwikkelaarsopties" - }, - "device": { - "message": "Apparaat" - }, - "dim": { - "message": "Dimmen" - }, - "disabled": { - "message": "Uitgeschakeld" - }, - "dislike": { - "message": "Niet leuk vinden" - }, - "doNotChange": { - "message": "Niet aanpassen" - }, - "donate": { - "message": "Doneer" - }, - "draggable": { - "message": "Sleepbaar" - }, - "email": { - "message": "E-mail" - }, - "empty": { - "message": "Leeg" - }, - "enabled": { - "message": "Ingeschakeld" - }, - "enabledForced": { - "message": "Ingeschakeld (geforceerd)" - }, - "expanded": { - "message": "Uitgeklapt" - }, - "exportSettings": { - "message": "Instellingen exporteren" - }, - "extension": { - "message": "Extensie" - }, - "file": { - "message": "Bestand" - }, - "filters": { - "message": "Filters" - }, - "fitToWindow": { - "message": "Aanpassen aan vensterbreedte" - }, - "flash": { - "message": "Flits" - }, - "font": { - "message": "Lettertype" - }, - "footer": { - "message": "Voettekst" - }, - "forcedPlaybackSpeed": { - "message": "Afspeelsnelheid afdwingen" - }, - "forcedTheaterMode": { - "message": "Altijd theatermodus gebruiken" - }, - "forcedVolume": { - "message": "Volume afdwingen" - }, - "foundABug": { - "message": "Heb je een bug gevonden?" - }, - "fullWindow": { - "message": "Volledige venstergrootte" - }, - "general": { - "message": "Algemeen" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Ga naar de zoekbalk" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Groen" - }, - "hdThumbnail": { - "message": "HD-miniatuurvoorbeeld" - }, - "hdThumbnails": { - "message": "HD-miniatuurvoorbeelden" - }, - "header": { - "message": "Kop" - }, - "hidden": { - "message": "Verborgen" - }, - "hiddenOnVideoPage": { - "message": "Verborgen op videopagina" - }, - "hideAnimatedThumbnails": { - "message": "Geen bewegende miniatuurvoorbeelden" - }, - "hideAnnotations": { - "message": "Verberg annotaties" - }, - "hideCards": { - "message": "Verberg kaarten" - }, - "hideDetails": { - "message": "Verberg details" - }, - "hideEndscreen": { - "message": "Verberg eindscherm" - }, - "hideFeaturedContent": { - "message": "Verberg uitgelichte inhoud" - }, - "hideFooter": { - "message": "Verberg voettekst" - }, - "hidePlaylist": { - "message": "Verberg afspeellijst" - }, - "hideRightButtons": { - "message": "Verberg rechter knoppen" - }, - "hideScrollForDetails": { - "message": "Verberg «Scroll for details»" - }, - "hideViewsCount": { - "message": "Verberg views teller" - }, - "history": { - "message": "Geschiedenis" - }, - "home": { - "message": "Thuis" - }, - "hover": { - "message": "Overzweven met cursor" - }, - "hoverOnVideoPage": { - "message": "Overzweven met cursor op videopagina" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Uploaddatum tonen" - }, - "icons": { - "message": "Iconen" - }, - "iconsOnly": { - "message": "Alleen pictogrammen" - }, - "importSettings": { - "message": "Instellingen importeren" - }, - "improveLogo": { - "message": "YouTube-logo verbeteren" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube-pictogram in browser" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icoon op YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube taal" - }, - "improvedtubeVersion": { - "message": "ImprovedTube versie" - }, - "increasePlaybackSpeed": { - "message": "Verhoog afspeelsnelheid" - }, - "increaseVolume": { - "message": "Verhoog volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Talen" - }, - "legacyYoutube": { - "message": "Oude YouTube-uiterlijk" - }, - "light": { - "message": "Licht" - }, - "lightBlue": { - "message": "Licht blauw" - }, - "lightGreen": { - "message": "Licht groen" - }, - "like": { - "message": "Vind ik leuk" - }, - "likes": { - "message": "Vind-ik-leuks" - }, - "lime": { - "message": "Limoen" - }, - "list": { - "message": "Lijst" - }, - "liveChat": { - "message": "Live berichtenvenster" - }, - "liveChatType": { - "message": "Live berichtenvenster type" - }, - "loudnessNormalization": { - "message": "Volume normaliseren" - }, - "markWatchedVideos": { - "message": "Merk bekeken videos aan" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "Mijn kleuren" - }, - "name": { - "message": "Naam" - }, - "nativeMiniPlayer": { - "message": "Ingebouwde minispeler" - }, - "new": { - "message": "Nieuw" - }, - "nextVideo": { - "message": "Volgende video afspelen" - }, - "night": { - "message": "Nacht" - }, - "noActiveFeatures": { - "message": "Geen actieve features" - }, - "noOpenVideoTabs": { - "message": "Geen openstaande videotabbladen" - }, - "none": { - "message": "Geen" - }, - "normal": { - "message": "Normaal" - }, - "old": { - "message": "Oud" - }, - "onAllVideos": { - "message": "Bij alle videos" - }, - "onSubscribedChannels": { - "message": "Op geabonneerde kanalen" - }, - "onlyActiveOnYoutube": { - "message": "Alleen actief op YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Slechts één actieve speler toestaan" - }, - "orange": { - "message": "Oranje" - }, - "os": { - "message": "Besturingssysteem" - }, - "other": { - "message": "Anders" - }, - "permissions": { - "message": "Machtigingen" - }, - "pictureInPicture": { - "message": "Afbeelding-in-Afbeelding" - }, - "pink": { - "message": "Roze" - }, - "plain": { - "message": "Vlakte" - }, - "platform": { - "message": "Platform" - }, - "playPause": { - "message": "Video afspelen/pauzeren" - }, - "playbackSpeed": { - "message": "Afspeelsnelheid" - }, - "player": { - "message": "Speler" - }, - "playerColor": { - "message": "Spelerkleur" - }, - "playerSize": { - "message": "Spelergrootte" - }, - "playlist": { - "message": "Afspeellijst" - }, - "playlists": { - "message": "Afspeellijsten" - }, - "popupPlayer": { - "message": "Pop-upspeler" - }, - "position": { - "message": "Positie" - }, - "pressAnyKeyOrScroll": { - "message": "Druk op een toets of muiswiel." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Druk op een toets of gebruik muiswiel" - }, - "previousVideo": { - "message": "Vorige video afspelen" - }, - "primaryColor": { - "message": "Primaire kleur" - }, - "purple": { - "message": "Paars" - }, - "quality": { - "message": "Kwaliteit" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Geef ons een beoordeling" - }, - "red": { - "message": "Rood" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Gerelateerde video's" - }, - "removeRelatedSearchResults": { - "message": "Verwijder resultaten van gerelateerde videos" - }, - "repeat": { - "message": "Herhalen" - }, - "reset": { - "message": "Herstel" - }, - "resetAllSettings": { - "message": "Standaardwaarden herstellen" - }, - "resetAllShortcuts": { - "message": "Herstel alle snelkoppelingen" - }, - "reverse": { - "message": "Omdraaien" - }, - "rotate": { - "message": "Draaien" - }, - "save": { - "message": "Opslaan" - }, - "saveAs": { - "message": "Opslaan als" - }, - "schedule": { - "message": "Schema" - }, - "screen": { - "message": "Beeldscherm" - }, - "screenshot": { - "message": "Schermafbeelding" - }, - "search": { - "message": "Zoeken" - }, - "searchBarOnly": { - "message": "Alleen zoekbalk" - }, - "seekBackward10Seconds": { - "message": "Zoek 10 seconde terug" - }, - "seekForward10Seconds": { - "message": "Zoek 10 seconde naar voren" - }, - "settings": { - "message": "Instellingen" - }, - "settingsSuccessfullyImported": { - "message": "Instellingen succesvol geïmporteerd" - }, - "shortcuts": { - "message": "Sneltoetsen" - }, - "showCardsOnMouseHover": { - "message": "Laat kaarten zien onder muisaanwijzer" - }, - "showChannelVideosCount": { - "message": "Aantal kanaalvideo's tonen" - }, - "shuffle": { - "message": "Willekeurig" - }, - "sidebar": { - "message": "Zijbalk" - }, - "spacebar": { - "message": "Spatiebalk" - }, - "squaredUserImages": { - "message": "Vierkante gebruikersafbeeldingen" - }, - "static": { - "message": "Statisch" - }, - "step": { - "message": "Stap" - }, - "stop": { - "message": "Stoppen" - }, - "style": { - "message": "Stijl" - }, - "styles": { - "message": "Stijlen" - }, - "subscriptions": { - "message": "Abonnementen" - }, - "subtitles": { - "message": "Ondertiteling tonen" - }, - "sunset": { - "message": "Zonsondergang" - }, - "sunsetToSunrise": { - "message": "Zonsondergang tot zonsopkomst" - }, - "systemPeferenceDark": { - "message": "Systeem voorkeur: donker" - }, - "systemPeferenceLight": { - "message": "Systeem voorkeur: licht" - }, - "teal": { - "message": "Groenblauw" - }, - "textColor": { - "message": "Tekst kleur" - }, - "themes": { - "message": "Thema's" - }, - "thisWillRemoveAllCookies": { - "message": "Dit verwijdert alle cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Dit verwijdert alle YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "Dit herstelt alle instellingen." - }, - "thisWillResetAllShortcuts": { - "message": "Dit herstelt alle snelkoppelingen" - }, - "thumbnails": { - "message": "Miniatuurvoorbeelden" - }, - "timeFrom": { - "message": "Tijd vanaf" - }, - "timeTo": { - "message": "Tijd tot" - }, - "todayAt": { - "message": "Vandaag om" - }, - "topChat": { - "message": "Top-chat" - }, - "trailerAutoplay": { - "message": "Trailer automatisch afspelen" - }, - "translations": { - "message": "vertalingen" - }, - "transparentBackground": { - "message": "Doorzichtige achtergrond" - }, - "trending": { - "message": "Populair" - }, - "tryToReloadThePage": { - "message": "Probeer de pagina te herladen" - }, - "type": { - "message": "Soort" - }, - "upNextAutoplay": { - "message": "Volgende in wachtrij automatisch afspelen" - }, - "use24HourFormat": { - "message": "24-uurstijd gebruiken" - }, - "version": { - "message": "Versie" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video omschrijving wordt uitgeklapt om de naam van de categorie te verkrijgen" - }, - "videoFormats": { - "message": "Video formaten" - }, - "videos": { - "message": "Video's" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Later bekijken" - }, - "watchTime": { - "message": "Kijk tijd" - }, - "whenTabIsChanged": { - "message": "Wanneer het tabblat veranderd" - }, - "white": { - "message": "Wit" - }, - "yellow": { - "message": "Geel" - }, - "youtubeHeaderLeft": { - "message": "YouTube-kop (links)" - }, - "youtubeHeaderRight": { - "message": "YouTube-kop (rechts)" - }, - "youtubeHomePage": { - "message": "YouTube-startpagina" - }, - "youtubeLanguage": { - "message": "YouTube taal" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limiteerd video kwaliteit tot 1080p voor h.264 codec" - } -} diff --git a/stable/_locales/pt_BR/messages.json b/stable/_locales/pt_BR/messages.json deleted file mode 100644 index 880cf559e..000000000 --- a/stable/_locales/pt_BR/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Sobre" - }, - "accept": { - "message": "Accept" - }, - "activate": { - "message": "Activate" - }, - "activateCaptions": { - "message": "Ativar legendas" - }, - "activateFullscreen": { - "message": "Ativar tela cheia" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activeFeatures": { - "message": "Funções ativas" - }, - "addScrollToTop": { - "message": "Habilitar botão «Voltar ao Topo»" - }, - "ads": { - "message": "Anúncios" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "Permitir" - }, - "allow60fps": { - "message": "Permitir 60fps" - }, - "alwaysActive": { - "message": "Sempre ativo" - }, - "alwaysShowProgressBar": { - "message": "Sempre exibir a barra de progresso" - }, - "amber": { - "message": "Âmbar" - }, - "analyzer": { - "message": "Analítico" - }, - "appearance": { - "message": "Aparência" - }, - "audio": { - "message": "Áudio" - }, - "audioFormats": { - "message": "Formatos de áudio" - }, - "auto": { - "message": "Automático" - }, - "autoFullscreen": { - "message": "Tela cheia automática" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausar vídeo ao alternar entre abas" - }, - "autoplay": { - "message": "Reprodução automática" - }, - "backupAndReset": { - "message": "Backup & Restauração" - }, - "baseOnSystemColorScheme": { - "message": "Baseado nas cores do sistema" - }, - "belowPlayer": { - "message": "Abaixo do player" - }, - "black": { - "message": "Preto" - }, - "blacklist": { - "message": "Lista negra" - }, - "blockAll": { - "message": "Bloquear tudo" - }, - "blue": { - "message": "Azul" - }, - "blueGray": { - "message": "Cinza Azulado" - }, - "bluelight": { - "message": "Filtrar luz azul" - }, - "brown": { - "message": "Marrom" - }, - "browser": { - "message": "Navegador" - }, - "browserVersion": { - "message": "Versão do navegador" - }, - "bubbles": { - "message": "Bolhas" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Botões" - }, - "cancel": { - "message": "Cancelar" - }, - "categories": { - "message": "Categorias" - }, - "channel": { - "message": "Canal" - }, - "channels": { - "message": "Canais" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "collapsed": { - "message": "Retraído" - }, - "comments": { - "message": "Comentários" - }, - "confirmationBeforeClosing": { - "message": "Alerta ao fechar a página" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Núcleos" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Custom JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Ciano" - }, - "dark": { - "message": "Obscuro" - }, - "darkTheme": { - "message": "Tema escuro" - }, - "dateAndTime": { - "message": "Data & Hora" - }, - "dawn": { - "message": "Alvorecer" - }, - "decreasePlaybackSpeed": { - "message": "Diminuir velocidade" - }, - "decreaseVolume": { - "message": "Diminuir volume" - }, - "deepOrange": { - "message": "Laranja Escuro" - }, - "deepPurple": { - "message": "Roxo Escuro" - }, - "defaultChannelTab": { - "message": "Aba padrão do canal" - }, - "deleteYoutubeCookies": { - "message": "Deletar cookies do YouTube" - }, - "description": { - "message": "Descrição" - }, - "desert": { - "message": "Deserto" - }, - "details": { - "message": "Detalhes" - }, - "developerOptions": { - "message": "Developer options" - }, - "device": { - "message": "Dispositivo" - }, - "dim": { - "message": "Escurecer" - }, - "disabled": { - "message": "Desabilitado" - }, - "dislike": { - "message": "Não Gostei." - }, - "doNotChange": { - "message": "Não alterar" - }, - "donate": { - "message": "Doar" - }, - "draggable": { - "message": "Arrastável" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Vazio" - }, - "enabled": { - "message": "Habilitado" - }, - "enabledForced": { - "message": "Enabled (forced)" - }, - "expanded": { - "message": "Expandido" - }, - "exportSettings": { - "message": "Exportar configurações" - }, - "extension": { - "message": "Extensão" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "Filtros" - }, - "fitToWindow": { - "message": "Ajustar à janela" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Font" - }, - "footer": { - "message": "Rodapé" - }, - "forcedPlaybackSpeed": { - "message": "Forced playback speed" - }, - "forcedTheaterMode": { - "message": "Forçar modo teatro" - }, - "forcedVolume": { - "message": "Forçar volume" - }, - "foundABug": { - "message": "Encontrou um bug?" - }, - "fullWindow": { - "message": "Preencher a janela" - }, - "general": { - "message": "Geral" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Selecionar barra de pesquisa" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura em HD" - }, - "hdThumbnails": { - "message": "Miniaturas em HD" - }, - "header": { - "message": "Cabeçalho" - }, - "hidden": { - "message": "Oculto" - }, - "hiddenOnVideoPage": { - "message": "Oculto na página de vídeo" - }, - "hideAnimatedThumbnails": { - "message": "Desabilitar miniaturas animadas" - }, - "hideAnnotations": { - "message": "Ocultar anotações" - }, - "hideCards": { - "message": "Ocultar cards" - }, - "hideDetails": { - "message": "Ocultar detalhes" - }, - "hideEndscreen": { - "message": "Ocultar tela final" - }, - "hideFeaturedContent": { - "message": "Ocultar conteúdo em destaque" - }, - "hideFooter": { - "message": "Ocultar rodapé" - }, - "hidePlaylist": { - "message": "Ocultar playlist" - }, - "hideRightButtons": { - "message": "Ocultar botões à direita" - }, - "hideScrollForDetails": { - "message": "Ocultar «Rolar Para Ver Detalhes»" - }, - "hideViewsCount": { - "message": "Ocultar visualizações" - }, - "history": { - "message": "Histórico" - }, - "home": { - "message": "Início" - }, - "hover": { - "message": "Retrátil" - }, - "hoverOnVideoPage": { - "message": "Retrátil na página de video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Tempo decorrido desde a publicação" - }, - "icons": { - "message": "Ícones" - }, - "iconsOnly": { - "message": "Apenas ícones" - }, - "importSettings": { - "message": "Importar configurações" - }, - "improveLogo": { - "message": "Aprimorar logomarca" - }, - "improvedtubeIconInBrowser": { - "message": "Ícone do ImprovedTube no navegador" - }, - "improvedtubeIconOnYoutube": { - "message": "Ícone do ImprovedTube no YouTube" - }, - "improvedtubeLanguage": { - "message": "Idioma do ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Versão do ImprovedTube" - }, - "increasePlaybackSpeed": { - "message": "Aumentar velocidade" - }, - "increaseVolume": { - "message": "Diminuir volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Itens" - }, - "languages": { - "message": "Idiomas" - }, - "legacyYoutube": { - "message": "YouTube antigo" - }, - "light": { - "message": "Claro" - }, - "lightBlue": { - "message": "Azul Claro" - }, - "lightGreen": { - "message": "Verde Claro" - }, - "like": { - "message": "Gostei!" - }, - "likes": { - "message": "Avaliações" - }, - "lime": { - "message": "Verde Limão" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Bate-Papo Ao Vivo" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "Normalização de volume" - }, - "markWatchedVideos": { - "message": "Mark watched videos" - }, - "mixer": { - "message": "Mixer" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "Nome" - }, - "nativeMiniPlayer": { - "message": "Mini player nativo" - }, - "new": { - "message": "Novo" - }, - "nextVideo": { - "message": "Próximo vídeo" - }, - "night": { - "message": "Noite" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "noOpenVideoTabs": { - "message": "Nenhuma aba de vídeo aberta" - }, - "none": { - "message": "Nenhum" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Antigo" - }, - "onAllVideos": { - "message": "Em todos os vídeos" - }, - "onSubscribedChannels": { - "message": "Apenas em inscrições" - }, - "onlyActiveOnYoutube": { - "message": "Ativo apenas no YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "orange": { - "message": "Laranja" - }, - "os": { - "message": "Sistema Operacional" - }, - "other": { - "message": "Outras opções" - }, - "permissions": { - "message": "Permissões" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Panície" - }, - "platform": { - "message": "Plataforma" - }, - "playPause": { - "message": "Reproduzir / Pausar" - }, - "playbackSpeed": { - "message": "Velocidade de reprodução" - }, - "player": { - "message": "Player" - }, - "playerColor": { - "message": "Cor do player" - }, - "playerSize": { - "message": "Tamanho do player" - }, - "playlist": { - "message": "Playlist" - }, - "playlists": { - "message": "Playlists" - }, - "popupPlayer": { - "message": "Player externo" - }, - "position": { - "message": "Posição" - }, - "pressAnyKeyOrScroll": { - "message": "Pressione qualquer tecla ou use a roda do mouse" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Pressione qualquer tecla ou use a roda do mouse" - }, - "previousVideo": { - "message": "Vídeo anterior" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "Roxo" - }, - "quality": { - "message": "Qualidade" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Avalie-nos!" - }, - "red": { - "message": "Vermelho" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Vídeos relacionados" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "Repetir" - }, - "reset": { - "message": "Restaurar" - }, - "resetAllSettings": { - "message": "Restaurar todas as configurações" - }, - "resetAllShortcuts": { - "message": "Reset all shortcuts" - }, - "reverse": { - "message": "Reverso" - }, - "rotate": { - "message": "Rotacionar" - }, - "save": { - "message": "Salvar" - }, - "saveAs": { - "message": "Salvar como" - }, - "schedule": { - "message": "Agendamento" - }, - "screen": { - "message": "Tela" - }, - "screenshot": { - "message": "Captura de tela" - }, - "search": { - "message": "Pesquisar" - }, - "searchBarOnly": { - "message": "Apenas barra de pesquisa" - }, - "seekBackward10Seconds": { - "message": "Retroceder 10 segundos" - }, - "seekForward10Seconds": { - "message": "Avançar 10 segundos" - }, - "settings": { - "message": "Configurações" - }, - "settingsSuccessfullyImported": { - "message": "Configurações importadas com sucesso" - }, - "shortcuts": { - "message": "Atalhos" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "Número de vídeos do canal" - }, - "shuffle": { - "message": "Aleatório" - }, - "sidebar": { - "message": "Painel lateral" - }, - "spacebar": { - "message": "Espaço" - }, - "squaredUserImages": { - "message": "Avatares quadrados" - }, - "static": { - "message": "Estático" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Parar" - }, - "style": { - "message": "Estilo" - }, - "styles": { - "message": "Estilos" - }, - "subscriptions": { - "message": "Inscrições" - }, - "subtitles": { - "message": "Legendas" - }, - "sunset": { - "message": "Pôr do Sol" - }, - "sunsetToSunrise": { - "message": "Durante a noite" - }, - "systemPeferenceDark": { - "message": "Preferência do sistema: Escuro" - }, - "systemPeferenceLight": { - "message": "Preferência do sistema: Claro" - }, - "teal": { - "message": "Verde Azulado" - }, - "textColor": { - "message": "Text color" - }, - "themes": { - "message": "Temas" - }, - "thisWillRemoveAllCookies": { - "message": "Todos os cookies serão removidos." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Todos os cookies do YouTube serão removidos" - }, - "thisWillResetAllSettings": { - "message": "As configurações padrão serão restauradas." - }, - "thisWillResetAllShortcuts": { - "message": "This will reset all shortcuts" - }, - "thumbnails": { - "message": "Miniaturas" - }, - "timeFrom": { - "message": "Horário inicial" - }, - "timeTo": { - "message": "Horário final" - }, - "todayAt": { - "message": "Hoje às" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Reproduzir trailer" - }, - "translations": { - "message": "Translations" - }, - "transparentBackground": { - "message": "Fundo transparente" - }, - "trending": { - "message": "Em Alta" - }, - "tryToReloadThePage": { - "message": "Recarregue a página" - }, - "type": { - "message": "Tipo" - }, - "upNextAutoplay": { - "message": "Reproduzir vídeo em seguida" - }, - "use24HourFormat": { - "message": "Usar formato de 24 horas" - }, - "version": { - "message": "Versão" - }, - "video": { - "message": "Vídeo" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "A descrição se expandirá para acessar a categoria do vídeo" - }, - "videoFormats": { - "message": "Formatos de vídeo" - }, - "videos": { - "message": "Vídeos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Assistir mais tarde" - }, - "watchTime": { - "message": "Tempo de exibição" - }, - "whenTabIsChanged": { - "message": "Quando alternar entre abas" - }, - "white": { - "message": "Branco" - }, - "yellow": { - "message": "Amarelo" - }, - "youtubeHeaderLeft": { - "message": "No cabeçalho à esquerda" - }, - "youtubeHeaderRight": { - "message": "No cabeçalho à direita" - }, - "youtubeHomePage": { - "message": "Página inicial do YouTube" - }, - "youtubeLanguage": { - "message": "Idioma do YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "O YouTube limita o codec h.264 à resolução de 1080p" - } -} diff --git a/stable/_locales/pt_PT/messages.json b/stable/_locales/pt_PT/messages.json deleted file mode 100644 index 28b7f0475..000000000 --- a/stable/_locales/pt_PT/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Acerca" - }, - "accept": { - "message": "Aceitar" - }, - "activate": { - "message": "Ativar" - }, - "activateCaptions": { - "message": "Ativar legendas" - }, - "activateFullscreen": { - "message": "Ativar ecrã completo" - }, - "activated": { - "message": "Ativado" - }, - "activatedFeatures": { - "message": "Opções ativadas" - }, - "activeFeatures": { - "message": "Opções ativas" - }, - "addScrollToTop": { - "message": "Adicionar «Ir para o topo»" - }, - "ads": { - "message": "Anúncios" - }, - "all": { - "message": "Todas" - }, - "allow": { - "message": "Permitir" - }, - "allow60fps": { - "message": "Permitir 60fps" - }, - "alwaysActive": { - "message": "Sempre ativo" - }, - "alwaysShowProgressBar": { - "message": "Mostrar sempre a barra de progressos" - }, - "amber": { - "message": "Âmbar" - }, - "analyzer": { - "message": "Analisador" - }, - "appearance": { - "message": "Aparência" - }, - "audio": { - "message": "Áudio" - }, - "audioFormats": { - "message": "Formatos de áudio" - }, - "auto": { - "message": "Automático" - }, - "autoFullscreen": { - "message": "Ecrân completo automático" - }, - "autopauseWhenSwitchingTabs": { - "message": "Pausa quando muda de abas" - }, - "autoplay": { - "message": "Reprodução automática" - }, - "backupAndReset": { - "message": "Cópia de segurança e repor" - }, - "baseOnSystemColorScheme": { - "message": "Baseado no esquema de cores do sistema" - }, - "belowPlayer": { - "message": "Reprodutor abaixo" - }, - "black": { - "message": "Preto" - }, - "blacklist": { - "message": "Lista negra" - }, - "blockAll": { - "message": "Bloquear todos" - }, - "blue": { - "message": "Azul" - }, - "blueGray": { - "message": "Azul acizentado" - }, - "bluelight": { - "message": "Azul claro" - }, - "brown": { - "message": "Castanho" - }, - "browser": { - "message": "Navegador" - }, - "browserVersion": { - "message": "Versão do navegador" - }, - "bubbles": { - "message": "Bolhas" - }, - "bug": { - "message": "Erro" - }, - "buttons": { - "message": "Botões" - }, - "cancel": { - "message": "Cancelar" - }, - "categories": { - "message": "Categorias" - }, - "channel": { - "message": "Canal" - }, - "channels": { - "message": "Canais" - }, - "clipboard": { - "message": "Area de transferência" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Extender as secções escolhidas" - }, - "collapsed": { - "message": "Extender" - }, - "comments": { - "message": "Comentários" - }, - "confirmationBeforeClosing": { - "message": "Confirmar antes de encerrar" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Cores" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "CSS personalizadas" - }, - "customJs": { - "message": "JS personalizadas" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Esverdeado" - }, - "dark": { - "message": "Escuro" - }, - "darkTheme": { - "message": "Tema escuro" - }, - "dateAndTime": { - "message": "Data & hora" - }, - "dawn": { - "message": "Escurecer" - }, - "decreasePlaybackSpeed": { - "message": "Diminuir velocidade de leitura" - }, - "decreaseVolume": { - "message": "Diminuir volume" - }, - "deepOrange": { - "message": "Laranja forte" - }, - "deepPurple": { - "message": "Lilás forte" - }, - "defaultChannelTab": { - "message": "Aba padrão do canal" - }, - "deleteYoutubeCookies": { - "message": "Apagar os cookies do YouTube" - }, - "description": { - "message": "Descrição" - }, - "desert": { - "message": "Deserto" - }, - "details": { - "message": "Detalhes" - }, - "developerOptions": { - "message": "Opções de programador" - }, - "device": { - "message": "Aparelho" - }, - "dim": { - "message": "Escurecer" - }, - "disabled": { - "message": "Desabilitado" - }, - "dislike": { - "message": "Não gostar" - }, - "doNotChange": { - "message": "Não mudes" - }, - "donate": { - "message": "Doar" - }, - "draggable": { - "message": "Podes arrastar" - }, - "email": { - "message": "Correio electronico" - }, - "empty": { - "message": "Vazio" - }, - "enabled": { - "message": "Ativado" - }, - "enabledForced": { - "message": "Ativado (forçado)" - }, - "expanded": { - "message": "Expandir" - }, - "exportSettings": { - "message": "Exportar definições" - }, - "extension": { - "message": "Extenção" - }, - "file": { - "message": "Ficheiro" - }, - "filters": { - "message": "Filtros" - }, - "fitToWindow": { - "message": "Ajustar á janela" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Tipo de letra" - }, - "footer": { - "message": "Cabeçalho" - }, - "forcedPlaybackSpeed": { - "message": "Forçar velocidade de leitura" - }, - "forcedTheaterMode": { - "message": "Forçar modo de cinema" - }, - "forcedVolume": { - "message": "Volume forçado" - }, - "foundABug": { - "message": "Encontrou um erro?" - }, - "fullWindow": { - "message": "Janela completa" - }, - "general": { - "message": "Geral" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Vai à caixa de pesquisa" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Verde" - }, - "hdThumbnail": { - "message": "Miniatura HD" - }, - "hdThumbnails": { - "message": "Miniaturas HD" - }, - "header": { - "message": "Cabeçalho" - }, - "hidden": { - "message": "Escondido" - }, - "hiddenOnVideoPage": { - "message": "Escondido na página do video" - }, - "hideAnimatedThumbnails": { - "message": "Esconder miniaturas animadas" - }, - "hideAnnotations": { - "message": "Esconder anotações" - }, - "hideCards": { - "message": "Esconder cartas" - }, - "hideDetails": { - "message": "Esconder detalhes" - }, - "hideEndscreen": { - "message": "Esconder ecãn final" - }, - "hideFeaturedContent": { - "message": "Esconder conteúdo" - }, - "hideFooter": { - "message": "Esconder rodapé" - }, - "hidePlaylist": { - "message": "Esconder lista de reprodução" - }, - "hideRightButtons": { - "message": "Esconder botões do lado direito" - }, - "hideScrollForDetails": { - "message": "Esconder «Rodar para detalhes»" - }, - "hideViewsCount": { - "message": "Esconder número de vistos" - }, - "history": { - "message": "História" - }, - "home": { - "message": "Casa" - }, - "hover": { - "message": "Aponta" - }, - "hoverOnVideoPage": { - "message": "Apontar na página do video" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "À quanto tempo o video foi enviado" - }, - "icons": { - "message": "Ícones" - }, - "iconsOnly": { - "message": "Ícones apenas" - }, - "importSettings": { - "message": "Importar definições" - }, - "improveLogo": { - "message": "Melhorar logotipo" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon in Browser" - }, - "improvedtubeIconOnYoutube": { - "message": "Ícon do ImprovedTube no YouTube" - }, - "improvedtubeLanguage": { - "message": "Linguagem do ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Versão do ImprovedTube" - }, - "increasePlaybackSpeed": { - "message": "Aumentar velocidade de leitura" - }, - "increaseVolume": { - "message": "Aumentar o volume" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Artigos" - }, - "languages": { - "message": "Linguagens" - }, - "legacyYoutube": { - "message": "YouTube antigo" - }, - "light": { - "message": "Claro" - }, - "lightBlue": { - "message": "Azul claro" - }, - "lightGreen": { - "message": "Verde claro" - }, - "like": { - "message": "Gostar" - }, - "likes": { - "message": "Gostos" - }, - "lime": { - "message": "Limão" - }, - "list": { - "message": "Lista" - }, - "liveChat": { - "message": "Conversa do vivo" - }, - "liveChatType": { - "message": "Tipo de conversa do vivo" - }, - "loudnessNormalization": { - "message": "Normalização do volume" - }, - "markWatchedVideos": { - "message": "Marcar os videos como vistos" - }, - "mixer": { - "message": "Mistura" - }, - "myColors": { - "message": "Minhas cores" - }, - "name": { - "message": "Nome" - }, - "nativeMiniPlayer": { - "message": "Leitor pequeno padrão" - }, - "new": { - "message": "Novo" - }, - "nextVideo": { - "message": "Próximo video" - }, - "night": { - "message": "Noite" - }, - "noActiveFeatures": { - "message": "Sem opções ativas" - }, - "noOpenVideoTabs": { - "message": "Não abrir janelas de video" - }, - "none": { - "message": "Nenhuma" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Velho" - }, - "onAllVideos": { - "message": "Em todos os videos" - }, - "onSubscribedChannels": { - "message": "Nos canais subscritos" - }, - "onlyActiveOnYoutube": { - "message": "Ativo apenas no YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Apenas uma instância do leitor de video" - }, - "orange": { - "message": "Laranja" - }, - "os": { - "message": "SO" - }, - "other": { - "message": "Outro" - }, - "permissions": { - "message": "Permissões" - }, - "pictureInPicture": { - "message": "Janela em janela" - }, - "pink": { - "message": "Rosa" - }, - "plain": { - "message": "Simples" - }, - "platform": { - "message": "Plataforma" - }, - "playPause": { - "message": "Reproduzir / Pausar" - }, - "playbackSpeed": { - "message": "Velocidade de leitura" - }, - "player": { - "message": "Leitor" - }, - "playerColor": { - "message": "Côr do leitor" - }, - "playerSize": { - "message": "Tamanho do leitor" - }, - "playlist": { - "message": "Lista de reprodução" - }, - "playlists": { - "message": "Listas de reprodução" - }, - "popupPlayer": { - "message": "Leitor em janela" - }, - "position": { - "message": "Posição" - }, - "pressAnyKeyOrScroll": { - "message": "Carrega em qualquer tecla ou usa a roldana do rato" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Carrega em qualquer tecla ou usa a roldana do rato" - }, - "previousVideo": { - "message": "Video anterior" - }, - "primaryColor": { - "message": "Côr primaria" - }, - "purple": { - "message": "Violeta" - }, - "quality": { - "message": "Qualidade" - }, - "ram": { - "message": "Memoria" - }, - "rateUs": { - "message": "Avalia-nos" - }, - "red": { - "message": "Vermelho" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Videos relacionados" - }, - "removeRelatedSearchResults": { - "message": "Remove resultados relacionado com a pesquisa" - }, - "repeat": { - "message": "Repetir" - }, - "reset": { - "message": "Valores de origem" - }, - "resetAllSettings": { - "message": "Valores de origem em todas as definições" - }, - "resetAllShortcuts": { - "message": "Repôr todos os atalhos" - }, - "reverse": { - "message": "Recuar" - }, - "rotate": { - "message": "Rodar" - }, - "save": { - "message": "Gravar" - }, - "saveAs": { - "message": "Gravar como" - }, - "schedule": { - "message": "Agendar" - }, - "screen": { - "message": "Ecrân" - }, - "screenshot": { - "message": "Foto do ecrân" - }, - "search": { - "message": "Pesquisa" - }, - "searchBarOnly": { - "message": "Apenas barra de pesquisa" - }, - "seekBackward10Seconds": { - "message": "Andar para trás 10 segundos" - }, - "seekForward10Seconds": { - "message": "Andar para frente 10 segundos" - }, - "settings": { - "message": "Definições" - }, - "settingsSuccessfullyImported": { - "message": "Definições importadas com sucesso" - }, - "shortcuts": { - "message": "Atalhos" - }, - "showCardsOnMouseHover": { - "message": "Mostrar cartas ao passar o rato por cima" - }, - "showChannelVideosCount": { - "message": "Mostrar contagem de videos do canal" - }, - "shuffle": { - "message": "Misturar" - }, - "sidebar": { - "message": "Barra lateral" - }, - "spacebar": { - "message": "Barra de espaços" - }, - "squaredUserImages": { - "message": "Imagens de utilizador enquadradas" - }, - "static": { - "message": "Estática" - }, - "step": { - "message": "Passo" - }, - "stop": { - "message": "Parar" - }, - "style": { - "message": "Estilo" - }, - "styles": { - "message": "Estilos" - }, - "subscriptions": { - "message": "Subscrições" - }, - "subtitles": { - "message": "Legendas" - }, - "sunset": { - "message": "Pôr do sol" - }, - "sunsetToSunrise": { - "message": "Pôr do sol até de manhã" - }, - "systemPeferenceDark": { - "message": "Preferências do sistema: Escuro" - }, - "systemPeferenceLight": { - "message": "Preferências do sistema: Claro" - }, - "teal": { - "message": "Azul esverdeado" - }, - "textColor": { - "message": "Côr do texto" - }, - "themes": { - "message": "Temas" - }, - "thisWillRemoveAllCookies": { - "message": "Isto vai remover todos os cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Isto vai remover todos os cookies do YouTube" - }, - "thisWillResetAllSettings": { - "message": "Isto vai reiniciar todas as definições." - }, - "thisWillResetAllShortcuts": { - "message": "Isto vai reiniciar todos os atalhos" - }, - "thumbnails": { - "message": "Miniaturas" - }, - "timeFrom": { - "message": "Tempo de" - }, - "timeTo": { - "message": "Tempo para" - }, - "todayAt": { - "message": "Hoje em" - }, - "topChat": { - "message": "Conversa principal" - }, - "trailerAutoplay": { - "message": "Trailer toca automaticamente" - }, - "translations": { - "message": "Traduções" - }, - "transparentBackground": { - "message": "Fundo transparente" - }, - "trending": { - "message": "Tendências" - }, - "tryToReloadThePage": { - "message": "Tenta carregar a pagina de novo" - }, - "type": { - "message": "Escreve" - }, - "upNextAutoplay": { - "message": "Arquivo seguinte a tocar" - }, - "use24HourFormat": { - "message": "Usar formato de 24-horas" - }, - "version": { - "message": "Versão" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "A descrição do video vai ser expandida para ver o nome da categoria" - }, - "videoFormats": { - "message": "Formatos de video" - }, - "videos": { - "message": "Videos" - }, - "volume": { - "message": "Volume" - }, - "watchLater": { - "message": "Vêr mais tarde" - }, - "watchTime": { - "message": "Tempo de visualização" - }, - "whenTabIsChanged": { - "message": "Quando a janela mudar" - }, - "white": { - "message": "Branco" - }, - "yellow": { - "message": "Amarelo" - }, - "youtubeHeaderLeft": { - "message": "Cabeçalho do YouTube (esquerda)" - }, - "youtubeHeaderRight": { - "message": "Cabeçalho do YouTube (direita)" - }, - "youtubeHomePage": { - "message": "Página principal do YouTube" - }, - "youtubeLanguage": { - "message": "Linguagem do YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "O YouTube limita a qualidade do video em 1080p para o codec h.264" - } -} diff --git a/stable/_locales/ru/messages.json b/stable/_locales/ru/messages.json deleted file mode 100644 index 13c3a6415..000000000 --- a/stable/_locales/ru/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Об ImprovedTube" - }, - "accept": { - "message": "Принять" - }, - "activate": { - "message": "Активировать" - }, - "activateCaptions": { - "message": "Активировать субтитры" - }, - "activateFullscreen": { - "message": "Перейти в полноэкранный режим" - }, - "activated": { - "message": "Активировано" - }, - "activatedFeatures": { - "message": "Активированные функции" - }, - "activeFeatures": { - "message": "Активные функции" - }, - "addScrollToTop": { - "message": "Добавить кнопку «наверх»" - }, - "ads": { - "message": "Реклама" - }, - "all": { - "message": "Все" - }, - "allow": { - "message": "Разрешить" - }, - "allow60fps": { - "message": "Разрешить 60fps" - }, - "alwaysActive": { - "message": "Всегда активный" - }, - "alwaysShowProgressBar": { - "message": "Всегда показывать прогресс-бар" - }, - "amber": { - "message": "Янтарный" - }, - "analyzer": { - "message": "Анализатор" - }, - "appearance": { - "message": "Внешний вид" - }, - "audio": { - "message": "Аудио" - }, - "audioFormats": { - "message": "Аудио форматы" - }, - "auto": { - "message": "Авто" - }, - "autoFullscreen": { - "message": "Автоматический переход в полноэкранный режим" - }, - "autopauseWhenSwitchingTabs": { - "message": "Автопауза при переходе между вкладками" - }, - "autoplay": { - "message": "Автовоспроизведение" - }, - "backupAndReset": { - "message": "Резервное копирование и сброс" - }, - "baseOnSystemColorScheme": { - "message": "Зависит от системной цветовой схемы" - }, - "belowPlayer": { - "message": "Ниже плеера" - }, - "black": { - "message": "Черный" - }, - "blacklist": { - "message": "Черный список" - }, - "blockAll": { - "message": "Заблокировать всё" - }, - "blue": { - "message": "Синий" - }, - "blueGray": { - "message": "Серо-голубой" - }, - "bluelight": { - "message": "Синий свет" - }, - "brown": { - "message": "Коричневый" - }, - "browser": { - "message": "Браузер" - }, - "browserVersion": { - "message": "Версия браузера" - }, - "bubbles": { - "message": "Пузыри" - }, - "bug": { - "message": "Ошибка" - }, - "buttons": { - "message": "Кнопки" - }, - "cancel": { - "message": "Отмена" - }, - "categories": { - "message": "Категории" - }, - "channel": { - "message": "Канал" - }, - "channels": { - "message": "Каналы" - }, - "clipboard": { - "message": "Буфер обмена" - }, - "codecH264": { - "message": "Кодек h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Свернуть раздел подписок" - }, - "collapsed": { - "message": "Свернуть" - }, - "comments": { - "message": "Комментарии" - }, - "confirmationBeforeClosing": { - "message": "Подтверждение закрытия" - }, - "cookies": { - "message": "Куки" - }, - "cores": { - "message": "Ядра" - }, - "cropChapterTitles": { - "message": "Обрезать заголовки глав" - }, - "customCss": { - "message": "Custom CSS" - }, - "customJs": { - "message": "Сustom JS" - }, - "customMiniPlayer": { - "message": "Новый мини-плеер" - }, - "cyan": { - "message": "Сине-зелёный" - }, - "dark": { - "message": "Темная" - }, - "darkTheme": { - "message": "Ночная тема" - }, - "dateAndTime": { - "message": "Дата и время" - }, - "dawn": { - "message": "Рассвет" - }, - "decreasePlaybackSpeed": { - "message": "Уменьшить скорость видео" - }, - "decreaseVolume5": { - "message": "Уменьшить громкость на 5%" - }, - "deepOrange": { - "message": "Темно-оранжевый" - }, - "deepPurple": { - "message": "Темно-фиолетовый" - }, - "defaultChannelTab": { - "message": "Вкладка канала по умолчанию" - }, - "deleteYoutubeCookies": { - "message": "Удалить куки YouTube" - }, - "description": { - "message": "Описание" - }, - "desert": { - "message": "Пустыня" - }, - "details": { - "message": "Подробная информация" - }, - "developerOptions": { - "message": "Настройки разработчика" - }, - "device": { - "message": "Устройство" - }, - "dim": { - "message": "Тусклость" - }, - "disabled": { - "message": "Выключено" - }, - "dislike": { - "message": "Дизлайк" - }, - "doNotChange": { - "message": "Не менять" - }, - "donate": { - "message": "Пожертвовать" - }, - "draggable": { - "message": "Перетаскиваемый" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Пусто" - }, - "enabled": { - "message": "Включено" - }, - "enabledForced": { - "message": "Включено (принудительно)" - }, - "expanded": { - "message": "Развернуть" - }, - "exportSettings": { - "message": "Экспорт настроек" - }, - "extension": { - "message": "Расширение" - }, - "file": { - "message": "Файл" - }, - "filters": { - "message": "Фильтры" - }, - "fitToWindow": { - "message": "Подогнать под окно" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "Шрифт" - }, - "footer": { - "message": "Нижний колонтитул" - }, - "forcedPlaybackSpeed": { - "message": "Форсировать скорость воспроизведения" - }, - "forcedTheaterMode": { - "message": "Принудительно переходить в режим кино" - }, - "forcedVolume": { - "message": "Принудительная громкость" - }, - "foundABug": { - "message": "Нашли ошибку?" - }, - "fullWindow": { - "message": "Растянуть на все окно" - }, - "general": { - "message": "Общее" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Перейти в окно поиска" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Зеленый" - }, - "hdThumbnail": { - "message": "Превью высокого качества" - }, - "hdThumbnails": { - "message": "Превью высокого качества" - }, - "header": { - "message": "Верхняя панель" - }, - "hidden": { - "message": "Скрыть" - }, - "hiddenOnVideoPage": { - "message": "Скрыть (только на странице с видео)" - }, - "hideAnimatedThumbnails": { - "message": "Скрыть анимированные превью" - }, - "hideAnnotations": { - "message": "Скрыть аннотации" - }, - "hideCards": { - "message": "Скрыть карточки" - }, - "hideDetails": { - "message": "Скрыть подробную информацию" - }, - "hideEndscreen": { - "message": "Скрыть экран после видео" - }, - "hideFeaturedContent": { - "message": "Скрыть рекомендации" - }, - "hideFooter": { - "message": "Скрыть нижний колонтитул" - }, - "hidePlaylist": { - "message": "Скрыть плейлист" - }, - "hideRightButtons": { - "message": "Скрыть кнопки (справа)" - }, - "hideScrollForDetails": { - "message": "Скрыть «Прокрутите для подробной информации»" - }, - "hideViewsCount": { - "message": "Скрыть количество просмотров" - }, - "history": { - "message": "История" - }, - "home": { - "message": "Домашняя страница" - }, - "hover": { - "message": "Показывать при наведении" - }, - "hoverOnVideoPage": { - "message": "Показывать при наведении (только на странице с видео)" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Показывать как давно было загружено видео" - }, - "icons": { - "message": "Иконки" - }, - "iconsOnly": { - "message": "Только иконки" - }, - "importSettings": { - "message": "Импорт настроек" - }, - "improveLogo": { - "message": "Улучшить логотип YouTube" - }, - "improvedtubeIconInBrowser": { - "message": "Значок ImprovedTube в браузере" - }, - "improvedtubeIconOnYoutube": { - "message": "Значок ImprovedTube в YouTube" - }, - "improvedtubeLanguage": { - "message": "Язык ImprovedTube" - }, - "improvedtubeVersion": { - "message": "Версия ImprovedTube" - }, - "increasePlaybackSpeed": { - "message": "Увеличить скорость видео" - }, - "increaseVolume5": { - "message": "Увеличить громкости на 5%" - }, - "indigo": { - "message": "Индиго" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Языки" - }, - "legacyYoutube": { - "message": "Старая версия YouTube" - }, - "light": { - "message": "Светлая" - }, - "lightBlue": { - "message": "Светло-синий" - }, - "lightGreen": { - "message": "Светло-зеленый" - }, - "like": { - "message": "Лайк" - }, - "likes": { - "message": "Лайки" - }, - "lime": { - "message": "Лайм" - }, - "list": { - "message": "Список" - }, - "liveChat": { - "message": "Live-чат" - }, - "liveChatType": { - "message": "Тип live-чата" - }, - "loudnessNormalization": { - "message": "Нормализировать громкость" - }, - "markWatchedVideos": { - "message": "Отмечать просмотренные видео" - }, - "mixer": { - "message": "Миксер" - }, - "myColors": { - "message": "Мои цвета" - }, - "name": { - "message": "Имя" - }, - "nativeMiniPlayer": { - "message": "Мини-плеер от YouTube" - }, - "new": { - "message": "Новый" - }, - "nextVideo": { - "message": "Следующее видео" - }, - "night": { - "message": "Ночь" - }, - "noActiveFeatures": { - "message": "Нет активных функций" - }, - "noOpenVideoTabs": { - "message": "Нет открытых вкладок с видео" - }, - "none": { - "message": "Пусто" - }, - "normal": { - "message": "Обычный" - }, - "old": { - "message": "Старый" - }, - "onAllVideos": { - "message": "Во всех видео" - }, - "onSubscribedChannels": { - "message": "Только на каналах в подписках" - }, - "onlyActiveOnYoutube": { - "message": "Активен только в YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Только один экземпляр плеера играет" - }, - "orange": { - "message": "Оранжевый" - }, - "os": { - "message": "ОС" - }, - "other": { - "message": "Другое" - }, - "permissions": { - "message": "Разрешения" - }, - "pictureInPicture": { - "message": "Картинка в картинке" - }, - "pink": { - "message": "Розовый" - }, - "plain": { - "message": "Равнина" - }, - "platform": { - "message": "Платформа" - }, - "playPause": { - "message": "Воспроизведение / Пауза" - }, - "playbackSpeed": { - "message": "Скорость воспроизведения" - }, - "player": { - "message": "Плеер" - }, - "playerColor": { - "message": "Цвет плеера" - }, - "playerSize": { - "message": "Размер плеера" - }, - "playlist": { - "message": "Плейлист" - }, - "playlists": { - "message": "Плейлисты" - }, - "popupPlayer": { - "message": "Плеер во всплывающем окне" - }, - "position": { - "message": "Позиция" - }, - "pressAnyKeyOrScroll": { - "message": "Нажмите любую клавишу или воспользуйтесь колесом мыши" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Нажмите любую клавишу или используйте колесо мыши" - }, - "previousVideo": { - "message": "Предыдущее видео" - }, - "primaryColor": { - "message": "Основной цвет" - }, - "purple": { - "message": "Фиолетовый" - }, - "quality": { - "message": "Качество" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Оцените нас" - }, - "red": { - "message": "Красный" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Похожие видео" - }, - "removeRelatedSearchResults": { - "message": "Удалить похожие результаты поиска" - }, - "repeat": { - "message": "Повтор" - }, - "reset": { - "message": "Сбросить" - }, - "resetAllSettings": { - "message": "Сбросить все настройки" - }, - "resetAllShortcuts": { - "message": "Сбросить все горячие клавиши" - }, - "reverse": { - "message": "Обратный порядок" - }, - "rotate": { - "message": "Повернуть" - }, - "save": { - "message": "Сохранить" - }, - "saveAs": { - "message": "Сохранить как" - }, - "schedule": { - "message": "Расписание" - }, - "screen": { - "message": "Экран" - }, - "screenshot": { - "message": "Скриншот" - }, - "search": { - "message": "Поиск" - }, - "searchBarOnly": { - "message": "Только поле поиска" - }, - "seekBackward10Seconds": { - "message": "Перемотать на 10 секунд назад" - }, - "seekForward10Seconds": { - "message": "Перемотать на 10 секунд вперед" - }, - "settings": { - "message": "Настройки" - }, - "settingsSuccessfullyImported": { - "message": "Настройки успешно импортированы" - }, - "shortcuts": { - "message": "Горячие клавиши" - }, - "showCardsOnMouseHover": { - "message": "Показывать карточки при наведении мыши" - }, - "showChannelVideosCount": { - "message": "Показывать количество видео на канале" - }, - "shuffle": { - "message": "Случайный порядок" - }, - "sidebar": { - "message": "Боковая панель" - }, - "spacebar": { - "message": "Пробел" - }, - "squaredUserImages": { - "message": "Квадратные аватарки пользователей" - }, - "static": { - "message": "Статично" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "Стоп" - }, - "style": { - "message": "Стиль" - }, - "styles": { - "message": "Стили" - }, - "subscriptions": { - "message": "Подписки" - }, - "subtitles": { - "message": "Субтитры" - }, - "sunset": { - "message": "Закат" - }, - "sunsetToSunrise": { - "message": "От заката до рассвета" - }, - "systemPeferenceDark": { - "message": "Предпочитаемая системой: темная" - }, - "systemPeferenceLight": { - "message": "Предпочитаемая системой: светлая" - }, - "teal": { - "message": "Бирюзовый" - }, - "textColor": { - "message": "Цвет текста" - }, - "themes": { - "message": "Темы" - }, - "thisWillRemoveAllCookies": { - "message": "Это удалит все куки" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Вы действительно хотите удалить все куки YouTube?" - }, - "thisWillResetAllSettings": { - "message": "Это сбросит все настройки" - }, - "thisWillResetAllShortcuts": { - "message": "Это сбросит все горячие клавиши" - }, - "thumbnails": { - "message": "Превью" - }, - "timeFrom": { - "message": "Время от" - }, - "timeTo": { - "message": "Время до" - }, - "todayAt": { - "message": "Сегодня в" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Автовоспроизведение трейлера" - }, - "translations": { - "message": "Переводы" - }, - "transparentBackground": { - "message": "Прозрачный фон" - }, - "trending": { - "message": "Тренды" - }, - "tryToReloadThePage": { - "message": "Попробуйте перезагрузить страницу" - }, - "type": { - "message": "Тип" - }, - "upNextAutoplay": { - "message": "Автовоспроизведение следующего видео" - }, - "use24HourFormat": { - "message": "24-часовой формат" - }, - "version": { - "message": "Версия" - }, - "video": { - "message": "Видео" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "Описание видео будет развернуто, чтобы получить название категории видео" - }, - "videoFormats": { - "message": "Форматы видео" - }, - "videos": { - "message": "Видео" - }, - "volume": { - "message": "Громкость" - }, - "watchLater": { - "message": "Посмотреть позже" - }, - "watchTime": { - "message": "Время просмотра" - }, - "whenTabIsChanged": { - "message": "При переключении вкладок" - }, - "white": { - "message": "Белый" - }, - "yellow": { - "message": "Желтый" - }, - "youtubeHeaderLeft": { - "message": "Верхняя панель (слева)" - }, - "youtubeHeaderRight": { - "message": "Верхняя панель (справа)" - }, - "youtubeHomePage": { - "message": "Домашняя страница YouTube" - }, - "youtubeLanguage": { - "message": "Язык YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube ограничивает качетво видео до 1080p для кодека h.264" - } -} diff --git a/stable/_locales/sk/messages.json b/stable/_locales/sk/messages.json deleted file mode 100644 index 0b7e45145..000000000 --- a/stable/_locales/sk/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "O" - }, - "accept": { - "message": "Prijať" - }, - "activate": { - "message": "Aktivovať" - }, - "activateCaptions": { - "message": "Aktivovať titulky" - }, - "activateFullscreen": { - "message": "Aktivovať zobrazenie na celú obrazovku" - }, - "activated": { - "message": "Aktivované" - }, - "activatedFeatures": { - "message": "Aktivované fukncie" - }, - "activeFeatures": { - "message": "Aktívne funkcie" - }, - "addScrollToTop": { - "message": "Prejdite «Vrátiť sa na začiatok»" - }, - "ads": { - "message": "Reklamy" - }, - "all": { - "message": "Všetko" - }, - "allow": { - "message": "Povoliť" - }, - "allow60fps": { - "message": "Povoliť 60fps" - }, - "alwaysActive": { - "message": "Vždy aktívne" - }, - "alwaysShowProgressBar": { - "message": "Vždy zobrazovať ukazateľ priebehu" - }, - "amber": { - "message": "Ambra" - }, - "analyzer": { - "message": "Analyzátor" - }, - "appearance": { - "message": "Vzhľad" - }, - "audio": { - "message": "Zvuk" - }, - "audioFormats": { - "message": "Formát zvuku" - }, - "auto": { - "message": "Automaticky" - }, - "autoFullscreen": { - "message": "Automaticky-fullscreen" - }, - "autopauseWhenSwitchingTabs": { - "message": "Automatické pozastavenie pri prepínaní kariet" - }, - "autoplay": { - "message": "Automatické prehrávanie" - }, - "backupAndReset": { - "message": "Zálohovanie & Obnova" - }, - "baseOnSystemColorScheme": { - "message": "Nastavené podľa farby systému" - }, - "belowPlayer": { - "message": "Pod prehrávačom" - }, - "black": { - "message": "Čierna" - }, - "blacklist": { - "message": "Blacklist" - }, - "blockAll": { - "message": "Zablokovať všetko" - }, - "blue": { - "message": "Modrá" - }, - "blueGray": { - "message": "Šedo-modrá" - }, - "bluelight": { - "message": "Modré svetlo" - }, - "brown": { - "message": "Hnedá" - }, - "browser": { - "message": "Prehliadac" - }, - "browserVersion": { - "message": "Verzie prehliadača" - }, - "bubbles": { - "message": "Bubliny" - }, - "bug": { - "message": "Chyba" - }, - "buttons": { - "message": "Tlačidlá" - }, - "cancel": { - "message": "Zrušiť" - }, - "categories": { - "message": "Kategórie" - }, - "channel": { - "message": "Kanál" - }, - "channels": { - "message": "Kanály" - }, - "clipboard": { - "message": "Schránka" - }, - "codecH264": { - "message": "Kodek h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Zbaliť sekciu Odber" - }, - "collapsed": { - "message": "Zbaliť" - }, - "comments": { - "message": "Komentáre" - }, - "confirmationBeforeClosing": { - "message": "Potvrdiť pred zatvorenímk" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Jadrá" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "Vlastné CSS" - }, - "customJs": { - "message": "Vlastné JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Tyrkysová" - }, - "dark": { - "message": "Tmavý" - }, - "darkTheme": { - "message": "Tmavá téma" - }, - "dateAndTime": { - "message": "Dátum a čas" - }, - "dawn": { - "message": "Svitanie" - }, - "decreasePlaybackSpeed": { - "message": "Znížiť rýchlosť prehrávania" - }, - "decreaseVolume": { - "message": "Znížiť hlasitosť" - }, - "deepOrange": { - "message": "Tmavo oranžová" - }, - "deepPurple": { - "message": "Tmavo fialová" - }, - "defaultChannelTab": { - "message": "Predvolená karta kanálu" - }, - "deleteYoutubeCookies": { - "message": "Vymazať YouTube cookies" - }, - "description": { - "message": "Podrobnosti" - }, - "desert": { - "message": "Púšť" - }, - "details": { - "message": "Detaily" - }, - "developerOptions": { - "message": "Možnosti pre vývojara" - }, - "device": { - "message": "Zariadenie" - }, - "dim": { - "message": "Stmvaviť" - }, - "disabled": { - "message": "Vypnutý" - }, - "dislike": { - "message": "Dislike" - }, - "doNotChange": { - "message": "Nemeniť" - }, - "donate": { - "message": "Prispieť" - }, - "draggable": { - "message": "Posuvné" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Prázdny" - }, - "enabled": { - "message": "Zapnuté" - }, - "enabledForced": { - "message": "Zapnuté (vynútene)" - }, - "expanded": { - "message": "Rozbalené" - }, - "exportSettings": { - "message": "Exportovať nastavenia" - }, - "extension": { - "message": "Rozšírenia" - }, - "file": { - "message": "Súbor" - }, - "filters": { - "message": "Filtre" - }, - "fitToWindow": { - "message": "Prispôsobiť oknu" - }, - "flash": { - "message": "Blikať" - }, - "font": { - "message": "Písmo" - }, - "footer": { - "message": "Pätička" - }, - "forcedPlaybackSpeed": { - "message": "Vynútená rýchlosť prehrávania" - }, - "forcedTheaterMode": { - "message": "Vynútený divadelný režim" - }, - "forcedVolume": { - "message": "Vynútená hlasitosť" - }, - "foundABug": { - "message": "Našli ste chybu?" - }, - "fullWindow": { - "message": "Celé okno" - }, - "general": { - "message": "Všeobecné" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Prejdite do vyhľadávanieho poľa" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Zelená" - }, - "hdThumbnail": { - "message": "HD náhlad" - }, - "hdThumbnails": { - "message": "HD náhlady" - }, - "header": { - "message": "Hlavička" - }, - "hidden": { - "message": "Skryté" - }, - "hiddenOnVideoPage": { - "message": "Skyté na stránke videa" - }, - "hideAnimatedThumbnails": { - "message": "Skryť animované náhľady" - }, - "hideAnnotations": { - "message": "Skryť anotácie" - }, - "hideCards": { - "message": "Skryť karty" - }, - "hideDetails": { - "message": "Skryť detaily" - }, - "hideEndscreen": { - "message": "Skryť zobrazenie na konci videa" - }, - "hideFeaturedContent": { - "message": "Skryť odporúčaný obsah" - }, - "hideFooter": { - "message": "Hide pätičku" - }, - "hidePlaylist": { - "message": "Skryť zoznam videí" - }, - "hideRightButtons": { - "message": "Skryť tlčidlá v pravo" - }, - "hideScrollForDetails": { - "message": "Skryť «Zarolujte pre detaily»" - }, - "hideViewsCount": { - "message": "Skyť počet videní" - }, - "history": { - "message": "História" - }, - "home": { - "message": "Domov" - }, - "hover": { - "message": "Vznášať sa" - }, - "hoverOnVideoPage": { - "message": "Umiestnite kurzor na stránku videa" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Kedy bolo toto video nahrané?" - }, - "icons": { - "message": "Ikony" - }, - "iconsOnly": { - "message": "Iba ikony" - }, - "importSettings": { - "message": "Importovať nastavenia" - }, - "improveLogo": { - "message": "Improve logo" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube ikona v prehliadači" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube ikona na YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube jazyk" - }, - "improvedtubeVersion": { - "message": "ImprovedTube verzia" - }, - "increasePlaybackSpeed": { - "message": "Zvýšiť rýchlosť prehrávania" - }, - "increaseVolume": { - "message": "Zvýšiť hlasitosť" - }, - "indigo": { - "message": "Indigo" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "Jazyky" - }, - "legacyYoutube": { - "message": "Starý YouTube" - }, - "light": { - "message": "Svetlo" - }, - "lightBlue": { - "message": "Svetlo modrá" - }, - "lightGreen": { - "message": "Svetlo zelená" - }, - "like": { - "message": "Páči sa mi to" - }, - "likes": { - "message": "Páči sa mi to" - }, - "lime": { - "message": "Limetková" - }, - "list": { - "message": "Zoznam" - }, - "liveChat": { - "message": "Živí chat" - }, - "liveChatType": { - "message": "Typ živého chatu" - }, - "loudnessNormalization": { - "message": "Vyrovnanie hlasitosti" - }, - "markWatchedVideos": { - "message": "Označiť ako videné" - }, - "mixer": { - "message": "Mixér" - }, - "myColors": { - "message": "Moje farby" - }, - "name": { - "message": "Meno" - }, - "nativeMiniPlayer": { - "message": "Natívny mini prehrávač" - }, - "new": { - "message": "Nový" - }, - "nextVideo": { - "message": "Ďalšie video" - }, - "night": { - "message": "Noc" - }, - "noActiveFeatures": { - "message": "Žiadne aktívne fukncie" - }, - "noOpenVideoTabs": { - "message": "Žiadne otvorené karty s videami" - }, - "none": { - "message": "Žiadny" - }, - "normal": { - "message": "Normále" - }, - "old": { - "message": "Starý" - }, - "onAllVideos": { - "message": "Na všetkých videách" - }, - "onSubscribedChannels": { - "message": "Na odoberaných kanáloch" - }, - "onlyActiveOnYoutube": { - "message": "Aktívne iba na YouTube" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Prehrávať iba jedno video" - }, - "orange": { - "message": "Oranžová" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Ostatné" - }, - "permissions": { - "message": "Povolenia" - }, - "pictureInPicture": { - "message": "Obraz v obraze" - }, - "pink": { - "message": "Ružová" - }, - "plain": { - "message": "Jednoduchý" - }, - "platform": { - "message": "Platforma" - }, - "playPause": { - "message": "Prehrať / Pozastavť" - }, - "playbackSpeed": { - "message": "Rýchlosť prehrávania" - }, - "player": { - "message": "Prehrávač" - }, - "playerColor": { - "message": "Farba prehrávača" - }, - "playerSize": { - "message": "Veľkosť prehrávača" - }, - "playlist": { - "message": "Zoznam videí" - }, - "playlists": { - "message": "Zoznamy videí" - }, - "popupPlayer": { - "message": "Popup prehrávač" - }, - "position": { - "message": "Pozícia" - }, - "pressAnyKeyOrScroll": { - "message": "Stlačte ľubovolnú klávesu alebo použite kolisko myšky." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Stlačte ľubovolnú klávesu alebo použite kolisko myšky" - }, - "previousVideo": { - "message": "Predchýdzajúce video" - }, - "primaryColor": { - "message": "Primárna farba" - }, - "purple": { - "message": "Fialová" - }, - "quality": { - "message": "Kvalita" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Ohodnoťte nás" - }, - "red": { - "message": "Červená" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "Súvisiace videá" - }, - "removeRelatedSearchResults": { - "message": "Odstránte príbuzné výsledky vyhľadávania" - }, - "repeat": { - "message": "Opakovať" - }, - "reset": { - "message": "Obnoviť" - }, - "resetAllSettings": { - "message": "Obnoviť všetky nastavenia" - }, - "resetAllShortcuts": { - "message": "Obnoviť všetky skratky" - }, - "reverse": { - "message": "Obrátené" - }, - "rotate": { - "message": "Otočiť" - }, - "save": { - "message": "Uložiť" - }, - "saveAs": { - "message": "Uložiť ako" - }, - "schedule": { - "message": "Naplánovať" - }, - "screen": { - "message": "Obrazovka" - }, - "screenshot": { - "message": "Screenshot" - }, - "search": { - "message": "Vyhľadať" - }, - "searchBarOnly": { - "message": "Iba vyhľadávacie pole" - }, - "seekBackward10Seconds": { - "message": "Pretočiť spät o 10 sekúnd" - }, - "seekForward10Seconds": { - "message": "Pretočiť dopredu o 10 sekúnd" - }, - "settings": { - "message": "Nastavenia" - }, - "settingsSuccessfullyImported": { - "message": "Nastavenia úspešne importované" - }, - "shortcuts": { - "message": "Skratky" - }, - "showCardsOnMouseHover": { - "message": "Zobraziť karty pri prechode myšou" - }, - "showChannelVideosCount": { - "message": "Zobraziť počet videí kanálu" - }, - "shuffle": { - "message": "Náhodne" - }, - "sidebar": { - "message": "Bočný panel" - }, - "spacebar": { - "message": "Medzera" - }, - "squaredUserImages": { - "message": "Štvorcový obrázok užívateľa" - }, - "static": { - "message": "Statické" - }, - "step": { - "message": "Krok" - }, - "stop": { - "message": "Stop" - }, - "style": { - "message": "Štýl" - }, - "styles": { - "message": "Štýly" - }, - "subscriptions": { - "message": "Odbery" - }, - "subtitles": { - "message": "Titulky" - }, - "sunset": { - "message": "Západ slnka" - }, - "sunsetToSunrise": { - "message": "Západ slnka do východu slnka" - }, - "systemPeferenceDark": { - "message": "Predvolené: tmavé" - }, - "systemPeferenceLight": { - "message": "Predvolené: svetlé" - }, - "teal": { - "message": "Modrozelený" - }, - "textColor": { - "message": "Farba textu" - }, - "themes": { - "message": "Témy" - }, - "thisWillRemoveAllCookies": { - "message": "Toto odstráni všetky cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Toto odstráni všetky YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "Toto obnový všetky nastavenia." - }, - "thisWillResetAllShortcuts": { - "message": "Toto obnový všetky skratky" - }, - "thumbnails": { - "message": "Náhlady" - }, - "timeFrom": { - "message": "Čas od" - }, - "timeTo": { - "message": "Čas do" - }, - "todayAt": { - "message": "Dnes o" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Automatické prehrávanie ukážky" - }, - "translations": { - "message": "Preklady" - }, - "transparentBackground": { - "message": "Priehľadné pozadie" - }, - "trending": { - "message": "Trending" - }, - "tryToReloadThePage": { - "message": "Skúsťe obnoviť stránku" - }, - "type": { - "message": "Typ" - }, - "upNextAutoplay": { - "message": "Automaticky prehrať ďaľšie v poradí" - }, - "use24HourFormat": { - "message": "Použť 24-hodinový formát" - }, - "version": { - "message": "Verzia" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "Podrobnosti videa budú zobrazené pre získanie názvu kategórie" - }, - "videoFormats": { - "message": "Formáty videa" - }, - "videos": { - "message": "Vedeá" - }, - "volume": { - "message": "Hlasitosť" - }, - "watchLater": { - "message": "Pozrieť neskor" - }, - "watchTime": { - "message": "Čas sledovania" - }, - "whenTabIsChanged": { - "message": "Pri zmene karty" - }, - "white": { - "message": "Biela" - }, - "yellow": { - "message": "Žltá" - }, - "youtubeHeaderLeft": { - "message": "YouTube hlavička (vľavo)" - }, - "youtubeHeaderRight": { - "message": "YouTube hlavička (vpravo)" - }, - "youtubeHomePage": { - "message": "Domáca stránka YouTube" - }, - "youtubeLanguage": { - "message": "Jazyk YouTube" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube obmedzuje kvalitu videa na 1080p pri kodeku h.264" - } -} diff --git a/stable/_locales/tr/messages.json b/stable/_locales/tr/messages.json deleted file mode 100644 index 2e3ab1124..000000000 --- a/stable/_locales/tr/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "Hakkında" - }, - "accept": { - "message": "Onayla" - }, - "activate": { - "message": "Aktifleştir" - }, - "activateCaptions": { - "message": "Altyazıları Aktifleştir" - }, - "activateFullscreen": { - "message": "Tam ekranı Aktifleştir" - }, - "activated": { - "message": "Aktifleştirilmiş" - }, - "activatedFeatures": { - "message": "Aktifleştirilmiş özellikler" - }, - "activeFeatures": { - "message": "Etkin özellikler" - }, - "addScrollToTop": { - "message": "«Yukarı kaydır» ekle" - }, - "ads": { - "message": "Reklamlar" - }, - "all": { - "message": "Tümü" - }, - "allow": { - "message": "İzin ver" - }, - "allow60fps": { - "message": "60fps'e izin ver" - }, - "alwaysActive": { - "message": "Sürekli etkin" - }, - "alwaysShowProgressBar": { - "message": "İlerleme çubuğunu sürekli göster" - }, - "amber": { - "message": "Amber" - }, - "analyzer": { - "message": "Analizör" - }, - "appearance": { - "message": "Görünüm" - }, - "audio": { - "message": "Ses" - }, - "audioFormats": { - "message": "Ses formatları" - }, - "auto": { - "message": "Otomatik" - }, - "autoFullscreen": { - "message": "Otomatik tam ekran" - }, - "autopauseWhenSwitchingTabs": { - "message": "Sekme değiştirildiğinde duraklat" - }, - "autoplay": { - "message": "Otomatik oynat" - }, - "backupAndReset": { - "message": "Yedek & sıfırla" - }, - "baseOnSystemColorScheme": { - "message": "Sistem renk şeması temelli" - }, - "belowPlayer": { - "message": "Oynatıcının altında" - }, - "black": { - "message": "Kara" - }, - "blacklist": { - "message": "Kara Liste" - }, - "blockAll": { - "message": "Tümünü engelle" - }, - "blue": { - "message": "Mavi" - }, - "blueGray": { - "message": "Mavi gri" - }, - "bluelight": { - "message": "Mavi Işık" - }, - "brown": { - "message": "Kahverengi" - }, - "browser": { - "message": "Tarayıcı" - }, - "browserVersion": { - "message": "Tarayıcı Sürümü" - }, - "bubbles": { - "message": "Baloncuklar" - }, - "bug": { - "message": "Hata" - }, - "buttons": { - "message": "Butonlar" - }, - "cancel": { - "message": "İptal" - }, - "categories": { - "message": "Kategoriler" - }, - "channel": { - "message": "Kanal" - }, - "channels": { - "message": "Kanallar" - }, - "clipboard": { - "message": "Pano" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Abonelik bölümlerini daralt" - }, - "collapsed": { - "message": "Daraltılmış" - }, - "comments": { - "message": "Yorumlar" - }, - "confirmationBeforeClosing": { - "message": "Kapatmadan önce uyar" - }, - "cookies": { - "message": "Çerezler" - }, - "cores": { - "message": "Çekirdekler" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "Özel CSS" - }, - "customJs": { - "message": "Özel JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "Camgöbeği" - }, - "dark": { - "message": "Koyu" - }, - "darkTheme": { - "message": "Koyu tema" - }, - "dateAndTime": { - "message": "Tarih & zaman" - }, - "dawn": { - "message": "Şafak" - }, - "decreasePlaybackSpeed": { - "message": "Oynatma hızını azalt" - }, - "decreaseVolume": { - "message": "Sesi azalt" - }, - "deepOrange": { - "message": "Koyu turuncu" - }, - "deepPurple": { - "message": "Koyu mor" - }, - "defaultChannelTab": { - "message": "Varsayılan kanal sekmesi" - }, - "deleteYoutubeCookies": { - "message": "YouTube çerezleri sil" - }, - "description": { - "message": "Açıklama" - }, - "desert": { - "message": "Çöl" - }, - "details": { - "message": "Ayrıntılar" - }, - "developerOptions": { - "message": "Geliştirici seçenekleri" - }, - "device": { - "message": "Cihaz" - }, - "dim": { - "message": "Karart" - }, - "disabled": { - "message": "Devredışı" - }, - "dislike": { - "message": "Beğenmeme" - }, - "doNotChange": { - "message": "Değiştirme" - }, - "donate": { - "message": "Bağış" - }, - "draggable": { - "message": "Sürüklenebilir" - }, - "email": { - "message": "Eposta" - }, - "empty": { - "message": "Boş" - }, - "enabled": { - "message": "Etkin" - }, - "enabledForced": { - "message": "Etkin (Zorla)" - }, - "expanded": { - "message": "Genişletilmiş" - }, - "exportSettings": { - "message": "Ayarları dışa aktar" - }, - "extension": { - "message": "Uzantı" - }, - "file": { - "message": "Dosya" - }, - "filters": { - "message": "Filtreler" - }, - "fitToWindow": { - "message": "Pencereye sığdır" - }, - "flash": { - "message": "Flaş" - }, - "font": { - "message": "Yazı Tipi" - }, - "footer": { - "message": "Footer" - }, - "forcedPlaybackSpeed": { - "message": "Oynatma hızını uygulamaya zorla" - }, - "forcedTheaterMode": { - "message": "Sinema modunu zorla" - }, - "forcedVolume": { - "message": "Sesi zorla" - }, - "foundABug": { - "message": "Hata mı buldun?" - }, - "fullWindow": { - "message": "Tam pencere" - }, - "general": { - "message": "Genel" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "Arama kutusuna git" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "Yeşil" - }, - "hdThumbnail": { - "message": "HD küçük resim" - }, - "hdThumbnails": { - "message": "HD küçük resimler" - }, - "header": { - "message": "Header" - }, - "hidden": { - "message": "Gizli" - }, - "hiddenOnVideoPage": { - "message": "Video sayfasında gizli" - }, - "hideAnimatedThumbnails": { - "message": "Harehetli küçük resimleri gizle" - }, - "hideAnnotations": { - "message": "Ek açıklamaları gizle" - }, - "hideCards": { - "message": "Kartları gizle" - }, - "hideDetails": { - "message": "Detayları gizle" - }, - "hideEndscreen": { - "message": "Ekran sonunu gizle" - }, - "hideFeaturedContent": { - "message": "Öne çıkan içeriği gizle" - }, - "hideFooter": { - "message": "Footer'ı gizle" - }, - "hidePlaylist": { - "message": "Oynatma Listesi'ni gizle" - }, - "hideRightButtons": { - "message": "Sağ butonları gizle" - }, - "hideScrollForDetails": { - "message": "«Ayrıntılar için kaydır» gizle" - }, - "hideViewsCount": { - "message": "Görüntüleme sayısını gizle" - }, - "history": { - "message": "Geçmiş" - }, - "home": { - "message": "Ana Sayfa" - }, - "hover": { - "message": "Hover" - }, - "hoverOnVideoPage": { - "message": "Hover on video page" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "Video ne kadar süre önce yüklendi" - }, - "icons": { - "message": "Simgeler" - }, - "iconsOnly": { - "message": "Yalnızca simgeler" - }, - "importSettings": { - "message": "Ayarları içe aktar" - }, - "improveLogo": { - "message": "Logoyu geliştir" - }, - "improvedtubeIconInBrowser": { - "message": "Tarayıcıda ImprovedTube Simgesi" - }, - "improvedtubeIconOnYoutube": { - "message": "YouTube'da ImprovedTube Simgesi" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube dili" - }, - "improvedtubeVersion": { - "message": "ImprovedTube sürümü" - }, - "increasePlaybackSpeed": { - "message": "Oynatma hızını artır" - }, - "increaseVolume": { - "message": "Sesi artır" - }, - "indigo": { - "message": "Çivit" - }, - "items": { - "message": "Öğeler" - }, - "languages": { - "message": "Diller" - }, - "legacyYoutube": { - "message": "Eski YouTube" - }, - "light": { - "message": "Açık" - }, - "lightBlue": { - "message": "Açık mavi" - }, - "lightGreen": { - "message": "Açık yeşil" - }, - "like": { - "message": "Beğen" - }, - "likes": { - "message": "Beğeniler" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "Liste" - }, - "liveChat": { - "message": "Canlı sohbet" - }, - "liveChatType": { - "message": "Canlı sohbet türü" - }, - "loudnessNormalization": { - "message": "Gürültü normalleştirme" - }, - "markWatchedVideos": { - "message": "İzlenen videoları işaretle" - }, - "mixer": { - "message": "Karıştırıcı" - }, - "myColors": { - "message": "Renklerim" - }, - "name": { - "message": "İsim" - }, - "nativeMiniPlayer": { - "message": "Native mini player" - }, - "new": { - "message": "Yeni" - }, - "nextVideo": { - "message": "Sonraki video" - }, - "night": { - "message": "Gece" - }, - "noActiveFeatures": { - "message": "Aktif özellik yok" - }, - "noOpenVideoTabs": { - "message": "Açık video sekmesi yok" - }, - "none": { - "message": "Yok" - }, - "normal": { - "message": "Normal" - }, - "old": { - "message": "Eski" - }, - "onAllVideos": { - "message": "Tüm videolarda" - }, - "onSubscribedChannels": { - "message": "Abone olunan kanallarda" - }, - "onlyActiveOnYoutube": { - "message": "Yalnızca YouTube'da etkin" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "orange": { - "message": "Turuncu" - }, - "os": { - "message": "OS" - }, - "other": { - "message": "Diğer" - }, - "permissions": { - "message": "İzinler" - }, - "pictureInPicture": { - "message": "Resim içinde resim" - }, - "pink": { - "message": "Pembe" - }, - "plain": { - "message": "Sade" - }, - "platform": { - "message": "Platform" - }, - "playPause": { - "message": "Oynat / Duraklat" - }, - "playbackSpeed": { - "message": "Oynatma hızı" - }, - "player": { - "message": "Oynatıcı" - }, - "playerColor": { - "message": "Oynatıcı rengi" - }, - "playerSize": { - "message": "Oynatıcı boyutu" - }, - "playlist": { - "message": "Oynatma Listesi" - }, - "playlists": { - "message": "Oynatma Listeleri" - }, - "popupPlayer": { - "message": "Popup oynatıcı" - }, - "position": { - "message": "Konum" - }, - "pressAnyKeyOrScroll": { - "message": "Herhangi bir tuşa bas veya farenin tekerleğini kullan." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "Herhangi bir tuşa bas veya farenin tekerleğini kullan" - }, - "previousVideo": { - "message": "Önceki video" - }, - "primaryColor": { - "message": "Birincil renk" - }, - "purple": { - "message": "Mor" - }, - "quality": { - "message": "Kalite" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "Bizi oyla" - }, - "red": { - "message": "Kırmızı" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "İlgili videolar" - }, - "removeRelatedSearchResults": { - "message": "İlgili arama sonuçlarını kaldır" - }, - "repeat": { - "message": "Tekrarla" - }, - "reset": { - "message": "Sıfırla" - }, - "resetAllSettings": { - "message": "Tüm ayarları sıfırla" - }, - "resetAllShortcuts": { - "message": "Tüm kısayolları sıfırla" - }, - "reverse": { - "message": "Ters" - }, - "rotate": { - "message": "Döndür" - }, - "save": { - "message": "Kaydet" - }, - "saveAs": { - "message": "Farklı kaydet" - }, - "schedule": { - "message": "Takvim" - }, - "screen": { - "message": "Ekran" - }, - "screenshot": { - "message": "Ekran görüntüsü" - }, - "search": { - "message": "Ara" - }, - "searchBarOnly": { - "message": "Yalnızca arama çubuğu" - }, - "seekBackward10Seconds": { - "message": "10 saniye geriye git" - }, - "seekForward10Seconds": { - "message": "10 saniye ileriye git" - }, - "settings": { - "message": "Ayarlar" - }, - "settingsSuccessfullyImported": { - "message": "Ayarlar başarıyla içe aktarıldı" - }, - "shortcuts": { - "message": "Kısayollar" - }, - "showCardsOnMouseHover": { - "message": "Fareyle üzerine gelindiğinde kartları göster" - }, - "showChannelVideosCount": { - "message": "Kanalın video sayısını göster" - }, - "shuffle": { - "message": "Karıştır" - }, - "sidebar": { - "message": "Kenar çubuğu" - }, - "spacebar": { - "message": "Spacebar" - }, - "squaredUserImages": { - "message": "Kare kullanıcı görüntüleri" - }, - "static": { - "message": "Statik" - }, - "step": { - "message": "Adım" - }, - "stop": { - "message": "Durdur" - }, - "style": { - "message": "Stil" - }, - "styles": { - "message": "Stiller" - }, - "subscriptions": { - "message": "Aboneler" - }, - "subtitles": { - "message": "Altyazılar" - }, - "sunset": { - "message": "Gün batımı" - }, - "sunsetToSunrise": { - "message": "Gün batımından gün doğumuna" - }, - "systemPeferenceDark": { - "message": "Sistem tercihi: koyu" - }, - "systemPeferenceLight": { - "message": "Sistem tercihi: açık" - }, - "teal": { - "message": "Teal" - }, - "textColor": { - "message": "Yazı rengi" - }, - "themes": { - "message": "Temalar" - }, - "thisWillRemoveAllCookies": { - "message": "Bu, tüm çerezleri kaldıracaktır." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "Bu, tüm YouTube çerezlerini kaldıracaktır." - }, - "thisWillResetAllSettings": { - "message": "Bu, tüm ayarları sıfırlayacaktır." - }, - "thisWillResetAllShortcuts": { - "message": "Bu, tüm kısayolları sıfırlayacaktır." - }, - "thumbnails": { - "message": "Küçük resimler" - }, - "timeFrom": { - "message": "Şu zamandan" - }, - "timeTo": { - "message": "Şu zamana" - }, - "todayAt": { - "message": "Bugün" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "Fragman otomatik oynatımı" - }, - "translations": { - "message": "Çeviriler" - }, - "transparentBackground": { - "message": "Saydam arka plan" - }, - "trending": { - "message": "Trending" - }, - "tryToReloadThePage": { - "message": "Sayfayı yeniden yüklemeyi deneyin" - }, - "type": { - "message": "Tip" - }, - "upNextAutoplay": { - "message": "Sonraki otomatik oynatma" - }, - "use24HourFormat": { - "message": "24 saat biçimini kullan" - }, - "version": { - "message": "Sürüm" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "Kategorinin adını almak için video açıklaması genişletilecek" - }, - "videoFormats": { - "message": "Video formatları" - }, - "videos": { - "message": "Videolar" - }, - "volume": { - "message": "Ses" - }, - "watchLater": { - "message": "Sonra izle" - }, - "watchTime": { - "message": "İzleme zamanı" - }, - "whenTabIsChanged": { - "message": "Sekme değiştirildiğinde" - }, - "white": { - "message": "Beyaz" - }, - "yellow": { - "message": "Sarı" - }, - "youtubeHeaderLeft": { - "message": "YouTube Header (sol)" - }, - "youtubeHeaderRight": { - "message": "YouTube Header (sağ)" - }, - "youtubeHomePage": { - "message": "YouTube ana sayfası" - }, - "youtubeLanguage": { - "message": "YouTube dili" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube, h.264 codec bileşeni için video kalitesini 1080p ile sınırlar" - } -} diff --git a/stable/_locales/zh_CN/messages.json b/stable/_locales/zh_CN/messages.json deleted file mode 100644 index a7338ac70..000000000 --- a/stable/_locales/zh_CN/messages.json +++ /dev/null @@ -1,806 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "关于" - }, - "accept": { - "message": "Accept" - }, - "activate": { - "message": "启用" - }, - "activateCaptions": { - "message": "启用字幕" - }, - "activateFullscreen": { - "message": "启用全屏" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activeFeatures": { - "message": "启用功能" - }, - "addScrollToTop": { - "message": "返回顶部按钮" - }, - "ads": { - "message": "广告" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "允许" - }, - "allow60fps": { - "message": "允许60FPS" - }, - "alwaysActive": { - "message": "始终启用" - }, - "alwaysShowProgressBar": { - "message": "始终显示进度条" - }, - "amber": { - "message": "琥珀色" - }, - "analyzer": { - "message": "分析仪" - }, - "appearance": { - "message": "外观" - }, - "audio": { - "message": "Audio" - }, - "audioFormats": { - "message": "音频格式" - }, - "auto": { - "message": "自动" - }, - "autoFullscreen": { - "message": "自动全屏" - }, - "autopauseWhenSwitchingTabs": { - "message": "切换标签时暂停播放" - }, - "autoplay": { - "message": "自动播放" - }, - "backupAndReset": { - "message": "备份与恢复" - }, - "baseOnSystemColorScheme": { - "message": "使用系统配色" - }, - "belowPlayer": { - "message": "在播放器下方" - }, - "black": { - "message": "纯黑" - }, - "blacklist": { - "message": "黑名单" - }, - "blockAll": { - "message": "拦截所有" - }, - "blue": { - "message": "蓝色" - }, - "blueGray": { - "message": "蓝灰色" - }, - "bluelight": { - "message": "色彩柔和度" - }, - "brown": { - "message": "棕色" - }, - "browser": { - "message": "浏览器" - }, - "browserVersion": { - "message": "浏览器版本" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "按钮" - }, - "cancel": { - "message": "取消" - }, - "categories": { - "message": "Categories" - }, - "channel": { - "message": "电影和节目" - }, - "channels": { - "message": "频道" - }, - "clipboard": { - "message": "Clipboard" - }, - "codecH264": { - "message": "Codec h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "collapsed": { - "message": "收起" - }, - "comments": { - "message": "评论" - }, - "confirmationBeforeClosing": { - "message": "页面关闭前提示" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "核心" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "自定义CSS" - }, - "customJs": { - "message": "自定义JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "青色" - }, - "dark": { - "message": "黑暗" - }, - "darkTheme": { - "message": "夜间模式" - }, - "dateAndTime": { - "message": "时间与日期" - }, - "dawn": { - "message": "黎明" - }, - "decreasePlaybackSpeed": { - "message": "视频减速" - }, - "decreaseVolume": { - "message": "-5%音量" - }, - "deepOrange": { - "message": "深橙色" - }, - "deepPurple": { - "message": "深紫色" - }, - "defaultChannelTab": { - "message": "默认频道页" - }, - "deleteYoutubeCookies": { - "message": "清空 YouTube cookies" - }, - "description": { - "message": "视频描述" - }, - "desert": { - "message": "沙漠" - }, - "details": { - "message": "细节信息" - }, - "developerOptions": { - "message": "开发者选项" - }, - "device": { - "message": "设备" - }, - "dim": { - "message": "遮罩程度" - }, - "disabled": { - "message": "停用" - }, - "dislike": { - "message": "点踩" - }, - "doNotChange": { - "message": "不做改变" - }, - "donate": { - "message": "支持" - }, - "draggable": { - "message": "可拖动" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Empty" - }, - "enabled": { - "message": "启用" - }, - "enabledForced": { - "message": "Enabled (forced)" - }, - "expanded": { - "message": "展开" - }, - "exportSettings": { - "message": "导出设置" - }, - "extension": { - "message": "扩展" - }, - "file": { - "message": "File" - }, - "filters": { - "message": "过滤" - }, - "fitToWindow": { - "message": "窗口自适应" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "字体" - }, - "footer": { - "message": "底部栏" - }, - "forcedPlaybackSpeed": { - "message": "强制设置播放速度" - }, - "forcedTheaterMode": { - "message": "强制设置剧场模式" - }, - "forcedVolume": { - "message": "强制修改音量" - }, - "foundABug": { - "message": "Found a bug?" - }, - "fullWindow": { - "message": "全屏" - }, - "general": { - "message": "一般设置" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "转到搜索栏" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "绿色" - }, - "hdThumbnail": { - "message": "高清缩略图" - }, - "hdThumbnails": { - "message": "高清缩略图" - }, - "header": { - "message": "顶部栏" - }, - "hidden": { - "message": "隐藏" - }, - "hiddenOnVideoPage": { - "message": "在视频播放页面时隐藏" - }, - "hideAnimatedThumbnails": { - "message": "隐藏动态缩略图" - }, - "hideAnnotations": { - "message": "隐藏预览图" - }, - "hideCards": { - "message": "隐藏 cards" - }, - "hideDetails": { - "message": "隐藏详细信息" - }, - "hideEndscreen": { - "message": "隐藏结束画面" - }, - "hideFeaturedContent": { - "message": "隐藏精选频道" - }, - "hideFooter": { - "message": "隐藏底部栏" - }, - "hidePlaylist": { - "message": "隐藏播放列表" - }, - "hideRightButtons": { - "message": "隐藏右侧按钮" - }, - "hideScrollForDetails": { - "message": "隐藏 «滚动至详细信息»" - }, - "hideViewsCount": { - "message": "隐藏播放量" - }, - "history": { - "message": "历史记录" - }, - "home": { - "message": "首页" - }, - "hover": { - "message": "悬浮" - }, - "hoverOnVideoPage": { - "message": "在视频播放页面时悬浮显示" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "投稿于多久之前" - }, - "icons": { - "message": "Icons" - }, - "iconsOnly": { - "message": "仅显示图标" - }, - "importSettings": { - "message": "导入设置" - }, - "improveLogo": { - "message": "Improve logo" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube 扩展程序图标" - }, - "improvedtubeIconOnYoutube": { - "message": "在 YouTube 显示 ImprovedTube 图标" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube 语言" - }, - "improvedtubeVersion": { - "message": "ImprovedTube 版本" - }, - "increasePlaybackSpeed": { - "message": "视频加速" - }, - "increaseVolume": { - "message": "+5%音量" - }, - "indigo": { - "message": "靛青色" - }, - "items": { - "message": "Items" - }, - "languages": { - "message": "语言" - }, - "legacyYoutube": { - "message": "旧版 YouTube" - }, - "light": { - "message": "明亮" - }, - "lightBlue": { - "message": "浅蓝色" - }, - "lightGreen": { - "message": "浅绿色" - }, - "like": { - "message": "点赞" - }, - "likes": { - "message": "点赞总数" - }, - "lime": { - "message": "石灰色" - }, - "list": { - "message": "List" - }, - "liveChat": { - "message": "实时聊天" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "Loudness normalization" - }, - "markWatchedVideos": { - "message": "标记已观看的视频" - }, - "mixer": { - "message": "混音器" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "名字" - }, - "nativeMiniPlayer": { - "message": "原版迷你播放器" - }, - "new": { - "message": "新的" - }, - "nextVideo": { - "message": "上一个视频" - }, - "night": { - "message": "夜色" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "noOpenVideoTabs": { - "message": "没有打开视频标签" - }, - "none": { - "message": "无" - }, - "normal": { - "message": "正常" - }, - "old": { - "message": "旧版" - }, - "onAllVideos": { - "message": "在所有视频" - }, - "onSubscribedChannels": { - "message": "在订阅频道" - }, - "onlyActiveOnYoutube": { - "message": "仅在 YouTube 上启用" - }, - "onlyOnePlayerInstancePlaying": { - "message": "同时仅播放一个" - }, - "orange": { - "message": "橙色" - }, - "os": { - "message": "操作系统" - }, - "other": { - "message": "其他" - }, - "permissions": { - "message": "许可" - }, - "pictureInPicture": { - "message": "画中画" - }, - "pink": { - "message": "粉色" - }, - "plain": { - "message": "野外" - }, - "platform": { - "message": "平台" - }, - "playPause": { - "message": "播放 / 暂停" - }, - "playbackSpeed": { - "message": "播放速度" - }, - "player": { - "message": "播放器" - }, - "playerColor": { - "message": "播放器颜色" - }, - "playerSize": { - "message": "播放器大小" - }, - "playlist": { - "message": "播放列表" - }, - "playlists": { - "message": "稍后观看" - }, - "popupPlayer": { - "message": "弹出播放器" - }, - "position": { - "message": "位置" - }, - "pressAnyKeyOrScroll": { - "message": "按下任意键或滚动鼠标滚轴." - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "按下任意键或鼠标滚轴." - }, - "previousVideo": { - "message": "下一个视频" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "紫色" - }, - "quality": { - "message": "画质" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "给我们评价" - }, - "red": { - "message": "红色" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "相关视频" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "循环" - }, - "reset": { - "message": "重置" - }, - "resetAllSettings": { - "message": "重置所有设置" - }, - "resetAllShortcuts": { - "message": "Reset all shortcuts" - }, - "reverse": { - "message": "逆序" - }, - "rotate": { - "message": "旋转" - }, - "save": { - "message": "保存" - }, - "saveAs": { - "message": "另存为" - }, - "schedule": { - "message": "定时开/关" - }, - "screen": { - "message": "屏幕" - }, - "screenshot": { - "message": "截图" - }, - "search": { - "message": "搜索" - }, - "searchBarOnly": { - "message": "仅搜索栏" - }, - "seekBackward10Seconds": { - "message": "倒退10秒" - }, - "seekForward10Seconds": { - "message": "快进10秒" - }, - "settings": { - "message": "ImprovedTube 设置" - }, - "settingsSuccessfullyImported": { - "message": "Settings successfully imported" - }, - "shortcuts": { - "message": "快捷键" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "显示频道内视频数" - }, - "shuffle": { - "message": "随机" - }, - "sidebar": { - "message": "侧边栏" - }, - "spacebar": { - "message": "空格" - }, - "squaredUserImages": { - "message": "方形用户头像" - }, - "static": { - "message": "静态" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "停止" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "订阅内容" - }, - "subtitles": { - "message": "副标题" - }, - "sunset": { - "message": "晚霞" - }, - "sunsetToSunrise": { - "message": "日落到日出" - }, - "systemPeferenceDark": { - "message": "系统偏好: 深色" - }, - "systemPeferenceLight": { - "message": "系统偏好: 浅色" - }, - "teal": { - "message": "蓝绿色" - }, - "textColor": { - "message": "Text color" - }, - "themes": { - "message": "主题" - }, - "thisWillRemoveAllCookies": { - "message": "将清空所有 cookies." - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "将清空所有 YouTube cookies" - }, - "thisWillResetAllSettings": { - "message": "将重置所有设置." - }, - "thisWillResetAllShortcuts": { - "message": "This will reset all shortcuts" - }, - "thumbnails": { - "message": "缩略图" - }, - "timeFrom": { - "message": "开始时间" - }, - "timeTo": { - "message": "结束时间" - }, - "todayAt": { - "message": "Today at" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "自动播放预告片" - }, - "translations": { - "message": "Translations" - }, - "transparentBackground": { - "message": "透明背景" - }, - "trending": { - "message": "时下流行" - }, - "tryToReloadThePage": { - "message": "尝试刷新页面" - }, - "turnOff": { - "message": "关闭时间" - }, - "turnOn": { - "message": "开启时间" - }, - "type": { - "message": "类型" - }, - "upNextAutoplay": { - "message": "自动播放下一视频" - }, - "use24HourFormat": { - "message": "使用24小时制" - }, - "version": { - "message": "版本" - }, - "video": { - "message": "Video" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "视频格式" - }, - "videos": { - "message": "视频" - }, - "volume": { - "message": "音量" - }, - "watchLater": { - "message": "稍后观看" - }, - "watchTime": { - "message": "观看时间" - }, - "whenTabIsChanged": { - "message": "标签更改时" - }, - "white": { - "message": "白色" - }, - "yellow": { - "message": "黄色" - }, - "youtubeHeaderLeft": { - "message": "Youtube标题(左)" - }, - "youtubeHeaderRight": { - "message": "Youtube标题(右)" - }, - "youtubeHomePage": { - "message": "YouTube 主页" - }, - "youtubeLanguage": { - "message": "YouTube 语言" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limits video quality to 1080p for h.264 codec" - } -} diff --git a/stable/_locales/zh_TW/messages.json b/stable/_locales/zh_TW/messages.json deleted file mode 100644 index 53be3877e..000000000 --- a/stable/_locales/zh_TW/messages.json +++ /dev/null @@ -1,800 +0,0 @@ -{ - "ARROWDOWN": { - "message": "⇩" - }, - "ARROWLEFT": { - "message": "⇦" - }, - "ARROWRIGHT": { - "message": "⇨" - }, - "ARROWUP": { - "message": "⇧" - }, - "about": { - "message": "關於" - }, - "accept": { - "message": "接受" - }, - "activate": { - "message": "Activate" - }, - "activateCaptions": { - "message": "開啟 字幕" - }, - "activateFullscreen": { - "message": "開啟 全螢幕" - }, - "activated": { - "message": "Activated" - }, - "activatedFeatures": { - "message": "Activated features" - }, - "activeFeatures": { - "message": "Active features" - }, - "addScrollToTop": { - "message": "滾動到頂部按鈕" - }, - "ads": { - "message": "廣告" - }, - "all": { - "message": "All" - }, - "allow": { - "message": "允許" - }, - "allow60fps": { - "message": "允許 60fps" - }, - "alwaysActive": { - "message": "始終有效" - }, - "alwaysShowProgressBar": { - "message": "一律顯示進度條" - }, - "amber": { - "message": "琥珀色" - }, - "analyzer": { - "message": "分析儀" - }, - "appearance": { - "message": "外貌" - }, - "audio": { - "message": "音頻" - }, - "audioFormats": { - "message": "音頻格式" - }, - "auto": { - "message": "自動" - }, - "autoFullscreen": { - "message": "自動全螢幕" - }, - "autopauseWhenSwitchingTabs": { - "message": "切換分頁時自動暫停" - }, - "autoplay": { - "message": "自動播放" - }, - "backupAndReset": { - "message": "備份&重置" - }, - "baseOnSystemColorScheme": { - "message": "使用系統配色方案" - }, - "belowPlayer": { - "message": "Below player" - }, - "black": { - "message": "黑色" - }, - "blacklist": { - "message": "黑名單" - }, - "blockAll": { - "message": "Block all" - }, - "blue": { - "message": "藍色" - }, - "blueGray": { - "message": "藍灰色" - }, - "bluelight": { - "message": "藍光" - }, - "brown": { - "message": "棕色" - }, - "browser": { - "message": "瀏覽器" - }, - "browserVersion": { - "message": "瀏覽器 版本" - }, - "bubbles": { - "message": "Bubbles" - }, - "bug": { - "message": "Bug" - }, - "buttons": { - "message": "Buttons" - }, - "cancel": { - "message": "取消" - }, - "categories": { - "message": "類別" - }, - "channel": { - "message": "頻道" - }, - "channels": { - "message": "頻道" - }, - "clipboard": { - "message": "剪贴板" - }, - "codecH264": { - "message": "影片編解碼器 h.264" - }, - "collapseOfSubscriptionSections": { - "message": "Collapse of subscription sections" - }, - "collapsed": { - "message": "簡縮" - }, - "comments": { - "message": "評論" - }, - "confirmationBeforeClosing": { - "message": "關閉前先確認" - }, - "cookies": { - "message": "Cookies" - }, - "cores": { - "message": "Cores" - }, - "cropChapterTitles": { - "message": "Crop chapter titles" - }, - "customCss": { - "message": "自訂 CSS" - }, - "customJs": { - "message": "自訂 JS" - }, - "customMiniPlayer": { - "message": "Custom Mini-Player" - }, - "cyan": { - "message": "青色" - }, - "dark": { - "message": "Dark" - }, - "darkTheme": { - "message": "Dark theme" - }, - "dateAndTime": { - "message": "日期和時間" - }, - "dawn": { - "message": "黎明" - }, - "decreasePlaybackSpeed": { - "message": "降低播放速度" - }, - "decreaseVolume": { - "message": "減輕音量" - }, - "deepOrange": { - "message": "深橙色" - }, - "deepPurple": { - "message": "深紫色" - }, - "defaultChannelTab": { - "message": "默認頻道標籤" - }, - "deleteYoutubeCookies": { - "message": "刪除 YouTube cookies" - }, - "description": { - "message": "影片描述" - }, - "desert": { - "message": "沙漠" - }, - "details": { - "message": "細節" - }, - "developerOptions": { - "message": "開發人員選項" - }, - "device": { - "message": "裝置" - }, - "dim": { - "message": "光線暗度" - }, - "disabled": { - "message": "關閉" - }, - "dislike": { - "message": "Dislike" - }, - "doNotChange": { - "message": "不要改變" - }, - "donate": { - "message": "捐贈" - }, - "draggable": { - "message": "可拖動" - }, - "email": { - "message": "Email" - }, - "empty": { - "message": "Empty" - }, - "enabled": { - "message": "啟用" - }, - "enabledForced": { - "message": "強制啟用" - }, - "expanded": { - "message": "擴展" - }, - "exportSettings": { - "message": "導出設定" - }, - "extension": { - "message": "Extension" - }, - "file": { - "message": "檔案" - }, - "filters": { - "message": "Filters" - }, - "fitToWindow": { - "message": "Fit to window" - }, - "flash": { - "message": "Flash" - }, - "font": { - "message": "字體" - }, - "footer": { - "message": "頁腳" - }, - "forcedPlaybackSpeed": { - "message": "Forced playback speed" - }, - "forcedTheaterMode": { - "message": "強制劇院模式" - }, - "forcedVolume": { - "message": "Forced volume" - }, - "foundABug": { - "message": "Found a bug?" - }, - "fullWindow": { - "message": "全螢幕" - }, - "general": { - "message": "一般" - }, - "github": { - "message": "GitHub" - }, - "goToSearchBox": { - "message": "轉到搜索框" - }, - "gpu": { - "message": "GPU" - }, - "green": { - "message": "綠色" - }, - "hdThumbnail": { - "message": "HD 縮略圖" - }, - "hdThumbnails": { - "message": "HD 縮圖" - }, - "header": { - "message": "標頭" - }, - "hidden": { - "message": "隱藏" - }, - "hiddenOnVideoPage": { - "message": "隱藏在影片頁面上" - }, - "hideAnimatedThumbnails": { - "message": "隱藏動態的縮略圖" - }, - "hideAnnotations": { - "message": "隱藏註釋" - }, - "hideCards": { - "message": "隱藏右上角的卡片" - }, - "hideDetails": { - "message": "隱藏細節" - }, - "hideEndscreen": { - "message": "Hide endscreen" - }, - "hideFeaturedContent": { - "message": "Hide featured content" - }, - "hideFooter": { - "message": "隱藏頁腳" - }, - "hidePlaylist": { - "message": "Hide playlist" - }, - "hideRightButtons": { - "message": "Hide right buttons" - }, - "hideScrollForDetails": { - "message": "隱藏滾動查看詳細信息" - }, - "hideViewsCount": { - "message": "隱藏觀看次數" - }, - "history": { - "message": "觀看記錄" - }, - "home": { - "message": "首頁" - }, - "hover": { - "message": "Hover" - }, - "hoverOnVideoPage": { - "message": "Hover on video page" - }, - "howLongAgoTheVideoWasUploaded": { - "message": "視頻上傳了多久" - }, - "icons": { - "message": "圖標" - }, - "iconsOnly": { - "message": "只有圖標" - }, - "importSettings": { - "message": "導入設定" - }, - "improveLogo": { - "message": "Improve logo" - }, - "improvedtubeIconInBrowser": { - "message": "ImprovedTube icon in Browser" - }, - "improvedtubeIconOnYoutube": { - "message": "ImprovedTube icon on YouTube" - }, - "improvedtubeLanguage": { - "message": "ImprovedTube 語言" - }, - "improvedtubeVersion": { - "message": "ImprovedTube 版本" - }, - "increasePlaybackSpeed": { - "message": "提高播放速度" - }, - "increaseVolume": { - "message": "增加音量" - }, - "indigo": { - "message": "靛青" - }, - "items": { - "message": "項目" - }, - "languages": { - "message": "語言" - }, - "legacyYoutube": { - "message": "Legacy YouTube" - }, - "light": { - "message": "Light" - }, - "lightBlue": { - "message": "淺藍色" - }, - "lightGreen": { - "message": "淺綠色" - }, - "like": { - "message": "Like" - }, - "likes": { - "message": "Likes圖標" - }, - "lime": { - "message": "Lime" - }, - "list": { - "message": "List" - }, - "liveChat": { - "message": "Live 聊天視窗" - }, - "liveChatType": { - "message": "Live chat type" - }, - "loudnessNormalization": { - "message": "音量標準化" - }, - "markWatchedVideos": { - "message": "標記已觀看視頻" - }, - "mixer": { - "message": "音量混合器" - }, - "myColors": { - "message": "My colors" - }, - "name": { - "message": "Name" - }, - "nativeMiniPlayer": { - "message": "Native mini player" - }, - "new": { - "message": "New" - }, - "nextVideo": { - "message": "下一個影片" - }, - "night": { - "message": "夜晚" - }, - "noActiveFeatures": { - "message": "No active features" - }, - "noOpenVideoTabs": { - "message": "No open video tabs" - }, - "none": { - "message": "None" - }, - "normal": { - "message": "正常" - }, - "old": { - "message": "Old" - }, - "onAllVideos": { - "message": "On all videos" - }, - "onSubscribedChannels": { - "message": "On subscribed channels" - }, - "onlyActiveOnYoutube": { - "message": "僅在YouTube上有效" - }, - "onlyOnePlayerInstancePlaying": { - "message": "Only one player instance playing" - }, - "orange": { - "message": "橘色" - }, - "os": { - "message": "操作系統" - }, - "other": { - "message": "其他" - }, - "permissions": { - "message": "權限" - }, - "pictureInPicture": { - "message": "Picture-in-Picture" - }, - "pink": { - "message": "粉紅色" - }, - "plain": { - "message": "樸素" - }, - "platform": { - "message": "Platform" - }, - "playPause": { - "message": "播放/暫停" - }, - "playbackSpeed": { - "message": "播放速度" - }, - "player": { - "message": "播放器" - }, - "playerColor": { - "message": "影片進度條顏色" - }, - "playerSize": { - "message": "播放器大小" - }, - "playlist": { - "message": "播放列表" - }, - "playlists": { - "message": "播放清單" - }, - "popupPlayer": { - "message": "彈出播放器" - }, - "position": { - "message": "Position" - }, - "pressAnyKeyOrScroll": { - "message": "按任意鍵或使用滑鼠滾輪。" - }, - "pressAnyKeyOrUseMouseWheel": { - "message": "按任意鍵或使用鼠標滾輪。" - }, - "previousVideo": { - "message": "回到之前的影片" - }, - "primaryColor": { - "message": "Primary color" - }, - "purple": { - "message": "紫色" - }, - "quality": { - "message": "品質" - }, - "ram": { - "message": "RAM" - }, - "rateUs": { - "message": "評分" - }, - "red": { - "message": "紅色" - }, - "redDislikeButton": { - "message": "Show dislike button red colour" - }, - "relatedVideos": { - "message": "推薦影片" - }, - "removeRelatedSearchResults": { - "message": "Remove related search results" - }, - "repeat": { - "message": "重複播放" - }, - "reset": { - "message": "Reset" - }, - "resetAllSettings": { - "message": "重置所有設定" - }, - "resetAllShortcuts": { - "message": "重置所有快捷鍵" - }, - "reverse": { - "message": "Reverse" - }, - "rotate": { - "message": "旋轉影片" - }, - "save": { - "message": "Save" - }, - "saveAs": { - "message": "Save as" - }, - "schedule": { - "message": "時間表" - }, - "screen": { - "message": "螢幕" - }, - "screenshot": { - "message": "截圖" - }, - "search": { - "message": "搜尋" - }, - "searchBarOnly": { - "message": "Search bar only" - }, - "seekBackward10Seconds": { - "message": "向後搜尋10秒" - }, - "seekForward10Seconds": { - "message": "向前邁進10秒" - }, - "settings": { - "message": "設定" - }, - "settingsSuccessfullyImported": { - "message": "設定成功導入" - }, - "shortcuts": { - "message": "快捷鍵" - }, - "showCardsOnMouseHover": { - "message": "Show cards on mouse hover" - }, - "showChannelVideosCount": { - "message": "顯示頻道影片數量" - }, - "shuffle": { - "message": "Shuffle" - }, - "sidebar": { - "message": "側邊欄" - }, - "spacebar": { - "message": "空格鍵" - }, - "squaredUserImages": { - "message": "方正的用戶圖像" - }, - "static": { - "message": "Static" - }, - "step": { - "message": "Step" - }, - "stop": { - "message": "停止" - }, - "style": { - "message": "Style" - }, - "styles": { - "message": "Styles" - }, - "subscriptions": { - "message": "訂閱內容" - }, - "subtitles": { - "message": "允許 字幕" - }, - "sunset": { - "message": "日落" - }, - "sunsetToSunrise": { - "message": "Sunset to sunrise" - }, - "systemPeferenceDark": { - "message": "System peference: dark" - }, - "systemPeferenceLight": { - "message": "System peference: light" - }, - "teal": { - "message": "藍綠色" - }, - "textColor": { - "message": "文字顏色" - }, - "themes": { - "message": "主題" - }, - "thisWillRemoveAllCookies": { - "message": "這將刪除所有的 cookies。" - }, - "thisWillRemoveAllYouTubeCookies": { - "message": "這會刪除所有 YouTube Cookies。" - }, - "thisWillResetAllSettings": { - "message": "這會重置所有設定。" - }, - "thisWillResetAllShortcuts": { - "message": "這會重置所有快捷鍵。" - }, - "thumbnails": { - "message": "縮略圖" - }, - "timeFrom": { - "message": "Time from" - }, - "timeTo": { - "message": "Time to" - }, - "todayAt": { - "message": "Today at" - }, - "topChat": { - "message": "Top chat" - }, - "trailerAutoplay": { - "message": "預告片自動播放" - }, - "translations": { - "message": "翻譯" - }, - "transparentBackground": { - "message": "透明背景" - }, - "trending": { - "message": "發燒影片" - }, - "tryToReloadThePage": { - "message": "Try to reload the page" - }, - "type": { - "message": "Type" - }, - "upNextAutoplay": { - "message": "下一個影片自動播放" - }, - "use24HourFormat": { - "message": "使用24小時格式" - }, - "version": { - "message": "版本" - }, - "video": { - "message": "影片" - }, - "videoDescriptionWillBeExpandedToGetNameOfCategory": { - "message": "The video description will be expanded to get the name of the category" - }, - "videoFormats": { - "message": "影片格式" - }, - "videos": { - "message": "影片" - }, - "volume": { - "message": "音量" - }, - "watchLater": { - "message": "稍後觀看" - }, - "watchTime": { - "message": "Watch time" - }, - "whenTabIsChanged": { - "message": "When tab is changed" - }, - "white": { - "message": "白色" - }, - "yellow": { - "message": "黃色" - }, - "youtubeHeaderLeft": { - "message": "YouTube 標頭 (左)" - }, - "youtubeHeaderRight": { - "message": "YouTube 標頭 (右)" - }, - "youtubeHomePage": { - "message": "默認的YouTube主頁" - }, - "youtubeLanguage": { - "message": "YouTube 語言" - }, - "youtubeLimitsVideoQualityTo1080pForH264Codec": { - "message": "YouTube limits video quality to 1080p for h.264 codec" - } -} diff --git a/stable/assets/fonts/OpenSans-Regular.ttf b/stable/assets/fonts/OpenSans-Regular.ttf deleted file mode 100644 index 29bfd35a2..000000000 Binary files a/stable/assets/fonts/OpenSans-Regular.ttf and /dev/null differ diff --git a/stable/assets/fonts/OpenSans-SemiBold.ttf b/stable/assets/fonts/OpenSans-SemiBold.ttf deleted file mode 100644 index 54e7059cf..000000000 Binary files a/stable/assets/fonts/OpenSans-SemiBold.ttf and /dev/null differ diff --git a/stable/assets/icons/128.png b/stable/assets/icons/128.png deleted file mode 100644 index e6a56804d..000000000 Binary files a/stable/assets/icons/128.png and /dev/null differ diff --git a/stable/assets/icons/128g.png b/stable/assets/icons/128g.png deleted file mode 100644 index 4c05ddb00..000000000 Binary files a/stable/assets/icons/128g.png and /dev/null differ diff --git a/stable/assets/icons/16g.png b/stable/assets/icons/16g.png deleted file mode 100644 index 0db3ae905..000000000 Binary files a/stable/assets/icons/16g.png and /dev/null differ diff --git a/stable/assets/icons/32.png b/stable/assets/icons/32.png deleted file mode 100644 index 673f7ba80..000000000 Binary files a/stable/assets/icons/32.png and /dev/null differ diff --git a/stable/assets/icons/32g.png b/stable/assets/icons/32g.png deleted file mode 100644 index 9e6321721..000000000 Binary files a/stable/assets/icons/32g.png and /dev/null differ diff --git a/stable/assets/icons/48.png b/stable/assets/icons/48.png deleted file mode 100644 index 41c66b6a7..000000000 Binary files a/stable/assets/icons/48.png and /dev/null differ diff --git a/stable/assets/icons/48g.png b/stable/assets/icons/48g.png deleted file mode 100644 index 6d1a8ab81..000000000 Binary files a/stable/assets/icons/48g.png and /dev/null differ diff --git a/stable/background.js b/stable/background.js deleted file mode 100644 index 38bc5da96..000000000 --- a/stable/background.js +++ /dev/null @@ -1,342 +0,0 @@ -/*--------------------------------------------------------------- ->>> BACKGROUND ------------------------------------------------------------------ -# Global variables -# Functions -# Context menu items -# Message listener -# Storage change listener -# Initialization -# Uninstall URL -# Google Analytics ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# GLOBAL VARIABLES ----------------------------------------------------------------*/ - -var locale_code = 'en', - browser_icon = false; - - -/*--------------------------------------------------------------- -# FUNCTIONS ----------------------------------------------------------------*/ - -function isset(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -} - -function getTranslations(path) { - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - if (chrome && chrome.tabs) { - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'translation_response', - value: xhr.responseText - }); - } - } - }); - } - - chrome.runtime.sendMessage({ - name: 'translation_response', - value: xhr.responseText - }); - }); - - xhr.open('GET', path, true); - xhr.send(); -} - -function browserActionIcon() { - if (browser_icon === 'always') { - chrome.browserAction.setIcon({ - path: 'assets/icons/32.png' - }); - } else { - chrome.browserAction.setIcon({ - path: 'assets/icons/32g.png' - }); - } -} - - -/*--------------------------------------------------------------- -# CONTEXT MENU ITEMS ----------------------------------------------------------------*/ - -chrome.contextMenus.removeAll(); - -chrome.contextMenus.create({ - id: '1111', - title: 'Donate', - contexts: ['browser_action'] -}); - -chrome.contextMenus.create({ - id: '1112', - title: 'Rate me', - contexts: ['browser_action'] -}); - -chrome.contextMenus.create({ - id: '1113', - title: 'GitHub', - contexts: ['browser_action'] -}); - -chrome.contextMenus.onClicked.addListener(function(event) { - if (event.menuItemId === '1111') { - window.open('https://www.improvedtube.com/donate'); - } else if (event.menuItemId === '1112') { - window.open('https://chrome.google.com/webstore/detail/improvedtube-for-youtube/bnomihfieiccainjcjblhegjgglakjdd'); - } else if (event.menuItemId === '1113') { - window.open('https://github.com/ImprovedTube/ImprovedTube'); - } -}); - - -/*--------------------------------------------------------------- -# MESSAGE LISTENER ----------------------------------------------------------------*/ - -chrome.runtime.onMessage.addListener(function(request, sender) { - if (isset(request) && typeof request === 'object') { - if (request.enabled === true && browser_icon !== 'always') { - chrome.browserAction.setIcon({ - path: 'assets/icons/32.png', - tabId: sender.tab.id - }); - } - - if (request.name === 'translation_request') { - getTranslations(request.path); - } - - if (request.name === 'improvedtube-analyzer') { - var data = request.value, - date = new Date().toDateString(), - hours = new Date().getHours() + ':00'; - - chrome.storage.local.get(function(items) { - if (!items.analyzer) { - items.analyzer = {}; - } - - if (!items.analyzer[date]) { - items.analyzer[date] = {}; - } - - if (!items.analyzer[date][hours]) { - items.analyzer[date][hours] = {}; - } - - if (!items.analyzer[date][hours][data]) { - items.analyzer[date][hours][data] = 0; - } - - items.analyzer[date][hours][data]++; - - chrome.storage.local.set({ - analyzer: items.analyzer - }); - }); - } - - if (request.name === 'improvedtube-blacklist') { - chrome.storage.local.get(function(items) { - if (!items.blacklist || typeof items.blacklist !== 'object') { - items.blacklist = {}; - } - - if (request.data.type === 'channel') { - if (!items.blacklist.channels) { - items.blacklist.channels = {}; - } - - items.blacklist.channels[request.data.id] = { - title: request.data.title, - preview: request.data.preview - }; - } - - if (request.data.type === 'video') { - if (!items.blacklist.videos) { - items.blacklist.videos = {}; - } - - items.blacklist.videos[request.data.id] = { - title: request.data.title - }; - } - - chrome.storage.local.set({ - blacklist: items.blacklist - }); - }); - } - - if (request.name === 'improvedtube-watched') { - chrome.storage.local.get(function(items) { - if (!items.watched || typeof items.watched !== 'object') { - items.watched = {}; - } - - if (request.data.action === 'set') { - items.watched[request.data.id] = { - title: request.data.title - }; - } - - if (request.data.action === 'remove') { - delete items.watched[request.data.id]; - } - - chrome.storage.local.set({ - watched: items.watched - }); - }); - } - - if (request.name === 'download') { - chrome.permissions.request({ - permissions: ['downloads'], - origins: ['https://www.youtube.com/*'] - }, function(granted) { - if (granted) { - try { - var blob = new Blob([JSON.stringify(request.value)], { - type: 'application/json;charset=utf-8' - }); - - chrome.downloads.download({ - url: URL.createObjectURL(blob), - filename: request.filename, - saveAs: true - }); - } catch (err) { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: err - }); - } - } else { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: 'permissionIsNotGranted' - }); - } - }); - } - - if (request.name === 'improvedtube-play') { - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'improvedtube-play', - id: request.id - }); - } - } - }); - } - - if (isset(request.export)) { - chrome.storage.local.get(function(data) { - chrome.permissions.request({ - permissions: ['downloads'], - origins: ['https://www.youtube.com/*'] - }, function(granted) { - if (granted) { - var blob = new Blob([JSON.stringify(data)], { - type: 'application/octet-stream' - }), - date = new Date(); - - chrome.downloads.download({ - url: URL.createObjectURL(blob), - filename: 'improvedtube_' + (date.getMonth() + 1) + '_' + date.getDate() + '_' + date.getFullYear() + '.json', - saveAs: true - }); - } - }); - }); - } - } -}); - - -/*--------------------------------------------------------------- -# STORAGE CHANGE LISTENER ----------------------------------------------------------------*/ - -chrome.storage.onChanged.addListener(function(changes) { - if (isset(changes.improvedtube_language)) { - locale_code = changes.improvedtube_language.newValue; - } - - if (isset(changes.improvedtube_browser_icon)) { - browser_icon = changes.improvedtube_browser_icon.newValue; - } - - browserActionIcon(); - - _gaq.push(['_trackPageview', '/improvedtube-' + chrome.runtime.getManifest().version + '/background', 'page-loaded']); -}); - - -/*--------------------------------------------------------------- -# INITIALIZATION ----------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - if (isset(items.improvedtube_language)) { - locale_code = items.improvedtube_language; - } - - if (isset(items.improvedtube_browser_icon)) { - browser_icon = items.improvedtube_browser_icon; - } - - browserActionIcon(); - - _gaq.push(['_trackPageview', '/improvedtube-' + chrome.runtime.getManifest().version + '/background', 'page-loaded']); -}); - - -/*--------------------------------------------------------------- -# UNINSTALL URL ----------------------------------------------------------------*/ - -chrome.runtime.setUninstallURL('https://improvedtube.com/uninstalled'); - - -/*--------------------------------------------------------------- -# GOOGLE ANALYTICS ----------------------------------------------------------------*/ - -var _gaq = _gaq || []; - -(function() { - var ga = document.createElement('script'); - - _gaq.push(['_setAccount', 'UA-88354155-1']); - _gaq.push(['_setSessionCookieTimeout', 14400000]); - - ga.type = 'text/javascript'; - ga.async = true; - ga.src = 'https://ssl.google-analytics.com/ga.js'; - - document.body.appendChild(ga); -})(); \ No newline at end of file diff --git a/stable/content-scripts.css b/stable/content-scripts.css deleted file mode 100644 index ec4909722..000000000 --- a/stable/content-scripts.css +++ /dev/null @@ -1,12013 +0,0 @@ - -/*----------------------------------------------------------------------------- ->>> APPEARANCE -------------------------------------------------------------------------------- -1.0 Header - 1.1 Position - 1.2 Logo - 1.3 Hide right buttons -2.0 Player - 2.1 Annotations - 2.2 Cards - 2.4 Color - 2.5 Transparent background - 2.6 Endscreen - 2.7 Sroll for details - 2.8 Always show progress bar -3.0 Details - 3.1 Style - 3.2 Views count - 3.3 Likes -4.0 Description -5.0 Comments -6.0 Sidebar - 6.1 Live chat - 6.2 Playlist - 6.3 Related videos -7.0 Footer ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Header ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1 Position ------------------------------------------------------------------------------*/ - -html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-container, -html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-positioner -{ - transform: translateY(-100%); -} - -html[it-header-position=hidden] app-drawer#guide #guide-spacer, -html[it-header-position=hidden] ytd-app > ytd-masthead, -html[it-header-position=hidden] #masthead-positioner-height-offset, -html[it-header-position=hover] app-drawer#guide #guide-spacer, -html[it-header-position=hover] #masthead-positioner-height-offset, -html[it-header-position=static] app-drawer#guide #guide-spacer, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-container, -html[it-header-position=hidden_on_video_page][it-page-type=video] app-drawer#guide #guide-spacer, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-positioner, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-positioner-height-offset, -html[it-header-position=hover_on_video_page][it-page-type=video] app-drawer#guide #guide-spacer, -html[it-header-position=hover_on_video_page][it-page-type=video] #masthead-positioner-height-offset, -html[it-header-position=static] #masthead-positioner-height-offset -{ - display: none !important; -} - -html[it-header-position=hover] ytd-app > ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app > ytd-masthead, -html[it-header-position=hover] #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-container, -html[it-header-position=hover] #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-positioner -{ - z-index: 2147483647 !important; -} - -html[it-header-position=hidden] ytd-page-manager#page-manager, -html[it-header-position=hidden] app-header#header, -html[it-header-position=hidden_on_video_page][it-page-type='video'] ytd-page-manager#page-manager, -html[it-header-position=hidden_on_video_page][it-page-type='video'] app-header#header, -html[it-header-position=hidden] #appbar-guide-menu, -html[it-header-position=hidden_on_video_page][it-page-type='video'] #appbar-guide-menu, -html[it-header-position=hover] ytd-page-manager#page-manager, -html[it-header-position=hover] app-header#header, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-page-manager#page-manager, -html[it-header-position=hover_on_video_page][it-page-type='video'] app-header#header, -html[it-header-position=hover] #appbar-guide-menu, -html[it-header-position=hover_on_video_page][it-page-type='video'] #appbar-guide-menu, -html[it-header-position=static] ytd-page-manager#page-manager, -html[it-header-position=static] #appbar-guide-menu -{ - margin-top: 0 !important; -} - -html[it-header-position=hover] ytd-app > ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) ytd-app > ytd-masthead, -html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) #masthead-container, -html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) #masthead-positioner -{ - transition: transform 250ms !important; - transform: translateY(-75%) !important; -} - -html[it-header-position=hover] #masthead-container:hover, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-container:hover, -html[it-header-position=hover] #masthead-positioner:hover, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-positioner:hover, -html[it-header-position=hover][it-search-focus=true] #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video'][it-search-focus=true] #masthead-container, -html[it-header-position=hover][it-search-focus=true] #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video'][it-search-focus=true] #masthead-positioner -{ - transform: translateY(0%) !important; -} - -html[it-header-position=static] #masthead-container, -html[it-header-position=static] #masthead-positioner -{ - position: relative !important; - z-index: 999999999999 !important; -} - -html[it-header-position=hover] ytd-app[masthead-hidden_] ytd-masthead, -html[it-header-position=hover] ytd-app[scrolling_] ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app[masthead-hidden_] ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app[scrolling_] ytd-masthead -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -1.2 Logo ------------------------------------------------------------------------------*/ - -html[it-header-improve-logo=true] ytd-topbar-logo-renderer#logo, -html[it-header-improve-logo=true] #yt-masthead-logo-fragment, -html[it-header-improve-logo=true] #yt-masthead #logo-container .logo -{ - filter: grayscale(1); -} - -html[it-header-improve-logo=true][dark] #yt-masthead #logo-container .logo -{ - filter: grayscale(1) brightness(3); -} - -html[it-header-improve-logo=true] g.ytd-topbar-logo-renderer path[fill*='#FF0000'] -{ - fill: #282828; -} - -html[it-header-improve-logo=true][dark] g.ytd-topbar-logo-renderer path[fill*='#FF0000'] -{ - fill: #fff; -} - -html[it-header-improve-logo=true] g.ytd-topbar-logo-renderer polygon[fill*='#FFFFFF'] -{ - fill: #232323; -} - - -/*----------------------------------------------------------------------------- -1.3 Hide right buttons ------------------------------------------------------------------------------*/ - -html[it-header-hide-right-buttons=true] ytd-masthead#masthead #container #end -{ - visibility: hidden !important; - pointer-events: none !important; -} - - -/*----------------------------------------------------------------------------- -2.0 Player ------------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# ADS ----------------------------------------------------------------*/ - -html[it-player-ads='subscribed_channels'] #related #player-ads, -html[it-player-ads='block_all'] #related #player-ads, -html[it-player-ads='subscribed_channels'] #masthead-ad, -html[it-player-ads='block_all'] #masthead-ad -{ - display: none !important; -} - - - -/*----------------------------------------------------------------------------- -2.1 Annotations ------------------------------------------------------------------------------*/ - -html[it-player-hide-annotations=true] .annotation, -html[it-player-hide-annotations=true] .annotation-type-text, -html[it-player-hide-annotations=true] .annotation-shape -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.2 Cards ------------------------------------------------------------------------------*/ - -html[it-player-hide-cards=true] .ytp-ce-element, -html[it-player-hide-cards=true] .ytp-ce-video, -html[it-player-hide-cards=true] .ytp-cards-button, -html[it-player-hide-cards=true] .ytp-cards-teaser, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:not(:hover) .ytp-ce-element, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:not(:hover) .ytp-ce-video, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:not(:hover) .ytp-cards-button, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:not(:hover) .ytp-cards-teaser -{ - display: none !important; -} - -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:hover .ytp-ce-element, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:hover .ytp-ce-video, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:hover .ytp-cards-button, -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:hover .ytp-cards-teaser -{ - display: block !important; -} - - -/*----------------------------------------------------------------------------- -2.4 Color ------------------------------------------------------------------------------*/ - -html[it-player-color='pink'] .ytp-play-progress, -html[it-player-color='pink'] .ytp-scrubber-button, -html[it-player-color='pink'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='pink'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #e91e63 !important; -} - -html[it-player-color='pink'] .ytp-swatch-color -{ - color: #e91e63 !important; -} - -html[it-player-color='purple'] .ytp-play-progress, -html[it-player-color='purple'] .ytp-scrubber-button, -html[it-player-color='purple'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='purple'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #9c27b0 !important; -} - -html[it-player-color='purple'] .ytp-swatch-color -{ - color: #9c27b0 !important; -} - -html[it-player-color='deep_purple'] .ytp-play-progress, -html[it-player-color='deep_purple'] .ytp-scrubber-button, -html[it-player-color='deep_purple'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='deep_purple'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #673ab7 !important; -} - -html[it-player-color='deep_purple'] .ytp-swatch-color -{ - color: #673ab7 !important; -} - -html[it-player-color='indigo'] .ytp-play-progress, -html[it-player-color='indigo'] .ytp-scrubber-button, -html[it-player-color='indigo'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='indigo'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #3f51b5 !important; -} - -html[it-player-color='indigo'] .ytp-swatch-color -{ - color: #3f51b5 !important; -} - -html[it-player-color='blue'] .ytp-play-progress, -html[it-player-color='blue'] .ytp-scrubber-button, -html[it-player-color='blue'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='blue'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #1e88e5 !important; -} - -html[it-player-color='blue'] .ytp-swatch-color -{ - color: #1e88e5 !important; -} - -html[it-player-color='light_blue'] .ytp-play-progress, -html[it-player-color='light_blue'] .ytp-scrubber-button, -html[it-player-color='light_blue'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='light_blue'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #03a9f4 !important; -} - -html[it-player-color='light_blue'] .ytp-swatch-color -{ - color: #03a9f4 !important; -} - -html[it-player-color='cyan'] .ytp-play-progress, -html[it-player-color='cyan'] .ytp-scrubber-button, -html[it-player-color='cyan'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='cyan'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #00bcd4 !important; -} - -html[it-player-color='cyan'] .ytp-swatch-color -{ - color: #00bcd4 !important; -} - -html[it-player-color='teal'] .ytp-play-progress, -html[it-player-color='teal'] .ytp-scrubber-button, -html[it-player-color='teal'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='teal'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #009688 !important; -} - -html[it-player-color='teal'] .ytp-swatch-color -{ - color: #009688 !important; -} - -html[it-player-color='green'] .ytp-play-progress, -html[it-player-color='green'] .ytp-scrubber-button, -html[it-player-color='green'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='green'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #4caf50 !important; -} - -html[it-player-color='green'] .ytp-swatch-color -{ - color: #4caf50 !important; -} - -html[it-player-color='light_green'] .ytp-play-progress, -html[it-player-color='light_green'] .ytp-scrubber-button, -html[it-player-color='light_green'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='light_green'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #8bc34a !important; -} - -html[it-player-color='light_green'] .ytp-swatch-color -{ - color: #8bc34a !important; -} - -html[it-player-color='lime'] .ytp-play-progress, -html[it-player-color='lime'] .ytp-scrubber-button, -html[it-player-color='lime'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='lime'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #cddc39 !important; -} - -html[it-player-color='lime'] .ytp-swatch-color -{ - color: #cddc39 !important; -} - -html[it-player-color='yellow'] .ytp-play-progress, -html[it-player-color='yellow'] .ytp-scrubber-button, -html[it-player-color='yellow'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='yellow'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ffeb3b !important; -} - -html[it-player-color='yellow'] .ytp-swatch-color -{ - color: #ffeb3b !important; -} - -html[it-player-color='amber'] .ytp-play-progress, -html[it-player-color='amber'] .ytp-scrubber-button, -html[it-player-color='amber'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='amber'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ffc107 !important; -} - -html[it-player-color='amber'] .ytp-swatch-color -{ - color: #ffc107 !important; -} - -html[it-player-color='orange'] .ytp-play-progress, -html[it-player-color='orange'] .ytp-scrubber-button, -html[it-player-color='orange'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='orange'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ff9800 !important; -} - -html[it-player-color='orange'] .ytp-swatch-color -{ - color: #ff9800 !important; -} - -html[it-player-color='deep_orange'] .ytp-play-progress, -html[it-player-color='deep_orange'] .ytp-scrubber-button, -html[it-player-color='deep_orange'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='deep_orange'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ff5722 !important; -} - -html[it-player-color='deep_orange'] .ytp-swatch-color -{ - color: #ff5722 !important; -} - -html[it-player-color='brown'] .ytp-play-progress, -html[it-player-color='brown'] .ytp-scrubber-button, -html[it-player-color='brown'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='brown'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #795548 !important; -} - -html[it-player-color='brown'] .ytp-swatch-color -{ - color: #795548 !important; -} - -html[it-player-color='blue_gray'] .ytp-play-progress, -html[it-player-color='blue_gray'] .ytp-scrubber-button, -html[it-player-color='blue_gray'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='blue_gray'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #607d8b !important; -} - -html[it-player-color='blue_gray'] .ytp-swatch-color -{ - color: #607d8b !important; -} - -html[it-player-color='white'] .ytp-play-progress, -html[it-player-color='white'] .ytp-scrubber-button, -html[it-player-color='white'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='white'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #fff !important; -} - -html[it-player-color='white'] .ytp-swatch-color -{ - color: #fff !important; -} - - -/*----------------------------------------------------------------------------- -2.5 Transparent background ------------------------------------------------------------------------------*/ - -[it-player-transparent-background=true] #player-theater-container, -[it-player-transparent-background=true] #theater-background, -[it-player-transparent-background=true] #player-api, -[it-player-transparent-background=true] .player-api, -[it-player-transparent-background=true] #movie_player, -[it-player-transparent-background=true] #player-container, -[it-player-transparent-background=true] #movie_player video -{ - background-color: transparent !important; -} - - -/*----------------------------------------------------------------------------- -2.6 Endscreen ------------------------------------------------------------------------------*/ - -html[it-player-hide-endscreen=true] .html5-endscreen -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.7 Scroll for details ------------------------------------------------------------------------------*/ - -html[it-hide-scroll-for-details=true] button.ytp-fullerscreen-edu-button -{ - display: none !important; -} - -html[it-hide-scroll-for-details=true] ytd-app[scrolling_] -{ - overflow: hidden !important; -} - - -/*----------------------------------------------------------------------------- -2.8 Always show progress bar ------------------------------------------------------------------------------*/ - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom -{ - opacity: 1 !important; -} - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-chrome-controls -{ - opacity: 0 !important; -} - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-progress-bar-container -{ - bottom: 0 !important; -} - - -/*----------------------------------------------------------------------------- -3.0 Details ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -3.1 Hide details ------------------------------------------------------------------------------*/ - -html[it-hide-details=true] #watch-header, -html[it-hide-details=true] #watch-action-panels, -html[it-hide-details=true] #action-panel-details, -html[it-hide-details=true] #primary-inner > #info, -html[it-hide-details=true] #primary-inner > #meta -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -3.2 Views count ------------------------------------------------------------------------------*/ - -html[it-hide-views-count=true] #count.ytd-video-primary-info-renderer, -html[it-hide-views-count=true] #watch7-views-info > .watch-view-count -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -3.3 Likes ------------------------------------------------------------------------------*/ - -[it-likes=hidden] #watch8-sentiment-actions > .like-button-renderer, -[it-likes=hidden] .video-extras-sparkbar-likes, -[it-likes=hidden] .video-extras-sparkbar-dislikes, -[it-likes=hidden] #info #top-level-buttons ytd-toggle-button-renderer:nth-child(1), -[it-likes=hidden] #info #top-level-buttons ytd-toggle-button-renderer:nth-child(2), -[it-likes=hidden] #sentiment.ytd-video-primary-info-renderer -{ - visibility: hidden !important; - - pointer-events: none !important; -} - -[it-likes=icons_only] #watch8-sentiment-actions > .like-button-renderer button > span, -[it-likes=icons_only] .video-extras-sparkbar-likes, -[it-likes=icons_only] .video-extras-sparkbar-dislikes, -[it-likes=icons_only] #top-level-buttons ytd-toggle-button-renderer:nth-child(1) yt-formatted-string, -[it-likes=icons_only] #top-level-buttons ytd-toggle-button-renderer:nth-child(2) yt-formatted-string, -[it-likes=icons_only] #sentiment.ytd-video-primary-info-renderer -{ - visibility: hidden !important; - - pointer-events: none !important; -} - -[it-likes=icons_only] #text.style-scope.ytd-toggle-button-renderer.style-text, -[it-likes=icons_only] #text.style-scope.ytd-toggle-button-renderer.style-default-active -{ - visibility: hidden !important; -} - -[it-likes=icons_only] .like-button-renderer-like-button, -[it-likes=icons_only] .like-button-renderer-dislike-button -{ - color: transparent !important; -} - -[it-red-dislike-button=true] #top-level-buttons > ytd-toggle-button-renderer.style-scope.ytd-menu-renderer.force-icon-button:nth-child(2).style-default-active > a -{ - color: #fc0000 !important; -} - - -/*----------------------------------------------------------------------------- -4.0 Description ------------------------------------------------------------------------------*/ - -html[it-description=hidden] ytd-video-secondary-info-renderer ytd-expander.ytd-video-secondary-info-renderer, -html[it-description=hidden] div#action-panel-details, -html[it-description=expanded] #meta-contents ytd-expander[collapsed] paper-button, -html[it-description=expanded] #action-panel-details button -{ - display: none !important; -} - -html[it-description=expanded] #meta-contents ytd-expander[collapsed] > #content.ytd-expander, -html[it-description=expanded] #watch-description-text -{ - max-height: unset !important; -} - -html[it-description=expanded] .yt-uix-expander .yt-uix-expander-collapsed-body, -html[it-description=expanded] .yt-uix-expander-collapsed .yt-uix-expander-body -{ - display: block !important; -} - - -/*----------------------------------------------------------------------------- -5.0 Comments ------------------------------------------------------------------------------*/ - -html[it-comments=hidden] ytd-comments#comments, -html[it-comments=hidden] div#watch-discussion, -html[it-comments=collapsed].comments-collapsed #comment-section-renderer-items + button, -html[it-comments=collapsed]:not(.comments-collapsed) #improvedtube-collapsed-comments .show-more-text, -html[it-comments=collapsed].comments-collapsed #improvedtube-collapsed-comments .show-less-text, -html[it-comments=collapsed].comments-collapsed #comments #spinner -{ - display: none !important; -} - -html[it-comments=collapsed].comments-collapsed #comment-section-renderer-items, -html[it-comments=collapsed].comments-collapsed #comments #sections #contents -{ - overflow: hidden !important; - - height: 0 !important; -} - -#sections #improvedtube-collapsed-comments -{ - font-family: inherit; - font-size: 12px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 0 0 3rem; - padding: 1rem 0; - - cursor: pointer; - letter-spacing: .007px; - text-transform: uppercase; - - color: var(--yt-expand-color); - border: none; - border-bottom: 1px solid var(--yt-spec-10-percent-layer); - outline: none; - background: transparent; -} - - -/*----------------------------------------------------------------------------- -6.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -6.1 Live chat ------------------------------------------------------------------------------*/ - -html[it-livechat=hidden] ytd-live-chat-frame#chat, -html[it-livechat=hidden] div#watch-sidebar-live-chat -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -6.2 Playlist ------------------------------------------------------------------------------*/ - -html[it-hide-playlist=true] ytd-playlist-panel-renderer#playlist, -html[it-hide-playlist=true] div#player-playlist, -html[it-hide-playlist=true] #placeholder-playlist -{ - position: absolute !important; - - width: 0 !important; - height: 0 !important; - - pointer-events: none !important; - - opacity: 0 !important; -} - - -/*----------------------------------------------------------------------------- -6.3 Related videos ------------------------------------------------------------------------------*/ - -html[it-related-videos=hidden] div#related, -html[it-related-videos=hidden] div#watch7-sidebar-contents, -html[it-related-videos=collapsed].related-videos-collapsed #watch7-sidebar-modules, -html[it-related-videos=collapsed].related-videos-collapsed #related > *:not(#improvedtube-collapsed-related-videos), -html[it-related-videos=collapsed]:not(.related-videos-collapsed) #improvedtube-collapsed-related-videos .show-more-text, -html[it-related-videos=collapsed].related-videos-collapsed #improvedtube-collapsed-related-videos .show-less-text -{ - display: none !important; -} - -#improvedtube-collapsed-related-videos -{ - font-family: inherit; - font-size: 12px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 0 0 3rem; - padding: 1rem 0; - - cursor: pointer; - letter-spacing: .007px; - text-transform: uppercase; - - color: var(--yt-expand-color); - border: none; - border-bottom: 1px solid var(--yt-spec-10-percent-layer); - outline: none; - background: transparent; -} - -#watch7-sidebar #improvedtube-collapsed-related-videos -{ - font-size: 12px; - font-weight: 500; - - display: block; - - width: 95%; - height: 100%; - margin: 0 auto 15px !important; - padding: 10px 0; - - cursor: pointer; - text-align: center; - - color: #333; - border: 1px solid #d3d3d3; - border-color: #c6c6c6; - outline: 0; - background-color: #f8f8f8; - background-image: linear-gradient(to top, #f0f0f0 0, #f8f8f8 100%); - box-shadow: inset 0 1px 0 #ddd; -} - - -/*----------------------------------------------------------------------------- -7.0 Footer ------------------------------------------------------------------------------*/ - -html[it-hide-footer=true] app-drawer#guide #footer, -html[it-hide-footer=true] #footer-container.yt-base-gutter -{ - display: none !important; -} - -/*----------------------------------------------------------------------------- ->>> APPEARANCE: PLAYER SIZE -------------------------------------------------------------------------------- -1.0 Variables - 1.1 Header size - 1.1.1 «Normal» - 1.1.2 «Hidden» - 1.1.3 «Hover» - 1.2 Player size - 1.2.1 «240p» - 1.2.2 «360p» - 1.2.3 «480p» - 1.2.4 «576p» - 1.2.5 «720p» - 1.2.6 «1080p» - 1.2.7 «1440p» - 1.2.8 «2160p» - 1.2.9 «Full window» -2.0 YouTube ------------------------------------------------------------------------------*/ - - - - - -/*----------------------------------------------------------------------------- -1.0 Variables ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1 Header size ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1.1 «Normal» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"]:not([it-header-position]) ytd-app, -html[it-page-type="video"][it-header-position='normal'] ytd-app, -html[it-page-type="video"][it-header-position='static'] ytd-app -{ - --it-header-size: 56px; -} - -html[it-page-type="video"]:not([it-header-position]) ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='normal'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='static'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 104px; -} - -html[it-page-type="video"]:not([it-header-position]) div#page, -html[it-page-type="video"][it-header-position='normal'] div#page, -html[it-page-type="video"][it-header-position='static'] div#page -{ - --it-header-size: 50px; -} - -html[it-page-type="video"]:not([it-header-position]) div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='normal'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='static'] div#page:not(.watch-wide) -{ - --it-header-size: 70px; -} - -/*----------------------------------------------------------------------------- -1.1.2 «Hidden» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-header-position='hidden'], -html[it-page-type="video"][it-header-position='hidden_on_video_page'] -{ - --it-header-size: 0px; -} - -html[it-page-type="video"][it-header-position='hidden'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='hidden_on_video_page'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 48px; -} - -html[it-page-type="video"][it-header-position='hidden'] div#page, -html[it-page-type="video"][it-header-position='hidden_on_video_page'] div#page -{ - --it-header-size: 0px; -} - -html[it-page-type="video"][it-header-position='hidden'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='hidden_on_video_page'] div#page:not(.watch-wide) -{ - --it-header-size: 20px; -} - -/*----------------------------------------------------------------------------- -1.1.3 «Hover» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-header-position='hover'], -html[it-page-type="video"][it-header-position='hover_on_video_page'] -{ - --it-header-size: 14px; -} - -html[it-page-type="video"][it-header-position='hover'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='hover_on_video_page'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 62px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page, -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page -{ - --it-header-size: 12px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page:not(.watch-wide) -{ - --it-header-size: 32px; -} - -html[it-page-type="video"][it-header-position='hover'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container, -html[it-page-type="video"][it-header-position='hover_on_video_page'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container -{ - margin-top: 14px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen), -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen) -{ - margin-top: 12px; -} - - - - - -html[it-page-type="video"][it-player-size='240p'] *, -html[it-page-type="video"][it-player-size='360p'] *, -html[it-page-type="video"][it-player-size='480p'] *, -html[it-page-type="video"][it-player-size='576p'] *, -html[it-page-type="video"][it-player-size='720p'] *, -html[it-page-type="video"][it-player-size='1080p'] *, -html[it-page-type="video"][it-player-size='1440p'] *, -html[it-page-type="video"][it-player-size='2160p'] * -{ - --it-header-size: 0px !important; -} - - - - - -/*----------------------------------------------------------------------------- -1.2 Player size ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.2.1 «240p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='240p'] -{ - --it-player-size: 240px; -} - -/*----------------------------------------------------------------------------- -1.2.2 «360p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='360p'] -{ - --it-player-size: 360px; -} - -/*----------------------------------------------------------------------------- -1.2.3 «480p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='480p'] -{ - --it-player-size: 480px; -} - -/*----------------------------------------------------------------------------- -1.2.4 «576p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='576p'] -{ - --it-player-size: 576px; -} - -/*----------------------------------------------------------------------------- -1.2.5 «720p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='720p'] -{ - --it-player-size: 720px; -} - -/*----------------------------------------------------------------------------- -1.2.6 «1080p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='1080p'] -{ - --it-player-size: 1080px; -} - -/*----------------------------------------------------------------------------- -1.2.7 «1440p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='1440p'] -{ - --it-player-size: 1440px; -} - -/*----------------------------------------------------------------------------- -1.2.8 «2160p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='2160p'] -{ - --it-player-size: 2160px; -} - -/*----------------------------------------------------------------------------- -1.2.9 «Full window» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='full_window'] -{ - --it-player-size: 100vh; -} - -html[it-page-type="video"][it-player-size='fit_to_window'] -{ - --it-player-size: 100vh; -} - - - - - -/*----------------------------------------------------------------------------- -2.0 YouTube ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- ->>> PLAYER ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-container-inner -{ - padding-top: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container, -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-theater-container -{ - width: auto !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; - min-height: auto !important; - max-height: 100vh !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player -{ - background: #000 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-container -{ - position: absolute !important; - - display: flex !important; - - width: 100% !important; - height: 100% !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video -{ - position: static !important; - top: 0 !important; - left: 0 !important; - - width: auto !important; - max-width: 100% !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - - -/*FIT TO WINDOW*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-theater-container -{ - background: transparent !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) -{ - width: auto !important; - overflow: visible !important; - display: table !important; - margin: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .ytp-chrome-bottom -{ - width: calc(100% - 24px) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .html5-video-container -{ - width: auto !important; - position: static !important; - display: inline-block !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video -{ - position: static !important; - width: auto !important; - max-width: 100vw !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .ytp-iv-video-content { - pointer-events: none !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> LEGACY PLAYER ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page #player #player-api, -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .player-height -{ - height: calc(var(--it-player-size) - var(--it-header-size)) !important; - min-height: auto !important; - max-height: 100vh !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page.watch-wide #player #player-api -{ - left: 0 !important; - - width: 100% !important; - margin: 0 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .html5-video-container -{ - position: absolute !important; - - display: flex !important; - - width: 100% !important; - height: 100% !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) video -{ - position: static !important; - top: 0 !important; - left: 0 !important; - - width: auto !important; - max-width: 100% !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - - -/*FIT TO WINDOW*/ -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #placeholder-player -{ - display: none !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player -{ - width: auto !important; - margin-bottom: 10px !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player #player-api -{ - display: table !important; - width: auto !important; - margin: auto !important; - left: 0 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #theater-background -{ - display: none !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player-mole-container -{ - height: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player #player-api.player-height -{ - height: auto !important; - position: static !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) -{ - width: auto !important; - height: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .html5-video-container -{ - position: static !important; - width: auto !important; - height: auto !important; -} - -/*html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) video -{ - z-index: 9 !important; -}*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .ytp-iv-video-content { - pointer-events: none !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> PLAYER ERROR ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) .ytp-error .ytp-tv-static -{ - width: 100% !important; - height: 100% !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> PLAYER TOOLTIP ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) .ytp-tooltip -{ - top: unset !important; - bottom: 64px !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> LEGACY SIDEBAR ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page:not(.watch-wide) #watch7-sidebar -{ - top: unset !important; - - margin-top: calc(-10px - calc(var(--it-player-size) - var(--it-header-size))) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page.watch-wide #watch-appbar-playlist -{ - top: 230px !important; -} - -html[it-page-type="video"][it-player-size='fit_to_window'] div#page.watch-wide #watch-appbar-playlist -{ - top: -360px !important; -} - - - - - - - - - - - - - - -html[it-page-type="video"][it-header-position='hover'][it-player-size='full_window'] ytd-app:not([masthead-hidden_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover'][it-player-size='full_window'] ytd-app:not([scrolling_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover_on_video_page'][it-player-size='full_window'] ytd-app:not([masthead-hidden_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover_on_video_page'][it-player-size='full_window'] ytd-app:not([scrolling_]) .html5-video-player -{ - margin-top: 14px !important; -} - -.improvedtube-add-to-blacklist -{ - font-size: 32px; - line-height: 26px; - - position: absolute; - z-index: 999; - top: 4px; - left: 4px; - - visibility: hidden; - overflow: hidden; - - width: 32px; - height: 32px; - - cursor: pointer; - transition: transform .15s; - transform: scale(1); - text-align: center; - - opacity: .7; - color: #fff; - border-radius: 2px; - background: #000; -} - -*:hover > .improvedtube-add-to-blacklist -{ - visibility: visible; -} - -.improvedtube-add-to-blacklist:hover -{ - transform: scale(1.25); -} - -/*----------------------------------------------------------------------------- ->>> CHANNEL -------------------------------------------------------------------------------- -1.0 Featured content ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Featured content ------------------------------------------------------------------------------*/ - -html[it-channel-hide-featured-content=true] #secondary.ytd-two-column-browse-results-renderer, -html[it-channel-hide-featured-content=true] .branded-page-v2-secondary-col -{ - display: none !important; -} - -/*----------------------------------------------------------------------------- ->>> GENERAL -------------------------------------------------------------------------------- -1.0 YouTube Home Page -2.0 Add «Scroll to top» -3.0 Squared user images -4.0 Hide animated thumbnails -5.0 Better subscriptions -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 YouTube Home Page ------------------------------------------------------------------------------*/ - -html[it-page-type=home][it-youtube-home-page=search], -html[it-page-type=home][it-youtube-home-page=search] app-drawer[opened], -html[it-page-type=home][it-youtube-home-page=search] #appbar-guide-menu -{ - visibility: hidden !important; - overflow: hidden !important; - - width: 100vw !important; - height: 100vh !important; - - pointer-events: none !important; -} - -html[it-page-type=home][it-youtube-home-page=search] ytd-searchbox#search, -html[it-page-type=home][it-youtube-home-page=search] #yt-masthead-content -{ - position: fixed !important; - z-index: 99999 !important; - top: 0 !important; - left: 0 !important; - - display: flex !important; - visibility: visible !important; - - width: 100vw !important; - height: 100vh !important; - margin: 0 !important; - - pointer-events: all !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type=home][it-youtube-home-page=search] #yt-masthead-content > form -{ - width: 100% !important; -} - -html[it-page-type=home][it-youtube-home-page=search] .gstl_50.sbdd_a -{ - z-index: 99999 !important; - - visibility: visible !important; - - pointer-events: all !important; -} - - -/*----------------------------------------------------------------------------- -2.0 Add «Scroll to top» ------------------------------------------------------------------------------*/ - -#it-scroll-to-top -{ - position: fixed; - z-index: 999; - right: 32px; - bottom: 32px; - - display: flex; - visibility: hidden; - - box-sizing: border-box; - width: 56px; - height: 56px; - - cursor: pointer; - transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; - transform: translateY(88px); - pointer-events: none; - - opacity: 0; - border-radius: 50%; - background: linear-gradient(135deg, #f8d266, #f17953); - box-shadow: 0 1px 1px 1px rgba(230, 109, 70, .7), 0 3px 5px rgba(0,0,0,.35); - - justify-content: center; - align-items: center; -} - -html[it-show-scroll-to-top=true] #it-scroll-to-top -{ - visibility: visible; - - transform: translateY(0px); - pointer-events: all; - - opacity: 1; -} - -html:not([it-red-popup-theme]) #it-scroll-to-top, -html[it-red-popup-theme="true"] #it-scroll-to-top -{ - background: #f73030; - box-shadow: 0 3px 5px rgba(0,0,0,.35); -} - -#it-scroll-to-top > svg -{ - width: 24px; - - fill: #fff; -} - -html[it-show-scroll-to-top="true"] #it-scroll-to-top:hover -{ - transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; - transform: translateY(4px) scale(.975); - box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12); -} - - -/*----------------------------------------------------------------------------- -3.0 Squared user images ------------------------------------------------------------------------------*/ - -html[it-squared-user-images=true] #avatar.ytd-shelf-renderer, -html[it-squared-user-images=true] yt-img-shadow, -html[it-squared-user-images=true] #yt-masthead-user .yt-masthead-user-icon -{ - border-radius: unset !important; -} - - -/*----------------------------------------------------------------------------- -4.0 Hide animated thumbnails ------------------------------------------------------------------------------*/ - -html[it-hide-animated-thumbnails=true] #mouseover-overlay, -html[it-hide-animated-thumbnails=true] .mouseover-play, -html[it-hide-animated-thumbnails=true] .mouseover-img -{ - visibility: hidden !important; -} - - -/*----------------------------------------------------------------------------- -5.0 Better subscriptions ------------------------------------------------------------------------------*/ - -#browse-items-primary .section-list > li .shelf-title-cell -{ - display: flex; -} - -#browse-items-primary .section-list > li .shelf-title-row -{ - display: flex; - - justify-content: space-between; -} - -ytd-item-section-renderer .grid-subheader + #contents, -#browse-items-primary .section-list > li, -#browse-items-primary .section-list > li .multirow-shelf -{ - overflow: hidden; -} - -ytd-item-section-renderer.it-section-collapsed .grid-subheader + #contents, -#browse-items-primary .section-list > li.it-section-collapsed .multirow-shelf -{ - height: 0 !important; -} - -#browse-items-primary .section-list > li .it-section-collapse -{ - margin-left: 16px; -} - -ytd-item-section-renderer .it-section-collapse, -#browse-items-primary .section-list > li .it-section-collapse -{ - cursor: pointer; -} - -ytd-item-section-renderer .it-section-collapse svg, -#browse-items-primary .section-list > li .it-section-collapse svg -{ - width: 24px; - height: 24px; - - transition: transform 150ms; - - fill: var(--ytd-menu-renderer-button-color, var(--yt-spec-icon-inactive)); -} - -#browse-items-primary .section-list > li .it-section-collapse svg -{ - position: relative; - top: -2px; -} - -ytd-item-section-renderer .it-section-collapse:hover svg, -#browse-items-primary .section-list > li .it-section-collapse:hover svg -{ - fill: var(--yt-spec-icon-active-other); -} - -ytd-item-section-renderer.it-section-collapsed .it-section-collapse svg, -#browse-items-primary .section-list > li.it-section-collapsed .it-section-collapse svg -{ - transform: rotate(180deg); -} - - -/*----------------------------------------------------------------------------- -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -.it-mark-watched -{ - position: absolute; - z-index: 999; - bottom: 4px; - left: 4px; - - visibility: hidden; - overflow: hidden; - - width: 28px; - height: 28px; - - cursor: pointer; - text-align: center; - - color: #fff; - border-radius: 2px; - background: rgba(0,0,0,.8); -} - -.it-mark-watched svg -{ - position: absolute; - top: 4px; - left: 4px; - - width: 20px; - height: 20px; - - fill: var(--ytd-menu-renderer-button-color, var(--yt-spec-icon-inactive, #aaa)); -} - -*:hover > .it-mark-watched -{ - visibility: visible; -} - -.it-mark-watched.watched svg -{ - fill: var(--yt-spec-icon-active-other, #fff); -} - - - - -/*html[it-remove-related-search-results=true] ytd-shelf-renderer.style-scope.ytd-item-section-renderer, -html[it-remove-related-search-results=true] ytd-horizontal-card-list-renderer.style-scope.ytd-item-section-renderer, -html[it-remove-related-search-results=true] li > div.feed-item-container.browse-list-item-container.yt-section-hover-container.compact-shelf.shelf-item.branded-page-box, -html[it-remove-related-search-results=true] li > div.search-refinements -{ - display: none; -}*/ - -.it-rate-notify -{ - position: fixed; - z-index: 99999999; - right: 24px; - bottom: 24px; - - visibility: hidden; - overflow: hidden; - - width: 300px; - padding-left: 96px; - - transition: transform 200ms; - transform: translate(0, 100%); - - opacity: 0; - border-radius: 16px; - background-image: linear-gradient(-20deg, #e9defa 0%, #e9defa 50%, #fbfcdb 100%); - box-shadow: 0 4px 12px rgba(0, 0, 0, .3); -} - -html:not([it-page-type='video']) .it-rate-notify.it-rate-notify--show -{ - visibility: visible; - - transform: translate(0,0); - animation: 1s infinite it-popup-background; - animation-timing-function: linear; - - opacity: 1; -} - -.it-rate-notify__heart -{ - position: absolute; - z-index: -1; - top: 20px; - left: 20px; - - width: 80px; - height: 80px; - - fill: url(#itHeartGradient); -} - -.it-rate-notify.it-rate-notify--show .it-rate-notify__heart -{ - animation: .8s infinite it-heart-beat; -} - -.it-rate-notify__title -{ - font-size: 18px; - font-weight: 500; - line-height: 27px; - - margin: 20px 24px; - - letter-spacing: .03125em; - - color: rgba(51, 38, 25, .8); -} - -.it-rate-notify__footer -{ - display: flex; - - padding: 8px; - - align-items: center; - justify-content: flex-end; -} - -.it-rate-notify__footer > button -{ - font: 500 18px 'Roboto'; - - min-width: 64px; - height: 36px; - padding: 0 8px; - - cursor: pointer; - transition: 150ms; - - color: rgba(255, 8, 68,.65); - border: none; - outline: none; - background: none; -} - -.it-rate-notify__footer > button:hover -{ - transform: scale(1.05); - - color: rgba(255, 8, 68,.85); -} - -.it-rate-notify__footer > button:last-child -{ - color: rgba(51, 38, 25, .25); -} - -.it-rate-notify__footer > button:last-child:hover -{ - color: rgba(51, 38, 25, .85); -} - -@keyframes it-popup-background -{ - 0% - { - background-image: linear-gradient(-20deg, #e9defa 0%, #e9defa 50%, #fbfcdb 100%); - } - 50% - { - background-image: linear-gradient(-20deg, #e9defa 0%, #fbfcdb 50%, #e9defa 100%); - } - 100% - { - background-image: linear-gradient(-20deg, #fbfcdb 0%, #e9defa 50%, #e9defa 100%); - } -} - -@keyframes it-heart-beat -{ - 0% - { - transform: scale(1); - } - 25% - { - transform: scale(1.1); - } - 40% - { - transform: scale(1); - } - 60% - { - transform: scale(1.1); - } - 100% - { - transform: scale(1); - } -} - -/*----------------------------------------------------------------------------- ->>> PLAYER -------------------------------------------------------------------------------- -1.0 Ads -2.0 Mini player - 2.1 Position and size - 2.2 Dragging - 2.3 Multipage -3.0 Custom player button - 3.1 Repeat - 3.2 Screenshot - 3.3 Rotate - 3.4 Popup -4.0 Crop chapter titles ------------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -1.0 Ads ----------------------------------------------------------------*/ - -/*html[it-player-ads="block_all"] .video-ads.ytp-ad-module, -html[it-player-ads="subscribed_channels"] .video-ads.ytp-ad-module -{ - display: none !important -}*/ - - -/*----------------------------------------------------------------------------- -2.0 Mini player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 Position and size ------------------------------------------------------------------------------*/ - -.it-mini-player -{ - position: fixed !important; - z-index: 2147483648 !important; - left: 0!important; - top: 0!important; - - box-shadow: rgba(0, 0, 0, .4) 0 2px 8px !important; - - will-change: transform, width, height !important; - - background: #000 !important; -} - -html[it-page-type="video"][it-header-position="hover_on_video_page"][it-player-size="full_window"] .html5-video-player.it-mini-player, -html[it-page-type="video"][it-header-position="hover"][it-player-size="full_window"] .html5-video-player.it-mini-player -{ - margin-top: 0!important; -} - -.it-mini-player .html5-video-container, -.it-mini-player video -{ - left: 0 !important; - top: 0 !important; - width: 100% !important; - height: 100% !important; -} - -.it-mini-player .ytp-chrome-bottom -{ - width: calc(100% - 24px) !important; -} - -.it-mini-player .ytp-chapter-hover-container -{ - width: 100% !important; -} - -html[it-mini-player=true] .ytp-contextmenu -{ - z-index: 2147483649 !important; -} - -.it-mini-player .ytp-miniplayer-button, -.it-mini-player .ytp-size-button -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.2 Dragging ------------------------------------------------------------------------------*/ - -.improvedtube-mini-player.dragging -{ - pointer-events: none !important; -} - -.improvedtube-mini-player.dragging *:not(.html5-video-container):not(video) -{ - visibility: hidden !important; -} - -html[data-cursor='w-resize'], -html[data-cursor='w-resize'] * -{ - cursor: w-resize !important; -} - -html[data-cursor='e-resize'], -html[data-cursor='e-resize'] * -{ - cursor: e-resize !important; -} - -html[it-mini-player-cursor='n-resize']::after, -html[it-mini-player-cursor='e-resize']::after, -html[it-mini-player-cursor='s-resize']::after, -html[it-mini-player-cursor='w-resize']::after, -html[it-mini-player-cursor='ne-resize']::after, -html[it-mini-player-cursor='se-resize']::after, -html[it-mini-player-cursor='sw-resize']::after, -html[it-mini-player-cursor='nw-resize']::after -{ - content: ''; - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - z-index: 2147483650; -} - -html[it-mini-player-cursor='n-resize']::after -{ - cursor: n-resize; -} - -html[it-mini-player-cursor='e-resize']::after -{ - cursor: e-resize; -} - -html[it-mini-player-cursor='s-resize']::after -{ - cursor: s-resize; -} - -html[it-mini-player-cursor='w-resize']::after -{ - cursor: w-resize; -} - -html[it-mini-player-cursor='ne-resize']::after -{ - cursor: ne-resize; -} - -html[it-mini-player-cursor='se-resize']::after -{ - cursor: se-resize; -} - -html[it-mini-player-cursor='sw-resize']::after -{ - cursor: sw-resize; -} - -html[it-mini-player-cursor='nw-resize']::after -{ - cursor: nw-resize; -} - - -/*----------------------------------------------------------------------------- -2.3 Multipage ------------------------------------------------------------------------------*/ - -html[it-mini-player=true] ytd-watch-flexy[hidden] -{ - position: absolute !important; - top: 0 !important; - left: 0 !important; - - display: block !important; - visibility: hidden !important; - - max-width: 100% !important; - - pointer-events: none !important; -} - -html[it-mini-player=true] ytd-watch-flexy[hidden] .ytd-watch-next-secondary-results-renderer -{ - display: none; -} - -html[it-mini-player=true] ytd-watch-flexy[hidden] .improvedtube-mini-player -{ - position: fixed !important; - - visibility: visible !important; - - pointer-events: all !important; -} - - -/*----------------------------------------------------------------------------- -3.0 Custom player button ------------------------------------------------------------------------------*/ - -#it-repeat-button, -#it-screenshot-button, -#it-rotate-button, -#it-popup-player-button -{ - position: relative !important; -} - -.html5-video-player.ytp-big-mode #it-repeat-button svg, -.html5-video-player.ytp-big-mode #it-screenshot-button svg, -.html5-video-player.ytp-big-mode #it-rotate-button svg, -.html5-video-player.ytp-big-mode #it-popup-player-button svg -{ - top: 10px !important; - left: 10px !important; - - width: 34px !important; -} - -#it-repeat-button svg, -#it-screenshot-button svg, -#it-rotate-button svg, -#it-popup-player-button svg -{ - position: absolute !important; - - fill: #fff !important; -} - - -/*----------------------------------------------------------------------------- -3.1 Repeat ------------------------------------------------------------------------------*/ - -#it-repeat-button svg -{ - top: 6px !important; - left: 6px !important; - - width: 24px !important; -} - - -/*----------------------------------------------------------------------------- -3.2 Screenshot ------------------------------------------------------------------------------*/ - -#it-screenshot-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - -/*----------------------------------------------------------------------------- -3.3 Rotate ------------------------------------------------------------------------------*/ - -#it-rotate-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - -/*----------------------------------------------------------------------------- -3.4 Popup ------------------------------------------------------------------------------*/ - -#it-popup-player-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - - - - - - - - - - - -.it-player-button -{ - position: relative !important; - - overflow: visible !important; -} - -.it-player-button::before -{ - font-size: 13px; - font-weight: 600; - line-height: 13px; - - position: absolute; - top: -38px; - left: 50%; - - visibility: hidden; - - min-height: unset; - padding: 5px 9px; - - content: attr(data-title); - transform: translateX(-50%); - pointer-events: none; - - border-radius: 2px; - background-color: rgba(28,28,28,.9); -} - -.it-player-button:hover::before -{ - visibility: visible; - - pointer-events: all; -} - - - - - - -/*----------------------------------------------------------------------------- -4.0 Crop chapter titles ------------------------------------------------------------------------------*/ - -html[it-player-crop-chapter-titles='false'] .ytp-chapter-title -{ - width: auto !important; -} - -html[it-youtube-version=new] #it-playlist-reverse -{ - display: flex; - - width: 40px; - margin-left: 8px; - - cursor: pointer; - - align-items: center; - justify-content: center; -} - -html[it-youtube-version=new] #it-playlist-reverse svg -{ - fill: var(--iron-icon-fill-color, #909090); -} - -html[it-youtube-version=new] #it-playlist-reverse.yt-uix-button-toggled svg -{ - fill: var(--yt-spec-call-to-action); -} - -html[it-youtube-version=old] #it-playlist-reverse -{ - display: inline-block; - - box-sizing: border-box; - width: 26px; - height: 28px; - margin: 0 0 0 8px; - padding: 2px 1px; - - cursor: pointer; - vertical-align: middle; - - opacity: .5; -} - -html[it-youtube-version=old] #it-playlist-reverse.yt-uix-button-toggled -{ - opacity: 1; -} - -html[it-youtube-version=old] #it-playlist-reverse svg -{ - fill: #fff; -} - -/*----------------------------------------------------------------------------- ->>> SETTINGS -------------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -html[it-improvedtube-youtube-icon='below_player'] .title.ytd-video-primary-info-renderer -{ - overflow: visible !important; -} - -html[it-improvedtube-youtube-icon='below_player'] h1.watch-title-container -{ - display: inline-block !important; -} - -html[it-improvedtube-youtube-icon='draggable'] .it-btn -{ - position: fixed; - z-index: 2147483645; - top: calc(100vh - 56px); - left: calc(100vw - 64px); -} - -.it-btn -{ - z-index: 2147483645; - - user-select: none; -} - -#container.ytd-masthead > .it-btn -{ - margin: 0 12px 0 0; -} - -.yt-masthead-logo-container > .it-btn -{ - float: left; - - margin: 0 12px 0 0; -} - -#end #buttons .it-btn -{ - margin: 3px 0 0 0; -} - -#yt-masthead-user > .it-btn -{ - float: right; - - margin: -2px 0 0 14px; -} - -.title.ytd-video-primary-info-renderer > .it-btn, -#watch-headline-title > .it-btn -{ - float: right; -} - -.it-btn__scrim -{ - position: fixed; - z-index: 2147483645; - top: 0; - left: 0; - - visibility: hidden; - - width: 100%; - height: 100vh; - - transition: 150ms; - pointer-events: none; - - opacity: 0; - background: #000; -} - -.it-btn__icon -{ - position: relative; - z-index: 2147483645; - - width: 32px; - height: 32px; - margin: 0 0 2px 0; - - cursor: pointer; - - border-radius: 50%; - background: #f00; -} - -.it-btn__icon::after -{ - position: absolute; - top: 9px; - left: 12px; - - display: block; - - content: ''; - - opacity: .9; - border-top: 7px solid transparent; - border-bottom: 7px solid transparent; - border-left: 11px solid #fff; -} - -.it-btn__iframe -{ - position: absolute; - z-index: 2147483645; - top: 50px; - - visibility: hidden; - - width: 320px; - max-width: 80vw; - height: 500px; - max-height: 80vh; - - transition: opacity 150ms; - pointer-events: none; - - opacity: 0; -} - -#end #buttons .it-btn__iframe, -#yt-masthead-user .it-btn__iframe -{ - right: 0; - left: auto; -} - -.it-btn.it-btn--active .it-btn__scrim -{ - visibility: visible; - - pointer-events: all; - - opacity: .5; -} - -.it-btn.it-btn--active .it-btn__iframe -{ - visibility: visible; - - pointer-events: all; - - opacity: 1; -} - -.it-btn--dragging, -.it-btn--dragging .it-btn__icon, -.it-btn--dragging .it-btn__iframe -{ - pointer-events: none !important; -} - -.it-btn--dragging .it-btn__iframe -{ - opacity: .75 !important; -} - -#it-status -{ - font-size: 5rem; - - position: absolute; - top: 2rem; - right: 3rem; - - color: #0ff; - text-shadow: 1px 1px 2px #000; -} - -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Bluelight -2.0 Dim ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Bluelight ------------------------------------------------------------------------------*/ - -html[it-bluelight] -{ - height: auto !important; -} - -html[it-bluelight], -html[it-bluelight] .html5-video-player.ytp-fullscreen -{ - filter: url(#it-bluelight-filter) !important; -} - -#it-bluelight -{ - position: fixed !important; - top: 0 !important; - left: 0 !important; - - visibility: hidden !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; -} - -html[it-bluelight][it-youtube-version=old] -{ - background-color: #f1f1f1; -} - -html[it-bluelight][it-youtube-version=old] body -{ - min-height: 100vh; -} - - -/*----------------------------------------------------------------------------- -2.0 Dim ------------------------------------------------------------------------------*/ - -#it-dim -{ - position: fixed !important; - z-index: 2147483645 !important; - top: 0 !important; - left: 0 !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; - - background: #000 !important; -} - -#it-dim-player -{ - position: fixed !important; - z-index: 2147483645 !important; - top: 0 !important; - left: 0 !important; - - visibility: hidden !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; - - background: #000 !important; -} - -.html5-video-player.ytp-fullscreen #it-dim-player -{ - visibility: visible !important; -} - -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -html[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; -} - - - -@media (prefers-color-scheme: dark) { - [it-black-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-black-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-black-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-black-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-black-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-black-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-black-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-black-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-black-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-black-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-black-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-black-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-black-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-black-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; - } -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; -} -html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); -} - - - - - -@media (prefers-color-scheme: dark) { - [it-dawn-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-dawn-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-dawn-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-dawn-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-dawn-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-dawn-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; - } - html[it-dawn-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-dawn-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-dawn-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-dawn-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-dawn-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-dawn-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-dawn-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; - } - html[it-dawn-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); - } -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; -} - -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #masthead-search-term -{ - border: 1px solid #444!important; - border-right: none!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light])[youtube-version=old] body -{ - height: auto; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - background: var(--yt-swatch-primary-darker)!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) -{ - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; -} - -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light])[youtube-version=old] body -{ - height: auto!important; - - background: rgb(19,19,19)!important; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-youtube-version=old][it-default-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] #masthead-search-term - { - border: 1px solid #444!important; - border-right: none!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] html[youtube-version=old] body - { - height: auto; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] - { - background: var(--yt-swatch-primary-darker)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) - { - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark][youtube-version=old] body - { - height: auto!important; - - background: rgb(19,19,19)!important; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-youtube-version=old][it-default-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] #masthead-search-term - { - border: 1px solid #444!important; - border-right: none!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] html[youtube-version=old] body - { - height: auto; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] - { - background: var(--yt-swatch-primary-darker)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) - { - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light][youtube-version=old] body - { - height: auto!important; - - background: rgb(19,19,19)!important; - } -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-desert-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-desert-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-desert-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-desert-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-desert-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-desert-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-desert-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-desert-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-desert-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-desert-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-desert-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-desert-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; - } -} -html[it-theme=true] #author-name.style-scope.yt-live-chat-message-input-renderer, -html[it-theme=true] #content #message.yt-live-chat-text-message-renderer, -html[it-theme=true] #delete-account-confirm, -html[it-theme=true] #delete-account-confirm .account-section-setting, -html[it-theme=true] #image-upload .image-upload-disclaimer, -html[it-theme=true] #subtext.yt-live-chat-message-renderer, -html[it-theme=true] #unlimited-manage-page .account-additional-info, -html[it-theme=true] #welcome-edit-overlay, -html[it-theme=true] .account-ad-defaults-note, -html[it-theme=true] .account-content, -html[it-theme=true] .account-header h1, -html[it-theme=true] .account-info-item .account-info-join, -html[it-theme=true] .account-section-subtext, -html[it-theme=true] .account-sharing-notes, -html[it-theme=true] .account-sharing-preference.disabled .preference-label, -html[it-theme=true] .c4-checklist-done-message, -html[it-theme=true] .c4-checklist-module .checklist-item.acknowledged .todo-title-text, -html[it-theme=true] .c4-checklist-module .checklist-item.done .checklist-item-title-text, -html[it-theme=true] .c4-checklist-module .checklist-item.done .todo-title-text, -html[it-theme=true] .c4-module-editor-form .yt-uix-form-input-select, -html[it-theme=true] .c4-module-editor-form .yt-uix-form-input-text, -html[it-theme=true] .c4-module-editor-form .yt-uix-form-input-textarea, -html[it-theme=true] .c4-module-editor-header-title, -html[it-theme=true] .close-account-warnings, -html[it-theme=true] .email-resumed-reminder, -html[it-theme=true] .empty-shelf-text, -html[it-theme=true] .filter, -html[it-theme=true] .filter-col-title, -html[it-theme=true] .make-private-warnings, -html[it-theme=true] .paper-menu .yt-formatted-string-0, -html[it-theme=true] .search-header .num-results, -html[it-theme=true] .search-header .num-results strong, -html[it-theme=true] .search-header .yt-uix-button-content, -html[it-theme=true] .setting-reminder, -html[it-theme=true] .settings-dialog-fg h2, -html[it-theme=true] .style-scope.yt-live-chat-message-input-renderer, -html[it-theme=true] .style-scope.yt-live-chat-text-input-field-renderer, -html[it-theme=true] .yt-dialog-fg-content, -html[it-theme=true] .yt-live-chat-header-renderer-0, -html[it-theme=true] .yt-live-chat-header-renderer-0 #action-buttons.yt-live-chat-header-renderer > .yt-live-chat-header-renderer, -html[it-theme=true] .yt-live-chat-header-renderer-0 #overflow.yt-live-chat-header-renderer, -html[it-theme=true] .yt-live-chat-message-renderer-0 #button.yt-live-chat-message-renderer, -html[it-theme=true] .yt-live-chat-text-message-renderer-0 #content.yt-live-chat-text-message-renderer, -html[it-theme=true] .yt-subscription-button-subscriber-count-branded-horizontal, -html[it-theme=true] .yt-subscription-button-subscriber-count-unbranded-horizontal, -html[it-theme=true] .yt-uix-button-has-icon.no-icon-markup .yt-uix-button-content, -html[it-theme=true] .yt-uix-form-input-checkbox-container.disabled .account-privacy-checkbox-label, -html[it-theme=true] .yt-uix-overlay-fg-content, -html[it-theme=true] .yt-video-picker-grid .item-caption.upload-time, -html[it-theme=true] .yt-video-picker-grid .item-caption.view-count, -html[it-theme=true] .ytd-menu-service-item-renderer-0 yt-formatted-string.ytd-menu-service-item-renderer, -html[it-theme=true] h3.account-section-header -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-ui-ellipsis -{ - background: 0 0!important; -} -html[it-theme=true]:not([it-theme=desert]) .yt-uix-button-has-icon.no-icon-markup:before, -html[it-theme=true]:not([it-theme=desert]) .yt-uix-button-icon, -html[it-theme=true]:not([it-theme=desert]) .yt-sprite -{ - -webkit-filter: contrast(0) brightness(3); - filter: contrast(0) brightness(3); -} -html[it-theme=true] #content #author-name.yt-live-chat-text-message-renderer -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .paper-menu a:hover, -html[it-theme=true] .yt-live-chat-message-renderer-0, -html[it-theme=true] .ytd-menu-service-item-renderer-0:hover -{ - background-color: rgba(255,255,255,.05)!important; -} -html[it-theme=true] .yt-live-chat-header-renderer-0 -{ - -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); - box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); -} -html[it-theme=true] .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-video-picker-scroll-container -{ - border: 1px solid #cbcbcb; -} -html[it-theme=true] .yt-video-picker-grid .video-picker-item:hover -{ - background-color: #ddd; -} -html[it-theme=true] .yt-video-picker-grid .selected-video-picker-item, -html[it-theme=true] .yt-video-picker-grid .selected-video-picker-item:hover -{ - background-color: #ccc; -} -html[it-theme=true] .yt-live-chat-text-message-renderer-0 #menu.yt-live-chat-text-message-renderer -{ - background: 0 0!important; -} -html[it-theme=true] .paper-icon-button-0 .paper-icon-button path, -html[it-theme=true] .yt-live-chat-text-message-renderer-0 #menu #menu-button path -{ - fill: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-live-chat-item-list-renderer-1 paper-icon-button.yt-live-chat-item-list-renderer path -{ - fill: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-video-picker-sort-options:hover -{ - border-color: var(--yt-swatch-primary); -} -html[it-theme=true] .account-container, -html[it-theme=true] .nbc, -html[it-theme=true] .paper-menu-0, -html[it-theme=true] .yt-live-chat-message-input-renderer-0, -html[it-theme=true] .yt-live-chat-message-renderer-0 #button.yt-live-chat-message-renderer -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-live-chat-text-input-field-renderer-0 #unfocused.yt-live-chat-text-input-field-renderer -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-sidebar-accounts-signin-cta -{ - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-sidebar-accounts-signin-cta-triangle -{ - border-bottom: 10px solid var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-sidebar-accounts-signin-cta-text -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-live-chat-message-input-renderer-0 -{ - border-top: 1px solid var(--yt-swatch-primary); -} -html[it-theme=true] .account-content .account-section.account-bordered-section -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .account-section .non-profit .wallet-details -{ - color: #518442; -} -html[it-theme=true] .account-section .transfer_channel_disabled, -html[it-theme=true] .channel-privacy .toggle-button .help-text -{ - color: #9e9e9e; -} -html[it-theme=true] .channel-privacy .progress-bar-background -{ - border: 1px solid #e7e7e7; -} -html[it-theme=true] .channel-privacy .progress-bar-progress -{ - border: 1px solid #d3e9fb; -} -html[it-theme=true] .account-section .account-status-expanded, -html[it-theme=true] .confirm-overlay, -html[it-theme=true] .confirm-overlay-content, -html[it-theme=true] .yt-live-chat-header-renderer-0, -html[it-theme=true] .yt-live-chat-renderer-0 -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .channel-privacy .progress-bar-progress-text, -html[it-theme=true] .channel-privacy .progress-bar-status-text, -html[it-theme=true] .empty-upsell-messages h2 -{ - color: #444; -} -html[it-theme=true] .account-section-videos-subtext -{ - color: #9e9e9e; -} -html[it-theme=true] .account-section .account-section-not-saved-notice -{ - color: #c03636; -} -html[it-theme=true] .account-info .channel-title-change-button.yt-uix-expander-head, -html[it-theme=true] .filter:hover -{ - color: #167ac6!important; -} -html[it-theme=true] .confirm-overlay-content, -html[it-theme=true] .defaults-monetization-disclaimer, -html[it-theme=true] .desktop-notifications .browser -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .id-revert-activity-section, -html[it-theme=true] .id-revert-fb-caption, -html[it-theme=true] .id-revert-fb-why-section, -html[it-theme=true] .id-revert-middle-section -{ - border: 1px solid #d8d8d8; -} -html[it-theme=true] .defaults-monetization-disclaimer -{ - background: var(--yt-swatch-text); -} -html[it-theme=true] #video-still-picker li.selected -{ - background: #6683b3; -} -html[it-theme=true] .id-revert-top-section -{ - background-color: #f5f5f5; -} -html[it-theme=true] .id-revert-buttons-container -{ - border: 1px solid #d8d8d8; - background-color: #e8e8e8; -} -html[it-theme=true] .id-revert-not-checked-err -{ - color: red; -} -html[it-theme=true] .desktop-notifications .browser -{ - background: #1c2022!important; -} -input, -textarea -{ - background-color: transparent!important; -} -html[it-theme=true] .yt-unlimited-inline-offer -{ - border-bottom: 1px solid #e6e6e6; -} -html[it-theme=true] .c4-module-editor-header-hr, -html[it-theme=true] .yt-uix-button-c4-view-action -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-unlimited-inline-offer .yt-unlimited-metadata -{ - color: #000; -} -html[it-theme=true] .yt-unlimited-inline-offer .metadata-item -{ - color: #757575; -} -html[it-theme=true] #c4-legal-info-editor #c4-legal-info:hover, -html[it-theme=true] .c4-module-editor-form -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-c4-view-action -{ - border-left: 1px solid var(--yt-swatch-primary)!important; - background-color: #fbfbfb; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05); - box-shadow: 0 1px 1px rgba(0,0,0,.05); -} -html[it-theme=true] .yt-uix-button-c4-view-action.yt-uix-button-destructive -{ - background-color: #cc181e; -} -html[it-theme=true] .yt-uix-button-c4-view-action .yt-uix-button-arrow -{ - border-top-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #about-business-email-form, -html[it-theme=true] .about-metadata .yt-uix-button-c4-view-action, -html[it-theme=true] .about-metadata-editor-form, -html[it-theme=true] .about-metadata-secondary-col .c4-module-editor-actions -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #c4-spotlight-editor .yt-uix-inlineedit-form-container .c4-featured-content, -html[it-theme=true] #c4-spotlight-editor .yt-uix-inlineedit-form-container .upsell, -html[it-theme=true] .c4-checklist-module -{ - border: 1px solid var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .c4-checklist-module .checklist-item-title-text -{ - color: var(--yt-swatch-text)!important; -} -a, -html[it-theme=true] .c4-checklist-module .checklist-item-title-text:hover, -html[it-theme=true] .c4-checklist-module .checklist-item.done .checklist-item-title-text:hover, -html[it-theme=true] .c4-checklist-module .checklist-item:hover .checklist-item-title-text .todo-title-text, -html[it-theme=true] .c4-checklist-module .view-all-link a:hover, -html[it-theme=true] .yt-alert-naked .yt-alert-content a -{ - color: #167ac6; -} -html[it-theme=true] .c4-checklist-module .todo-description -{ - border-bottom: 1px solid var(--yt-swatch-text); -} -html[it-theme=true] #other-channels-sidebar:hover, -html[it-theme=true] .about-business-email-editor .c4-module-is-editable:hover, -html[it-theme=true] .about-description-editor .c4-module-is-editable:hover, -html[it-theme=true] .about-metadata-editor .c4-module-is-editable:hover, -html[it-theme=true] .related-channels-editor:hover -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .related-channels-toggle-group .yt-uix-expander-head:hover -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .c4-shelf-preview, -html[it-theme=true] .c4-shelf-preview .preview-click-guard, -html[it-theme=true] body.kevlar-homepage -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .c4-shelf-preview -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #c4-spotlight-editor .spotlight-editor-tab -{ - border-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #upsell-video-video-container -{ - color: #888; -} -html[it-theme=true] #c4-upsell-preview .empty-trailer-preview .no-trailer-message, -html[it-theme=true] #welcome-edit-overlay .welcome-setting-details, -html[it-theme=true] #welcome-settings-hints p, -html[it-theme=true] .c4-featured-content-editor .c4-featured-content-notes.byline, -html[it-theme=true] .empty-upsell-messages p -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .empty-upsell-video-content -{ - border: 1px dashed #e9e9e9; -} -html[it-theme=true] .c4-spotlight-loading-overlay -{ - background: #ccc; -} -html[it-theme=true] .c4-featured-content-editor .c4-featured-content-column -{ - border-left: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #view-as-notification -{ - color: var(--yt-swatch-text); - background-color: #438bc5; -} -html[it-theme=true] #c4-header-bg-container .c4-header-bg-message .c4-header-bg-message-content -{ - color: var(--yt-swatch-text); - background-color: rgba(0,0,0,.6); -} -html[it-theme=true] .primary-header-contents .view-as-menu .view-as-menu-trigger -{ - color: #000; -} -html[it-theme=true] .additional-settings-link, -html[it-theme=true] .casual-channel .channel-settings-editor .layout-setting p, -html[it-theme=true] .translation-editor-translation-menu-button .yt-uix-button-content -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-languagepicker-menu -{ - -webkit-box-shadow: 0 0 15px rgba(0,0,0,.18); - box-shadow: 0 0 15px rgba(0,0,0,.18); -} -html[it-theme=true] .yt-uix-languagepicker-search-container -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .translation-editor-header .translation-editor-column-divider, -html[it-theme=true] .translation-editor-header .translation-editor-column-half -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .translation-editor-original-input, -html[it-theme=true] .translation-editor-original-input:focus, -html[it-theme=true] .translation-editor-original-input:hover -{ - border: 1px solid #efefef!important; -} -html[it-theme=true] .translation-editor-error -{ - color: #b91f1f; -} -html[it-theme=true] .translation-editor-source, -html[it-theme=true] .translation-editor-translation-count, -html[it-theme=true] .yt-lockup .yt-lockup-meta .yt-pl-thumb .video-count-text b -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] body -{ - min-height: 100vh!important; - - background: var(--yt-swatch-primary-darker)!important; -} -html[it-theme=true] span.warning -{ - color: #d00; -} -html[it-theme=true] .yt-deemphasized-text -{ - color: #b8b8b8; -} -html[it-theme=true] .yt-pl-thumb .sidebar -{ - background: rgba(0,0,0,.8); -} -html[it-theme=true] .yt-show-thumb .sidebar -{ - color: var(--yt-swatch-text); - background-color: #000; -} -html[it-theme=true] .exp-mix-as-radio .yt-pl-thumb.yt-mix-thumb .sidebar -{ - background: rgba(0,0,0,.6); -} -html[it-theme=true] .yt-pl-thumb .yt-pl-sidebar-content -{ - color: #cfcfcf; -} -html[it-theme=true] .yt-pl-thumb-overlay .yt-pl-thumb-overlay-content -{ - color: var(--yt-swatch-text); - text-shadow: 0 1px 1px rgba(255,255,255,.6); -} -html[it-theme=true] .yt-alert-actionable .yt-alert-buttons, -html[it-theme=true] .yt-alert-actionable .yt-alert-content, -html[it-theme=true] .yt-alert-default .yt-alert-content, -html[it-theme=true] .yt-alert-small .yt-alert-content -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-alert-naked .yt-alert-content, -html[it-theme=true] .yt-alert-warn .yt-alert-buttons .yt-uix-button-content, -html[it-theme=true] .yt-alert-warn .yt-alert-content, -html[it-theme=true] .yt-consent-banner .consent-close, -html[it-theme=true] .yt-consent-banner .yt-consent-content -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-alert-actionable.yt-alert-error, -html[it-theme=true] .yt-alert-default.yt-alert-error, -html[it-theme=true] .yt-alert-naked.yt-alert-error .yt-alert-icon, -html[it-theme=true] .yt-alert-small.yt-alert-error -{ - border-color: #a11b1a; - background-color: #b91f1f; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-error -{ - border: 1px solid rgba(0,0,0,.2); -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-error:hover -{ - background: #b31217; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-error:active -{ - border-color: #7a1515; - background: #921818; - -webkit-box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); - box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-alert-actionable.yt-alert-warn, -html[it-theme=true] .yt-alert-default.yt-alert-warn, -html[it-theme=true] .yt-alert-naked.yt-alert-warn .yt-alert-icon, -html[it-theme=true] .yt-alert-small.yt-alert-warn -{ - background-color: #f5d562; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-warn -{ - border: 1px solid rgba(0,0,0,.2); -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-warn:hover -{ - background: #edc947; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-warn.yt-uix-button-toggled, -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-warn:active -{ - border-color: #8a4f16; - background: #a55e1a; - -webkit-box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); - box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-alert-actionable.yt-alert-success, -html[it-theme=true] .yt-alert-default.yt-alert-success, -html[it-theme=true] .yt-alert-naked.yt-alert-success .yt-alert-icon, -html[it-theme=true] .yt-alert-small.yt-alert-success -{ - background: #167ac6; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-success -{ - border: 1px solid rgba(0,0,0,.2); -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-success:hover -{ - background: #126db3; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-success.yt-uix-button-toggled, -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-success:active -{ - border-color: #4d6c2e; - background: #356d9b; - -webkit-box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); - box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-alert-actionable.yt-alert-info, -html[it-theme=true] .yt-alert-default.yt-alert-info, -html[it-theme=true] .yt-alert-naked.yt-alert-info .yt-alert-icon, -html[it-theme=true] .yt-alert-small.yt-alert-info -{ - background: #167ac6; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-info -{ - border: 1px solid rgba(0,0,0,.2); -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-info:hover -{ - background: #126db3; -} -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-info.yt-uix-button-toggled, -html[it-theme=true] .yt-alert-actionable .yt-uix-button-alert-info:active -{ - border-color: #2c5b82; - background: #356d9b; - -webkit-box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); - box-shadow: 0 0 0 #000,0 0 1px rgba(255,255,255,.25),inset 0 1px 3px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-consent-banner -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #results .section-list li .item-section .branded-page-box -{ - border-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-alert-promo .yt-alert-content a, -html[it-theme=true] .yt-consent-banner .consent-close:hover -{ - color: #167ac6; -} -html[it-theme=true] .yt-alert-panel, -html[it-theme=true] .yt-alert-promo, -html[it-theme=true] .yt-alert-watch-promo, -html[it-theme=true] .yt-card, -html[it-theme=true] .yt-consent-banner -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-alert-promo .yt-alert-content, -html[it-theme=true] .yt-alert-watch-promo .yt-alert-content -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-alert-error .yt-uix-button-content, -html[it-theme=true] .yt-uix-button-alert-info .yt-uix-button-content, -html[it-theme=true] .yt-uix-button-alert-success .yt-uix-button-content, -html[it-theme=true] .yt-uix-button-alert-warn .yt-uix-button-content -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-alert-actionable .yt-alert-buttons .yt-uix-button-arrow -{ - border-top-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-alert-actionable .yt-alert-buttons .yt-uix-button-toggled .yt-uix-button-arrow -{ - border-bottom-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-alert .close:hover -{ - background-color: rgba(0,0,0,.15); -} -html[it-theme=true] .yt-card -{ - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1); - box-shadow: 0 1px 2px rgba(0,0,0,.1); -} -html[it-theme=true] .yt-card .yt-uix-button-expander -{ - color: var(--yt-swatch-text)!important; - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-card .yt-uix-button-expander:hover -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-card .yt-uix-tabs -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-card .yt-uix-tabs .yt-uix-button.yt-uix-button-active, -html[it-theme=true] .yt-card .yt-uix-tabs .yt-uix-button.yt-uix-button-toggled, -html[it-theme=true] .yt-card .yt-uix-tabs .yt-uix-button:active, -html[it-theme=true] .yt-card .yt-uix-tabs .yt-uix-button:hover -{ - border-bottom-color: #cc181e; -} -html[it-theme=true] .guided-help-box -{ - color: var(--yt-swatch-text); - border: 1px solid #434343; - background: #464646; - -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.25); - box-shadow: 1px 1px 2px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-uix-button.yt-uix-button-guided-help -{ - color: var(--yt-swatch-text); - background: #7cabe3; - -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.25); - box-shadow: 1px 1px 2px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-nav-dark -{ - background: #535353; - text-shadow: 0 -1px 1px #000; -} -html[it-theme=true] .yt-nav-dark .yt-nav-item -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-nav-dark .yt-nav-item:hover -{ - background: #666; -} -html[it-theme=true] .yt-nav-dark .selected .yt-nav-item, -html[it-theme=true] .yt-nav-dark .yt-nav-item:active, -html[it-theme=true] .yt-nav-dark .yt-nav-item:focus -{ - background: #343434; -} -a.yt-uix-button.yt-uix-button-epic-nav-item, -button.yt-uix-button-epic-nav-item, -html[it-theme=true] .epic-nav-item -{ - color: var(--yt-swatch-text)!important; -} -a.yt-uix-button-epic-nav-item.selected, -a.yt-uix-button-epic-nav-item.yt-uix-button-toggled, -a.yt-uix-button-epic-nav-item:hover, -html[it-theme=true] .feed-header-feed-filter .yt-uix-button-epic-nav-item.selected, -html[it-theme=true] .feed-header-feed-filter .yt-uix-button-epic-nav-item:hover -{ - border-color: #cc181e; -} -a.yt-uix-button-epic-nav-item.partially-selected:hover, -button.yt-uix-button-epic-nav-item.selected, -button.yt-uix-button-epic-nav-item.yt-uix-button-toggled, -button.yt-uix-button-epic-nav-item:hover, -html[it-theme=true] .epic-nav-item-heading, -html[it-theme=true] .epic-nav-item.selected, -html[it-theme=true] .epic-nav-item.yt-uix-button-toggled, -html[it-theme=true] .epic-nav-item:hover -{ - border-color: #cc181e!important; -} -a.yt-uix-button-epic-nav-item.partially-selected -{ - border-color: var(--yt-swatch-text)!important; -} -a.yt-uix-button-epic-nav-item.selected, -a.yt-uix-button-epic-nav-item.yt-uix-button-toggled, -button.yt-uix-button-epic-nav-item.selected, -button.yt-uix-button-epic-nav-item.yt-uix-button-toggled, -html[it-theme=true] .epic-nav-item-heading, -html[it-theme=true] .epic-nav-item.selected, -html[it-theme=true] .epic-nav-item.yt-uix-button-toggled -{ - color: var(--yt-swatch-text)!important; -} -h1.yt, -h2.yt, -h2.yt small, -h3.yt, -h4.yt, -h4.yt small, -h5.yt, -h6.yt, -h6.yt small, -html[it-theme=true] .feed-header-feed-filter .yt-uix-button-epic-nav-item.selected, -html[it-theme=true] .like-button-renderer span, -html[it-theme=true] .secondary-nav.epic-nav-item:hover, -html[it-theme=true] .secondary-nav.yt-uix-button-epic-nav-item:hover, -html[it-theme=true] .yt-badge-list, -html[it-theme=true] .yt-default h1, -html[it-theme=true] .yt-default h2, -html[it-theme=true] .yt-default h2 small, -html[it-theme=true] .yt-default h3, -html[it-theme=true] .yt-default h4, -html[it-theme=true] .yt-default h4 small, -html[it-theme=true] .yt-default h5, -html[it-theme=true] .yt-default h6, -html[it-theme=true] .yt-default h6 small, -html[it-theme=true] .yt-lockup, -html[it-theme=true] .yt-lockup .yt-lockup-byline a, -html[it-theme=true] .yt-lockup .yt-lockup-description a, -html[it-theme=true] .yt-lockup .yt-lockup-meta a, -html[it-theme=true] .yt-ui-menu-item -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-ui-menu-content -{ - border: 1px solid var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2); - box-shadow: 0 2px 4px rgba(0,0,0,.2); -} -html[it-theme=true] .yt-ui-menu-item:hover, -html[it-theme=true] .yt-uix-menu-trigger-selected .yt-ui-menu-item -{ - color: var(--yt-swatch-text)!important; - background: rgba(255,255,255,.1)!important; -} -html[it-theme=true] .yt-ui-menu-item:focus -{ - background: #eee; -} -html[it-theme=true] .yt-ui-menu-content li.yt-ui-menu-new-section-separator, -html[it-theme=true] .yt-uix-button-menu li.yt-uix-button-menu-new-section-separator -{ - border-top: 1px solid #b8b8b8; -} -html[it-theme=true] .yt-lockup .yt-lockup-byline.polymer-byline a, -html[it-theme=true] .yt-lockup .yt-lockup-byline.polymer-byline a:hover -{ - color: #111; -} -html[it-theme=true] .like-button-renderer-like-button.yt-uix-button-toggled .yt-uix-button-content, -html[it-theme=true] .like-button-renderer-like-button:active .yt-uix-button-content, -html[it-theme=true] .yt-lockup-mini:hover .yt-lockup-title, -html[it-theme=true] .yt-lockup-title a, -html[it-theme=true] .yt-lockup-title a .yt-deemphasized-text, -html[it-theme=true] .yt-lockup:hover .yt-lockup-description a, -html[it-theme=true] .yt-lockup:hover .yt-lockup-meta a, -html[it-theme=true] .yt-lockup:hover a -{ - color: #167ac6; -} -html[it-theme=true] .yt-lockup-title a.polymer-title-link -{ - color: #111; -} -html[it-theme=true] .yt-default .yt-notes, -html[it-theme=true] .yt-default ol, -html[it-theme=true] .yt-default p, -html[it-theme=true] .yt-default ul, -html[it-theme=true] .yt-lockup .yt-lockup-meta b, -html[it-theme=true] .yt-lockup-actor .yt-lockup-title a, -html[it-theme=true] .yt-lockup-mini .yt-lockup-title, -html[it-theme=true] .yt-lockup-notification .yt-lockup-title a, -ol.yt, -p.yt, -p.yt-notes, -ul.yt -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-lockup-playlist-item -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-lockup-notification .unread-dot -{ - background: #167ac6; -} -html[it-theme=true] .yt-horizontal-rule -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-thumb -{ - background: #1c2022!important; -} -html[it-theme=true] .video-time, -html[it-theme=true] .watched-badge -{ - background-color: #000; -} -html[it-theme=true] .video-time -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .resume-playback-background -{ - background: #eee; -} -html[it-theme=true] .resume-playback-progress-bar -{ - background: #e62117; -} -html[it-theme=true] .video-time-overlay -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .inline-playback-metadata-renderer-byline a, -html[it-theme=true] .inline-playback-metadata-renderer-title, -html[it-theme=true] .inline-playback-metadata-renderer-viewcount, -html[it-theme=true] .share-button-renderer-panel-container .share-panel-url, -html[it-theme=true] .yt-uix-button-short, -html[it-theme=true] .yt-uix-button-size-small -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .video-time-overlay-live -{ - background-color: #e62117; -} -html[it-theme=true] .video-time-overlay-default, -html[it-theme=true] .video-time-overlay-upcoming -{ - background-color: #000; -} -html[it-theme=true] .yt-uix-button -{ - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.05); - box-shadow: 0 1px 0 rgba(0,0,0,.05); -} -html[it-theme=true] .yt-uix-button-focused, -html[it-theme=true] .yt-uix-button-focused:hover, -html[it-theme=true] .yt-uix-button:focus, -html[it-theme=true] .yt-uix-button:focus:hover -{ - -webkit-box-shadow: 0 0 0 2px rgba(27,127,204,.4); - box-shadow: 0 0 0 2px rgba(27,127,204,.4); -} -html[it-theme=true] .yt-uix-button-default.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-default.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button-default.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-default.yt-uix-button-toggled:hover, -html[it-theme=true] .yt-uix-button-default:active, -html[it-theme=true] .yt-uix-button-default:hover, -html[it-theme=true] .yt-uix-button-text:active, -html[it-theme=true] .yt-uix-button-text:hover -{ - border-color: var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: none!important; - box-shadow: none!important; -} -html[it-theme=true] .comment-simplebox-renderer-collapsed-content, -html[it-theme=true] .search-header -{ - border-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-default, -html[it-theme=true] .yt-uix-button-default[disabled], -html[it-theme=true] .yt-uix-button-default[disabled]:active, -html[it-theme=true] .yt-uix-button-default[disabled]:focus, -html[it-theme=true] .yt-uix-button-default[disabled]:hover -{ - color: var(--yt-swatch-text)!important; - border-color: var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-primary, -html[it-theme=true] .yt-uix-button-primary[disabled], -html[it-theme=true] .yt-uix-button-primary[disabled]:active, -html[it-theme=true] .yt-uix-button-primary[disabled]:focus, -html[it-theme=true] .yt-uix-button-primary[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-primary:hover -{ - background: #126db3; -} -html[it-theme=true] .yt-uix-button-primary.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-primary.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button-primary.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-primary:active -{ - background: #095b99; - -webkit-box-shadow: none!important; - box-shadow: none!important; -} -html[it-theme=true] .yt-uix-button-destructive, -html[it-theme=true] .yt-uix-button-destructive[disabled], -html[it-theme=true] .yt-uix-button-destructive[disabled]:active, -html[it-theme=true] .yt-uix-button-destructive[disabled]:focus, -html[it-theme=true] .yt-uix-button-destructive[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: #cc181e; - background: #cc181e; -} -html[it-theme=true] .yt-uix-button-destructive:hover -{ - background: #b31217; -} -html[it-theme=true] .yt-uix-button-destructive.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-destructive.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button-destructive.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-destructive:active -{ - background: #990c11; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.5); - box-shadow: inset 0 1px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .yt-uix-button-dark, -html[it-theme=true] .yt-uix-button-dark[disabled], -html[it-theme=true] .yt-uix-button-dark[disabled]:active, -html[it-theme=true] .yt-uix-button-dark[disabled]:focus, -html[it-theme=true] .yt-uix-button-dark[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: var(--yt-swatch-text)!important; - background: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-dark:hover -{ - background: #3c3c3c; -} -html[it-theme=true] .yt-uix-button-dark.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-dark.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button-dark.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-dark:active -{ - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.5); - box-shadow: inset 0 1px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .yt-uix-button-light, -html[it-theme=true] .yt-uix-button-light[disabled], -html[it-theme=true] .yt-uix-button-light[disabled]:active, -html[it-theme=true] .yt-uix-button-light[disabled]:focus, -html[it-theme=true] .yt-uix-button-light[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: var(--yt-swatch-text); - background: #666; -} -html[it-theme=true] .yt-uix-button-light:hover -{ - background: #6f6f6f; -} -html[it-theme=true] .yt-uix-button-light.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-light.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button-light.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-light:active -{ - background: #4d4d3d; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.5); - box-shadow: inset 0 1px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .yt-uix-button-payment, -html[it-theme=true] .yt-uix-button-payment[disabled], -html[it-theme=true] .yt-uix-button-payment[disabled]:active, -html[it-theme=true] .yt-uix-button-payment[disabled]:focus, -html[it-theme=true] .yt-uix-button-payment[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: #61ad15; - background: #61ad15; -} -html[it-theme=true] .yt-uix-button-blue-text[disabled], -html[it-theme=true] .yt-uix-button-text, -html[it-theme=true] .yt-uix-button-text[disabled] -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-payment:hover -{ - background: #54900f; -} -html[it-theme=true] .yt-uix-button-payment.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-payment.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button-payment.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-payment:active -{ - background: #478509; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.5); - box-shadow: inset 0 1px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .yt-uix-button-blue-text, -html[it-theme=true] .yt-uix-button-link -{ - color: #167ac6; -} -html[it-theme=true] .shelf-annotation, -html[it-theme=true] .shelf-description, -html[it-theme=true] .yt-uix-button-menu .yt-uix-button-menu-item -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-arrow -{ - border-top-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-reverse .yt-uix-button-arrow -{ - border-bottom-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-dark .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-destructive .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-light .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-payment .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-primary .yt-uix-button-arrow -{ - border-top-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-button-dark.yt-uix-button-reverse .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-destructive.yt-uix-button-reverse .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-light.yt-uix-button-reverse .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-payment.yt-uix-button-reverse .yt-uix-button-arrow, -html[it-theme=true] .yt-uix-button-primary.yt-uix-button-reverse .yt-uix-button-arrow -{ - border-bottom-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-button-menu -{ - border: 1px solid var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); - box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); -} -html[it-theme=true] .yt-uix-button-menu .yt-uix-button-menu-item-highlight .yt-uix-button-menu-item, -html[it-theme=true] .yt-uix-button-menu .yt-uix-button-menu-item.selected -{ - color: var(--yt-swatch-text); - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-menu .yt-uix-button-menu-item:hover -{ - color: var(--yt-swatch-text)!important; - background-color: rgba(255,255,255,.1)!important; -} -div.yt-uix-button-menu > table -{ - background: #ebebeb; -} -html[it-theme=true] .yt-uix-button-livereminder-set, -html[it-theme=true] .yt-uix-button-livereminder-set:hover -{ - color: var(--yt-swatch-text); - border-color: #167ac6; - background: #167ac6; -} -html[it-theme=true] .yt-uix-tabs-tab.epic-nav-item.disabled -{ - color: #ccc; -} -html[it-theme=true] .yt-uix-button-subscribe-branded, -html[it-theme=true] .yt-uix-button-subscribe-branded[disabled], -html[it-theme=true] .yt-uix-button-subscribe-branded[disabled]:active, -html[it-theme=true] .yt-uix-button-subscribe-branded[disabled]:focus, -html[it-theme=true] .yt-uix-button-subscribe-branded[disabled]:hover -{ - color: #fefefe; - background-color: #e62117; -} -html[it-theme=true] .yt-uix-button-subscribe-branded:hover -{ - background-color: #cc181e; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.yt-is-buffered, -html[it-theme=true] .yt-uix-button-subscribe-branded.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribe-branded.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribe-branded:active, -html[it-theme=true] .yt-uix-button-subscribed-branded.external, -html[it-theme=true] .yt-uix-button-subscribed-branded.external.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribed-branded.external.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribed-branded.external:active, -html[it-theme=true] .yt-uix-button-subscribed-branded.external[disabled] -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-subscribe-unbranded, -html[it-theme=true] .yt-uix-button-subscribe-unbranded[disabled], -html[it-theme=true] .yt-uix-button-subscribe-unbranded[disabled]:active, -html[it-theme=true] .yt-uix-button-subscribe-unbranded[disabled]:focus, -html[it-theme=true] .yt-uix-button-subscribe-unbranded[disabled]:hover -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-subscribe-unbranded:hover -{ - border-color: #bfbfbf; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-subscribe-unbranded.yt-is-buffered, -html[it-theme=true] .yt-uix-button-subscribe-unbranded.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribe-unbranded.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribe-unbranded:active -{ - border-color: #bfbfbf; - background-color: #ededed; -} -html[it-theme=true] .yt-uix-button-subscribed-branded, -html[it-theme=true] .yt-uix-button-subscribed-branded[disabled], -html[it-theme=true] .yt-uix-button-subscribed-branded[disabled]:active, -html[it-theme=true] .yt-uix-button-subscribed-branded[disabled]:focus, -html[it-theme=true] .yt-uix-button-subscribed-branded[disabled]:hover, -html[it-theme=true] .yt-uix-button-subscribed-unbranded, -html[it-theme=true] .yt-uix-button-subscribed-unbranded[disabled], -html[it-theme=true] .yt-uix-button-subscribed-unbranded[disabled]:active, -html[it-theme=true] .yt-uix-button-subscribed-unbranded[disabled]:focus, -html[it-theme=true] .yt-uix-button-subscribed-unbranded[disabled]:hover -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-subscribed-branded.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribed-branded.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribed-branded:active, -html[it-theme=true] .yt-uix-button-subscribed-unbranded.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribed-unbranded.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribed-unbranded:active -{ - background-color: #ededed; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled[disabled], -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled[disabled]:active, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled[disabled]:focus, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled[disabled]:hover -{ - background-color: #61ad15; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled:hover -{ - background-color: #54990f; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.yt-is-buffered, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled:active -{ - background-color: #478509; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button[disabled], -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button[disabled]:active, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button[disabled]:focus, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: #167ac6; - background: #167ac6; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button:hover -{ - background: #126db3; -} -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button.yt-is-buffered, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button.yt-uix-button-active, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button-subscribe-branded.ypc-enabled.ypc-music-subscription-button:active -{ - background: #095b99; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.5); - box-shadow: inset 0 1px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .yt-uix-button-subscribed-branded.external -{ - color: #fefefe; -} -html[it-theme=true] .yt-subscription-button-subscriber-count-unbranded-horizontal .watch-view-count, -html[it-theme=true] .yt-uix-clickcard-card-body, -html[it-theme=true] .yt-uix-hovercard-card-body -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-subscription-button-subscriber-count-branded-horizontal, -html[it-theme=true] .yt-subscription-button-subscriber-count-unbranded-horizontal -{ - border: 1px solid var(--yt-swatch-primary)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-clickcard-card, -html[it-theme=true] .yt-uix-hovercard-card -{ - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 0 15px rgba(0,0,0,.18); - box-shadow: 0 0 15px rgba(0,0,0,.18); -} -html[it-theme=true] .yt-uix-card-border-arrow-horizontal -{ - border-left-color: #c5c5c5; -} -html[it-theme=true] .yt-uix-card-body-arrow-horizontal -{ - border-left-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-card-border-arrow-vertical -{ - border-top-color: #c5c5c5; -} -html[it-theme=true] #ie .yt-uix-card-body-arrow-vertical, -html[it-theme=true] .yt-uix-card-body-arrow-vertical -{ - border-top-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-clickcard-card-flip .yt-uix-card-body-arrow-horizontal, -html[it-theme=true] .yt-uix-clickcard-card-flip .yt-uix-card-border-arrow-horizontal, -html[it-theme=true] .yt-uix-hovercard-card-flip .yt-uix-card-body-arrow-horizontal, -html[it-theme=true] .yt-uix-hovercard-card-flip .yt-uix-card-border-arrow-horizontal -{ - border-right-width: 12px; - border-left-width: 0; -} -html[it-theme=true] .yt-uix-clickcard-card-flip .yt-uix-card-border-arrow-horizontal, -html[it-theme=true] .yt-uix-hovercard-card-flip .yt-uix-card-border-arrow-horizontal -{ - border-right-color: #c5c5c5; -} -html[it-theme=true] .yt-uix-clickcard-card-flip .yt-uix-card-body-arrow-horizontal, -html[it-theme=true] .yt-uix-hovercard-card-flip .yt-uix-card-body-arrow-horizontal -{ - border-right-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-clickcard-card-reverse .yt-uix-card-border-arrow-vertical, -html[it-theme=true] .yt-uix-hovercard-card-reverse .yt-uix-card-border-arrow-vertical -{ - border-bottom-color: #c5c5c5; -} -html[it-theme=true] .yt-uix-clickcard-card-border -{ - border-color: var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-clickcard-promo .yt-uix-card-body-arrow-vertical -{ - border-top-color: #2793e6; -} -html[it-theme=true] .yt-uix-clickcard-promo .yt-uix-card-body-arrow-horizontal -{ - border-right-color: #2793e6; -} -html[it-theme=true] .yt-uix-clickcard-promo.yt-uix-clickcard-card-reverse .yt-uix-card-body-arrow-vertical -{ - border-bottom-color: #2793e6; -} -html[it-theme=true] .yt-uix-clickcard-promo .yt-uix-clickcard-card-body -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-form-label, -html[it-theme=true] .yt-uix-form-legend -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-form-error -{ - color: #e52d27; -} -html[it-theme=true] .service-endpoint-replace-enclosing-action-notification, -html[it-theme=true] .yt-dialog-fg-content .yt-dialog-title, -html[it-theme=true] .yt-uix-overlay-fg-content .yt-dialog-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-form-error .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-error .yt-uix-form-input-radio-element, -html[it-theme=true] .yt-uix-form-error input, -html[it-theme=true] .yt-uix-form-error input:hover, -html[it-theme=true] .yt-uix-form-error textarea, -html[it-theme=true] .yt-uix-form-error textarea:hover, -html[it-theme=true] .yt-uix-form-error.yt-uix-form-input-checkbox-container:hover .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-error.yt-uix-form-input-radio-container:hover .yt-uix-form-input-radio-element -{ - border-color: #e52d27; -} -html[it-theme=true] .yt-uix-form-input-select, -html[it-theme=true] .yt-uix-form-input-text, -html[it-theme=true] .yt-uix-form-input-textarea -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-form-input-checkbox-container:hover .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-input-radio-container:hover .yt-uix-form-input-radio-element, -html[it-theme=true] .yt-uix-form-input-select:hover, -html[it-theme=true] .yt-uix-form-input-text:hover, -html[it-theme=true] .yt-uix-form-input-textarea:hover -{ - border-color: #b9b9b9; -} -html[it-theme=true] .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-input-radio-element, -html[it-theme=true] .yt-uix-form-input-text, -html[it-theme=true] .yt-uix-form-input-textarea -{ - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.05); - box-shadow: inset 0 0 1px rgba(0,0,0,.05); -} -html[it-theme=true] .yt-uix-form-input-checkbox:focus .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-input-radio:focus .yt-uix-form-input-radio-element, -html[it-theme=true] .yt-uix-form-input-select.focused, -html[it-theme=true] .yt-uix-form-input-text:focus, -html[it-theme=true] .yt-uix-form-input-textarea:focus -{ - border-color: #167ac6; - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.1); - box-shadow: inset 0 0 1px rgba(0,0,0,.1); -} -html[it-theme=true] .yt-uix-form-input-select -{ - background-color: #f8f8f8; -} -html[it-theme=true] .yt-uix-form-input-select-arrow -{ - border-top-color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-form-input-text::-webkit-input-placeholder, -html[it-theme=true] .yt-uix-form-input-textarea::-webkit-input-placeholder -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-form-input-text:-moz-placeholder, -html[it-theme=true] .yt-uix-form-input-text::-moz-placeholder, -html[it-theme=true] .yt-uix-form-input-textarea:-moz-placeholder, -html[it-theme=true] .yt-uix-form-input-textarea::-moz-placeholder -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-form-input-placeholder, -html[it-theme=true] .yt-uix-form-input-text:-ms-input-placeholder, -html[it-theme=true] .yt-uix-form-input-textarea:-ms-input-placeholder -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-form-input-checkbox-container input:checked .yt-uix-form-input-checkbox-element -{ - border: 1px solid #36649c; -} -html[it-theme=true] .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-input-radio-element -{ - border: 1px solid #c6c6c6; -} -html[it-theme=true] .yt-uix-form-input-checkbox-container input:focus .yt-uix-form-input-checkbox-element, -html[it-theme=true] .yt-uix-form-input-radio-container input:focus .yt-uix-form-input-radio-element -{ - border: 1px solid #4496e7; -} -html[it-theme=true] .yt-uix-checkbox-on-off label -{ - background: #b8b8b8; -} -html[it-theme=true] .yt-uix-checkbox-on-off input[type=checkbox]:checked label -{ - background-color: #167ac6; -} -html[it-theme=true] .yt-uix-checkbox-on-off .toggle -{ - background: #fbfbfb; -} -html[it-theme=true] .yt-uix-form-input-paper-toggle-bar -{ - background-color: #000; -} -html[it-theme=true] .yt-uix-form-input-paper-toggle-button -{ - background-color: var(--yt-swatch-text)!important; - -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.4); - box-shadow: 0 1px 5px 0 rgba(0,0,0,.4); -} -html[it-theme=true] .yt-uix-form-input-paper-toggle-container.checked .yt-uix-form-input-paper-toggle-bg -{ - background-color: #4285f4; -} -html[it-theme=true] .no-focus-outline .yt-dialog-fg:focus, -html[it-theme=true] .yt-dialog-base .yt-uix-button-menu, -html[it-theme=true] .yt-uix-overlay-base .yt-uix-button-menu -{ - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 0 15px rgba(0,0,0,.18); - box-shadow: 0 0 15px rgba(0,0,0,.18); -} -html[it-theme=true] .yt-dialog-fg:focus -{ - -webkit-box-shadow: 0 0 0 2px rgba(27,127,204,.4); - box-shadow: 0 0 0 2px rgba(27,127,204,.4); -} -html[it-theme=true] .yt-dialog-bg, -html[it-theme=true] .yt-uix-overlay-bg -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-dialog-waiting-text, -html[it-theme=true] .yt-uix-overlay-primary .yt-dialog-header h2 -{ - color: #000; -} -html[it-theme=true] .yt-dialog-fg-content .close-small, -html[it-theme=true] .yt-uix-overlay-fg-content .close-small -{ - background-color: #ccc; -} -html[it-theme=true] .yt-dialog-working-overlay -{ - border: 1px solid var(--yt-swatch-text); - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-dialog-working-bubble -{ - border: 1px solid #ddd; -} -html[it-theme=true] .yt-uix-overlay-simple .yt-dialog-header -{ - background: #1c2022!important; -} -html[it-theme=true] .yt-dialog-working-bubble, -html[it-theme=true] .yt-uix-overlay-primary .yt-dialog-header -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-slider-next-arrow -{ - border-left-color: #999; -} -html[it-theme=true] .yt-uix-slider-prev-arrow -{ - border-right-color: #999; -} -html[it-theme=true] .yt-uix-button:focus .yt-uix-slider-next-arrow, -html[it-theme=true] .yt-uix-button:hover .yt-uix-slider-next-arrow -{ - border-left-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button:focus .yt-uix-slider-prev-arrow, -html[it-theme=true] .yt-uix-button:hover .yt-uix-slider-prev-arrow -{ - border-right-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button[disabled]:focus .yt-uix-slider-next-arrow, -html[it-theme=true] .yt-uix-button[disabled]:hover .yt-uix-slider-next-arrow -{ - border-left-color: #999; -} -html[it-theme=true] .yt-uix-button[disabled]:focus .yt-uix-slider-prev-arrow, -html[it-theme=true] .yt-uix-button[disabled]:hover .yt-uix-slider-prev-arrow -{ - border-right-color: #999; -} -html[it-theme=true] .yt-tile-default, -html[it-theme=true] .yt-tile-default a, -html[it-theme=true] .yt-tile-default h3, -html[it-theme=true] .yt-tile-default h3 a, -html[it-theme=true] .yt-tile-static, -html[it-theme=true] .yt-tile-visible, -html[it-theme=true] .yt-tile-visible a, -html[it-theme=true] .yt-tile-visible h3, -html[it-theme=true] .yt-tile-visible h3 a -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-tile-default h3 a:visited, -html[it-theme=true] .yt-tile-visible h3 a:visited -{ - color: #036!important; -} -html[it-theme=true] .yt-tile-default:hover, -html[it-theme=true] .yt-tile-static, -html[it-theme=true] .yt-tile-visible -{ - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; -} -html[it-theme=true] #ie .yt-tile-default:hover, -html[it-theme=true] #ie .yt-tile-static, -html[it-theme=true] #ie .yt-tile-visible -{ - border-bottom: 2px solid #ccc; -} -html[it-theme=true] #ie .yt-tile-visible:hover -{ - border-bottom-color: #aaa; -} -html[it-theme=true] .yt-tile-default:hover a, -html[it-theme=true] .yt-tile-static a, -html[it-theme=true] .yt-tile-visible:hover a -{ - color: #167ac6; -} -html[it-theme=true] .yt-uix-range-tooltip-tip-arrow, -html[it-theme=true] .yt-uix-tooltip-tip-arrow, -html[it-theme=true] .yt-uix-tooltip-tip-mask .yt-uix-tooltip-tip-body .yt-uix-tooltip-tip-arrow -{ - border-top-color: #000; -} -html[it-theme=true] .yt-uix-range-tooltip-tip-content, -html[it-theme=true] .yt-uix-tooltip-tip-content -{ - color: var(--yt-swatch-text); - background: #000; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.25); - box-shadow: 0 1px 1px rgba(0,0,0,.25); -} -html[it-theme=true] .yt-uix-tooltip-tip-reverse .yt-uix-tooltip-tip-arrow -{ - border-color: transparent transparent #000; -} -html[it-theme=true] .captcha-image -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .captcha-input-label -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .captcha-help -{ - color: #4272db; -} -html[it-theme=true] #hats-container.hats-categorical-style-horizontal, -html[it-theme=true] #hats-container.hats-categorical-style-vertical -{ - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 8px 32px 0 rgba(0,0,0,.5); - box-shadow: 0 8px 32px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .hats-header -{ - background-color: #3d3d3d; -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-header, -html[it-theme=true] .hats-categorical-style-vertical .hats-header -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .hats-thanks, -html[it-theme=true] .hats-title -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-thanks, -html[it-theme=true] .hats-categorical-style-horizontal .hats-title, -html[it-theme=true] .hats-categorical-style-vertical .hats-thanks, -html[it-theme=true] .hats-categorical-style-vertical .hats-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .hats-dismiss-button, -html[it-theme=true] .hats-dismiss-button:active, -html[it-theme=true] .hats-dismiss-button:hover, -html[it-theme=true] .hats-thanks a -{ - color: #03a9f4; -} -html[it-theme=true] .hats-content -{ - background-color: #e9e9e9; -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-content, -html[it-theme=true] .hats-categorical-style-vertical .hats-content -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-option:hover, -html[it-theme=true] .hats-categorical-style-vertical .hats-option:hover, -html[it-theme=true] .offer-module-menu > span:hover -{ - background-color: #eee; -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-submit-text-button:active, -html[it-theme=true] .hats-categorical-style-horizontal .hats-submit-text-button:hover, -html[it-theme=true] .hats-categorical-style-vertical .hats-submit-text-button:active, -html[it-theme=true] .hats-categorical-style-vertical .hats-submit-text-button:hover, -html[it-theme=true] .yt-commentbox-text -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-option, -html[it-theme=true] .hats-categorical-style-vertical .hats-option -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .hats-categorical-style-horizontal .hats-submit-text-button, -html[it-theme=true] .hats-categorical-style-horizontal .hats-submit-text-button[disabled], -html[it-theme=true] .hats-categorical-style-horizontal .hats-submit-text-button[disabled]:hover, -html[it-theme=true] .hats-categorical-style-vertical .hats-submit-text-button, -html[it-theme=true] .hats-categorical-style-vertical .hats-submit-text-button[disabled], -html[it-theme=true] .hats-categorical-style-vertical .hats-submit-text-button[disabled]:hover -{ - color: #4285f4; -} -html[it-theme=true] #watch-discussion #comments-view .comment-actions, -html[it-theme=true] #watch-discussion #comments-view .comment-actions .yt-uix-button, -html[it-theme=true] #watch-discussion #comments-view .comment-text a, -html[it-theme=true] #watch-discussion #comments-view .metadata, -html[it-theme=true] #watch-discussion #comments-view .stat, -html[it-theme=true] #watch-discussion #comments-view .time a, -html[it-theme=true] #watch-discussion #comments-view .time a:hover, -html[it-theme=true] #watch-discussion #comments-view h4, -html[it-theme=true] #watch-discussion #comments-view h4 a, -html[it-theme=true] #watch-discussion .comments-disabled-message, -html[it-theme=true] #watch-discussion .comments-remaining, -html[it-theme=true] #watch-discussion .comments-textarea-container label, -html[it-theme=true] .hats-categorical-style-horizontal .hats-legend, -html[it-theme=true] .hats-categorical-style-vertical .hats-legend, -html[it-theme=true] .yt-commentbox-text -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-commentbox-arrow-inner -{ - border: 7px solid var(--yt-swatch-text); -} -html[it-theme=true] .yt-commentbox-arrow-outer -{ - border: 6px solid #ddd; -} -html[it-theme=true] .yt-commentbox-text -{ - border: 1px solid #ddd; - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.05); - box-shadow: inset 0 0 1px rgba(0,0,0,.05); -} -html[it-theme=true] .yt-commentbox-text:focus -{ - border-color: #167ac6; - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.1); - box-shadow: inset 0 0 1px rgba(0,0,0,.1); -} -html[it-theme=true] .yt-commentbox-text:focus .yt-commentbox-arrow .yt-commentbox-arrow-outer -{ - border-top-color: #167ac6; - border-right-color: #167ac6; -} -html[it-theme=true] .live-comments-emoji-picker-tab-row -{ - border-bottom: 1px solid #000; - background-color: #fafafa; -} -html[it-theme=true] .live-comments-emoji-button:focus, -html[it-theme=true] .live-comments-emoji-button:hover -{ - -webkit-box-shadow: 0 0 3px 2px rgba(0,0,0,.15); - box-shadow: 0 0 3px 2px rgba(0,0,0,.15); -} -html[it-theme=true] .live-comments-emoji-picker-tab-cell .live-comments-emoji-type-button.active -{ - background-color: rgba(0,0,0,.3); -} -html[it-theme=true] #watch-discussion #comments-view hr -{ - border-top: 1px solid #e6e6e6; -} -html[it-theme=true] #watch-discussion .comments-post-alert -{ - border: 1px solid var(--yt-swatch-primary)!important; - background: #eee; -} -html[it-theme=true] #watch-discussion .comments-remaining.too-many -{ - color: red; -} -html[it-theme=true] #watch-discussion #comments-view .comment:hover .yt-uix-button, -html[it-theme=true] #watch-discussion #comments-view .comment:hover a -{ - color: #167ac6; -} -html[it-theme=true] .comments .comment-replies-header, -html[it-theme=true] .comments .thumb-title -{ - color: #888; -} -html[it-theme=true] .comments .feedback-banner -{ - background: #fcf4d8; -} -html[it-theme=true] .comments-wait -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comments .comment-replies-header .hide-comments a, -html[it-theme=true] .comments .comment-replies-header .load-comments a -{ - color: #2793e6; -} -html[it-theme=true] .comments .comment-item .user-photo -{ - background-color: #ddd; -} -html[it-theme=true] .comments .comment-header .user-name -{ - color: #167ac6; -} -html[it-theme=true] .comments .channel-owner .comment-header .user-name -{ - background-color: #dbe4eb; -} -html[it-theme=true] .comments .comment-header .linked-comment -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comments .comment-header .moderation-reason, -html[it-theme=true] .comments .comment-header .spacer, -html[it-theme=true] .comments .comment-header .time, -html[it-theme=true] .comments .comment-header .time a, -html[it-theme=true] .comments .comment-header .tip-given-comment-text, -html[it-theme=true] .comments .comment-header .visibility-link -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comments .comment-text.long .comment-text-toggle, -html[it-theme=true] .comments .vis-inspect-link -{ - color: #888; -} -html[it-theme=true] .comments .comment-entry:hover .thumb-title, -html[it-theme=true] .comments .comment-entry:hover .vis-inspect-link -{ - color: #128ee9; -} -html[it-theme=true] .comments .comment-item:hover .mod-buttonbar, -html[it-theme=true] .comments .comment-item:hover .mod-buttonbar .mod-button -{ - color: #000; - border-color: #eee; -} -html[it-theme=true] .comments .mod-list, -html[it-theme=true] .comments .paginator -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comments .add-options-separator -{ - background-color: #ccc; -} -html[it-theme=true] .all-comments, -html[it-theme=true] .all-comments a, -html[it-theme=true] .comments .mod-list, -html[it-theme=true] .comments .mod-list-button -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comments .mod-list-button:hover -{ - color: var(--yt-swatch-text); - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .all-comments, -html[it-theme=true] .all-comments a, -html[it-theme=true] .comments .comment-footer-action -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comment-author-text, -html[it-theme=true] .comments .like-count -{ - color: #128ee9; -} -html[it-theme=true] .comment-renderer-reply, -html[it-theme=true] .comment-renderer-text-content, -html[it-theme=true] .comments .paginator, -html[it-theme=true] .distiller-first-time-promo .text -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comments .paginator -{ - background-color: #f8f8f8; -} -html[it-theme=true] .comments .paginator:hover -{ - border-color: #c6c6c6; - background-color: #f0f0f0; -} -html[it-theme=true] .distiller-first-time-promo .promo-content -{ - border: 1px solid #ddd; - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 1px 10px rgba(180,180,180,.5); - box-shadow: 0 1px 10px rgba(180,180,180,.5); -} -html[it-theme=true] .distiller-first-time-promo .arrow -{ - border-bottom: 10px solid var(--yt-swatch-text); -} -html[it-theme=true] .distiller-first-time-promo .arrow-border -{ - border-bottom-color: #ccc; -} -html[it-theme=true] .distiller-first-time-promo .dismiss-button -{ - color: var(--yt-swatch-text); - border-color: #167ac6; - background-color: #167ac6; -} -html[it-theme=true] #progress -{ - background: #b91f1f; - -webkit-box-shadow: #b91f1f 1px 0 6px 1px; - box-shadow: #b91f1f 1px 0 6px 1px; -} -html[it-theme=true] #gaming-event-promo-overlay -{ - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,.1),0 4px 4px 0 rgba(0,0,0,.2); - box-shadow: 0 0 4px 0 rgba(0,0,0,.1),0 4px 4px 0 rgba(0,0,0,.2); -} -html[it-theme=true] .ad-carousel-nav-button:hover, -html[it-theme=true] .iv-cards-slider .iv-cards-slider-button:hover, -html[it-theme=true] .iv-cards-slider:hover .iv-cards-slider-button, -html[it-theme=true] .promotion-shelf-slot:hover .ad-carousel-nav-button -{ - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,.12),0 2px 2px 0 rgba(0,0,0,.24); - box-shadow: 0 0 2px 0 rgba(0,0,0,.12),0 2px 2px 0 rgba(0,0,0,.24); -} -html[it-theme=true] #gaming-event-promo-title, -html[it-theme=true] #watch-description h2, -html[it-theme=true] .ac-renderer .active b -{ - color: #000; -} -html[it-theme=true] #gaming-event-promo-body, -html[it-theme=true] .ads-mute-button:hover -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ads-mute-button -{ - color: gray; -} -html[it-theme=true] .ads-mute-undo -{ - color: #167ac6; -} -html[it-theme=true] .ads-mute-survey, -html[it-theme=true] .video-list-item a:hover -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .video-list-item a:visited .title -{ - color: #408; -} -html[it-theme=true] .video-list-item .title -{ - color: #03c; -} -html[it-theme=true] .share-email label, -html[it-theme=true] .video-list-item .stat -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .video-list-item .stat .time-created -{ - border-left: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .video-list-item .ux-thumb-wrap .video-count -{ - color: var(--yt-swatch-text); - background: rgba(0,0,0,.8); -} -html[it-theme=true] .iv-cards-companion a, -html[it-theme=true] .video-list .movie-data, -html[it-theme=true] .video-list .video-list-item .description, -html[it-theme=true] .video-list .video-list-item .stat, -html[it-theme=true] .video-list .video-list-item .title, -html[it-theme=true] .video-list-item .stat strong, -html[it-theme=true] .video-list-item .views -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .video-list .video-list-item .title:visited -{ - color: #036; -} -html[it-theme=true] .video-list .yt-thumb-64 .yt-thumb-square -{ - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .related-item-dismissed-container -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ac-renderer -{ - color: #03c; - border: 1px solid #999; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #watch-actions-stats .stats-bragbar-container, -html[it-theme=true] .iv-cards-companion, -html[it-theme=true] .iv-website-companion, -html[it-theme=true] .offer-module-menu span -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ac-renderer .active -{ - color: #03c; - background-color: #eff4fc; -} -html[it-theme=true] .share-email label span -{ - color: #999; -} -html[it-theme=true] .share-email-preview-container -{ - background: #1c2022!important; -} -html[it-theme=true] .iv-btp-companion, -html[it-theme=true] .iv-cards-companion, -html[it-theme=true] .iv-website-companion -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-cards-companion a:hover, -html[it-theme=true] .iv-cards-slider-unit:hover .iv-cards-slider-text -{ - color: #2793e6; -} -html[it-theme=true] .iv-cards-slider-unit:hover -{ - -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,.12),0 2px 2px 0 rgba(0,0,0,.24); - box-shadow: 0 0 2px 0 rgba(0,0,0,.12),0 2px 2px 0 rgba(0,0,0,.24); -} -html[it-theme=true] .iv-btp-title, -html[it-theme=true] .iv-website-companion-domain, -html[it-theme=true] .iv-website-companion-header -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #action-panel-details:hover a, -html[it-theme=true] #watch7-sidebar .related-tweaks-alternate a span.title, -html[it-theme=true] .iv-website-companion:hover .iv-website-companion-header -{ - color: #167ac6; -} -html[it-theme=true] .iv-btp-card:hover .iv-btp-card-headline, -html[it-theme=true] .iv-btp-hovercard:hover .iv-btp-hovercard-headline -{ - color: #2793e6; -} -html[it-theme=true] .iv-btp-card -{ - border-right: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-btp-card-merchant, -html[it-theme=true] .iv-btp-card-merchant-text, -html[it-theme=true] .iv-btp-card-reviews, -html[it-theme=true] .iv-btp-hovercard-headline, -html[it-theme=true] .stats-header .stats-opt-out, -html[it-theme=true] .stats-header p, -html[it-theme=true] .stats-sub-header -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch-actions-stats .stats-bragbar -{ - color: var(--yt-swatch-text)!important; - border-color: var(--yt-swatch-primary)!important; - background-color: #f8f8f8; -} -html[it-theme=true] #watch-actions-stats .stats-bragbar-filler -{ - border: 1px solid var(--yt-swatch-primary)!important; - background-color: #f8f8f8; -} -html[it-theme=true] #watch-actions-stats .stats-bragbar:hover -{ - border-color: #c6c6c6; - background-color: #eee; -} -html[it-theme=true] #watch-actions-stats .stats-bragbar.yt-uix-button-toggled -{ - border-color: #bababa; - background-color: #e5e5e5; -} -html[it-theme=true] #watch-actions-stats .metric-label -{ - color: #444; - text-shadow: 0 -1px 0 rgba(255,255,255,.5); -} -html[it-theme=true] #action-panel-add-transcript p, -html[it-theme=true] #action-panel-details a, -html[it-theme=true] #watch-actions-stats .stats-bragbar .bragbar-metric, -html[it-theme=true] #watch-actions-stats .stats-bragbar .bragbar-metric-large, -html[it-theme=true] #watch7-sidebar, -html[it-theme=true] #watch7-sidebar .related-tweaks-alternate a:hover span.title, -html[it-theme=true] .share-panel, -html[it-theme=true] .share-panel-embed-legal, -html[it-theme=true] .share-panel-show-more, -html[it-theme=true] .share-panel-url, -html[it-theme=true] .watch-actions-stats-rats .sub-time, -html[it-theme=true] .watch-actions-stats-rats .sub-views, -html[it-theme=true] .watch-actions-stats-rats .sub-watch-time -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .share-panel .collapsed-message .arrow -{ - border-top-color: #8d8d8d; -} -html[it-theme=true] .share-panel .expanded-message .arrow -{ - border-bottom-color: #8d8d8d; -} -html[it-theme=true] .share-panel-embed-container hr -{ - border-color: #ccc; -} -html[it-theme=true] .trimmer -{ - background-color: #126db3; -} -html[it-theme=true] .trimmer .end-time, -html[it-theme=true] .trimmer .start-time -{ - color: var(--yt-swatch-text); - background: #126db3; -} -html[it-theme=true] .clip-trimmer .grayout -{ - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: inset 0 2px 5px #666; - box-shadow: inset 0 2px 5px #666; -} -html[it-theme=true] .action-panel-error, -html[it-theme=true] .action-panel-loading, -html[it-theme=true] .share-panel-gif-iframe-container, -html[it-theme=true] .share-panel-gif-url-container -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch8-action-buttons -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .alloffers-button, -html[it-theme=true] .movie-upsell-title a:hover -{ - color: #167ac6; -} -html[it-theme=true] .alloffers-button:hover -{ - color: #126db3; -} -html[it-theme=true] #watch-description, -html[it-theme=true] #watch-disclaimer, -html[it-theme=true] #watch-header .yt-user-info a, -html[it-theme=true] #watch-header .yt-user-separator, -html[it-theme=true] .movie-upsell-title a, -html[it-theme=true] .video-extras-likes-dislikes, -html[it-theme=true] .video-extras-likes-dislikes .dislikes -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .video-extras-sparkbar-likes -{ - background: #167ac6; -} -html[it-theme=true] .video-extras-sparkbar-dislikes -{ - background: #ccc; -} -html[it-theme=true] .watch-stage-mode #theater-background, -html[it-theme=true] .watch-stage-mode .alerts-wrapper -{ - background-color: #000; -} -html[it-theme=true] #shared-conversation-header .yt-user-info a -{ - color: #b8b8b8; -} -html[it-theme=true] #watch-header .mealbar-promo-renderer .yt-dialog-fg -{ - -webkit-box-shadow: 0 4px 4px rgba(0,0,0,.24); - box-shadow: 0 4px 4px rgba(0,0,0,.24); -} -html[it-theme=true] #watch-metadata, -html[it-theme=true] #watch-metadata-header .review-aggregate-badge-renderer-text a, -html[it-theme=true] .movie-upsell-description, -html[it-theme=true] .movie-upsell-subtitle, -html[it-theme=true] .movie-upsell-subtitle a, -html[it-theme=true] .movie-upsell-subtitle s -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch-response-header-content p a, -html[it-theme=true] .movie-upsell-extras-section .title -{ - color: #000; -} -html[it-theme=true] #watch-metadata-description-offer div.active-tab, -html[it-theme=true] .alloffer-button-wrapper, -html[it-theme=true] .offer-module-menu span -{ - background-color: #fafafa; -} -html[it-theme=true] .offer-module-menu > span.active-tab -{ - color: #167ac6; - border-bottom: 2px solid #167ac6; -} -html[it-theme=true] #placeholder-player, -html[it-theme=true] #player, -html[it-theme=true] .player-unavailable .content .forced-signin-submessage a -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .player-api, -html[it-theme=true] .player-unavailable.with-background .video-thumb -{ - background: #000; -} -html[it-theme=true] #placeholder-playlist.watch-shell-playlist, -html[it-theme=true] .share-info-pointer -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .share-info-user-container, -html[it-theme=true] .share-info-user-name -{ - color: #505050; -} -html[it-theme=true] .shared-conversation-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .player-unavailable .content .message -{ - border-bottom: 1px solid #888; - text-shadow: 0 2px 2px #000; -} -html[it-theme=true] .player-unavailable .content .submessage, -html[it-theme=true] .player-unavailable .content .submessage .forced-signin-submessage button -{ - text-shadow: 0 1px 1px #000; -} -html[it-theme=true] #switch-users-player .yt-horizontal-rule -{ - border-color: #b8b8b8; -} -html[it-theme=true] .watch7-playlist-interstitial -{ - background: #000; -} -html[it-theme=true] .watch-playlist -{ - color: var(--yt-swatch-text); - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #player-playlist .control-bar -{ - border-top: 1px solid #3a3a3a; -} -html[it-theme=true] #player-playlist .yt-uix-button-player-controls:not(#improvedtube-playlist-reverse) -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #player-playlist .yt-uix-button-player-controls:focus -{ - -webkit-box-shadow: 0 0 0 2px rgba(27,127,204,.8); - box-shadow: 0 0 0 2px rgba(27,127,204,.8); -} -html[it-theme=true] .ie8 #player-playlist .yt-uix-button-player-controls:focus -{ - outline: #1b6ba8 solid 2px; -} -html[it-theme=true] #player-playlist .playlist-label, -html[it-theme=true] .watch-queue-items-list > li.currently-playing:before -{ - color: #c03636; -} -html[it-theme=true] #player-playlist .playlist-title, -html[it-theme=true] .watch-queue-preview-title .video-receiver -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] #player-playlist .playlist-videos-list, -html[it-theme=true] #player-playlist .playlist-videos-list .yt-ui-ellipsis -{ - background-color: transparent!important; -} -html[it-theme=true] #player-playlist .playlist-videos-list li:hover, -html[it-theme=true] #player-playlist .playlist-videos-list li:hover .yt-ui-ellipsis -{ - background-color: #525252; -} -html[it-theme=true] #player-playlist:not(.watch-queue-nav).playlist-videos-list li.currently-playing, -html[it-theme=true] #player-playlist:not(.watch-queue-nav).playlist-videos-list li.currently-playing .yt-ui-ellipsis -{ - background-color: #3a3a3a; -} -html[it-theme=true] #player-playlist:not(.watch-queue-nav).playlist-videos-list li.currently-playing .index -{ - color: #c03636; -} -html[it-theme=true] #player-playlist .playlist-video h4 -{ - color: #cacaca; -} -html[it-theme=true] #player-playlist .video-uploader-byline, -html[it-theme=true] .iv-promo-shelf-next-show-artist-name a -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .watch-queue-preview -{ - background-color: #2a2a2a; -} -html[it-theme=true] .watch-queue-preview-title -{ - color: #ccc; -} -html[it-theme=true] .preview-play-loading, -html[it-theme=true] .watch-queue-preview-button-actions .yt-uix-button -{ - color: var(--yt-swatch-text); - background-color: rgba(0,0,0,.7); -} -html[it-theme=true] .preview-addto-queue-button-success .yt-uix-button-icon-wrapper -{ - background: #167ac6; -} -html[it-theme=true] .watch-queue-preview-playlist-control -{ - color: #eee; - text-shadow: 0 0 5px rgba(0,0,0,.2); -} -html[it-theme=true] .watch-queue-preview-playlist-control .yt-uix-form-input-checkbox-container -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .preview-playlist-mode .watch-queue-preview-playlist-control -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .iv-promo-shelf-next-show-container -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-promo-shelf-calendar-sheet > span:first-child -{ - color: var(--yt-swatch-text); - background: #767676; -} -html[it-theme=true] .iv-promo-shelf-calendar-sheet > span:last-child -{ - background: #1c2022!important; -} -html[it-theme=true] .iv-promo-shelf-next-show-time-place, -html[it-theme=true] .iv-promo-shelf-partner -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch-response-header-content p a:hover, -html[it-theme=true] #watch7-sidebar .video-list-item:hover .title, -html[it-theme=true] #watch7-sidebar .video-list-item:hover .title .yt-deemphasized-text, -html[it-theme=true] .iv-merch-item > a:hover .iv-merch-shelf-title, -html[it-theme=true] .iv-merch-shelf-featured-item .iv-merch-shelf-title:hover, -html[it-theme=true] .iv-promo-shelf-next-show-container:hover .iv-promo-shelf-next-show-artist-name a, -html[it-theme=true] .iv-promo-shelf-upcoming-shows-list-link -{ - color: #167ac6; -} -html[it-theme=true] #iv-promo-shelf > h3, -html[it-theme=true] #watch-response-header-content p, -html[it-theme=true] #watch-sidebar-discussion .unavailable, -html[it-theme=true] #watch7-sidebar .video-list-item a .title .yt-deemphasized-text, -html[it-theme=true] #watch7-sidebar .video-list-item a:visited .title, -html[it-theme=true] #watch7-sidebar .video-list-item a:visited .title .yt-deemphasized-text, -html[it-theme=true] #watch7-sidebar .watch-sidebar-head, -html[it-theme=true] .iv-merch-item > a, -html[it-theme=true] .iv-merch-shelf-description, -html[it-theme=true] .iv-merch-shelf-featured-item .iv-merch-shelf-aside, -html[it-theme=true] .iv-merch-shelf-featured-item .iv-merch-shelf-title, -html[it-theme=true] .iv-merch-shelf-items-list li > a, -html[it-theme=true] .iv-merch-shelf-status, -html[it-theme=true] .iv-merch-shelf-vendor, -html[it-theme=true] .iv-promo-shelf-next-shows-title, -html[it-theme=true] .iv-promo-shelf-upcoming-shows-list-subtitle2, -html[it-theme=true] .iv-promo-shelf-upcoming-shows-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #iv-promo-shelf .yt-uix-button-shelf-slider-pager, -html[it-theme=true] #watch-response -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #iv-promo-shelf:hover .yt-uix-button-shelf-slider-pager -{ - border: 1px solid var(--yt-swatch-primary)!important; - -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.1); - box-shadow: 1px 1px 3px rgba(0,0,0,.1); -} -html[it-theme=true] #watch-response-content-sort, -html[it-theme=true] #watch7-sidebar .watch-sidebar-separation-line -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #watch-response-content -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #watch-sidebar-live-chat -{ - background: #f8f8f8; -} -html[it-theme=true] #page.watch .google-checkout:hover, -html[it-theme=true] #watch-sidebar-live-chat .yt-uix-expander-collapsed -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #watch7-sidebar .watch-sidebar-head a -{ - color: #444; -} -html[it-theme=true] #watch7-sidebar .watch-sidebar-head:hover a -{ - color: #1c62b9; -} -html[it-theme=true] #watch7-sidebar .video-list-item a:hover .title, -html[it-theme=true] #watch7-sidebar .video-list-item a:hover .title .yt-deemphasized-text -{ - color: #167ac6; -} -html[it-theme=true] #watch7-sidebar .video-list-item a:hover:visited .title, -html[it-theme=true] #watch7-sidebar .video-list-item a:hover:visited .title .yt-deemphasized-text -{ - color: #036; -} -html[it-theme=true] #watch-channel-brand-div-text, -html[it-theme=true] .autoplay-bar .checkbox-on-off, -html[it-theme=true] .ypc-transact-offer .help-link, -html[it-theme=true] .ypc-transact-offer .ypc-offer-rating-score a, -html[it-theme=true] .ytr-transact-offer .ytr-offer-subtitle, -html[it-theme=true] .ytr-transact-offer .ytr-offer-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch_companion_legal_text -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .channel-header-autogenerated-label a -{ - color: #dfdfdf; -} -html[it-theme=true] .ypc-transact-offer -{ - color: #505050; -} -html[it-theme=true] .hoa-badge, -html[it-theme=true] .live-badge -{ - color: #b91f1f; - border: 1px solid #b91f1f; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #guide .yt-deemphasized-text, -html[it-theme=true] .guide-channels-list .guide-view-all a, -html[it-theme=true] .guide-item, -html[it-theme=true] .guide-item-subtitle -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .guide-item-selected .guide-item-subtitle -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .guide-collapsible-item .yt-uix-expander-head:hover, -html[it-theme=true] .guide-flyout-trigger.on-hover, -html[it-theme=true] .guide-item:hover .yt-deemphasized-text -{ - color: var(--yt-swatch-text); - background: #444; -} -html[it-theme=true] .guide-item:hover -{ - background: #444; -} -html[it-theme=true] .guide-item.guide-item-selected, -html[it-theme=true] .guide-item.guide-item-selected .yt-deemphasized-text, -html[it-theme=true] .guide-item.guide-item-selected:hover, -html[it-theme=true] .guide-item.guide-item-selected:hover .yt-deemphasized-text -{ - color: var(--yt-swatch-text)!important; - background: #cc181e; -} -html[it-theme=true] #guide-container .guide-item.guide-item-selected -{ - text-shadow: -1px -1px 0 rgba(0,0,0,.25); -} -html[it-theme=true] .guide-item .guide-count -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .guide-item.guide-item-selected .guide-count, -html[it-theme=true] .guide-item:hover .guide-count -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .guide-badge-live .yt-valign-container -{ - background: #e62117; -} -html[it-theme=true] .guide-flyout -{ - border: 1px solid var(--yt-swatch-primary)!important; - -webkit-box-shadow: 5px 10px 15px 5px rgba(0,0,0,.1); - box-shadow: 5px 10px 15px 5px rgba(0,0,0,.1); -} -html[it-theme=true] .guide-section-separator -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #guide-subscriptions-promo.default-promo -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .guide-subscriptions-promo-tooltip -{ - color: var(--yt-swatch-text); - border: 1px solid #5f8fbf; - border-top: 1px solid #6f9fcf; - background: #6898c9; -} -html[it-theme=true] .guide-subscriptions-promo-tooltip p -{ - text-shadow: 0 1px rgba(1,1,1,.5); -} -html[it-theme=true] .filter-match -{ - color: #000; -} -html[it-theme=true] .guide-item:hover .filter-match -{ - color: var(--yt-swatch-text); -} -li.guide-section h3, -li.guide-section h3 a -{ - color: #cc181e; -} -html[it-theme=true] .subscription-picker-header -{ - border-bottom: 1px solid #dcdcdc; -} -html[it-theme=true] .subscription-list-item:hover -{ - border-color: #cecece; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .subscription-list-item .add-badge, -html[it-theme=true] .subscription-list-item .added-badge, -html[it-theme=true] .subscription-list-item .remove-badge -{ - color: var(--yt-swatch-text); - background-color: #000; -} -html[it-theme=true] #masthead-ad-close, -html[it-theme=true] #premium-yva-close -{ - color: var(--yt-swatch-text); - background: #7e7e7e; -} -html[it-theme=true] .compact-shelf .compact-shelf-view-all-card-link:hover a, -html[it-theme=true] .compact-shelf .compact-shelf-view-all-card-link:hover h4, -html[it-theme=true] .masthead-ad-control.open a:hover, -html[it-theme=true] .pyv-feed-item-headline, -html[it-theme=true] .pyv-shelf-channel-title a:hover -{ - color: #167ac6; -} -html[it-theme=true] .pyv-medium-shelf-wrapper, -html[it-theme=true] .pyv-shelf-wrapper -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .compact-shelf .compact-shelf-view-all-card h4, -html[it-theme=true] .compact-shelf .compact-shelf-view-all-card-link a, -html[it-theme=true] .pyv-feed-item-advertisement-attribution, -html[it-theme=true] .pyv-feed-item-view-count, -html[it-theme=true] .pyv-shelf-advertisement-attribution, -html[it-theme=true] .pyv-shelf-channel-title, -html[it-theme=true] .pyv-shelf-description -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .pyv-medium-shelf-advertisement-attribution -{ - color: gray; -} -html[it-theme=true] .compact-shelf .yt-uix-button-shelf-slider-pager -{ - background: var(--ytd-searchbox-legacy-button-color)!important; -} -html[it-theme=true] .yt-ui-ellipsis-nowrap-single-line -{ - background: none!important; -} -html[it-theme=true] .watch-view-count -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .browse-list-item-container:hover .compact-shelf .yt-uix-button-shelf-slider-pager, -html[it-theme=true] .compact-shelf:hover .yt-uix-button-shelf-slider-pager -{ - border: 1px solid var(--yt-swatch-primary)!important; - -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.1); - box-shadow: 1px 1px 3px rgba(0,0,0,.1); -} -html[it-theme=true] .c4-content-scroll-container, -html[it-theme=true] .channels-content-item .channel-video-badge.next-badge -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .expanded-shelf .expanded-shelf-view-all-link:hover, -html[it-theme=true] .expanded-shelf button.yt-uix-expander-head:hover, -html[it-theme=true] .multirow-shelf .compact-shelf-view-all-card-link:hover a, -html[it-theme=true] .multirow-shelf .compact-shelf-view-all-card-link:hover h4 -{ - color: #167ac6; -} -html[it-theme=true] .channels-content-item .channel-video-badge, -html[it-theme=true] .channels-content-item h4, -html[it-theme=true] .expanded-shelf .expanded-shelf-view-all-link, -html[it-theme=true] .expanded-shelf-content-item .metadata .time-published, -html[it-theme=true] .multirow-shelf .compact-shelf-view-all-card h4, -html[it-theme=true] .multirow-shelf .compact-shelf-view-all-card-link a, -html[it-theme=true] .promoted-item-metadata p, -html[it-theme=true] .shelf-debug-info, -html[it-theme=true] .shelf-item .branded-page-module-title a.c4-shelf-title-count, -html[it-theme=true] .shelf-item .branded-page-module-title a.c4-shelf-title-count:visited, -html[it-theme=true] .shelf-item .channels-content-item .content-item-time-created, -html[it-theme=true] .shelf-item .channels-content-item .content-item-view-count, -html[it-theme=true] .shelf-item .shelf-title-table .shelf-title-row .menu-container -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .channels-content-item .content-item-detail a.content-item-title, -html[it-theme=true] .channels-content-item .content-item-detail a.content-item-title:hover, -html[it-theme=true] .channels-content-item .content-item-detail a.content-item-title:visited, -html[it-theme=true] .shelf-item .branded-page-module-title a.c4-shelf-title-count:hover -{ - color: #167ac6; -} -html[it-theme=true] .shelf-item .branded-page-module-title .shelf-featured-badge -{ - color: var(--yt-swatch-text); - background-color: #167ac6; -} -html[it-theme=true] .shelf-debug-info -{ - background: #f5f6ce; -} -html[it-theme=true] .shelf-debug-info-content -{ - color: #000; -} -html[it-theme=true] .channel-video-thumb-container.watched .channel-video-thumb-watched -{ - color: var(--yt-swatch-text); - background: #000; -} -html[it-theme=true] .channel-summary-list-item .subscriber-count, -html[it-theme=true] .channel-summary-list-item h4, -html[it-theme=true] .channels-content-item .content-item-detail, -html[it-theme=true] .channels-content-item .content-item-detail a, -html[it-theme=true] .content-container-empty -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .annotation.iv-promo-website-card-cta .iv-promo-contents .iv-promo-txt p, -html[it-theme=true] .channels-content-item .content-item-detail .metadata-separator -{ - color: #bbb; -} -html[it-theme=true] .content-picker-selector-item .content-picker-action-bar -{ - background-color: #fbfbfb; -} -html[it-theme=true] .content-picker-selector-item .remove -{ - border-right: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .content-picker-selector-item .yt-pl-thumb-link:hover .yt-pl-thumb .sidebar -{ - background: rgba(0,0,0,.6); -} -html[it-theme=true] .i-u-cancel, -html[it-theme=true] .video-link-cancel -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .attachment-editor-button -{ - color: #128ee9; -} -html[it-theme=true] .attachment-editor-poll-option.yt-uix-form-error .yt-uix-form-input-text:focus -{ - border-color: #e52d27; -} -html[it-theme=true] .attachment-editor-poll-option:not(.yt-uix-form-error).attachment-editor-poll-option-counter -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .attachment-editor-poll-option-input::-webkit-input-placeholder -{ - color: #b8b8b8; -} -html[it-theme=true] .attachment-editor-poll-option-input::-moz-placeholder -{ - color: #b8b8b8; -} -html[it-theme=true] .attachment-editor-poll-option-input:-ms-input-placeholder -{ - color: #b8b8b8; -} -html[it-theme=true] .i-u-drop-zone -{ - color: #b8b8b8; - border: 2px dashed #ddd; -} -html[it-theme=true] .comment-simplebox-renderer-collapsed-content, -html[it-theme=true] .exp-comments-refresh .comment-author-text, -html[it-theme=true] .exp-comments-refresh .comment-renderer-header .comment-renderer-time a, -html[it-theme=true] .exp-comments-refresh .comment-renderer-header a:hover, -html[it-theme=true] .exp-comments-refresh .comment-renderer-like-count, -html[it-theme=true] .exp-comments-refresh .comment-renderer-reply, -html[it-theme=true] .exp-comments-refresh .comment-renderer-reply-count, -html[it-theme=true] .exp-comments-refresh .comment-renderer-text-content a, -html[it-theme=true] .exp-comments-refresh .comment-renderer-text-content a:hover, -html[it-theme=true] .exp-comments-refresh .comment-renderer:hover .comment-renderer-reply:hover, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer .comment-simplebox-renderer-collapsed-content:hover, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-hide, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-hide:hover, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-paginator, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-paginator:hover, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-reply-icon, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-sort-order-text, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-view, -html[it-theme=true] .exp-comments-refresh .comment-replies-renderer-view:hover, -html[it-theme=true] .exp-comments-refresh .comment-section-renderer-paginator, -html[it-theme=true] .exp-comments-refresh .comment-section-renderer-paginator:hover, -html[it-theme=true] .exp-comments-refresh .comment-text-toggle-link > .yt-uix-button-link, -html[it-theme=true] .exp-comments-refresh .comment-text-toggle-link > .yt-uix-button-link:hover, -html[it-theme=true] .exp-comments-refresh.exp-comments-refresh-reply-icon .comment-replies-renderer-expander-down:hover -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .i-u-drop-zone.i-u-error -{ - border-color: #e52d27; -} -html[it-theme=true] .i-u-hover -{ - border-color: #167ac6; -} -html[it-theme=true] .exp-comments-refresh .comment-thread-renderer:last-of-type, -html[it-theme=true] .exp-comments-refresh .comment-thread-renderer:not(:last-of-type).comment-replies-renderer -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .image-attachment-viewer -{ - background: #000; -} -html[it-theme=true] .i-a-v-comment-background -{ - background-color: rgba(0,0,0,.9); -} -html[it-theme=true] .i-a-v-comment-background::-webkit-scrollbar-thumb -{ - background: rgba(255,255,255,.6); -} -html[it-theme=true] .i-a-v-comment-author-text, -html[it-theme=true] .i-a-v-comment-renderer-time a -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .i-a-v-like-count -{ - color: #4285f4; -} -html[it-theme=true] .i-a-v-comment-text-content -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .comment-poll-footer -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-poll-choice-button[disabled], -html[it-theme=true] .yt-uix-poll-choice-button[disabled]:hover -{ - color: #000; -} -html[it-theme=true] .comment-poll-choice[aria-checked=true], -html[it-theme=true] .comment-renderer-like-count -{ - color: #128ee9; -} -html[it-theme=true] .comment-poll-choice[aria-checked=true] .comment-poll-choice-radio -{ - border-color: var(--yt-swatch-text); - background-color: var(--yt-swatch-text); -} -html[it-theme=true] .comment-poll-choice-radio -{ - border-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comment-poll-choice-bar -{ - background-color: #ddd; -} -html[it-theme=true] .comment-poll-choice[aria-checked=true] .comment-poll-choice-bar -{ - background-color: #def0ff; -} -html[it-theme=true] .comment-renderer-pinned-comment-badge -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comment-renderer-author-comment-badge.creator -{ - background-color: #008bec; -} -html[it-theme=true] .comment-renderer-author-comment-badge.creator .comment-author-text -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .comment-renderer.channel-owner .comment-author-text -{ - background-color: #dbe4eb; -} -html[it-theme=true] .comment-simplebox, -html[it-theme=true] .comment-simplebox-prompt, -html[it-theme=true] .comment-simplebox-text -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comment-renderer-header .comment-renderer-linked-comment -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comment-renderer-header .comment-renderer-time, -html[it-theme=true] .comment-renderer-header .comment-renderer-time a, -html[it-theme=true] .comment-renderer-header .comment-renderer-tipjar-supported -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comment-replies-renderer-hide, -html[it-theme=true] .comment-replies-renderer-paginator, -html[it-theme=true] .comment-replies-renderer-view -{ - color: #2793e6; -} -html[it-theme=true] .comment-section-header-renderer, -html[it-theme=true] .comment-video-link .yt-lockup-title > a -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comment-simplebox-frame -{ - border: 1px solid var(--yt-swatch-text)!important; - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.05); - box-shadow: inset 0 0 1px rgba(0,0,0,.05); -} -html[it-theme=true] .comment-simplebox:not(.yt-uix-form-error).focus .comment-simplebox-frame -{ - border-color: #167ac6; - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.1); - box-shadow: inset 0 0 1px rgba(0,0,0,.1); -} -html[it-theme=true] .yt-uix-form-error .comment-simplebox-frame -{ - border-color: #e52d27; -} -html[it-theme=true] .comment-simplebox-error-message -{ - color: #e62117; -} -html[it-theme=true] .comment-simplebox-text:empty:after -{ - color: #b8b8b8; -} -html[it-theme=true] .comment-simplebox-renderer -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comment-simplebox-renderer-collapsed -{ - border: 0!important; -} -html[it-theme=true] .comment-video-link -{ - border: 1px solid #ddd; -} -html[it-theme=true] .branded-page-module-title a.branded-page-module-title-link:hover, -html[it-theme=true] .comment-video-link:hover .yt-lockup-title > a, -html[it-theme=true] .video-player-view-component .video-detail .title a .yt-deemphasized-text, -html[it-theme=true] .video-player-view-component .video-detail a -{ - color: #167ac6; -} -html[it-theme=true] .c4-featured-content .featured-content-subtitle, -html[it-theme=true] .comment-renderer-translate-button-default, -html[it-theme=true] .comment-renderer-translate-button-toggled, -html[it-theme=true] .options-renderer-addition p, -html[it-theme=true] .options-renderer-confirmation p, -html[it-theme=true] .options-renderer-message-review, -html[it-theme=true] .video-player-view-component, -html[it-theme=true] .video-player-view-component .view-count .count -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .comment-section-renderer-paginator -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; - background-color: #f8f8f8; -} -html[it-theme=true] .comment-section-renderer-paginator:hover -{ - border-color: #c6c6c6; - background-color: #f0f0f0; -} -html[it-theme=true] .options-renderer-info, -html[it-theme=true] .options-renderer-message-abuse -{ - border-bottom: 1px solid #ddd; -} -html[it-theme=true] .options-renderer-confirmation -{ - background-color: #efefef; -} -html[it-theme=true] .options-renderer-content .yt-uix-form-input-radio-container input:checked .yt-uix-form-input-radio-element:after -{ - background: var(--yt-swatch-text)!important; -} -html[it-theme=true] .featured-content-nav .yt-uix-button-icon-up-next-prev -{ - border-right-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .featured-content-nav .yt-uix-button-icon-up-next-next -{ - border-left-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .welcome.c4-spotlight-module-component -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .video-player-view-component .mini-meh -{ - background-color: #000; -} -html[it-theme=true] .yt-uix-expander-ellipsis -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .google-checkout -{ - border: 1px solid #ccc; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .google-checkout-header -{ - color: #000; -} -html[it-theme=true] .yt-uix-button-donate.yt-uix-button -{ - border-color: #ccc; - background-color: #427fed; -} -html[it-theme=true] .yt-uix-button-donate[disabled] -{ - background-color: #427fed; -} -html[it-theme=true] .yt-uix-button-donate:hover -{ - background-color: #4285f4; -} -html[it-theme=true] .yt-uix-button-donate:active -{ - background-color: #3a75d6; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.15); - box-shadow: inset 0 1px 0 rgba(0,0,0,.15); -} -html[it-theme=true] .yt-uix-button-donate .yt-uix-button-content -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .about-action, -html[it-theme=true] .about-metadata-container, -html[it-theme=true] .c4-overview-has-no-items -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button-donate .yt-uix-button-icon-wrapper -{ - background: #eee; -} -html[it-theme=true] .yt-uix-button-donate:active .yt-uix-button-icon-wrapper -{ - background: #d1d1d1; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.15); - box-shadow: inset 0 1px 0 rgba(0,0,0,.15); -} -html[it-theme=true] .branded-page-v2-primary-col .branded-page-box:last-child.c4-featured-content, -html[it-theme=true] .branded-page-v2-primary-col .branded-page-box:last-child.c4-featured-content-editor, -html[it-theme=true] .branded-page-v2-primary-col .branded-page-box:last-child.video-player-view-component, -html[it-theme=true] .branded-page-v2-primary-col .branded-page-box:last-child.welcome -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-channel-msg-dialog .compose-message, -html[it-theme=true] .yt-channel-msg-dialog .user-box -{ - border: 1px solid #bbb; -} -html[it-theme=true] .yt-channel-msg-dialog .compose-message:focus -{ - border: 1px solid #1b7fcc; - -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,.1); - box-shadow: inset 0 0 1px rgba(0,0,0,.1); -} -html[it-theme=true] #browse-items-primary .item-section > li > .yt-lockup-tile, -html[it-theme=true] #c4-header-bg-container, -html[it-theme=true] #channel-feed-post-form, -html[it-theme=true] #channel-subheader, -html[it-theme=true] .branded-page-v2-primary-col .branded-page-box, -html[it-theme=true] .branded-page-v2-primary-col .yt-uix-inlineedit-view-container .branded-page-box, -html[it-theme=true] .branded-page-v2-subnav-container, -html[it-theme=true] .comment-history-block-header, -html[it-theme=true] .comment-history-entry-renderer, -html[it-theme=true] .double-shelf-container, -html[it-theme=true] .feed-header, -html[it-theme=true] .feed-item-container.legacy-style .feed-item-main, -html[it-theme=true] .feed-item-dismissal, -html[it-theme=true] .section-list li .item-section .branded-page-box, -html[it-theme=true] .yt-card .branded-page-v2-top-row -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .about-metadata-label-border-top, -html[it-theme=true] .about-network-stat, -html[it-theme=true] .channel-description-wrapper .yt-uix-inlineedit-edit, -html[it-theme=true] .feed-item-dismissal, -html[it-theme=true] .feed-item-grouplet-with-separator, -html[it-theme=true] .flag-channel-abuse-form hr, -html[it-theme=true] .package-module, -html[it-theme=true] .ypc-channel-offer-indirect-offers -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-channel-msg-dialog .yt-dialog-footer -{ - background-color: #eee; -} -html[it-theme=true] .flag-channel-overlay-content .warning -{ - color: #d00; -} -html[it-theme=true] .branded-page-module-title, -html[it-theme=true] .branded-page-module-title a, -html[it-theme=true] .branded-page-module-title a:visited, -html[it-theme=true] .branded-page-related-channels h3, -html[it-theme=true] .branded-page-related-channels h3 a, -html[it-theme=true] .branded-page-related-channels-item .yt-uix-button-link, -html[it-theme=true] .branded-page-related-channels-item .yt-uix-button-link[disabled], -html[it-theme=true] .branded-page-related-channels-item .yt-uix-button-link[disabled]:hover, -html[it-theme=true] .branded-page-v2-secondary-col .branded-page-related-channels-see-more a, -html[it-theme=true] .business-email-container .business-email-button, -html[it-theme=true] .business-email-container .smallgray, -html[it-theme=true] .channel-description, -html[it-theme=true] .channel-description-expander .yt-uix-expander-head -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #channel-feed-post-form .yt-uix-expander-collapsed .enable-post-click-target -{ - text-indent: -999px; - - background: #000; -} -html[it-theme=true] .yt-card .branded-page-v2-primary-col -{ - border-right: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .branded-page-related-channels h3 a:hover, -html[it-theme=true] .branded-page-related-channels-item .yt-uix-button-link:hover, -html[it-theme=true] .branded-page-v2-secondary-col .branded-page-related-channels-see-more a:hover, -html[it-theme=true] .ypc-channel-offer-card .ypc-channel-title a:hover, -html[it-theme=true] .ypc-package-title a:hover -{ - color: #167ac6; -} -html[it-theme=true] #c4-header-bg-container, -html[it-theme=true] #c4-header-bg-container .hd-banner-image -{ - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .channel-empty-message h2 -{ - color: var(--yt-swatch-text); - text-shadow: 0 2px 2px #000; -} -html[it-theme=true] .channel-header-profile-image-container -{ - background-color: rgba(0,0,0,.2); -} -html[it-theme=true] .channel-header-profile-image -{ - background-color: #e9ecee; - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.4); - box-shadow: 0 1px 1px rgba(0,0,0,.4); -} -html[it-theme=true] .channel-header-autogenerated-label -{ - color: #dfdfdf; -} -html[it-theme=true] .channel-header .branded-page-header-info -{ - color: var(--yt-swatch-text); - text-shadow: 0 -1px rgba(0,0,0,.5); -} -html[it-theme=true] #circled-user-profiles-left, -html[it-theme=true] #circled-user-profiles-right, -html[it-theme=true] .channel-header .branded-page-header-title .branded-page-header-title-link -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ypc-channel-offer-card, -html[it-theme=true] .ypc-channel-offers -{ - border: 1px solid var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 0 3px #ccc; - box-shadow: 0 0 3px #ccc; -} -html[it-theme=true] .channel-header .about-custom-links, -html[it-theme=true] .channel-header .about-secondary-links -{ - background-color: rgba(102,102,102,.5); -} -html[it-theme=true] .channel-header .about-channel-link-text -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .channel-header .secondary-header-contents -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .feed-header-promo .promo-text, -html[it-theme=true] .feed-promo p, -html[it-theme=true] .secondary-header-contents .nav-text, -html[it-theme=true] .ypc-channel-offers h3 -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ypc-channel-offers -{ - color: #444; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ypc-channel-offer-indirect-offers -{ - background: #f8f8f8; -} -html[it-theme=true] .ypc-channel-offer-card .ypc-channel-title, -html[it-theme=true] .ypc-package-offer h3 -{ - color: #444; -} -html[it-theme=true] .feed-header-promo -{ - background-color: #fbfbfb; -} -html[it-theme=true] .ypc-channel-offer-card -{ - color: #444; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .comment-history-entry-renderer-content, -html[it-theme=true] .comment-history-entry-renderer-timestamp, -html[it-theme=true] .feed-header .feed-manage-link -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .feed-header .feed-manage-link:hover, -html[it-theme=true] .feed-header .metadata a:hover, -html[it-theme=true] .feed-item-container:hover .feed-item-header a, -html[it-theme=true] .feed-item-container:hover a.yt-user-name -{ - color: #167ac6; -} -html[it-theme=true] .feed-header.has-secondary-link .branded-page-header-title -{ - border-right: 1px solid var(--yt-swatch-text)!important; -} -html[it-theme=true] .feed-header .secondary-link -{ - color: #aaa; - border-left: 1px solid #777; -} -html[it-theme=true] .feed-header .secondary-link:hover -{ - color: #ccc; -} -html[it-theme=true] #masthead-search-terms input, -html[it-theme=true] .feed-header .feed-channel-header-title a, -html[it-theme=true] .feed-header.collection .feed-channel-header-title, -html[it-theme=true] .yt-picker-content strong -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ad-option-warning, -html[it-theme=true] .ad-option-warning a, -html[it-theme=true] .feed-header .metadata, -html[it-theme=true] .feed-header .metadata a, -html[it-theme=true] .feed-item-container .feed-item-main, -html[it-theme=true] .message-shelf, -html[it-theme=true] .yt-ui-bulkactions .bulkactions-actions-button .yt-uix-button-content -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .feed-item-container .branded-page-module-title .branded-page-module-title-link -{ - color: var(--yt-swatch-text); - background: 0!important; -} -html[it-theme=true] .feed-item-main .feed-item-time -{ - color: #ccc; -} -html[it-theme=true] .feed-item-container:hover .feed-item-time, -html[it-theme=true] .feed-item-lockup-title h4, -html[it-theme=true] .feed-item-promo-heading h4, -html[it-theme=true] .feed-item-target .playlist-title a, -html[it-theme=true] .feed-item-target .playlist-title span -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .feed-item-main .playlist-time-created -{ - color: #979797; -} -html[it-theme=true] .feed-item-main .bull -{ - color: #aaa; -} -html[it-theme=true] .feed-item-main .description -{ - color: #777; -} -html[it-theme=true] .feed-item-target .playlist-title a:hover -{ - color: #1c62b9; -} -html[it-theme=true] .feed-item-content-wrapper.channel-lockup, -html[it-theme=true] .feed-item-content-wrapper.playlist-promo -{ - border: 1px solid var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 1px 2px #ddd; - box-shadow: 0 1px 2px #ddd; -} -html[it-theme=true] #yt-banner-promo-renderer-background, -html[it-theme=true] .generic-promo .feed-item-main -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .feed-item-grouplet-header a.title, -html[it-theme=true] .feed-item-grouplet-muted .channels-content-item .content-item-detail a.content-item-title, -html[it-theme=true] .feed-item-grouplet-muted .channels-content-item .content-item-detail a.content-item-title:hover, -html[it-theme=true] .feed-item-grouplet-muted .channels-content-item .content-item-detail a.content-item-title:visited, -html[it-theme=true] .playlist-titles .playlist-item, -html[it-theme=true] .playlist-titles li -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .feed-item-grouplet-header .new-count -{ - color: #ccc; -} -html[it-theme=true] .feed-item-grouplet-muted, -html[it-theme=true] .feed-item-grouplet-muted .channels-content-item .content-item-detail, -html[it-theme=true] .feed-item-grouplet-muted .channels-content-item .content-item-detail a, -html[it-theme=true] .feed-item-grouplet-muted .shelf-item .channels-content-item .content-item-time-created, -html[it-theme=true] .feed-item-grouplet-muted .shelf-item .channels-content-item .content-item-view-count, -html[it-theme=true] .feed-item-grouplet-muted a -{ - color: #b8b8b8; -} -html[it-theme=true] .feed-item-content .playlist-full, -html[it-theme=true] .playlist-summary .view-playlist-link -{ - color: #979797; -} -html[it-theme=true] .feed-item-channel-rec-text a, -html[it-theme=true] .feed-item-content .metadata .view-count, -html[it-theme=true] .feed-item-content .yt-user-name, -html[it-theme=true] .feed-item-dismissal, -html[it-theme=true] .history-search-result-text a, -html[it-theme=true] .playlist-item:hover .item-duration -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .feed-item-container:hover .metadata .view-count -{ - color: #000; -} -html[it-theme=true] .feed-item-content .feed-subscribe-description -{ - color: #777; -} -html[it-theme=true] .double-shelf-item:first-child -{ - border-right: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #history-search .history-search-field -{ - border-color: #ccc; -} -html[it-theme=true] .history-search-result-text a:hover -{ - color: #1c62b9; -} -html[it-theme=true] #social-promo .google-upgrade-promo, -html[it-theme=true] #social-promo .social-service-status, -html[it-theme=true] #social-promo h4, -html[it-theme=true] .history-search-result-text, -html[it-theme=true] .question-shelf-package .message-shelf -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-banner-promo-renderer-background-opacity -{ - background: rgba(0,0,0,.3); -} -html[it-theme=true] .feed-promo, -html[it-theme=true] .lohp-shelf-cell-container:hover -{ - background-color: #fbfbfb; -} -html[it-theme=true] .yt-banner-promo-renderer-small-feature img -{ - border-bottom: 5px solid #e62117; -} -html[it-theme=true] .feed-promo, -html[it-theme=true] .lohp-newspaper-shelf, -html[it-theme=true] .lohp-pyv-medium-shelf-container, -html[it-theme=true] .lohp-pyv-shelf-container -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .single-question-shelf-answers -{ - color: #000; -} -html[it-theme=true] #pl-header .pl-header-details a:hover, -html[it-theme=true] #pl-header .yt-uix-playlistlike.yt-uix-button-toggled .yt-uix-button-content, -html[it-theme=true] .lohp-medium-shelves-container .yt-lockup-mini .yt-lockup-title, -html[it-theme=true] .lohp-shelf-cell-container:hover .lohp-shelf-title, -html[it-theme=true] .lohp-video-link, -html[it-theme=true] .lohp-video-link .yt-deemphasized-text, -html[it-theme=true] .lohp-video-metadata .yt-user-name:hover -{ - color: #167ac6; -} -html[it-theme=true] .user-awareness-setup-rec .feed-item-thumb -{ - -webkit-box-shadow: 2px 3px 2px #ddd; - box-shadow: 2px 3px 2px #ddd; -} -html[it-theme=true] #collaboration-settings .contributor, -html[it-theme=true] .collaboration-settings-contributions .yt-uix-checkbox-on-off -{ - -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.4); - box-shadow: 1px 1px 1px rgba(0,0,0,.4); -} -html[it-theme=true] .lohp-large-shelf-container .lohp-blog-headline -{ - border-top: 1px solid #eaeaea; -} -html[it-theme=true] #pl-header .pl-header-details a, -html[it-theme=true] #pl-header .pl-header-title, -html[it-theme=true] .display-message, -html[it-theme=true] .lohp-blog-attribution, -html[it-theme=true] .lohp-blog-headline, -html[it-theme=true] .lohp-video-metadata, -html[it-theme=true] .lohp-video-metadata .view-count, -html[it-theme=true] .lohp-video-metadata .yt-user-name, -html[it-theme=true] .yt-combobox-menu-item-main .item-count, -html[it-theme=true] .yt-combobox-menu-item-main .item-name -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-combobox-menu-item:hover, -html[it-theme=true] .yt-uix-comboboxinput-radio:checked .yt-combobox-menu-item, -html[it-theme=true] .yt-uix-comboboxinput-radio:focus .yt-combobox-menu-item -{ - background-color: #e0e0e0; -} -html[it-theme=true] .yt-combobox-menu .yt-combobox-menu-content-list -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-combobox-menu:hover -{ - background-color: #ccc; -} -html[it-theme=true] .yt-uix-inlineedit-loading-overlay -{ - background: #ccc; -} -html[it-theme=true] .pl-header-thumb .pl-header-play-all-overlay -{ - color: var(--yt-swatch-text); - text-shadow: 0 1px 1px rgba(255,255,255,.6); -} -html[it-theme=true] #pl-header .pl-header-add-description-button, -html[it-theme=true] #pl-header .pl-header-description, -html[it-theme=true] #pl-header .pl-header-details, -html[it-theme=true] .pl-header-sharepanel-content .share-panel-url -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #pl-header .privacy-icon-present .pl-header-details:before -{ - border-left: solid #e6e6e6 2px; -} -html[it-theme=true] #pl-header .pl-header-description-editor-textarea, -html[it-theme=true] #pl-header .pl-header-description-editor-textarea:focus -{ - border-color: #b8b8b8; -} -html[it-theme=true] .pl-message-panel .yt-alert-default, -html[it-theme=true] .pl-video -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #pl-header .pl-header-add-description-button:hover -{ - color: #167ac6; -} -html[it-theme=true] .pl-header-sharepanel-content #share-panel-playlist-collaboration-options-subtext -{ - color: #b8b8b8; -} -html[it-theme=true] #pl-header .playlist-description-expander, -html[it-theme=true] .pl-message-panel .yt-alert-default .yt-alert-content, -html[it-theme=true] .pl-video-index:before -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .pl-message-panel .yt-alert-actionable -{ - background: #2793e6; -} -html[it-theme=true] .pl-suggestions-video a:hover .pl-suggestions-video-title, -html[it-theme=true] .pl-video:hover .pl-video-owner a, -html[it-theme=true] .pl-video:hover .pl-video-title-link -{ - color: #167ac6; -} -html[it-theme=true] #playlist-settings-editor .yt-dialog-footer, -html[it-theme=true] .yt-uix-dragdrop-cursor-follower, -html[it-theme=true] body #footer-container -{ - border-top: 1px solid var(--yt-swatch-primary)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .pl-video-list-editable .pl-video:hover .pl-video-handle, -html[it-theme=true] .yt-uix-dragdrop-cursor-follower .pl-video-handle -{ - border-right: 1px solid var(--yt-swatch-primary)!important; - border-left: 1px solid var(--yt-swatch-primary)!important; - background: #fbfbfb; -} -html[it-theme=true] .pl-header-inlineedit .c4-module-is-editable:hover, -html[it-theme=true] .set-manual-sort-order .yt-dialog-footer -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .notes-editor .notes-editor-subtitle, -html[it-theme=true] .pl-video-added-by, -html[it-theme=true] .pl-video-added-by a, -html[it-theme=true] .pl-video-owner a, -html[it-theme=true] .pl-video-title, -html[it-theme=true] .pl-video-title-link, -html[it-theme=true] .privacy-checkbox-text, -html[it-theme=true] .privacy-label-text -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .iv-endcap-image img, -html[it-theme=true] .pl-header-inlineedit .yt-uix-button-c4-view-action -{ - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .pl-header-title-editor-input -{ - color: var(--yt-swatch-text)!important; - border-color: #b8b8b8; -} -html[it-theme=true] .pl-header-title-editor-input:focus -{ - border-color: #b8b8b8; -} -html[it-theme=true] #masthead-appbar, -html[it-theme=true] #playlist-settings-editor .yt-uix-tabs, -html[it-theme=true] .add-to-widget .playlists, -html[it-theme=true] .auto-add-confirmation-dialog .yt-dialog-header -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #collaboration-settings .contributor -{ - color: var(--yt-swatch-text); - background-color: #4285f4; -} -html[it-theme=true] #collaboration-settings .none-defined-text, -html[it-theme=true] #yt-uix-videoactionmenu-menu h3, -html[it-theme=true] .add-to-widget .addto-playlist-item, -html[it-theme=true] .pl-suggestions-section .section-description, -html[it-theme=true] .pl-suggestions-video-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .picker.modal-dialog, -html[it-theme=true] .picker.modal-dialog-bg -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #collaboration-settings .collaboration-settings-invite-link.disabled:before -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .picker.modal-dialog -{ - border: 1px solid #acacac; -} -html[it-theme=true] .add-to-widget .addto-playlist-item-subtitle -{ - color: #adadad; -} -html[it-theme=true] .add-to-widget .addto-playlist-item.yt-uix-kbd-nav-highlight, -html[it-theme=true] .add-to-widget .addto-playlist-item:hover, -html[it-theme=true] .add-to-widget .create-playlist-item:focus, -html[it-theme=true] .add-to-widget .create-playlist-item:hover -{ - background-color: #eee; -} -html[it-theme=true] #masthead-appbar, -html[it-theme=true] .create-playlist-widget-form .create-playlist-bottom-section -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button.addto-watch-queue-button-error, -html[it-theme=true] .yt-uix-button.addto-watch-queue-button-success -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-uix-button.addto-watch-queue-button-success -{ - background: #167ac6; -} -html[it-theme=true] #appbar-guide-menu, -html[it-theme=true] .guide-flyout -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #appbar-guide-menu -{ - border-right: 0!important; -} -html[it-theme=true] .guide-pinned .guide-pinning-enabled #appbar-guide-menu -{ - border-right: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #appbar-nav .yt-uix-button.yt-uix-button-epic-nav-item -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar -{ - color: var(--yt-swatch-text); - border-color: var(--yt-swatch-primary); - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar:hover -{ - color: var(--yt-swatch-text)!important; - border-color: #c6c6c6; - background: #f0f0f0; -} -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar.yt-uix-button-active, -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar.yt-uix-button-active:focus, -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar.yt-uix-button-toggled, -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar:active -{ - border-color: #c6c6c6; - background: #e9e9e9; - -webkit-box-shadow: inset 0 1px 0 #ddd; - box-shadow: inset 0 1px 0 #ddd; -} -html[it-theme=true] .yt-uix-button.yt-uix-button-appbar.yt-uix-button-toggled:hover -{ - border-color: #b9b9b9; - background: #e5e5e5; - -webkit-box-shadow: inset 0 1px 0 #ddd; - box-shadow: inset 0 1px 0 #ddd; -} -html[it-theme=true] .appbar-guide-notification -{ - color: var(--yt-swatch-text); - background: #167ac6; -} -html[it-theme=true] #footer-links-primary a, -html[it-theme=true] #footer-links-secondary .copyright, -html[it-theme=true] #footer-links-secondary a, -html[it-theme=true] #footer-links-secondary a:hover, -html[it-theme=true] .background-promo-renderer-body-text -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #footer-main, -html[it-theme=true] #yt-masthead-container -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #footer-links-primary a:hover -{ - color: #167ac6; -} -html[it-theme=true] .yt-content-owner-icon.yt-content-owner-color-0 -{ - background-color: #443393; -} -html[it-theme=true] .yt-content-owner-icon.yt-content-owner-color-1 -{ - background-color: #b21f70; -} -html[it-theme=true] .yt-content-owner-icon.yt-content-owner-color-2 -{ - background-color: #e57a27; -} -html[it-theme=true] .yt-content-owner-icon.yt-content-owner-color-3 -{ - background-color: #e5bc24; -} -html[it-theme=true] .yt-content-owner-icon.yt-content-owner-color-4 -{ - background-color: #0e9151; -} -html[it-theme=true] .yt-content-owner-icon.yt-content-owner-color-5 -{ - background-color: #287ec2; -} -html[it-theme=true] .yt-content-owner-color-0 .agent-mode-sidebar -{ - border-color: #443393; -} -html[it-theme=true] .yt-content-owner-color-1 .agent-mode-sidebar -{ - border-color: #b21f70; -} -html[it-theme=true] .yt-content-owner-color-2 .agent-mode-sidebar -{ - border-color: #e57a27; -} -html[it-theme=true] .yt-content-owner-color-3 .agent-mode-sidebar -{ - border-color: #e5bc24; -} -html[it-theme=true] .yt-content-owner-color-4 .agent-mode-sidebar -{ - border-color: #0e9151; -} -html[it-theme=true] .yt-content-owner-color-5 .agent-mode-sidebar -{ - border-color: #287ec2; -} -html[it-theme=true] #yt-masthead-container -{ - background: var(--yt-swatch-header-primary)!important; -} -html[it-theme=true] #yt-masthead button -{ - background: none!important; -} -html[it-theme=true] #masthead .selected -{ - color: #000; -} -html[it-theme=true] #yt-masthead #logo-container span.content-region, -html[it-theme=true] #yt-masthead-user -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .exp-searchbox-redesign #masthead-search -{ - background-color: #f5f5f5; -} -html[it-theme=true] #masthead-search-term::-webkit-input-placeholder -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #masthead-search-term::-moz-placeholder -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #masthead-search-term:-ms-input-placeholder -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #masthead-search-terms, -html[it-theme=true] .ytp-dni .ytp-chrome-controls .ytp-button[aria-pressed]:after -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .masthead-search-terms-border -{ - border: 1px solid var(--yt-swatch-primary)!important; - -webkit-box-shadow: none!important; - box-shadow: none!important; -} -html[it-theme=true] #masthead-search-term:focus, -html[it-theme=true] #masthead-search.consolidated-form input:focus -{ - border-color: var(--yt-swatch-text); -} -html[it-theme=true] .search-btn-component:focus -{ - -webkit-box-shadow: inset 0 0 0 2px rgba(27,127,204,.4); - box-shadow: inset 0 0 0 2px rgba(27,127,204,.4); -} -html[it-theme=true] #masthead-search .search-btn-component -{ - border-color: transparent!important; - background: var(--ytd-searchbox-legacy-button-color)!important; -} -html[it-theme=true] #yt-masthead-user #sb-button-notify:focus, -html[it-theme=true] #yt-masthead-user #yt-masthead-notifications-button:focus -{ - -webkit-box-shadow: 0 0 0 2px rgba(27,127,204,.4); - box-shadow: 0 0 0 2px rgba(27,127,204,.4); -} -html[it-theme=true] #yt-masthead-user .sb-notif-on .yt-uix-button-content -{ - color: var(--yt-swatch-text); - border-bottom: 1px solid var(--yt-swatch-text); - border-left: 1px solid var(--yt-swatch-text); - background: #cb4437; -} -html[it-theme=true] #sb-onepick-target -{ - border: 1px solid #bebebe; - background-color: #f6f5f6; - -webkit-box-shadow: 0 4px 16px rgba(0,0,0,.199219); - box-shadow: 0 4px 16px rgba(0,0,0,.199219); -} -html[it-theme=true] .sb-card-arrow -{ - border-bottom-color: #bbb; -} -html[it-theme=true] .sb-card-body-arrow -{ - border-bottom-color: #e5e5e5; -} -html[it-theme=true] .sb-card-border -{ - border: 1px solid #bbb; - background: var(--yt-swatch-text); - -webkit-box-shadow: 0 0 5px #bbb; - box-shadow: 0 0 5px #bbb; -} -html[it-theme=true] .sb-on -{ - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 2px 1px #aaa; - box-shadow: 0 2px 1px #aaa; -} -html[it-theme=true] .yt-masthead-account-picker.yt-uix-clickcard-card-content -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-masthead-account-notification -{ - color: #000; - background-color: #fef9db; -} -html[it-theme=true] .yt-masthead-account-notification a -{ - color: #36c; -} -html[it-theme=true] .yt-masthead-picker-header -{ - border-bottom: 1px solid rgba(0,0,0,.2); -} -html[it-theme=true] .yt-masthead-account-picker .yt-masthead-picker-header-status -{ - color: #999; - border-bottom: 1px solid rgba(0,0,0,.2); -} -html[it-theme=true] .yt-uix-clickcard-card.yt-masthead-multilogin .yt-masthead-picker-header-status -{ - color: #dadada; - background-color: #999; -} -html[it-theme=true] .yt-uix-clickcard-card.yt-masthead-multilogin .yt-masthead-multilogin-users-header, -html[it-theme=true] .yt-uix-clickcard-card.yt-masthead-multilogin .yt-masthead-picker-header -{ - color: var(--yt-swatch-text); - background-color: #999; -} -html[it-theme=true] .yt-masthead-picker-photo-change -{ - color: var(--yt-swatch-text); - background-color: rgba(0,0,0,.4); -} -html[it-theme=true] .yt-masthead-picker-account-subtitle -{ - color: #999; -} -html[it-theme=true] .yt-masthead-account-picker-option, -html[it-theme=true] .yt-masthead-picker-footer -{ - border-top: 1px solid rgba(0,0,0,.1); - background: #eee; -} -html[it-theme=true] .yt-masthead-account-picker-option:hover -{ - background: #eee; -} -html[it-theme=true] .yt-masthead-account-picker-option .yt-masthead-picker-name -{ - color: #000; -} -html[it-theme=true] #yt-masthead-notifications-title, -html[it-theme=true] .yt-uix-button-menu-dark-overflow-action-menu .yt-uix-button-menu-item -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-uix-clickcard-card.yt-masthead-multilogin .yt-uix-card-body-arrow -{ - border-bottom-color: #999; -} -html[it-theme=true] .yt-uix-clickcard-card.yt-masthead-domain-notification .yt-uix-card-body-arrow -{ - border-bottom-color: #fef9db; -} -html[it-theme=true] #yt-masthead-notifications-content, -html[it-theme=true] #yt-masthead-notifications-content .item-section > li > .yt-lockup-tile, -html[it-theme=true] #yt-masthead-notifications-content .yt-ui-ellipsis -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #yt-masthead-notifications-content .item-section > li > .yt-lockup-tile -{ - border-bottom: 1px solid rgba(0,0,0,.1); -} -html[it-theme=true] #yt-masthead-notifications-content .item-section > li > .yt-lockup-tile:hover -{ - background: rgba(255,255,255,.1)!important; -} -html[it-theme=true] #yt-masthead-notifications-content .yt-lockup-tile:hover .yt-ui-ellipsis -{ - background: 0!important; -} -html[it-theme=true] .yt-uix-button-menu-dark-overflow-action-menu -{ - border-color: #ccc; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-button-menu-dark-overflow-action-menu .yt-uix-button-menu-item:hover -{ - color: var(--yt-swatch-text); - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #player #player-mole-container.watch-mole, -html[it-theme=true] #player.off-screen #player-mole-container.video-mole, -html[it-theme=true] #watch-queue-mole.video-mole -{ - -webkit-box-shadow: 0 0 17px 3px rgba(0,0,0,.17); - box-shadow: 0 0 17px 3px rgba(0,0,0,.17); -} -html[it-theme=true] .watch-queue-info .tv-queue-details -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch-queue .watch-queue-header -{ - background: #1a1a1a; -} -html[it-theme=true] #watch-queue .autoplay-dismiss-bar, -html[it-theme=true] #watch-queue .watch-queue-control-bar -{ - color: var(--yt-swatch-text); - border-top: 1px solid #3a3a3a; -} -html[it-theme=true] .autoplay-dismiss-bar .autoplay-dismiss-button -{ - color: #4182ef; -} -html[it-theme=true] .watch-queue-control-bar .watch-queue-count, -html[it-theme=true] .watch-queue-items-list > li:before -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #watch-queue .watch-queue-info .tv-queue-title, -html[it-theme=true] #watch-queue .watch-queue-info .watch-queue-title, -html[it-theme=true] #watch-queue .watch-queue-items-list .yt-spinner, -html[it-theme=true] .watch-queue-sections .yt-spinner -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] #watch-queue .autoplay-control-container, -html[it-theme=true] .up-next-item-container, -html[it-theme=true] .up-next-item-container .yt-ui-ellipsis, -html[it-theme=true] .watch-queue-items-list > li, -html[it-theme=true] .watch-queue-items-list > li .yt-ui-ellipsis -{ - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .watch-queue-items-list > li.currently-playing, -html[it-theme=true] .watch-queue-items-list > li.currently-playing .yt-ui-ellipsis -{ - background-color: #3a3a3a; -} -html[it-theme=true] #player-playlist .playlist-videos-list > .up-next-item-container:hover .yt-ui-ellipsis, -html[it-theme=true] .up-next-item-container:hover, -html[it-theme=true] .up-next-item-container:hover .yt-ui-ellipsis, -html[it-theme=true] .watch-queue-items-list > li:hover, -html[it-theme=true] .watch-queue-items-list > li:hover .yt-ui-ellipsis -{ - background-color: #525252; -} -html[it-theme=true] .watch-queue-items-list .currently-playing .watch-queue-video .video-thumb -{ - border: 2px solid #c03636; -} -html[it-theme=true] #safety-form p.safety-submit, -html[it-theme=true] .yt-picker-section -{ - border-top: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .playlist-videos-list .watch-queue-video h4 -{ - color: #cacaca; -} -html[it-theme=true] .playlist-videos-list .video-uploader-byline, -html[it-theme=true] .yt-uix-button-menu-dark-overflow-action-menu .yt-uix-button-menu-item.disabled, -html[it-theme=true] .yt-uix-button-menu-dark-overflow-action-menu .yt-uix-button-menu-item.disabled:hover -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .autoplay-control-bar .autoplay-label -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .autoplay-control-bar .yt-uix-form-input-checkbox-container .yt-uix-form-input-paper-toggle-bar -{ - background-color: #686868; -} -html[it-theme=true] .autoplay-control-bar .yt-uix-form-input-checkbox-container .yt-uix-form-input-paper-toggle-button -{ - background-color: #bdbdbd; -} -html[it-theme=true] .autoplay-control-bar .yt-uix-form-input-checkbox-container.checked .yt-uix-form-input-paper-toggle-bar -{ - background-color: #345182; -} -html[it-theme=true] .autoplay-control-bar .yt-uix-form-input-checkbox-container.checked .yt-uix-form-input-paper-toggle-button -{ - background-color: #4182ef; -} -html[it-theme=true] .overlay-confirmation-preferences-dialog .overlay-confirmation-delivery-method -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] #yt-keyboard-shortcuts-dialog .yt-dialog-title -{ - color: var(--yt-swatch-text); - border-bottom: 1px solid #767676; -} -html[it-theme=true] #yt-keyboard-shortcuts-dialog .yt-dialog-fg -{ - background-color: rgba(0,0,0,.85); -} -html[it-theme=true] #yt-keyboard-shortcuts-dialog .yt-dialog-fg-content -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-keyboard-shortcut-group, -html[it-theme=true] .yt-keyboard-shortcut-key, -html[it-theme=true] .yt-keyboard-shortcuts-clickable -{ - color: #dd0; -} -html[it-theme=true] .yt-picker-header -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] #yt-picker-country-footer, -html[it-theme=true] #yt-picker-language-footer, -html[it-theme=true] #yt-picker-safetymode-footer -{ - color: var(--yt-swatch-text)!important; - background: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 1px 2px #ccc; - box-shadow: 0 1px 2px #ccc; -} -html[it-theme=true] .ytp-keyboard-focus .ytp-button:focus, -html[it-theme=true] .ytp-keyboard-focus a:focus -{ - -webkit-box-shadow: inset 0 0 0 2px rgba(27,127,204,.8); - box-shadow: inset 0 0 0 2px rgba(27,127,204,.8); -} -html[it-theme=true] .html5-video-player -{ - background-color: #000; -} -html[it-theme=true] .html5-video-player a:hover -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .html5-video-player:not(.ytp-touch-mode)::-webkit-scrollbar -{ - background-color: #424242; -} -html[it-theme=true] .html5-video-player:not(.ytp-touch-mode)::-webkit-scrollbar-track -{ - background-color: #424242; -} -html[it-theme=true] .html5-video-player:not(.ytp-touch-mode)::-webkit-scrollbar-thumb -{ - border: 1px solid #424242; - background-color: #8e8e8e; -} -html[it-theme=true] .ytp-chrome-controls .ytp-button[aria-pressed]:after, -html[it-theme=true] .ytp-swatch-background-color, -html[it-theme=true] .ytp-swatch-background-color-secondary -{ - background-color: #f12b24; -} -html[it-theme=true] .ytp-color-white .ytp-chrome-controls .ytp-button[aria-pressed]:after -{ - background-color: #ddd; -} -html[it-theme=true] .ytp-color-blue .ytp-chrome-controls .ytp-button[aria-pressed]:after -{ - background-color: #3793e6; -} -html[it-theme=true] .ytp-dni .ytp-swatch-background-color, -html[it-theme=true] .ytp-dni .ytp-swatch-background-color-secondary -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ytp-color-white .ytp-settings-button.ytp-3d-badge-grey:after, -html[it-theme=true] .ytp-color-white .ytp-settings-button.ytp-3d-badge:after, -html[it-theme=true] .ytp-color-white .ytp-settings-button.ytp-4k-quality-badge:after, -html[it-theme=true] .ytp-color-white .ytp-settings-button.ytp-5k-quality-badge:after, -html[it-theme=true] .ytp-color-white .ytp-settings-button.ytp-8k-quality-badge:after, -html[it-theme=true] .ytp-color-white .ytp-settings-button.ytp-hd-quality-badge:after, -html[it-theme=true] .ytp-color-white .ytp-swatch-background-color -{ - background-color: #ddd; -} -html[it-theme=true] .ytp-color-white .ytp-swatch-background-color-secondary, -html[it-theme=true] .ytp-sparkline > span -{ - background-color: #aaa; -} -html[it-theme=true] .ytp-color-blue .ytp-settings-button.ytp-3d-badge-grey:after, -html[it-theme=true] .ytp-color-blue .ytp-settings-button.ytp-3d-badge:after, -html[it-theme=true] .ytp-color-blue .ytp-settings-button.ytp-4k-quality-badge:after, -html[it-theme=true] .ytp-color-blue .ytp-settings-button.ytp-5k-quality-badge:after, -html[it-theme=true] .ytp-color-blue .ytp-settings-button.ytp-8k-quality-badge:after, -html[it-theme=true] .ytp-color-blue .ytp-settings-button.ytp-hd-quality-badge:after, -html[it-theme=true] .ytp-color-blue .ytp-swatch-background-color, -html[it-theme=true] .ytp-color-blue .ytp-swatch-background-color-secondary -{ - background-color: #3793e6; -} -html[it-theme=true] .ytp-swatch-color -{ - color: #f12b24; -} -html[it-theme=true] .ytp-dni .ytp-swatch-color -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .ytp-color-white .ytp-swatch-color -{ - color: #ddd; -} -html[it-theme=true] .ytp-color-blue .ytp-swatch-color -{ - color: #3793e6; -} -html[it-theme=true] .video-ad-status-bar -{ - background-color: #000; -} -html[it-theme=true] .html5-video-player .videoAdUiAdInfoPopupText a, -html[it-theme=true] .html5-video-player .videoAdUiAdInfoPopupText a:hover -{ - color: #167ac6; -} -html[it-theme=true] .html5-video-player .attribution-button -{ - text-shadow: #000 0 0 8px,rgba(0,0,0,.9) 0 0 4px; -} -html[it-theme=true] .ytp-ad-visit-advertiser:hover .ytp-ad-visit-advertiser-text, -html[it-theme=true] .ytp-autohide .ytp-ad-attribution-bar, -html[it-theme=true] .ytp-hide-controls .ytp-ad-attribution-bar, -html[it-theme=true] .ytp-iv-drawer-open .ytp-ad-attribution-bar -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .ytp-ad-visit-advertiser-text -{ - color: rgba(255,255,255,.75); -} -html[it-theme=true] .ytp-ad-skip-slot -{ - text-shadow: 0 0 4px rgba(0,0,0,.75); -} -html[it-theme=true] .ytp-ad-skip-button -{ - color: var(--yt-swatch-text); - border: 1px solid rgba(255,255,255,.5); - background: rgba(0,0,0,.7); -} -html[it-theme=true] .yt-badge, -html[it-theme=true] .yt-badge-ypc, -html[it-theme=true] .yt-badge-ypc-free, -html[it-theme=true] .yt-badge-ypc-purchased, -html[it-theme=true] .yt-badge-ypc-seasonpass -{ - color: var(--yt-swatch-text)!important; - border: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ytp-ad-skip-button:hover -{ - background: rgba(0,0,0,.9); -} -html[it-theme=true] .annotation.iv-promo .iv-promo-contents .iv-promo-txt strong, -html[it-theme=true] .standalone-ypc-badge-renderer-icon -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .review-aggregate-badge-renderer-text, -html[it-theme=true] .standalone-ypc-badge-renderer-label -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .standalone-ypc-badge-renderer-icon-available -{ - background: #2793e6; -} -html[it-theme=true] .standalone-ypc-badge-renderer-icon-not-available -{ - background: #b8b8b8; -} -html[it-theme=true] .standalone-ypc-badge-renderer-icon-purchased -{ - background: #767676; -} -html[it-theme=true] .yt-badge-ad -{ - color: var(--yt-swatch-text); - background: #e6bc27; -} -html[it-theme=true] .yt-badge-live -{ - color: #e62117; - border: 1px solid #e62117; -} -html[it-theme=true] .yt-badge-music -{ - color: var(--yt-swatch-text); - background-color: #2793e6; -} -html[it-theme=true] .yt-badge-mde-recoupment -{ - color: #2793e6; - border: 1px solid #2793e6; -} -html[it-theme=true] .standalone-collection-badge-renderer-icon, -html[it-theme=true] .standalone-collection-badge-renderer-text a -{ - color: var(--yt-swatch-text)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .standalone-collection-red-badge-renderer-icon -{ - color: #e62117; - border: 1px solid var(--yt-swatch-primary)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-card h2, -html[it-theme=true] .iv-card-product-listing h2, -html[it-theme=true] .standalone-collection-badge-renderer-text -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .standalone-collection-badge-renderer-red-text -{ - color: #e62117; -} -html[it-theme=true] .annotation -{ - color: #000; -} -html[it-theme=true] .video-legacy-annotations .annotation -{ - background: 0; -} -html[it-theme=true] .annotation.iv-branding .iv-branding-context-subscribe -{ - color: #aaa; -} -html[it-theme=true] .annotation.iv-promo -{ - color: #ccc; - background-color: rgba(0,0,0,.8); -} -html[it-theme=true] .annotation.iv-promo:hover -{ - background-color: rgba(0,0,0,.9); -} -html[it-theme=true] .annotation.iv-promo .iv-promo-contents > a -{ - float: none!important; - - color: #ccc; -} -html[it-theme=true] .annotation.iv-promo .iv-promo-contents .iv-promo-badge-live -{ - color: var(--yt-swatch-text); - border: 1px solid var(--yt-swatch-text); - background-color: #e62117; -} -html[it-theme=true] .annotation.iv-promo .iv-promo-img .iv-promo-playlist-length -{ - color: var(--yt-swatch-text); - border-left: 1px solid rgba(255,255,255,.25); - background-color: rgba(0,0,0,.6); -} -html[it-theme=true] .annotation.iv-promo .iv-promo-img .iv-promo-video-duration -{ - color: var(--yt-swatch-text); - background-color: #000; -} -html[it-theme=true] .annotation.iv-promo .iv-promo-contents .iv-promo-txt .iv-promo-link -{ - color: #ffd100; -} -html[it-theme=true] .iv-button -{ - -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.05); - box-shadow: 0 1px 0 rgba(0,0,0,.05); -} -html[it-theme=true] .iv-button:focus, -html[it-theme=true] .iv-button:focus:hover -{ - -webkit-box-shadow: 0 0 0 2px rgba(27,127,204,.4); - box-shadow: 0 0 0 2px rgba(27,127,204,.4); -} -html[it-theme=true] .iv-button, -html[it-theme=true] .iv-button[disabled], -html[it-theme=true] .iv-button[disabled]:active, -html[it-theme=true] .iv-button[disabled]:focus, -html[it-theme=true] .iv-button[disabled]:hover -{ - color: var(--yt-swatch-text); - border-color: #167ac6; - background: #167ac6; -} -html[it-theme=true] .iv-button:hover -{ - background: #126db3; -} -html[it-theme=true] .iv-button:active -{ - background: #095b99; - -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.5); - box-shadow: inset 0 1px 0 rgba(0,0,0,.5); -} -html[it-theme=true] .annotation.iv-promo-website-card-cta .iv-promo-contents .iv-promo-txt .iv-promo-action-text -{ - color: #167ac6; -} -html[it-theme=true] .annotation.iv-promo-website-card-cta:hover .iv-promo-contents .iv-promo-txt .iv-promo-action-text -{ - color: #1a92ed; -} -html[it-theme=true] .iv-drawer -{ - color: var(--yt-swatch-text); - background-color: rgba(0,0,0,.2); -} -html[it-theme=true] .iv-drawer-scrolled .iv-drawer-content -{ - border-color: rgba(0,0,0,.4); -} -html[it-theme=true] .iv-drawer-content::-webkit-scrollbar-thumb -{ - background-color: rgba(102,102,102,.5); -} -html[it-theme=true] .iv-card-image, -html[it-theme=true] .iv-card-message -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-drawer-content:hover::-webkit-scrollbar-thumb -{ - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .iv-card, -html[it-theme=true] .iv-card a.iv-click-target, -html[it-theme=true] .iv-card a.iv-click-target:focus, -html[it-theme=true] .iv-card a.iv-click-target:hover -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .iv-card -{ - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); - box-shadow: 0 1px 2px rgba(0,0,0,.2); -} -html[it-theme=true] .iv-card:hover .iv-card-primary-link -{ - color: #167ac6!important; -} -html[it-theme=true] .iv-card-image, -html[it-theme=true] .iv-card-sign-in a -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .iv-card-episode .iv-card-image, -html[it-theme=true] .iv-card-movie .iv-card-image, -html[it-theme=true] .iv-card-playlist .iv-card-image, -html[it-theme=true] .iv-card-video .iv-card-image, -html[it-theme=true] .iv-card-video-duration -{ - background-color: #000; -} -html[it-theme=true] .iv-card-playlist .iv-card-image-overlay -{ - color: #cfcfcf; - background-color: rgba(0,0,0,.7); -} -html[it-theme=true] .iv-card-poll label, -html[it-theme=true] .iv-card-poll.iv-card-poll-voted label.iv-card-poll-choice-checked -{ - color: rgba(0,0,0,.87); -} -html[it-theme=true] .iv-card-poll .iv-card-poll-result -{ - background-color: #dfdfdf; -} -html[it-theme=true] .iv-card-poll .iv-card-poll-result .iv-card-poll-result-bar -{ - background-color: #167ac6; -} -html[it-theme=true] .iv-card-sponsored -{ - color: #999; -} -html[it-theme=true] .iv-ad-info -{ - color: #000; - border: 1px solid #000; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-ad-info-container .iv-ad-info a, -html[it-theme=true] .iv-ad-info-container .iv-ad-info a:hover -{ - color: #167ac6; -} -html[it-theme=true] .iv-ad-info-callout -{ - border-top-color: #000; -} -html[it-theme=true] .iv-ad-info-icon-container:after -{ - border-top-color: var(--yt-swatch-text); -} -html[it-theme=true] .iv-card-offer-price -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .iv-card-offer-merchant -{ - color: #097a41; -} -html[it-theme=true] .ytp-bezel -{ - background: rgba(0,0,0,.5); -} -html[it-theme=true] .ytp-cards-teaser .ytp-cards-teaser-box -{ - border-bottom: 1px solid var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ytp-cards-teaser .ytp-cards-teaser-text, -html[it-theme=true] .ytp-cards-teaser-shown .ytp-cards-teaser .ytp-cards-teaser-text -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ytp-sb-subscribe -{ - color: var(--yt-swatch-text); - background-color: #e62117; -} -html[it-theme=true] .ytp-sb-unsubscribe -{ - color: rgba(17,17,17,.6); - background-color: #eee; -} -a.ytp-ce-link:hover, -a.ytp-ce-link:visited -{ - color: #2793e6; -} -html[it-theme=true] .ytp-ce-playlist-title, -html[it-theme=true] .ytp-ce-video-title -{ - color: var(--yt-swatch-text); - text-shadow: 0 1px 0 rgba(0,0,0,.4); -} -html[it-theme=true] .ytp-ce-playlist-count-text, -html[it-theme=true] .ytp-ce-video-duration -{ - color: rgba(255,255,255,.8); -} -html[it-theme=true] .ytp-ce-video-duration -{ - background-color: rgba(0,0,0,.8); -} -html[it-theme=true] .ytp-ce-playlist-count -{ - background-color: rgba(0,0,0,.75); -} -html[it-theme=true] .ytp-ce-channel-metadata, -html[it-theme=true] .ytp-ce-channel-subscribers-text, -html[it-theme=true] .ytp-ce-website-metadata, -html[it-theme=true] .ytp-ce-website-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ytp-ce-channel-this .ytp-ce-channel-metadata -{ - border-top: 1px solid #ebebeb; -} -html[it-theme=true] .ytp-ce-website .ytp-ce-expanding-image -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ytp-copytext::-moz-selection -{ - color: var(--yt-swatch-text)!important; - background-color: var(--yt-swatch-text); -} -html[it-theme=true] .subscribecard-endscreen .ytp-author-name, -html[it-theme=true] .ytp-upnext-author -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .ytp-thumbnail-overlay-curtain -{ - background: rgba(0,0,0,.6); -} -html[it-theme=true] .ytp-upnext-cancel-button:hover -{ - background-color: rgba(255,255,255,.25); -} -html[it-theme=true] .ytp-videowall-still-listlabel-mix, -html[it-theme=true] .ytp-videowall-still-listlabel-regular -{ - color: var(--yt-swatch-text); - background-color: rgba(0,0,0,.7); -} -html[it-theme=true] .ytp-videowall-still-info-content -{ - color: var(--yt-swatch-text); - background: #000; -} -html[it-theme=true] .ytp-videowall-still-listlabel, -html[it-theme=true] .ytp-videowall-still:focus .ytp-videowall-still-listlabel, -html[it-theme=true] .ytp-videowall-still:hover .ytp-videowall-still-listlabel -{ - background: rgba(0,0,0,.86); -} -html[it-theme=true] .ytp-fresca-slant-overlay -{ - background: rgba(0,0,0,.25); -} -html[it-theme=true] .ytp-fresca-suggested-promo-central -{ - color: var(--yt-swatch-text)!important; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ytp-fresca-suggested-promo-central:hover .ytp-fresca-suggested-title, -html[it-theme=true] .ytp-fresca-suggested-sidebar:hover .ytp-fresca-suggested-title -{ - color: #167ac6; -} -html[it-theme=true] .ytp-fresca-suggested-sidebar -{ - color: #000; - background-color: var(--yt-swatch-primary)!important; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1); - box-shadow: 0 1px 2px rgba(0,0,0,.1); -} -html[it-theme=true] .ytp-fresca-suggested-promo-sidebar -{ - background-color: rgba(0,0,0,.4); -} -html[it-theme=true] .ytp-fresca-suggested-content -{ - color: var(--yt-swatch-text)!important; - -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1); - box-shadow: 0 1px 2px rgba(0,0,0,.1); -} -html[it-theme=true] .ytp-fresca-suggested-header, -html[it-theme=true] .ytp-fresca-suggested-title -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ytp-fresca-suggested-image-badge -{ - color: var(--yt-swatch-text); - background-color: #000; -} -html[it-theme=true] .ytp-fresca-suggested-image-badge.ytp-fresca-suggested-image-badge-live -{ - color: #e62117; - border: 1px solid #e62117; - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .iv-drawer-scrolled .ytp-fresca-suggested-sidebar-items -{ - border-color: rgba(0,0,0,.4); -} -html[it-theme=true] .ytp-multicam-menu-item[aria-checked=true] -{ - border: 2px solid #ea0000; -} -html[it-theme=true] .ytp-multicam-menu-item-title -{ - -webkit-box-shadow: inset 0 -32px 32px -21px rgba(8,8,8,.9); - box-shadow: inset 0 -32px 32px -21px rgba(8,8,8,.9); -} -html[it-theme=true] .ytp-big-mode .ytp-multicam-menu-item-title -{ - -webkit-box-shadow: inset 0 -48px 48px -31px rgba(8,8,8,.9); - box-shadow: inset 0 -48px 48px -31px rgba(8,8,8,.9); -} -html[it-theme=true] .ytp-offline-slate-bar -{ - color: var(--yt-swatch-text); - background: rgba(0,0,0,.8); -} -html[it-theme=true] .ytp-menuitem:not([aria-disabled=true]):hover -{ - background-color: rgba(255,255,255,.1); -} -html[it-theme=true] .ytp-keyboard-focus .ytp-menuitem:focus .ytp-menuitem-label -{ - -webkit-box-shadow: inset 2px 2px 0 rgba(27,127,204,.8),inset 0 -2px 0 rgba(27,127,204,.8); - box-shadow: inset 2px 2px 0 rgba(27,127,204,.8),inset 0 -2px 0 rgba(27,127,204,.8); -} -html[it-theme=true] .ytp-keyboard-focus .ytp-menuitem[role=menuitemradio]:focus .ytp-menuitem-label -{ - -webkit-box-shadow: inset 2px 2px 0 rgba(27,127,204,.8),inset -2px -2px 0 rgba(27,127,204,.8); - box-shadow: inset 2px 2px 0 rgba(27,127,204,.8),inset -2px -2px 0 rgba(27,127,204,.8); -} -html[it-theme=true] .ytp-keyboard-focus .ytp-menuitem:focus .ytp-menuitem-content -{ - -webkit-box-shadow: inset -2px -2px 0 rgba(27,127,204,.8),inset 0 2px 0 rgba(27,127,204,.8); - box-shadow: inset -2px -2px 0 rgba(27,127,204,.8),inset 0 2px 0 rgba(27,127,204,.8); -} -html[it-theme=true] .ytp-menuitem-label-count -{ - color: #ccc; -} -html[it-theme=true] .ytp-panel-header -{ - color: #eee; - border-bottom: 1px solid rgba(255,255,255,.2); -} -html[it-theme=true] .ytp-menuitem-toggle-checkbox -{ - background: rgba(255,255,255,.3); -} -html[it-theme=true] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox -{ - background: rgba(255,255,255,.5); -} -html[it-theme=true] .ytp-menuitem-toggle-checkbox:after -{ - background-color: #bdbdbd; -} -html[it-theme=true] .ytp-panel-menu -{ - color: #eee; -} -html[it-theme=true] .ytp-pause-overlay .ytp-next, -html[it-theme=true] .ytp-pause-overlay .ytp-previous -{ - background: #303030; - -webkit-box-shadow: 0 1px 8px rgba(0,0,0,.2); - box-shadow: 0 1px 8px rgba(0,0,0,.2); -} -html[it-theme=true] .ytp-pause-overlay a.ytp-suggestion-link -{ - background: #000; -} -html[it-theme=true] .ytp-playlist-menu -{ - background: rgba(0,0,0,.8); -} -html[it-theme=true] .ytp-playlist-menu-header -{ - border-bottom: 1px solid #444; -} -html[it-theme=true] .ytp-playlist-menu-subtitle -{ - color: #b8b8b8; -} -html[it-theme=true] .ypc-loaded .ytp-scrubber-button.ytp-swatch-background-color -{ - background-color: #167ac6; -} -html[it-theme=true] .ad-interrupting .ytp-scrubber-button.ytp-swatch-background-color -{ - background-color: #fc0; -} -html[it-theme=true] .ytp-keyboard-focus .ytp-progress-bar:focus -{ - -webkit-box-shadow: 0 0 0 2px rgba(27,127,204,.8); - box-shadow: 0 0 0 2px rgba(27,127,204,.8); -} -html[it-theme=true] .ytp-keyboard-focus .ytp-volume-panel:focus, -html[it-theme=true] .ytp-keyboard-focus .ytp-webgl-spherical-control:focus -{ - -webkit-box-shadow: inset 0 0 0 2px rgba(27,127,204,.8); - box-shadow: inset 0 0 0 2px rgba(27,127,204,.8); -} -html[it-theme=true] .ytp-scrubber-pull-indicator:after, -html[it-theme=true] .ytp-scrubber-pull-indicator:before -{ - border-color: #eaeaea; -} -html[it-theme=true] .ytp-progress-list -{ - background: rgba(255,255,255,.2); -} -html[it-theme=true] .ytp-load-progress.ytp-fast-load -{ - background: #00838f; -} -html[it-theme=true] .ypc-loaded .ytp-play-progress.ytp-swatch-background-color -{ - background: #167ac6; -} -html[it-theme=true] .ad-interrupting .ytp-play-progress.ytp-swatch-background-color -{ - background: #fc0; -} -html[it-theme=true] .ytp-hover-progress-light -{ - background: rgba(255,255,255,.5); -} -html[it-theme=true] .ytp-15m-progress, -html[it-theme=true] .ytp-1m-progress, -html[it-theme=true] .ytp-30m-progress, -html[it-theme=true] .ytp-60m-progress -{ - background: #000; -} -html[it-theme=true] .ytp-settings-button.ytp-3d-badge:after, -html[it-theme=true] .ytp-settings-button.ytp-4k-quality-badge:after, -html[it-theme=true] .ytp-settings-button.ytp-5k-quality-badge:after, -html[it-theme=true] .ytp-settings-button.ytp-8k-quality-badge:after, -html[it-theme=true] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #f12b24; -} -html[it-theme=true] .ytp-settings-button.ytp-3d-badge-grey:after -{ - background-color: var(--yt-swatch-text); -} -html[it-theme=true] .ytp-big-mode .ytp-settings-button.ytp-3d-badge-grey:after, -html[it-theme=true] .ytp-big-mode .ytp-settings-button.ytp-3d-badge:after, -html[it-theme=true] .ytp-big-mode .ytp-settings-button.ytp-4k-quality-badge:after, -html[it-theme=true] .ytp-big-mode .ytp-settings-button.ytp-5k-quality-badge:after, -html[it-theme=true] .ytp-big-mode .ytp-settings-button.ytp-8k-quality-badge:after, -html[it-theme=true] .ytp-big-mode .ytp-settings-button.ytp-hd-quality-badge:after -{ - color: var(--yt-swatch-text); - text-shadow: 0 2px 0 rgba(0,0,0,.6); -} -html[it-theme=true] .ytp-color-white.ytp-big-mode .ytp-settings-button.ytp-3d-badge-grey:after, -html[it-theme=true] .ytp-color-white.ytp-big-mode .ytp-settings-button.ytp-3d-badge:after, -html[it-theme=true] .ytp-color-white.ytp-big-mode .ytp-settings-button.ytp-4k-quality-badge:after, -html[it-theme=true] .ytp-color-white.ytp-big-mode .ytp-settings-button.ytp-5k-quality-badge:after, -html[it-theme=true] .ytp-color-white.ytp-big-mode .ytp-settings-button.ytp-8k-quality-badge:after, -html[it-theme=true] .ytp-color-white.ytp-big-mode .ytp-settings-button.ytp-hd-quality-badge:after -{ - color: #000; -} -html[it-theme=true] .ytp-share-panel -{ - background: rgba(0,0,0,.8); -} -html[it-theme=true] .ytp-share-panel-include-playlist -{ - color: #999; -} -html[it-theme=true] .ytp-spinner-message -{ - background-color: #000; -} -html[it-theme=true] .ytp-spinner-dot:before -{ - background-color: rgba(204,204,204,0); -} -html[it-theme=true] .ytp-storyboard-lens-timestamp, -html[it-theme=true] .ytp-tooltip-text, -html[it-theme=true] .ytp-tooltip.ytp-preview, -html[it-theme=true] .ytp-tooltip.ytp-text-detail.ytp-preview.ytp-has-duration .ytp-tooltip-duration -{ - background-color: rgba(28,28,28,.9); -} -html[it-theme=true] .ytp-live-badge:before -{ - background: #757575; -} -html[it-theme=true] .ytp-live-badge[disabled]:before -{ - background: #f12b24; -} -html[it-theme=true] .ytp-tooltip-bg -{ - background-color: #000; -} -html[it-theme=true] .ytp-tooltip.ytp-text-detail .ytp-tooltip-title -{ - color: #aaa; -} -html[it-theme=true] .ytp-unmute.ytp-popup -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .ytp-unmute-inner -{ - background-color: rgba(0,0,0,.6); -} -html[it-theme=true] .html5-video-info-panel -{ - color: var(--yt-swatch-text); - background: rgba(28,28,28,.8); -} -html[it-theme=true] .ytp-sparkline -{ - border-bottom: 1px solid var(--yt-swatch-text); -} -html[it-theme=true] .ytp-video-menu-item[aria-checked=true] -{ - background-color: rgba(255,255,255,.1); -} -html[it-theme=true] .ytp-video-menu-item:hover, -html[it-theme=true] .ytp-video-menu-item[aria-checked=true]:hover -{ - background-color: rgba(255,255,255,.15); -} -html[it-theme=true] .ytp-video-menu-item-now-playing -{ - color: #f12b24; -} -html[it-theme=true] .ytp-color-white .ytp-video-menu-item-now-playing -{ - color: #ddd; -} -html[it-theme=true] .ytp-color-blue .ytp-video-menu-item-now-playing -{ - color: #3793e6; -} -html[it-theme=true] .ytp-video-menu-item-author -{ - color: #b8b8b8; -} -html[it-theme=true] .ytp-video-menu-item-thumbnail -{ - border: 0 solid #f12b24; -} -html[it-theme=true] .ytp-color-white .ytp-video-menu-item-thumbnail -{ - border-color: #ddd; -} -html[it-theme=true] .ytp-color-blue .ytp-video-menu-item-thumbnail -{ - border-color: #3793e6; -} -html[it-theme=true] .ytp-drawer-open-button -{ - background: rgba(0,0,0,.7); -} -html[it-theme=true] .ytp-drawer-open-button:after -{ - border-right-color: #aaa; -} -html[it-theme=true] .html5-ypc-purchase -{ - border: 1px solid #36649c; - background: #167ac6; -} -html[it-theme=true] .html5-ypc-purchase:hover -{ - background: #126db3; -} -html[it-theme=true] .html5-ypc-endscreen, -html[it-theme=true] .ima-sdk-frame-native body -{ - background: #000; -} -html[it-theme=true] .ytp-ypc-clickwrap-header -{ - border-bottom: 1px solid #888; -} -html[it-theme=true] .ytp-ypc-clickwrap-confirm -{ - background-color: #37d; -} -html[it-theme=true] .ytp-ypc-clickwrap-confirm:hover -{ - background-color: #26c; -} -html[it-theme=true] .close-padding -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .yt-text-overlay .close-padding:hover .close-button -{ - background-color: rgba(0,0,0,.15); - -webkit-box-shadow: inset 0 -1px 3px rgba(0,0,0,.3),0 1px 0 rgba(255,255,255,.5); - box-shadow: inset 0 -1px 3px rgba(0,0,0,.3),0 1px 0 rgba(255,255,255,.5); -} -html[it-theme=true] .recall-button -{ - color: var(--yt-swatch-text); - border: 1px solid rgba(255,255,255,.498039); - -webkit-box-shadow: rgba(0,0,0,.701961) 0 4px 3px; - box-shadow: rgba(0,0,0,.701961) 0 4px 3px; -} -html[it-theme=true] .attribution-button -{ - color: var(--yt-swatch-text); - text-shadow: rgba(0,0,0,.7) 0 4px 4px; -} -html[it-theme=true] .yt-text-overlay .attribution-button -{ - color: #888; -} -html[it-theme=true] .text-description, -html[it-theme=true] .text-title -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .ima-container-stack -{ - background-color: var(--yt-swatch-text); -} -html[it-theme=true] .ima-container-selector -{ - background: #666; - -webkit-box-shadow: 0 4px 3px rgba(0,0,0,.7); - box-shadow: 0 4px 3px rgba(0,0,0,.7); -} -html[it-theme=true] .ima-container-selector:hover -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .ima-container-rotator .ima-container-highlight:hover -{ - border-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .ima-container-stack .ima-container-highlight:hover -{ - background-color: #999!important; -} -html[it-theme=true] .ima-container-active -{ - background: #fc0!important; -} -html[it-theme=true] .ima-container-slider .text-container -{ - background-color: #000; -} -html[it-theme=true] .controls.endslate, -html[it-theme=true] .controls.fullslot -{ - background: -webkit-linear-gradient(#333,#000) ; - background: -webkit-gradient(linear,left top, left bottom,from(#333),to(#000)); - background: -o-linear-gradient(#333,#000); - background: linear-gradient(#333,#000); -} -html[it-theme=true] .click-layer -{ - background: 0; -} -html[it-theme=true] .text-inner-container -{ - -webkit-box-shadow: rgba(0,0,0,.7) 0 5px 5px; - box-shadow: rgba(0,0,0,.7) 0 5px 5px; -} -html[it-theme=true] .yt-text-overlay .text-container .text-inner-container -{ - border: 1px solid rgba(0,0,0,.6); - background-color: rgba(0,0,0,.6); -} -html[it-theme=true] .yt-text-overlay .controls:hover .text-inner-container -{ - border: 1px solid #3a3a3a; -} -html[it-theme=true] .text-image -{ - -webkit-box-shadow: rgba(0,0,0,.498039) 0 3px 5px; - box-shadow: rgba(0,0,0,.498039) 0 3px 5px; -} -html[it-theme=true] .text-image-duration -{ - font: 10px arial,sans-serif; - - color: var(--yt-swatch-text); - background: #000; -} -html[it-theme=true] .yt-text-overlay .text-title -{ - text-shadow: #000 0 -1px 0; -} -html[it-theme=true] .text-ad-channel, -html[it-theme=true] .text-description, -html[it-theme=true] .text-title -{ - text-shadow: rgba(0,0,0,.7) 0 4px 4px; -} -html[it-theme=true] .text-ad-channel -{ - color: #f9fcc0; -} -html[it-theme=true] .yt-text-overlay .text-ad-channel -{ - color: #eade90; - text-shadow: #000 0 -1px 0; -} -html[it-theme=true] .viewmode-fullscreen .text-ad-channel -{ - color: #ccc; -} -html[it-theme=true] .yt-text-overlay.viewmode-fullscreen .text-ad-channel -{ - color: #eade90; -} -html[it-theme=true] .fullslot-attribution-button -{ - color: #999; -} -html[it-theme=true] .fullslot-ad-break, -html[it-theme=true] .fullslot-visible-url, -html[it-theme=true] .videoAdInterstitial > p -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .fullslot-autoclose -{ - color: #999; -} -html[it-theme=true] .iv-endcap-background -{ - background-color: rgba(255,255,255,.9); -} -html[it-theme=true] .iv-endcap-description, -html[it-theme=true] .iv-endcap-headline -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .iv-endcap-action -{ - color: var(--yt-swatch-text)!important; - background-color: #167ac6; -} -html[it-theme=true] .videoAdInterstitial -{ - background-color: #000; -} -html[it-theme=true] .videoAdUi -{ - background-color: transparent; -} -html[it-theme=true] .videoAdUiRedesign .videoAdUi -{ - text-shadow: 0 0 4px rgba(0,0,0,.75); -} -html[it-theme=true] .videoAdUiTopBar -{ - border-bottom: 1px solid #444; - background: #000; -} -html[it-theme=true] .videoAdUiTopBarWithGradients -{ - background-color: transparent; -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiTopBarWithGradients -{ - -webkit-box-shadow: inset 0 120px 90px -90px rgba(0,0,0,.65); - box-shadow: inset 0 120px 90px -90px rgba(0,0,0,.65); -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiBottomBarMessage -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiProgressBar -{ - background-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .videoAdUiProgress -{ - border-right: solid 1px #666; -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiProgress -{ - background: #edcb3c; -} -html[it-theme=true] .videoAdUiAuthorIcon -{ - background: #000; -} -html[it-theme=true] .videoAdUiAuthorName -{ - color: #ccc; -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiAuthorName, -html[it-theme=true] .videoAdUiRedesign .videoAdUiTitle -{ - color: rgba(255,255,255,.75); -} -html[it-theme=true] .videoAdUiLearnMore -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiLearnMoreText -{ - color: #e5bb00; -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiAuthorName:hover, -html[it-theme=true] .videoAdUiRedesign .videoAdUiTitle:hover, -html[it-theme=true] .videoAdUiRedesign .videoAdUiVisitAdvertiserLink:hover, -html[it-theme=true] .videoAdUiTitle -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiAttributionContainer -{ - color: var(--yt-swatch-text); - text-shadow: 0 0 5px rgba(0,0,0,.8); -} -html[it-theme=true] .videoAdUiAttributionContainer-gvn -{ - color: #e5bb00; -} -html[it-theme=true] .videoAdUiAdInfoPopup -{ - color: var(--yt-swatch-text)!important; - border: 1px solid #000; - background: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiAdInfoPopup -{ - color: var(--yt-swatch-text)!important; - border: 1px solid #aaa; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .videoAdUiAdInfoPopupCallout -{ - border-top: 5px solid var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiVisitAdvertiserLink -{ - color: rgba(255,255,255,.75); -} -html[it-theme=true] .videoAdUiBrandPrecapBrandName, -html[it-theme=true] .videoAdUiBrandPrecapTextContainer, -html[it-theme=true] .videoAdUiRedesign .videoAdUiTopButtons, -html[it-theme=true] .videoAdUiShare -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiTopButtonCallout -{ - border-bottom: 5px solid #444; -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiTopButtonTooltip -{ - color: var(--yt-swatch-text); - background: #444; -} -html[it-theme=true] .videoAdUi-mobile.videoAdUiRedesign .videoAdUiPreSkipContainer, -html[it-theme=true] .videoAdUiRedesign .videoAdUiPreSkipContainer -{ - background: rgba(0,0,0,.4); -} -html[it-theme=true] .videoAdUiBrandPrecapContainer -{ - background-color: #000; -} -html[it-theme=true] .videoAdUiBrandPrecapBrandMessage -{ - color: rgba(255,255,255,.8); -} -html[it-theme=true] .videoAdUiBrandInteractionButton -{ - background: #111; -} -html[it-theme=true] .videoAdUiBrandInteractionButton:hover -{ - border: 2px solid var(--yt-swatch-text); - -webkit-box-shadow: 0 3px 6px; - box-shadow: 0 3px 6px; -} -html[it-theme=true] .videoAdUiBrandInteractionButton:active -{ - background: #a1c2fa; -} -html[it-theme=true] .videoAdUiBrandInteractionButton.selected -{ - background: #4182ef; - -webkit-box-shadow: 0 3px 6px; - box-shadow: 0 3px 6px; -} -html[it-theme=true] .videoAdUiBrandInteractionMessageBox -{ - color: var(--yt-swatch-text); - background: rgba(31,31,31,.5); -} -html[it-theme=true] .videoAdUiAction, -html[it-theme=true] .videoAdUiPreSkipButton -{ - background: rgba(0,0,0,.8); -} -html[it-theme=true] .videoAdUiPreSkipText -{ - color: #e6e6e6; -} -html[it-theme=true] .videoAdUiAction -{ - color: var(--yt-swatch-text); - border: 1px solid rgba(255,255,255,.5); -} -html[it-theme=true] .videoAdUi-mobile.videoAdUiRedesign .videoAdUiAction, -html[it-theme=true] .videoAdUiRedesign .videoAdUiAction -{ - background: rgba(0,0,0,.7); -} -html[it-theme=true] .videoAdUiAction:hover -{ - border-color: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUiRedesign .videoAdUiAction:hover -{ - background: rgba(0,0,0,.9); -} -html[it-theme=true] .videoAdUiPopupBackground -{ - background: rgba(0,0,0,.8); -} -html[it-theme=true] .videoAdUiPopupFrame -{ - border: 1px solid #000; -} -html[it-theme=true] .guide-header p, -html[it-theme=true] .videoAdUiPopupFrame, -html[it-theme=true] .videoAdUiPopupHeading -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .videoAdUiPopupButton, -html[it-theme=true] .videoAdUiPopupButton:hover, -html[it-theme=true] .videoAdUiPopupDefaultButton, -html[it-theme=true] .videoAdUiPopupDefaultButton:hover, -html[it-theme=true] .videoAdUiPopupFrame a, -html[it-theme=true] .videoAdUiPopupFrame a:hover -{ - color: #167ac6; -} -html[it-theme=true] .videoAdUi.blazer .videoAdUiProgressBar -{ - background-color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .videoAdUi.blazer .videoAdUiProgress -{ - background-color: #e6bc27; -} -html[it-theme=true] .videoAdUi.blazer .videoAdUiBuffer -{ - background-color: var(--yt-swatch-text); -} -html[it-theme=true] .videoAdUi.blazer .videoAdUiAction -{ - border: 1px solid rgba(255,255,255,.25); - background-color: rgba(0,0,0,.5); -} -html[it-theme=true] .videoAdUi.blazer .videoAdUiPreSkipButton -{ - background-color: rgba(0,0,0,.25); -} -html[it-theme=true] .guide-item:hover -{ - color: var(--yt-swatch-text)!important; - background-color: rgba(255,255,255,.1)!important; -} -html[it-theme=true] #yt-masthead-notifications-header, -html[it-theme=true] .comment-collapsed -{ - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] #masthead-appbar-container, -html[it-theme=true] #yt-masthead-container -{ - -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); - box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); -} -html[it-theme=true] .watch-title-container -{ - color: var(--yt-swatch-text); -} -html[it-theme=true] .comment-collapsed, -html[it-theme=true] .comment-simplebox-prompt, -html[it-theme=true] .comment-simplebox-text, -html[it-theme=true] .yt-uix-button-subscribe-branded .subscribe-label -{ - color: var(--yt-swatch-text)!important; -} -html[it-theme=true] .yt-dialog-fg, -html[it-theme=true] .yt-uix-overlay-actions, -html[it-theme=true] .yt-uix-overlay-fg -{ - border-color: var(--yt-swatch-primary)!important; - background: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .yt-uix-clickcard-card-reverse .yt-uix-card-body-arrow-vertical, -html[it-theme=true] .yt-uix-hovercard-card-reverse .yt-uix-card-body-arrow-vertical -{ - border-bottom-color: var(--yt-swatch-primary)!important; -} -@media screen and (max-width:656px) -{ - html[it-theme=true] #player-playlist .watch-playlist - { - border-top: 1px solid #3a3a3a; - } - html[it-theme=true] .iv-merch-item:nth-child(4n+5) - { - border-left: 1px solid var(--yt-swatch-primary)!important; - } -} -@media screen and (min-width:1294px) and (min-height:630px) -{ - html[it-theme=true] .iv-promo-shelf-next-show-container - { - border-right: 1px solid var(--yt-swatch-primary)!important; - } - html[it-theme=true] .iv-merch-item:nth-child(4n+5) - { - border-left: 1px solid var(--yt-swatch-primary)!important; - } -} -@media screen and (min-width:1720px) and (min-height:980px) -{ - html[it-theme=true] .iv-merch-item:nth-child(3n+4) - { - border-left: 1px solid var(--yt-swatch-primary)!important; - } -} -html[it-theme=true] .comment-simplebox-arrow -{ - display: none; -} -html[it-theme=true] .comment-collapsed -{ - border-color: var(--yt-swatch-primary)!important; -} -html[it-theme=true] .logo.masthead-logo-renderer-logo.yt-sprite -{ - -webkit-filter: brightness(2.2) ; - filter: brightness(2.2); -} -html[it-theme=true] #masthead-search .search-btn-component .yt-uix-button-content -{ - -webkit-filter: brightness(4) ; - filter: brightness(4); -} -html[it-theme=true] .ytp-upnext.ytp-suggestion-set -{ - top: 0; -} -html[it-theme=true] .yt-uix-button-icon.yt-uix-button-icon-dismissal.yt-sprite -{ - -webkit-filter: none!important ; - filter: none!important; -} -html[it-theme=true] .yt-uix-shelfslider-next-arrow.yt-uix-tooltip.yt-sprite, -html[it-theme=true] .yt-uix-shelfslider-prev-arrow.yt-uix-tooltip.yt-sprite -{ - -webkit-filter: brightness(3)!important ; - filter: brightness(3)!important; -} - -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -html[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-night-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-night-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-night-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-night-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-night-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-night-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-night-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-night-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-night-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-night-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-night-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-night-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-night-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-night-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; - } -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-plain-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-plain-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-plain-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-plain-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-plain-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-plain-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-plain-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-plain-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-plain-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-plain-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-plain-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-plain-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; - } -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-sunset-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-sunset-theme=true][it-schedule=system_peference_dark] ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-sunset-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-sunset-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-sunset-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-sunset-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-sunset-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-sunset-theme=true][it-schedule=system_peference_light] ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-sunset-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-sunset-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-sunset-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-sunset-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/stable/content-scripts.js b/stable/content-scripts.js deleted file mode 100644 index 26714ffd0..000000000 --- a/stable/content-scripts.js +++ /dev/null @@ -1,4267 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> CORE -------------------------------------------------------------------------------- -1.0 Page update -2.0 Player update -3.0 Init ------------------------------------------------------------------------------*/ - -var ImprovedTube = { - allow_autoplay: false, - videoUrl: '"null"', - playingTime: 0 -}; - - -/*----------------------------------------------------------------------------- -1.0 Page update ------------------------------------------------------------------------------*/ - -ImprovedTube.pageUpdate = function() { - var not_connected_players = document.querySelectorAll('.html5-video-player:not([it-player-connected])'); - - if (not_connected_players.length > 0) { - for (var i = 0, l = not_connected_players.length; i < l; i++) { - var player = not_connected_players[i]; - - if ( - player.querySelector('video').src && - player.querySelector('video').src !== '' - ) { - player.setAttribute('it-player-connected', ''); - - ImprovedTube.playerUpdate(player); - - player.querySelector('video').addEventListener('canplay', function() { - ImprovedTube.videoUrl = location.href; - }); - player.querySelector('video').addEventListener('timeupdate', function() { - ImprovedTube.playingTime++; - - var time = Math.floor(ImprovedTube.playingTime * 250 / 1000) / 60; - - if (time >= 1) { - ImprovedTube.playingTime = 0; - - document.dispatchEvent(new CustomEvent('ImprovedTubeAnalyzer')); - } - }); - } - } - } - - ImprovedTube.pageType(); - ImprovedTube.youtube_home_page(); - ImprovedTube.hd_thumbnails(); - ImprovedTube.channel_default_tab(); - ImprovedTube.comments(); - ImprovedTube.livechat(); - ImprovedTube.livechat_type(); - ImprovedTube.related_videos(); - ImprovedTube.improvedtube_youtube_icon(); - ImprovedTube.blacklist(); - ImprovedTube.player_hd_thumbnail(); - ImprovedTube.how_long_ago_the_video_was_uploaded(); - ImprovedTube.channel_videos_count(); - ImprovedTube.collapse_of_subscription_sections(); - ImprovedTube.mark_watched_videos(); -}; - - -/*----------------------------------------------------------------------------- -2.0 Player update ------------------------------------------------------------------------------*/ - -ImprovedTube.playerUpdate = function(node, hard) { - var player; - - if (node && node.type !== 'canplay') { - player = node; - } else if (this.hasOwnProperty('target')) { - player = this.target.parentNode.parentNode; - } else if (this.hasOwnProperty('parentNode')) { - player = this.parentNode.parentNode; - } else { - player = document.querySelector('.html5-video-player'); - } - - if (this.videoUrl !== location.href) { - this.videoUrl = location.href; - this.playingTime = 0; - - document.dispatchEvent(new CustomEvent('ImprovedTubePlayVideo')); - - this.fitToWindow(); - this.always_show_progress_bar(); - this.playlist_reverse(); - this.player_hd_thumbnail(); - this.player_quality(player); - this.player_volume(player); - this.player_playback_speed(player); - this.up_next_autoplay(); - this.player_autofullscreen(); - this.player_repeat_button(); - this.player_screenshot_button(); - this.player_rotate_button(); - this.player_popup_button(); - this.playlist_up_next_autoplay(player); - this.mini_player(); - - this.playlist_repeat(); - this.playlist_shuffle(); - - this.dim(); - - var video_id = this.getParam(new URL(location.href).search.substr(1), 'v'); - - if (video_id) { - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'set', - id: video_id, - title: document.title - } - })); - } - } else if (hard) { - this.videoUrl = location.href; - - this.fitToWindow(); - this.playlist_reverse(); - this.player_hd_thumbnail(); - this.player_quality(player); - this.player_volume(player); - this.player_playback_speed(player); - this.up_next_autoplay(); - this.player_autofullscreen(); - this.player_repeat_button(); - this.player_screenshot_button(); - this.player_rotate_button(); - this.player_popup_button(); - this.mini_player(); - - this.playlist_repeat(); - this.playlist_shuffle(); - - this.dim(); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Init ------------------------------------------------------------------------------*/ - -ImprovedTube.init = function() { - this.player_h264(); - this.player_60fps(); - this.confirmation_before_closing(); - this.shortcuts(); - this.themeEditor(); - this.theme(); - this.font(); - this.bluelight(); - this.dim(); - this.pageType(); - this.improvedtube_youtube_icon(); - this.add_scroll_to_top(); - this.player_autopause_when_switching_tabs(); - this.forced_theater_mode(); - this.comments(); - this.livechat(); - this.related_videos(); - this.mutations(); - this.events(); - this.player_ads(); - - if (window.self === window.top) { - window.addEventListener('load', function() { - ImprovedTube.player_volume(); - }); - } -}; - -function withoutInjection(object) { - youtubeHomePage__documentStart(object.youtube_home_page); -} - -/*----------------------------------------------------------------------------- ->>> EVENTS -------------------------------------------------------------------------------- -1.0 DOMContentLoaded -2.0 Load -3.0 YouTube page data updated -4.0 YouTube visibility refresh -5.0 SPF done -6.0 Keydown -7.0 Mousedown ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - window.addEventListener('load', function() { - if (!document.querySelector('.it-rate-notify') && Object.keys(items).length > 10 && items.rate_notify !== 5) { - var popup = document.createElement('div'); - - popup.className = 'it-rate-notify'; - - popup.innerHTML = '' + - '
Do you enjoy ImprovedTube?
' + - ''; - - document.body.appendChild(popup); - - setTimeout(function() { - popup.classList.add('it-rate-notify--show'); - }, 1000); - - chrome.storage.local.set({ - rate_notify: 5 - }); - } - }); -}); - -ImprovedTube.events = function() { - - /*------------------------------------------------------------------------- - 1.0 DOMContentLoaded - -------------------------------------------------------------------------*/ - - window.addEventListener('DOMContentLoaded', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 2.0 Load - -------------------------------------------------------------------------*/ - - document.documentElement.addEventListener('load', function() { - if ( - window.yt && - window.yt.player && - window.yt.player.Application && - window.yt.player.Application.create - ) { - window.yt.player.Application.create = ImprovedTube.ytPlayerApplicationCreateMod(window.yt.player.Application.create); - } - - var search = document.querySelector('#search') || document.querySelector('#masthead-search-term'); - - if (search) { - search.addEventListener('focus', function() { - document.documentElement.setAttribute('it-search-focus', 'true'); - }); - - search.addEventListener('blur', function() { - document.documentElement.setAttribute('it-search-focus', 'false'); - }); - } - }, true); - - window.addEventListener('resize', function() { - ImprovedTube.fitToWindow(); - ImprovedTube.improvedtube_youtube_icon_resize(); - }); - - window.addEventListener('scroll', function() { - ImprovedTube.improvedtube_youtube_icon_resize(); - }); - - - /*------------------------------------------------------------------------- - 3.0 YouTube page data updated - -------------------------------------------------------------------------*/ - - window.addEventListener('yt-page-data-updated', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 4.0 YouTube visibility refresh - -------------------------------------------------------------------------*/ - - window.addEventListener('yt-visibility-refresh', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 5.0 SPF done - -------------------------------------------------------------------------*/ - - window.addEventListener('spfrequest', function() { - ImprovedTube.pageUpdate(); - }); - - window.addEventListener('spfdone', function() { - ImprovedTube.pageUpdate(); - }); - - - /*------------------------------------------------------------------------- - 6.0 Keydown - -------------------------------------------------------------------------*/ - - window.addEventListener('keydown', function() { - if ( - document.querySelector('.html5-video-player') && - document.querySelector('.html5-video-player').classList.contains('ad-showing') === false - ) { - ImprovedTube.allow_autoplay = true; - } - }, true); - - - /*------------------------------------------------------------------------- - 7.0 Mousedown - -------------------------------------------------------------------------*/ - - window.addEventListener('mousedown', function(event) { - for (var i = 0, l = event.path.length; i < l; i++) { - if ( - document.querySelector('.html5-video-player') && - document.querySelector('.html5-video-player').classList.contains('ad-showing') === false && - event.path[i].classList && - ( - event.path[i].classList.contains('html5-main-video') || - event.path[i].classList.contains('ytp-play-button') - ) - ) { - ImprovedTube.allow_autoplay = true; - } - } - }, true); -}; - -chrome.storage.local.get(function(items) { - document.addEventListener('ImprovedTubeAnalyzer', function() { - if (items.analyzer_activation !== false) { - if (document.querySelector('ytd-channel-name a') && chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-analyzer', - value: document.querySelector('ytd-channel-name a').innerText - }); - } - } - }); -}); - -/*----------------------------------------------------------------------------- ->>> APPEARANCE -------------------------------------------------------------------------------- -1.0 Player - 1.1 Forced theater mode - 1.2 HD thumbnail -2.0 Details -3.0 Comments -4.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Player ------------------------------------------------------------------------------*/ - -ImprovedTube.fitToWindow = function() { - if (ImprovedTube.storage.player_size === 'fit_to_window' && !document.documentElement.hasAttribute('embed') && window.self !== window.top && document.querySelector('#movie_player video')) { - var video = document.querySelector('#movie_player video'), - header = document.documentElement.getAttribute('it-header-position'), - header_height = header == 'hidden' || header == 'hidden_on_video_page' || header == 'hover' || header == 'hover_on_video_page' ? 0 : 50, - videoW = video.videoWidth / 100, - videoH = video.videoHeight / 100, - windowW = window.innerWidth / 100, - windowH = window.innerHeight / 100, - videoWdif = ((video.videoWidth - window.innerWidth) / video.videoWidth * -100) + 100, - videoHdif = ((video.videoHeight - window.innerHeight + header_height) / video.videoHeight * -100) + 100, - style = document.querySelector('#it-fit-to-window') || document.createElement('style'); - - style.id = 'it-fit-to-window'; - - if (videoW && videoH && videoHdif && videoH * videoWdif > window.innerHeight - header_height) { - style.innerText = 'html[it-player-size="fit_to_window"] div#page.watch-wide .html5-video-player:not(.ytp-fullscreen) video{max-width:' + videoW * videoHdif + 'px !important;max-height' + videoH * videoHdif + 'px !important}'; - } else if (videoW && videoH && videoWdif) { - style.innerText = 'html[it-player-size="fit_to_window"] div#page.watch-wide .html5-video-player:not(.ytp-fullscreen) video{max-width:' + videoW * videoWdif + 'px !important;max-height' + videoH * videoWdif + 'px !important}'; - } - - if (!document.querySelector('#it-fit-to-window')) { - document.documentElement.appendChild(style); - } - } -}; - -/*----------------------------------------------------------------------------- -1.1 Forced theater mode ------------------------------------------------------------------------------*/ - -ImprovedTube.forced_theater_mode = function() { - if (window.self === window.top && (this.storage.forced_theater_mode === true || ImprovedTube.storage.player_size === 'fit_to_window')) { - var is_applied = false; - - if (/wide\=1/.test(document.cookie)) { - is_applied = true; - } - - this.setCookie('wide', '1'); - - setTimeout(function() { - if (is_applied === false) { - location.reload(); - } - }); - } -}; - -/*----------------------------------------------------------------------------- -1.2 HD thumbnail ------------------------------------------------------------------------------*/ - -ImprovedTube.player_hd_thumbnail_wait = false; - -ImprovedTube.player_hd_thumbnail = function() { - if (this.storage.player_hd_thumbnail === true) { - if (this.player_hd_thumbnail_wait !== false) { - clearInterval(ImprovedTube.player_hd_thumbnail_wait); - - ImprovedTube.player_hd_thumbnail_wait = false; - } - - this.player_hd_thumbnail_wait = setInterval(function() { - var thumbnail = document.querySelector('.ytp-cued-thumbnail-overlay-image'); - - if (thumbnail && thumbnail.style.backgroundImage) { - var style = document.getElementById('it-hd-thumbnail') || document.createElement('style'); - - style.textContent = '.ytp-cued-thumbnail-overlay-image{background-image:' + thumbnail.style.backgroundImage.replace('/hqdefault.jpg', '/maxresdefault.jpg') + ' !important}'; - - if (!document.getElementById('it-hd-thumbnail')) { - style.id = 'it-hd-thumbnail'; - thumbnail.parentNode.insertBefore(style, thumbnail); - } - } - }, 250); - } -}; - -/*----------------------------------------------------------------------------- -1.3 Always show progress bar ------------------------------------------------------------------------------*/ - -// TODO: FIX NIGHTLY UGLY ALGO - -ImprovedTube.always_show_progress_bar = function() { - if (ImprovedTube.always_show_progress_bar_interval) { - clearInterval(ImprovedTube.always_show_progress_bar_interval); - } - - if (this.storage.always_show_progress_bar === true) { - ImprovedTube.always_show_progress_bar_interval = setInterval(function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.classList.contains('ytp-autohide')) { - var played = player.getCurrentTime() * 100 / player.getDuration(), - loaded = player.getVideoBytesLoaded() * 100, - play_bars = player.querySelectorAll('.ytp-play-progress'), - load_bars = player.querySelectorAll('.ytp-load-progress'), - width = 0, - progress_play = 0, - progress_load = 0; - - for (var i = 0, l = play_bars.length; i < l; i++) { - width += play_bars[i].offsetWidth; - } - - var width_percent = width / 100; - - for (var i = 0, l = play_bars.length; i < l; i++) { - var a = play_bars[i].offsetWidth / width_percent, - b = 0, - c = 0; - - if (played - progress_play >= a) { - b = 100; - } else if (played > progress_play && played < a + progress_play) { - b = 100 * ((played - progress_play) * width_percent) / play_bars[i].offsetWidth; - } - - play_bars[i].style.transform = 'scaleX(' + b / 100 + ')'; - - if (loaded - progress_load >= a) { - c = 100; - } else if (loaded > progress_load && loaded < a + progress_load) { - c = 100 * ((loaded - progress_load) * width_percent) / play_bars[i].offsetWidth; - } - - load_bars[i].style.transform = 'scaleX(' + c / 100 + ')'; - - progress_play += a; - progress_load += a; - } - } - }, 100); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Details ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 How long ago the video was uploaded ------------------------------------------------------------------------------*/ - -ImprovedTube.how_long_ago_the_video_was_uploaded = function() { - if (ImprovedTube.storage.how_long_ago_the_video_was_uploaded === true) { - function timeSince(date) { - var seconds = Math.floor((new Date() - new Date(date)) / 1000), - interval = Math.floor(seconds / 31536000); - - if (interval > 1) { - return interval + ' years ago'; - } - interval = Math.floor(seconds / 2592000); - if (interval > 1) { - return interval + ' months ago'; - } - interval = Math.floor(seconds / 86400); - if (interval > 1) { - return interval + ' days ago'; - } - interval = Math.floor(seconds / 3600); - if (interval > 1) { - return interval + ' hours ago'; - } - interval = Math.floor(seconds / 60); - if (interval > 1) { - return interval + ' minutes ago'; - } - - return Math.floor(seconds) + ' seconds ago'; - } - - var waiting_channel_link = setInterval(function() { - var youtube_version = document.documentElement.getAttribute('it-youtube-version') === 'new'; - - if (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info a')) { - clearInterval(waiting_channel_link); - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - var response = JSON.parse(this.responseText), - element = document.querySelector('.itx-channel-video-uploaded') || document.createElement(youtube_version ? 'yt-formatted-string' : 'a'); - - if (ImprovedTube.isset(response.items) && ImprovedTube.isset(response.items[0])) { - element.innerHTML = (youtube_version ? ' · ' + timeSince(response.items[0].snippet.publishedAt) + ' ' : timeSince(response.items[0].snippet.publishedAt) + ''); - - var date = new Date(response.items[0].snippet.publishedAt); - - element.title = ((date.getMonth() > 8) ? (date.getMonth() + 1) : ('0' + (date.getMonth() + 1))) + '/' + ((date.getDate() > 9) ? date.getDate() : ('0' + date.getDate())) + '/' + date.getFullYear(); - } - - if (!youtube_version) { - element.href = document.querySelector('#watch7-user-header a').href.indexOf('/videos') === -1 ? document.querySelector('#watch7-user-header a').href + '/videos' : document.querySelector('#watch7-user-header a').href; - } - - if (!document.querySelector('.itx-channel-video-uploaded') && document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info')) { - element.style.marginLeft = '8px'; - element.className = (youtube_version ? 'style-scope ytd-video-owner-renderer itx-channel-video-uploaded' : 'yt-uix-sessionlink spf-link itx-channel-video-uploaded'); - - document.querySelector(youtube_version ? '#info #info-text #date' : '.yt-user-info').appendChild(element); - } - }); - - xhr.open('GET', 'https://www.googleapis.com/youtube/v3/videos?id=' + ImprovedTube.getParam(location.href.slice(location.href.indexOf('?') + 1), 'v') + '&key=AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA&part=snippet', true); - xhr.send(); - } - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -2.2 Show channel videos count ------------------------------------------------------------------------------*/ - -ImprovedTube.channel_videos_count = function() { - if (ImprovedTube.storage.channel_videos_count === true) { - var waiting_channel_link = setInterval(function() { - var youtube_version = document.documentElement.getAttribute('it-youtube-version') === 'new'; - - if (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a')) { - clearInterval(waiting_channel_link); - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - var response = JSON.parse(this.responseText), - element = document.querySelector('.itx-channel-videos-count') || document.createElement(youtube_version ? 'yt-formatted-string' : 'a'); - - if (ImprovedTube.isset(response.items) && ImprovedTube.isset(response.items[0])) { - element.innerHTML = (youtube_version ? '' + response.items[0].statistics.videoCount + ' videos' : response.items[0].statistics.videoCount + ' videos'); - } - - if (!youtube_version) { - element.href = document.querySelector('#watch7-user-header a').href.indexOf('/videos') === -1 ? document.querySelector('#watch7-user-header a').href + '/videos' : document.querySelector('#watch7-user-header a').href; - } - - if (!document.querySelector('.itx-channel-videos-count') && document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info')) { - element.style.marginLeft = '8px'; - element.className = (youtube_version ? 'style-scope ytd-video-owner-renderer itx-channel-videos-count' : 'yt-uix-sessionlink spf-link itx-channel-videos-count'); - - document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info').appendChild(element); - } - }); - - xhr.open('GET', 'https://www.googleapis.com/youtube/v3/channels?id=' + (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a').getAttribute('it-origin') || document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a').href).replace('https://www.youtube.com/channel/', '') + '&key=AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA&part=statistics', true); - xhr.send(); - } - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Comments ------------------------------------------------------------------------------*/ - -ImprovedTube.comments_wait = false; - -ImprovedTube.comments = function() { - if (this.storage.comments === 'collapsed') { - if (this.comments_wait === false) { - this.comments_wait = setInterval(function() { - if ( - document.getElementById('comment-section-renderer-items') || - document.querySelector('#comments #sections #contents') - ) { - clearInterval(this.comments_wait); - - this.comments_wait = false; - - if (!document.getElementById('improvedtube-collapsed-comments')) { - var button = document.createElement('button'), - parent = document.getElementById('comment-section-renderer') || document.querySelector('#comments #sections'), - reference = document.getElementById('comment-section-renderer-items') || document.querySelector('#comments #sections #contents'); - - button.id = 'improvedtube-collapsed-comments'; - button.className = 'yt-uix-button yt-uix-button-size-default yt-uix-button-default comment-section-renderer-paginator yt-uix-sessionlink'; - button.innerHTML = 'Show moreShow less'; - - button.onclick = function() { - document.documentElement.classList.toggle('comments-collapsed'); - }; - - document.documentElement.classList.toggle('comments-collapsed'); - parent.insertBefore(button, reference); - } - } - }, 250); - } - } else { - clearInterval(this.comments_wait); - - this.comments_wait = false; - - setTimeout(function() { - if (document.getElementById('improvedtube-collapsed-comments')) { - document.getElementById('improvedtube-collapsed-comments').remove(); - } - }, 260); - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -4.1 Live chat ------------------------------------------------------------------------------*/ - -ImprovedTube.livechat_wait = false; -ImprovedTube.livechat_url = false; - -ImprovedTube.livechat = function() { - if ( - document.documentElement.getAttribute('it-page-type') === 'video' && - this.storage.livechat === 'collapsed' && - this.livechat_wait === false - ) { - this.livechat_wait = setInterval(function() { - var button = document.querySelector('#chat:not([collapsed]) #show-hide-button paper-button'), - expander = document.querySelector('#watch-sidebar-live-chat .yt-uix-expander'); - - if (document.documentElement.getAttribute('it-page-type') !== 'video' || button || expander) { - clearInterval(ImprovedTube.livechat_wait); - - ImprovedTube.livechat_wait = false; - } - - if (button) { - function click() { - ImprovedTube.livechat_url = location.href; - } - - button.addEventListener('mousedown', click); - button.addEventListener('touchdown', click); - - setTimeout(function() { - if (ImprovedTube.livechat_url !== location.href) { - button.click(); - } - }, 500); - } else if (expander) { - expander.classList.add('yt-uix-expander-collapsed'); - } - }, 100); - } -}; - -/*----------------------------------------------------------------------------- -# Live chat type ------------------------------------------------------------------------------*/ - -ImprovedTube.livechat_type_wait = false; - -ImprovedTube.livechat_type = function() { - return false; - - if ( - document.documentElement.getAttribute('it-page-type') === 'video' && - ImprovedTube.storage.livechat_type === 'live' && - ImprovedTube.livechat_type_wait === false - ) { - this.livechat_type_wait = setInterval(function() { - if (document.querySelectorAll('#chat-messages #dropdown a')[1]) { - clearInterval(ImprovedTube.livechat_type_wait); - - ImprovedTube.livechat_type_wait = false; - - document.querySelectorAll('#chat-messages #dropdown a')[1].click(); - } - }, 250); - } else if (this.livechat_type_wait !== false) { - clearInterval(this.livechat_type_wait); - - ImprovedTube.livechat_type_wait = false; - } -}; - - -/*----------------------------------------------------------------------------- -4.2 Related videos ------------------------------------------------------------------------------*/ - -ImprovedTube.related_videos_wait = false; - -ImprovedTube.related_videos = function() { - if (this.storage.related_videos === 'collapsed') { - if (!this.related_videos_wait) { - this.related_videos_wait = setInterval(function() { - if ( - document.querySelector('#related.ytd-watch-flexy') || - document.querySelector('#watch7-sidebar-contents') - ) { - clearInterval(this.related_videos_wait); - - this.related_videos_wait = false; - - if (!document.getElementById('improvedtube-collapsed-related-videos')) { - var button = document.createElement('button'), - parent = document.querySelector('#related.ytd-watch-flexy') || document.querySelector('#watch7-sidebar-contents'), - reference = document.querySelector('#related > *') || document.querySelector('#watch7-sidebar-contents > *'); - - button.id = 'improvedtube-collapsed-related-videos'; - button.className = 'yt-uix-button yt-uix-button-size-default yt-uix-button-default comment-section-renderer-paginator yt-uix-sessionlink'; - button.innerHTML = 'Show moreShow less'; - - button.onclick = function() { - document.documentElement.classList.toggle('related-videos-collapsed'); - }; - - document.documentElement.classList.toggle('related-videos-collapsed'); - parent.insertBefore(button, reference); - } - } - }, 250); - } - } else { - clearInterval(this.related_videos_wait); - - this.related_videos_wait = false; - - setTimeout(function() { - if (document.getElementById('improvedtube-collapsed-related-videos')) { - document.getElementById('improvedtube-collapsed-related-videos').remove(); - } - }, 260); - } -}; - -// TODO: HIGH CPU USAGE - -document.addEventListener('ImprovedTubeBlacklist', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-blacklist', - data: { - type: event.detail.type, - id: event.detail.id, - title: event.detail.title, - preview: event.detail.preview - } - }); - } -}); - -ImprovedTube.blacklist = function() { - if (ImprovedTube.storage.blacklist_activate !== true) { - return false; - } - - if (typeof ImprovedTube.storage.blacklist === 'boolean' || !ImprovedTube.storage.blacklist) { - ImprovedTube.storage.blacklist = {}; - } - - // channel button - if (!ImprovedTube.isset(ImprovedTube.storage.blacklist.channels) || - (ImprovedTube.storage.blacklist.channels && - Object.keys(ImprovedTube.storage.blacklist.channels).indexOf(location.href.replace(/https:\/\/www.youtube.com\/(channel|user|c)\//g, '').replace(/\/(.)+/g, '')) === -1) - ) { - let channel_items = document.querySelectorAll('#inner-header-container #subscribe-button, .primary-header-upper-section .yt-uix-subscription-button'); - - for (let i = 0, l = channel_items.length; i < l; i++) { - if (!channel_items[i].parentNode.querySelector('.improvedtube-add-to-blacklist')) { - let button = document.createElement('div'); - - button.addEventListener('click', function(event) { - let video_id; - - event.preventDefault(); - event.stopPropagation(); - - try { - video_id = location.href.replace(/https:\/\/www.youtube.com\/(channel|user)\//g, '').replace(/\/(.)+/g, ''); - - document.dispatchEvent(new CustomEvent('ImprovedTubeBlacklist', { - detail: { - type: 'channel', - id: video_id, - title: document.querySelector('#channel-container yt-formatted-string.ytd-channel-name, a.branded-page-header-title-link').innerText, - preview: document.querySelector('#channel-container #avatar #img, .channel-header-profile-image').src - } - })); - - if (!ImprovedTube.storage.blacklist || typeof ImprovedTube.storage.blacklist !== 'object') { - ImprovedTube.storage.blacklist = {}; - } - - if (!ImprovedTube.storage.blacklist.channels) { - ImprovedTube.storage.blacklist.channels = {}; - } - - ImprovedTube.storage.blacklist.channels[video_id] = { - title: document.querySelector('yt-formatted-string.ytd-channel-name, a.branded-page-header-title-link').innerText, - preview: document.querySelector('#channel-container #avatar #img, .channel-header-profile-image').src - }; - - ImprovedTube.blacklist(); - - location.reload(); - } catch (err) {} - }, true); - - button.className = 'improvedtube-add-to-blacklist'; - button.innerText = 'Add to blacklist'; - button.style.position = 'static'; - button.style.transform = 'unset'; - button.style.opacity = '1'; - button.style.visibility = 'visible'; - button.style.pointerEvents = 'all'; - button.style.width = 'auto'; - button.style.fontSize = '16px'; - button.style.lineHeight = '28px'; - button.style.height = 'auto'; - button.style.padding = '6px 12px'; - button.style.borderRadius = '2px'; - button.style.boxSizing = 'border-box'; - button.style.background = '#bb1a1a'; - - channel_items[i].parentNode.insertBefore(button, channel_items[i]); - } - } - } - - // video button - let video_items = document.querySelectorAll('a#thumbnail.ytd-thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = video_items.length; i < l; i++) { - if (!video_items[i].querySelector('.improvedtube-add-to-blacklist')) { - let button = document.createElement('div'); - - button.addEventListener('click', function(event) { - let video_id; - - event.preventDefault(); - event.stopPropagation(); - - try { - video_id = ImprovedTube.getParam(new URL(this.parentNode.href).search.substr(1), 'v'); - - let item = this.parentNode; - - while ( - item.nodeName && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - document.dispatchEvent(new CustomEvent('ImprovedTubeBlacklist', { - detail: { - type: 'video', - id: video_id, - title: item.querySelector('#video-title').innerText - } - })); - - if (!ImprovedTube.storage.blacklist || typeof ImprovedTube.storage.blacklist !== 'object') { - ImprovedTube.storage.blacklist = {}; - } - - if (!ImprovedTube.storage.blacklist.videos) { - ImprovedTube.storage.blacklist.videos = {}; - } - - ImprovedTube.storage.blacklist.videos[video_id] = { - title: item.querySelector('#video-title').innerText - }; - - ImprovedTube.blacklist(); - } catch (err) {} - }, true); - button.className = 'improvedtube-add-to-blacklist'; - button.innerText = 'x'; - - video_items[i].appendChild(button); - } - } - - // remove channels - if (ImprovedTube.storage.blacklist && ImprovedTube.storage.blacklist.channels) { - let videos = document.querySelectorAll('a#thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = videos.length; i < l; i++) { - let item = videos[i]; - - while ( - item.nodeName && - item.nodeName !== 'YTD-VIDEO-RENDERER' && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - if (item.querySelector('.ytd-channel-name a, a.spf-link[href*="/user/"], a.spf-link[href*="/channel/"]')) { - let channel_href = item.querySelector('.ytd-channel-name a, a.spf-link[href*="/user/"], a.spf-link[href*="/channel/"]').href; - - for (var key in ImprovedTube.storage.blacklist.channels) { - if (item.style && channel_href.indexOf(key) !== -1) { - item.style.display = 'none'; - } - } - } - } - } - - // remove videos - if (ImprovedTube.storage.blacklist && ImprovedTube.storage.blacklist.videos) { - let videos = document.querySelectorAll('a#thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = videos.length; i < l; i++) { - if (videos[i].href && videos[i].href != '' && ImprovedTube.getParam(new URL(videos[i].href).search.substr(1), 'v') in ImprovedTube.storage.blacklist.videos) { - let item = videos[i]; - - while ( - item.nodeName && - item.nodeName !== 'YTD-VIDEO-RENDERER' && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - item.style.display = 'none'; - } - } - } -}; - -/*----------------------------------------------------------------------------- ->>> CHANNEL -------------------------------------------------------------------------------- -1.0 Channel tab ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Channel tab ------------------------------------------------------------------------------*/ - -ImprovedTube.channel_default_tab = function() { - if (this.storage.channel_default_tab && this.storage.channel_default_tab !== '/') { - var value = this.storage.channel_default_tab, - node_list = document.querySelectorAll('*:not(#contenteditable-root) > a[href*="user"], ' + - '*:not(#contenteditable-root) > a[href*="channel"], ' + - '*:not(#contenteditable-root) > a[href*="/c/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - var node = node_list[i]; - - if (!node.getAttribute('it-origin') || - node.hasAttribute('it-origin') && - node.getAttribute('it-origin').replace(/\/(home|videos|playlists)+$/g, '') != node.href.replace(/\/(home|videos|playlists)+$/g, '') - ) { - node.setAttribute('it-origin', node.href); - } - - var pathname = new URL(node.getAttribute('it-origin')).pathname; - - node.href = node.getAttribute('it-origin') + value; - - function click() { - if ( - this.data && - this.data.commandMetadata && - this.data.commandMetadata.webCommandMetadata && - this.data.commandMetadata.webCommandMetadata.url - ) { - this.data.commandMetadata.webCommandMetadata.url = (this.querySelector('a') || this).href.replace('https://www.youtube.com', ''); - } - } - - node.addEventListener('click', click, true); - node.parentNode.addEventListener('click', click, true); - node.parentNode.parentNode.addEventListener('click', click, true); - } - } else if (this.storage.channel_default_tab) { - var node_list = document.querySelectorAll('a[href*="user"], a[href*="channel"], a[href*="/c/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - node_list[i].href = node_list[i].getAttribute('it-origin'); - } - } -}; - -/*----------------------------------------------------------------------------- ->>> GENERAL -------------------------------------------------------------------------------- -1.0 YouTube Home Page -2.0 Add «Scroll to top» -3.0 HD thumbnails -4.0 Confirmation before closing -5.0 Collapse of subscription sections -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 YouTube Home Page ------------------------------------------------------------------------------*/ - -ImprovedTube.youtube_home_page = function() { - if ( - this.storage.youtube_home_page && - this.storage.youtube_home_page !== '/' && - this.storage.youtube_home_page !== 'search' - ) { - var value = this.storage.youtube_home_page, - node_list = document.querySelectorAll('a[href="/"]:not([role="tablist"]), a[href="//www.youtube.com"]:not([role="tablist"]), a[href="//www.youtube.com/"]:not([role="tablist"]), a[href="https://www.youtube.com"]:not([role="tablist"]), a[href="https://www.youtube.com/"]:not([role="tablist"]), a[it-origin="/"]:not([role="tablist"]), a[it-origin="//www.youtube.com"]:not([role="tablist"]), a[it-origin="//www.youtube.com/"]:not([role="tablist"]), a[it-origin="https://www.youtube.com"]:not([role="tablist"]), a[it-origin="https://www.youtube.com/"]:not([role="tablist"])'); - - for (var i = 0, l = node_list.length; i < l; i++) { - var node = node_list[i], - pathname = new URL((node.getAttribute('it-origin') || node.href)).pathname; - - if (pathname === '/') { - if (!node.getAttribute('it-origin')) { - node.setAttribute('it-origin', node.href); - } - } - - node.href = value; - node.outerHTML = String(node.outerHTML); - node.addEventListener('click', function() { - if ( - this.data && - this.data.commandMetadata && - this.data.commandMetadata.webCommandMetadata && - this.data.commandMetadata.webCommandMetadata.url - ) { - this.data.commandMetadata.webCommandMetadata.url = value; - } - }, true); - } - } else if (this.storage.youtube_home_page) { - var node_list = document.querySelectorAll('a[href="/"], a[href="//www.youtube.com"], a[href="//www.youtube.com/"], a[href="https://www.youtube.com"], a[href="https://www.youtube.com/"], a[it-origin="/"], a[it-origin="//www.youtube.com"], a[it-origin="//www.youtube.com/"], a[it-origin="https://www.youtube.com"], a[it-origin="https://www.youtube.com/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - node_list[i].href = node_list[i].getAttribute('it-origin') || '/'; - node_list[i].outerHTML = String(node.node_list[i].outerHTML); - } - } -}; - -function youtubeHomePage__documentStart(option) { - if (option && option !== '/' && option !== 'search' && location.hostname === 'www.youtube.com' && location.pathname === '/') { - location.replace(option); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Add «Scroll to top» ------------------------------------------------------------------------------*/ - -ImprovedTube.scroll = function() { - if (window.scrollY > window.innerHeight / 2) { - document.documentElement.setAttribute('it-show-scroll-to-top', true); - } else { - document.documentElement.setAttribute('it-show-scroll-to-top', false); - } -}; - -ImprovedTube.add_scroll_to_top = function(is_update) { - if (this.storage.add_scroll_to_top === true) { - var button = document.createElement('div'); - - button.id = 'it-scroll-to-top'; - button.innerHTML = ''; - - button.addEventListener('click', function() { - window.scrollTo(0, 0); - }); - - document.documentElement.appendChild(button); - - window.addEventListener('scroll', ImprovedTube.scroll); - } else { - window.removeEventListener('scroll', ImprovedTube.scroll); - - if (document.querySelector('#it-scroll-to-top')) { - document.querySelector('#it-scroll-to-top').remove(); - } - } -}; - - -/*----------------------------------------------------------------------------- -3.0 HD thumbnails ------------------------------------------------------------------------------*/ - -ImprovedTube.hd_thumbnails = function() { - if (this.storage.hd_thumbnails === true) { - var images = document.querySelectorAll('img'); - - for (var i = 0, l = images.length; i < l; i++) { - if (/(hqdefault\.jpg|hq720.jpg)+/.test(images[i].src) && !images[i].dataset.defaultSrc) { - images[i].dataset.defaultSrc = images[i].src; - - images[i].onload = function() { - if (this.naturalHeight <= 90) { - this.src = this.dataset.defaultSrc; - } - }; - - images[i].src = images[i].src.replace(/(hqdefault\.jpg|hq720.jpg)+/, 'maxresdefault.jpg'); - } - } - } else { - var images = document.querySelectorAll('img'); - - for (var i = 0, l = images.length; i < l; i++) { - if (images[i].dataset.defaultSrc) { - images[i].src = images[i].dataset.defaultSrc; - } - } - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Confirmation before closing ------------------------------------------------------------------------------*/ - -ImprovedTube.confirmation_before_closing = function() { - window.onbeforeunload = function() { - if (ImprovedTube.storage.confirmation_before_closing === true) { - return 'You have attempted to leave this page. Are you sure?'; - } - }; -}; - - -/*----------------------------------------------------------------------------- -5.0 Collapse of subscription sections ------------------------------------------------------------------------------*/ - -ImprovedTube.collapse_of_subscription_sections = function() { - if (/\/feed\/subscriptions/.test(location.href)) { - if (ImprovedTube.storage.collapse_of_subscription_sections === true) { - var sections = document.querySelectorAll('ytd-page-manager ytd-section-list-renderer ytd-item-section-renderer, #browse-items-primary .section-list > li'); - - for (var i = 0, l = sections.length; i < l; i++) { - if (!sections[i].querySelector('.it-section-collapse')) { - var section_title = sections[i].querySelector('h2'), - button = document.createElement('div'); - - button.className = 'it-section-collapse'; - button.innerHTML = ''; - button.section = sections[i]; - button.addEventListener('click', function() { - var section = this.section, - content = section.querySelector('.grid-subheader + #contents, .shelf-title-table + .multirow-shelf'); - - if (section.classList.contains('it-section-collapsed') === false) { - content.style.height = content.offsetHeight + 'px'; - content.style.transition = 'height 150ms'; - } - - setTimeout(function() { - section.classList.toggle('it-section-collapsed'); - }); - }); - - if (!sections[i].querySelector('.shelf-title-cell')) { - section_title.parentNode.insertBefore(button, section_title.nextSibling); - } else { - section_title.appendChild(button); - } - } - } - } else { - var sections = document.querySelectorAll('ytd-page-manager ytd-section-list-renderer ytd-item-section-renderer'), - buttons = document.querySelectorAll('.it-section-collapse'); - - for (var i = 0, l = sections.length; i < l; i++) { - sections[i].classList.remove('it-section-collapsed'); - sections[i].style.height = ''; - sections[i].style.transition = ''; - } - - for (var i = 0, l = buttons.length; i < l; i++) { - buttons[i].remove(); - } - } - } -}; - - -/*----------------------------------------------------------------------------- -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -document.addEventListener('ImprovedTubeWatched', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-watched', - data: { - action: event.detail.action, - id: event.detail.id, - title: event.detail.title - } - }); - } -}); - -ImprovedTube.mark_watched_videos = function() { - if (ImprovedTube.storage.mark_watched_videos === true) { - var video_items = document.querySelectorAll('a#thumbnail.ytd-thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = video_items.length; i < l; i++) { - if (!video_items[i].querySelector('.it-mark-watched')) { - var button = document.createElement('div'); - - button.className = 'it-mark-watched' + (ImprovedTube.storage.watched && ImprovedTube.storage.watched[ImprovedTube.getParam(new URL(video_items[i].href || 'https://www.youtube.com/').search.substr(1), 'v')] ? ' watched' : ''); - button.innerHTML = ''; - button.addEventListener('click', function(event) { - var watched = this.classList.contains('watched') ? false : true; - - event.preventDefault(); - event.stopPropagation(); - - this.classList.toggle('watched'); - - try { - var video_id = ImprovedTube.getParam(new URL(this.parentNode.href).search.substr(1), 'v'), - item = this.parentNode; - - while ( - item.nodeName && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - if (!ImprovedTube.storage.watched || typeof ImprovedTube.storage.watched !== 'object') { - ImprovedTube.storage.watched = {}; - } - - if (watched === true) { - ImprovedTube.storage.watched[video_id] = { - title: item.querySelector('a#video-title, .title, .yt-lockup-title > a').innerText - }; - - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'set', - id: video_id, - title: item.querySelector('a#video-title, .title, .yt-lockup-title > a').innerText - } - })); - } else if (ImprovedTube.storage.watched[video_id]) { - delete ImprovedTube.storage.watched[video_id]; - - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'remove', - id: video_id - } - })); - } - } catch (err) {} - }); - - video_items[i].appendChild(button); - } - } - } -}; - -/*----------------------------------------------------------------------------- ->>> PLAYER -------------------------------------------------------------------------------- -1.0 Quality -2.0 Volume -3.0 Playback speed -4.0 Autoplay -5.0 Allow 60fps -6.0 Codec h.264 -7.0 Subtitles -8.0 Loudness normalization -9.0 Up next autoplay -10.0 Mini player -11.0 Ads -12.0 Autopause -13.0 Auto-fullscreen -14.0 Custom plyaer buttons - 14.1 Repeat - 14.2 Screenshot - 14.3 Rotate - 14.4 Popup player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Quality ------------------------------------------------------------------------------*/ - -ImprovedTube.player_quality = function(node) { - var quality = ImprovedTube.storage.player_quality; - - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (node.getAvailableQualityLevels) { - var available_quality_levels = node.getAvailableQualityLevels(); - - if (quality && quality !== 'auto') { - if (available_quality_levels.indexOf(quality) === -1) { - quality = available_quality_levels[0]; - } - - node.setPlaybackQualityRange(quality); - node.setPlaybackQuality(quality); - } - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Volume ------------------------------------------------------------------------------*/ - -ImprovedTube.player_volume = function(node) { - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (node && ImprovedTube.storage.player_forced_volume === true) { - var volume = Number(ImprovedTube.storage.player_volume); - - if (!ImprovedTube.isset(volume) || !volume) { - volume = 1; - } - - node.setVolume(volume); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Playback speed ------------------------------------------------------------------------------*/ - -ImprovedTube.player_playback_speed = function(node) { - var playback_speed = Number(ImprovedTube.storage.player_playback_speed); - - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (ImprovedTube.isset(ImprovedTube.storage.player_playback_speed) && ImprovedTube.storage.player_forced_playback_speed === true) { - node.querySelector('video').playbackRate = playback_speed; - - try { - if (window.location.href.indexOf("music") < 0) { //quickfix to keep running on music.youtube.com - node.setPlaybackRate(playback_speed); - } - } catch (err) {} - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.autoplay = function() { - if ( - (/\/watch\?/.test(location.href) && !/list=/.test(location.href) && this.storage.player_autoplay === false) || - (/\/watch\?/.test(location.href) && /list=/.test(location.href) /*&& /index=/.test(location.href)*/ && this.storage.playlist_autoplay === false) || - (/\/(channel|user)\//.test(location.href) && this.storage.channel_trailer_autoplay === false) - ) { - return false; - } - - return true; -}; - - -/*----------------------------------------------------------------------------- -5.0 Allow 60fps ------------------------------------------------------------------------------*/ - -ImprovedTube.player_60fps = function() { - if (this.storage.player_60fps === false) { - var canPlayType = HTMLMediaElement.prototype.canPlayType; - - function overwrite(self, callback, mime) { - var match = /framerate=(\d+)/.exec(mime); - - if (match && match[1] > 30) { - return ''; - } else { - return callback.call(self, mime); - } - } - - if (window.MediaSource) { - var isTypeSupported = window.MediaSource.isTypeSupported; - - window.MediaSource.isTypeSupported = function(mime) { - return overwrite(this, isTypeSupported, mime); - }; - } - - HTMLMediaElement.prototype.canPlayType = function(mime) { - var status = overwrite(this, canPlayType, mime); - - if (!status) { - return ''; - } else { - return status; - } - }; - } -}; - - -/*----------------------------------------------------------------------------- -6.0 Video codec ------------------------------------------------------------------------------*/ - -ImprovedTube.player_h264 = function() { - if (this.storage.player_h264 === true) { - var canPlayType = HTMLMediaElement.prototype.canPlayType; - - function overwrite(self, callback, mime) { - if (/webm|vp8|vp9/.test(mime)) { - return false; - } else { - return callback.call(self, mime); - } - } - - if (window.MediaSource) { - var isTypeSupported = window.MediaSource.isTypeSupported; - - window.MediaSource.isTypeSupported = function(mime) { - return overwrite(this, isTypeSupported, mime); - }; - } - - HTMLMediaElement.prototype.canPlayType = function(mime) { - var status = overwrite(this, canPlayType, mime); - - if (!status) { - return ''; - } else { - return status; - } - }; - } -}; - - -/*----------------------------------------------------------------------------- -9.0 Up next autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.up_next_autoplay = function() { - if (this.isset(this.storage.up_next_autoplay)) { - var wait = setInterval(function() { - if ( - document.querySelector('#related #head.ytd-compact-autoplay-renderer #toggle') || - document.querySelector('#autoplay-checkbox') - ) { - clearInterval(wait); - - var option = ImprovedTube.storage.up_next_autoplay, - new_youtube_toggle = document.querySelector('#related #head.ytd-compact-autoplay-renderer #toggle'), - old_youtube_toggle = document.querySelector('#autoplay-checkbox'); - - if (new_youtube_toggle && (option === true && !new_youtube_toggle.hasAttribute('checked') || option === false && new_youtube_toggle.hasAttribute('checked'))) { - new_youtube_toggle.click(); - } else if (old_youtube_toggle && (option === true && !old_youtube_toggle.hasAttribute('checked') || option === false && old_youtube_toggle.hasAttribute('checked'))) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -10.0 Mini player (todo) ------------------------------------------------------------------------------*/ - -ImprovedTube.mini_player__mode = false; -ImprovedTube.mini_player__move = false; -ImprovedTube.mini_player__cursor = '""'; -ImprovedTube.mini_player__x = 0; -ImprovedTube.mini_player__y = 0; -ImprovedTube.mini_player__max_x = 0; -ImprovedTube.mini_player__max_y = 0; -ImprovedTube.mini_player__original_width = 0; -ImprovedTube.mini_player__original_height = 0; -ImprovedTube.mini_player__width = 200; -ImprovedTube.mini_player__height = 160; -ImprovedTube.mini_player__mousedown_x = 0; -ImprovedTube.mini_player__mousedown_y = 0; -ImprovedTube.mini_player__player_offset_x = 0; -ImprovedTube.mini_player__player_offset_y = 0; -ImprovedTube.mini_player__resize_offset = 16; - - -ImprovedTube.mini_player__setPosition = function(x, y) { - ImprovedTube.mini_player__element.style.transform = 'translate3d(' + x + 'px, ' + y + 'px, 0)'; -}; - -ImprovedTube.mini_player__setSize = function(width, height) { - ImprovedTube.mini_player__element.style.width = width + 'px'; - ImprovedTube.mini_player__element.style.height = height + 'px'; -}; - -ImprovedTube.mini_player__scroll = function() { - if (window.scrollY >= 256 && ImprovedTube.mini_player__mode === false && ImprovedTube.mini_player__element.classList.contains('ytp-player-minimized') === false) { - ImprovedTube.mini_player__mode = true; - - ImprovedTube.mini_player__original_width = ImprovedTube.mini_player__element.offsetWidth; - ImprovedTube.mini_player__original_height = ImprovedTube.mini_player__element.offsetHeight; - - ImprovedTube.mini_player__element.classList.add('it-mini-player'); - - ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); - ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, ImprovedTube.mini_player__y); - - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height); - - window.addEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } else if (window.scrollY < 256 && ImprovedTube.mini_player__mode === true || ImprovedTube.mini_player__element.classList.contains('ytp-player-minimized') === true) { - ImprovedTube.mini_player__mode = false; - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - ImprovedTube.mini_player__move = false; - ImprovedTube.mini_player__setPosition(0, 0); - ImprovedTube.mini_player__element.style.width = ''; - ImprovedTube.mini_player__element.style.height = ''; - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - window.removeEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } -}; - -ImprovedTube.mini_player__mousedown = function(event) { - if (event.button !== 0) { - return false; - } - - if (ImprovedTube.mini_player__resize() === true) { - return false; - } - - var is_player = false; - - for (var i = 0, l = event.path.length; i < l; i++) { - if ((event.path[i].classList && event.path[i].classList.contains('it-mini-player')) === true) { - is_player = true; - } - } - - if (is_player === false) { - return false; - } - - event.preventDefault(); - - var bcr = ImprovedTube.mini_player__element.getBoundingClientRect(); - - ImprovedTube.mini_player__mousedown_x = event.clientX; - ImprovedTube.mini_player__mousedown_y = event.clientY; - ImprovedTube.mini_player__width = bcr.width; - ImprovedTube.mini_player__height = bcr.height; - - ImprovedTube.mini_player__player_offset_x = event.clientX - bcr.x; - ImprovedTube.mini_player__player_offset_y = event.clientY - bcr.y; - - ImprovedTube.mini_player__max_x = document.body.offsetWidth - ImprovedTube.mini_player__width; - ImprovedTube.mini_player__max_y = window.innerHeight - ImprovedTube.mini_player__height; - - window.addEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.addEventListener('mousemove', ImprovedTube.mini_player__mousemove); -}; - -ImprovedTube.mini_player__mouseup = function() { - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - strg.x = ImprovedTube.mini_player__x; - strg.y = ImprovedTube.mini_player__y; - - localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); - - window.removeEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.removeEventListener('mousemove', ImprovedTube.mini_player__mousemove); - - ImprovedTube.mini_player__move = false; - - setTimeout(function() { - window.removeEventListener('click', ImprovedTube.mini_player__click, true); - }); -}; - -ImprovedTube.mini_player__click = function(event) { - event.stopPropagation(); - event.preventDefault(); -}; - -ImprovedTube.mini_player__mousemove = function(event) { - if ( - event.clientX < ImprovedTube.mini_player__mousedown_x - 5 || - event.clientY < ImprovedTube.mini_player__mousedown_y - 5 || - event.clientX > ImprovedTube.mini_player__mousedown_x + 5 || - event.clientY > ImprovedTube.mini_player__mousedown_y + 5 - ) { - var x = event.clientX - ImprovedTube.mini_player__player_offset_x, - y = event.clientY - ImprovedTube.mini_player__player_offset_y; - - if (ImprovedTube.mini_player__move === false) { - ImprovedTube.mini_player__move = true; - - window.addEventListener('click', ImprovedTube.mini_player__click, true); - } - - if (x < 0) { - x = 0; - } - - if (y < 0) { - y = 0; - } - - if (x > ImprovedTube.mini_player__max_x) { - x = ImprovedTube.mini_player__max_x; - } - - if (y > ImprovedTube.mini_player__max_y) { - y = ImprovedTube.mini_player__max_y; - } - - ImprovedTube.mini_player__x = x; - ImprovedTube.mini_player__y = y; - - ImprovedTube.mini_player__setPosition(x, y); - } -}; - -ImprovedTube.mini_player__cursorUpdate = function(event) { - var x = event.clientX, - y = event.clientY, - c = ImprovedTube.mini_player__cursor; - - if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'ne-resize'; - } else if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'se-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'sw-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'nw-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'n-resize'; - } else if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'e-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 's-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'w-resize'; - } else { - c = ''; - } - - if (ImprovedTube.mini_player__cursor !== c) { - ImprovedTube.mini_player__cursor = c; - - document.documentElement.setAttribute('it-mini-player-cursor', ImprovedTube.mini_player__cursor); - } -}; - -ImprovedTube.mini_player__resize = function(event) { - if (ImprovedTube.mini_player__cursor !== '') { - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - window.addEventListener('mouseup', ImprovedTube.mini_player__resize_mouseUp); - window.addEventListener('mousemove', ImprovedTube.mini_player__resize_mouseMove); - - return true; - } -}; - -ImprovedTube.mini_player__resize_mouseMove = function(event) { - if (ImprovedTube.mini_player__cursor === 'n-resize') { - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, event.clientY); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } else if (ImprovedTube.mini_player__cursor === 'e-resize') { - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__height); - } else if (ImprovedTube.mini_player__cursor === 's-resize') { - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'w-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, ImprovedTube.mini_player__y); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__height); - } else if (ImprovedTube.mini_player__cursor === 'ne-resize') { - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, event.clientY); - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } else if (ImprovedTube.mini_player__cursor === 'se-resize') { - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'sw-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, ImprovedTube.mini_player__y); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'nw-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, event.clientY); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } -}; - -ImprovedTube.mini_player__resize_mouseUp = function(event) { - var bcr = ImprovedTube.mini_player__element.getBoundingClientRect(); - - ImprovedTube.mini_player__x = bcr.left; - ImprovedTube.mini_player__y = bcr.top; - ImprovedTube.mini_player__width = bcr.width; - ImprovedTube.mini_player__height = bcr.height; - - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - strg.width = ImprovedTube.mini_player__width; - strg.height = ImprovedTube.mini_player__height; - - localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); - - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - window.removeEventListener('mouseup', ImprovedTube.mini_player__resize_mouseUp); - window.removeEventListener('mousemove', ImprovedTube.mini_player__resize_mouseMove); -}; - -ImprovedTube.mini_player = function() { - ImprovedTube.mini_player__element = document.querySelector('.html5-video-player'); - - if (ImprovedTube.storage.mini_player === true) { - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - ImprovedTube.mini_player__x = ImprovedTube.isset(strg.x) ? strg.x : 16; - ImprovedTube.mini_player__y = ImprovedTube.isset(strg.y) ? strg.y : 16; - ImprovedTube.mini_player__width = strg.width || 200; - ImprovedTube.mini_player__height = strg.height || 150; - - window.addEventListener('scroll', ImprovedTube.mini_player__scroll); - } else { - ImprovedTube.mini_player__mode = false; - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - ImprovedTube.mini_player__move = false; - ImprovedTube.mini_player__setPosition(0, 0); - ImprovedTube.mini_player__element.style.width = ''; - ImprovedTube.mini_player__element.style.height = ''; - - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - window.dispatchEvent(new Event('resize')); - - window.removeEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.removeEventListener('mousemove', ImprovedTube.mini_player__mousemove); - window.removeEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.removeEventListener('click', ImprovedTube.mini_player__click); - window.removeEventListener('scroll', ImprovedTube.mini_player__scroll); - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - } -}; - - -/*----------------------------------------------------------------------------- -12.0 Autopause ------------------------------------------------------------------------------*/ - -ImprovedTube.player_autopause_when_switching_tabs = function() { - window.addEventListener('blur', function() { - ImprovedTube.focused = false; - - if ( - ImprovedTube.storage.player_autopause_when_switching_tabs === true && - /\/watch/.test(location.href) && - document.querySelector('.html5-video-player video') - ) { - document.querySelector('.html5-video-player video').pause(); - } - }); - - window.addEventListener('focus', function() { - ImprovedTube.focused = true; - - if ( - ImprovedTube.storage.player_autopause_when_switching_tabs === true && - /\/watch/.test(location.href) && - document.querySelector('.html5-video-player video') - ) { - document.querySelector('.html5-video-player video').play(); - } - }); -}; - - -/*----------------------------------------------------------------------------- -13.0 Auto-fullscreen ------------------------------------------------------------------------------*/ - -ImprovedTube.player_autofullscreen = function(node) { - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if ( - this.storage.player_autofullscreen === true && - !document.fullscreenElement && - document.documentElement.getAttribute('it-page-type') === 'video' && - node.toggleFullscreen - ) { - node.toggleFullscreen(); - } -}; - - -/*----------------------------------------------------------------------------- -14.0 Custom buttons ------------------------------------------------------------------------------*/ - -ImprovedTube.createPlayerButton = function(node, options) { - var button = document.createElement('button'); - - var wait = setInterval(function() { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - if (node && node.querySelector('.ytp-left-controls')) { - clearInterval(wait); - - button.className = 'ytp-button it-player-button'; - - button.dataset.title = options.title; - - if (options.id) { - if (node.querySelector('#' + options.id)) { - node.querySelector('#' + options.id).remove(); - } - - button.id = options.id; - } - - if (options.html) { - button.innerHTML = options.html; - } - - button.style.opacity = options.opacity || '.5'; - - if (options.onclick) { - button.onclick = options.onclick; - } - - node.querySelector('.ytp-left-controls').insertBefore(button, node.querySelector('.ytp-left-controls').childNodes[3]); - } - }); -}; - - -/*----------------------------------------------------------------------------- -14.1 Repeat ------------------------------------------------------------------------------*/ - -ImprovedTube.player_repeat_button = function(node) { - if (this.storage.player_repeat_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-repeat-button', - html: '', - onclick: function() { - if (node.querySelector('video').hasAttribute('loop')) { - node.querySelector('video').removeAttribute('loop'); - this.style.opacity = '.5'; - } else if (!/ad-showing/.test(player.className)) { - node.querySelector('video').setAttribute('loop', ''); - this.style.opacity = '1'; - } - }, - title: 'Repeat' - }); - - if (this.storage.player_always_repeat === true) { - setTimeout(function() { - node.querySelector('video').setAttribute('loop', ''); - node.querySelector('#it-repeat-button').style.opacity = '1'; - }, 100); - } - } else if (document.querySelector('.it-repeat-button')) { - document.querySelector('.it-repeat-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.2 Screenshot ------------------------------------------------------------------------------*/ - -ImprovedTube.screenshot = function() { - document.body.style.opacity = '0'; - - var video = document.querySelector('.html5-video-player video'), - cvs = document.createElement('canvas'), - ctx = cvs.getContext('2d'), - old_w = video.offsetWidth, - old_h = video.offsetHeight; - - video.style.width = video.videoWidth + 'px'; - video.style.height = video.videoHeight + 'px'; - - setTimeout(function() { - cvs.width = video.videoWidth; - cvs.height = video.videoHeight; - - ctx.drawImage(video, 0, 0, cvs.width, cvs.height); - - cvs.toBlob(function(blob) { - if (ImprovedTube.storage.player_screenshot_save_as !== 'clipboard') { - var a = document.createElement('a'); - - a.href = URL.createObjectURL(blob); - - a.download = location.href.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '-' + new Date(document.querySelector('video').getCurrentTime() * 1000).toISOString().substr(11, 8).replace(/:/g, '-') + '.png'; - - a.click(); - } else { - try { - navigator.clipboard.write([ - new ClipboardItem({ - 'image/png': blob - }) - ]); - } catch (error) {} - } - - setTimeout(function() { - video.style.width = old_w + 'px'; - video.style.height = old_h + 'px'; - - document.body.style.opacity = '1'; - }, 100); - }); - }, 100); -}; - -ImprovedTube.player_screenshot_button = function() { - if (this.storage.player_screenshot_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-screenshot-button', - html: '', - opacity: 1, - onclick: ImprovedTube.screenshot, - title: 'Screenshot' - }); - } else if (document.querySelector('.it-screenshot-button')) { - document.querySelector('.it-screenshot-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.3 Rotate ------------------------------------------------------------------------------*/ - -ImprovedTube.player_rotate_button = function() { - if (this.storage.player_rotate_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-rotate-button', - html: '', - opacity: 1, - onclick: function() { - var video = document.querySelector('.html5-video-player video'), - transform = '', - rotate = (document.querySelector('.it-rotate-styles') && document.querySelector('.it-rotate-styles').textContent.match(/rotate\([0-9.]+deg\)/g) || [''])[0]; - - rotate = Number((rotate.match(/[0-9.]+/g) || [])[0]) || 0; - - if (rotate < 270 && rotate % 90 == 0) { - rotate = rotate + 90; - } else { - rotate = 0; - } - - transform += 'rotate(' + rotate + 'deg)'; - - if (rotate == 90 || rotate == 270) { - transform += ' scale(' + video.offsetHeight / video.offsetWidth + ')'; - } - - //video.style.transform = transform; - - if (!document.querySelector('.it-rotate-styles')) { - var styles = document.createElement('style'); - - styles.className = 'it-rotate-styles'; - - document.body.appendChild(styles); - } - - document.querySelector('.it-rotate-styles').textContent = '.html5-video-player:not(it-mini-player) video {transform:' + transform + '}'; - }, - title: 'Rotate' - }); - } else if (document.querySelector('.it-rotate-button')) { - document.querySelector('.it-rotate-button').remove(); - document.querySelector('.it-rotate-styles').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.4 Popup ------------------------------------------------------------------------------*/ - -ImprovedTube.player_popup_button = function() { - if (this.storage.player_popup_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-popup-player-button', - html: '', - opacity: 1, - onclick: function() { - node.pauseVideo(); - - window.open('//www.youtube.com/embed/' + location.href.match(/watch\?v=([A-Za-z0-9\-\_]+)/g)[0].slice(8) + '?start=' + parseInt(node.getCurrentTime()) + '&autoplay=' + (ImprovedTube.storage.player_autoplay == false ? '0' : '1'), '_blank', 'location=0,menubar=0,status=0,titlebar=0,width=' + node.offsetWidth + ',height=' + node.offsetHeight); - }, - title: 'Popup' - }); - } else if (document.querySelector('.it-popup-player-button')) { - document.querySelector('.it-popup-player-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -# LOUDNESS NORMALIZATION ------------------------------------------------------------------------------*/ - -ImprovedTube.player_loudness_normalization = function() { - if (document.querySelector('video')) { - document.querySelector('video').onvolumechange = function(event) { - if (document.querySelector('.ytp-volume-panel') && ImprovedTube.storage.player_loudness_normalization === false) { - var volume = Number(document.querySelector('.ytp-volume-panel').getAttribute('aria-valuenow')); - - document.querySelector('video').volume = volume / 100; - } - }; - } - - if (ImprovedTube.storage.player_loudness_normalization === false) { - try { - var local_storage = localStorage['yt-player-volume']; - - if (ImprovedTube.isset(Number(ImprovedTube.storage.player_volume)) && ImprovedTube.storage.player_forced_volume === true) { - - } else if (local_storage) { - local_storage = JSON.parse(JSON.parse(local_storage).data); - local_storage = Number(local_storage.volume); - - document.querySelector('video').volume = local_storage / 100; - } else { - document.querySelector('video').volume = 100; - } - } catch (err) {} - } -}; - -/*----------------------------------------------------------------------------- ->>> PLAYLIST -------------------------------------------------------------------------------- -1.0 Reverse -2.0 Repeat -3.0 Shuffle ------------------------------------------------------------------------------*/ - - -/*----------------------------------------------------------------------------- -1.0 Reverse (todo) ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_reverse_wait = false; - -ImprovedTube.playlist_reverse_activated = false; - -ImprovedTube.playlist_reverse = function() { - if (this.storage.playlist_reverse === true) { - ImprovedTube.playlist_reverse_wait = setInterval(function() { - if ( - ( - document.querySelector('.playlist-nav-controls') || - document.querySelector('ytd-watch-flexy ytd-playlist-panel-renderer #header-contents #playlist-actions ytd-menu-renderer #top-level-buttons') - ) && - (document.querySelector('.playlist-nav-controls .toggle-loop') || document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[0]) && - !document.querySelector('#it-playlist-reverse') - ) { - clearInterval(ImprovedTube.playlist_reverse_wait); - - ImprovedTube.playlist_reverse_wait = false; - - var button = document.createElement('div'); - - button.id = 'it-playlist-reverse'; - button.innerHTML = ''; - button.onclick = function() { - if (this.classList.contains('yt-uix-button-toggled')) { - ImprovedTube.playlist_reverse_activated = false; - - this.classList.remove('yt-uix-button-toggled'); - } else { - ImprovedTube.playlist_reverse_activated = true; - - this.classList.add('yt-uix-button-toggled'); - } - - ImprovedTube.newPlaylistReverse(); - }; - - (document.querySelector('ytd-watch-flexy ytd-playlist-panel-renderer #header-contents #playlist-actions ytd-menu-renderer #top-level-buttons') || document.querySelector('.playlist-nav-controls')).appendChild(button); - - if ((ImprovedTube.playlist_reverse_activated === true || location.href.indexOf('it-playlist-reverse=true') !== -1) && document.querySelector('#it-playlist-reverse')) { - ImprovedTube.playlist_reverse_activated = true; - - document.querySelector('#it-playlist-reverse').classList.add('yt-uix-button-toggled'); - - ImprovedTube.newPlaylistReverse(); - } - } - }, 250); - } -}; - -ImprovedTube.newPlaylistReverse = function() { - var list = document.querySelector('#items.playlist-items'), - videos = document.querySelectorAll('#items.playlist-items > *'), - clones = [], - titles = [], - channels = [], - hrefs = []; - - if (videos) { - for (var i = videos.length - 1; i >= 0; i--) { - titles.push(videos[i].querySelector('#video-title').innerText); - channels.push(videos[i].querySelector('#byline').innerText); - hrefs.push(videos[i].querySelector('a').href + '&it-playlist-reverse=true'); - clones.push(videos[i].cloneNode(true)); - } - - list.innerHTML = ''; - - for (var i = 0, l = clones.length; i < l; i++) { - var clone = clones[i].cloneNode(true); - - list.appendChild(clone); - } - - function next(event) { - if ( - ImprovedTube.playlist_reverse_activated === true && - ( - (document.querySelector('#items.playlist-items > [selected]').nextElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || - document.querySelector('#items.playlist-items > * a') - ) - ) { - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i] === document.querySelector('.html5-video-player .ytp-next-button')) { - event.preventDefault(); - event.stopPropagation(); - - location.replace(((document.querySelector('#items.playlist-items > [selected]').nextElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || document.querySelector('#items.playlist-items > * a')).href); - - return false; - } - } - } - } - - window.removeEventListener('click', next); - window.addEventListener('click', next); - - function prev(event) { - if ( - ImprovedTube.playlist_reverse_activated === true && - ( - (document.querySelector('#items.playlist-items > [selected]').previousElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || - document.querySelector('#items.playlist-items > *:last-child a') - ) - ) { - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i] === document.querySelector('.html5-video-player .ytp-prev-button')) { - event.preventDefault(); - event.stopPropagation(); - - location.replace(((document.querySelector('#items.playlist-items > [selected]').previousElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || document.querySelector('#items.playlist-items > *:last-child a')).href); - - return false; - } - } - } - } - - window.removeEventListener('click', prev); - window.addEventListener('click', prev); - - setTimeout(function() { - var items = document.querySelectorAll('#items.playlist-items > *'); - - for (var i = 0, l = clones.length; i < l; i++) { - var item = items[i]; - - item.querySelector('a').href = hrefs[i]; - // index - item.querySelector('#index').innerHTML = clones[i].querySelector('#index').innerHTML; - // thumbnail - item.querySelector('#thumbnail-container').style.background = 'url(https://i.ytimg.com/vi/' + hrefs[i].match(/v=[^&]*/g)[0].substr(2) + '/hqdefault.jpg) no-repeat center'; - item.querySelector('#thumbnail-container').style.backgroundSize = 'cover'; - item.querySelector('yt-img-shadow').classList.remove('empty'); - // title - item.querySelector('#video-title').innerText = titles[i]; - // channel - item.querySelector('#byline').innerText = channels[i]; - } - - //document.querySelector('.html5-video-player .ytp-next-button').parentNode.replaceChild(document.querySelector('.html5-video-player .ytp-next-button').cloneNode.true, document.querySelector('.html5-video-player .ytp-next-button')); - - document.querySelector('#playlist .playlist-items').scrollTo(0, document.querySelector('ytd-playlist-panel-video-renderer[selected]').offsetTop - document.querySelector('ytd-playlist-panel-video-renderer[selected]').parentNode.offsetTop); - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Repeat ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_repeat_wait = false; - -ImprovedTube.playlist_repeat = function() { - if (this.isset(this.storage.playlist_repeat) && /\/watch\?/.test(location.href) && /list=/.test(location.href)) { - ImprovedTube.playlist_repeat_wait = setInterval(function() { - if ( - document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[0] || - document.querySelector('.playlist-nav-controls .toggle-loop') - ) { - clearInterval(ImprovedTube.playlist_repeat_wait); - - ImprovedTube.playlist_repeat_wait = false; - - var option = ImprovedTube.storage.playlist_repeat, - new_youtube_toggle = document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer'), - old_youtube_toggle = document.querySelector('.playlist-nav-controls .toggle-loop'); - - if (new_youtube_toggle[0] && (option === true && new_youtube_toggle[0].className.search('style-default-active') === -1 || option === 'disabled' && new_youtube_toggle[0].className.search('style-default-active') !== -1)) { - new_youtube_toggle[0].click(); - } else if (old_youtube_toggle && (option === true && old_youtube_toggle.className.search('yt-uix-button-toggled') === -1 || option === 'disabled' && old_youtube_toggle.className.search('yt-uix-button-toggled') !== -1)) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Shuffle ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_shuffle_wait = false; - -ImprovedTube.playlist_shuffle = function() { - if (this.isset(this.storage.playlist_shuffle) && /\/watch\?/.test(location.href) && /list=/.test(location.href)) { - ImprovedTube.playlist_shuffle_wait = setInterval(function() { - if ( - document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[1] || - document.querySelector('.playlist-nav-controls .shuffle-playlist') - ) { - clearInterval(ImprovedTube.playlist_shuffle_wait); - - ImprovedTube.playlist_shuffle_wait = false; - - var option = ImprovedTube.storage.playlist_shuffle, - new_youtube_toggle = document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer'), - old_youtube_toggle = document.querySelector('.playlist-nav-controls .shuffle-playlist'); - - if (new_youtube_toggle[1] && (option === true && new_youtube_toggle[1].className.search('style-default-active') === -1 || option === 'disabled' && new_youtube_toggle[1].className.search('style-default-active') !== -1)) { - new_youtube_toggle[1].click(); - } else if (old_youtube_toggle && (option === true && old_youtube_toggle.className.search('yt-uix-button-toggled') === -1 || option === 'disabled' && old_youtube_toggle.className.search('yt-uix-button-toggled') !== -1)) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Up next autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_up_next_autoplay_f = function(event) { - if ( - ImprovedTube.getParam(location.href, 'list') && - ImprovedTube.storage.playlist_up_next_autoplay === false && - this.currentTime >= this.duration - 1 - ) { - this.pause(); - } -}; - -ImprovedTube.playlist_up_next_autoplay = function(player) { - player.querySelector('video').removeEventListener('timeupdate', ImprovedTube.playlist_up_next_autoplay_f, true); - player.querySelector('video').addEventListener('timeupdate', ImprovedTube.playlist_up_next_autoplay_f, true); -}; - -/*----------------------------------------------------------------------------- ->>> SETTINGS -------------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube -2.0 Delete YouTube cookies -3.0 YouTube Language ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -ImprovedTube.improvedtube_youtube_icon_wait = false; - -ImprovedTube.improvedtube_youtube_icon_resize = function() { - var iframe = document.querySelector('.it-btn__iframe'), - icon = document.querySelector('.it-btn__icon'); - - if (iframe && icon) { - var x = icon.getBoundingClientRect().x, - y = icon.getBoundingClientRect().y; - - if (x < window.innerWidth / 2) { - iframe.style.right = 'auto'; - iframe.style.left = '0px'; - } else { - iframe.style.right = '0px'; - iframe.style.left = 'auto'; - } - - if (y < window.innerHeight / 2) { - iframe.style.top = '50px'; - iframe.style.bottom = 'auto'; - - iframe.style.height = Math.min(500, window.innerHeight - Math.max(0, iframe.getBoundingClientRect().top) - 16) + 'px'; - } else { - iframe.style.top = 'auto'; - iframe.style.bottom = '50px'; - - iframe.style.height = Math.min(500, window.innerHeight - Math.max(0, window.innerHeight - iframe.getBoundingClientRect().y - iframe.getBoundingClientRect().height) - 16) + 'px'; - } - } -}; - -ImprovedTube.improvedtube_youtube_icon = function() { - if (window.self !== window.top) { - return false; - } - - if ( - ImprovedTube.storage.improvedtube_youtube_icon === 'disabled' && - document.querySelector('.it-btn') - ) { - document.querySelector('.it-btn').remove(); - } - - if (this.improvedtube_youtube_icon_wait === false) { - this.improvedtube_youtube_icon_wait = setInterval(function() { - var option = ImprovedTube.storage.improvedtube_youtube_icon, - parentNode, - referenceNode; - - if (option === 'header_left') { - parentNode = document.querySelector('ytd-masthead #start'); - referenceNode = document.querySelector('ytd-masthead #start #guide-button'); - } else if (option === 'header_right') { - parentNode = ( - document.querySelector('#end #buttons') || - document.querySelector('#yt-masthead-user') - ); - } else if (option === 'draggable') { - parentNode = document.body || document.querySelector('body'); - } else if (option === 'below_player') { - parentNode = ( - document.querySelector('.title.ytd-video-primary-info-renderer') || - document.querySelector('#watch-headline-title') - ); - } - - if (document.querySelector('.it-btn')) { - if (!parentNode.querySelector(':scope > .it-btn')) { - document.querySelector('.it-btn').remove(); - } else { - clearInterval(ImprovedTube.improvedtube_youtube_icon_wait); - - ImprovedTube.improvedtube_youtube_icon_wait = false; - - return false; - } - } - - if ( - ImprovedTube.isset(option) && - option !== 'disabled' && - parentNode && (option === 'header_left' ? referenceNode : true) - ) { - clearInterval(ImprovedTube.improvedtube_youtube_icon_wait); - - ImprovedTube.improvedtube_youtube_icon_wait = false; - - var button = document.createElement('div'); - - button.className = 'it-btn'; - button.innerHTML = '
'; - button.addEventListener('click', function() { - event.preventDefault(); - event.stopPropagation(); - - this.classList.toggle('it-btn--active'); - ImprovedTube.improvedtube_youtube_icon_resize(); - - return false; - }, true); - - if (option === 'draggable') { - var position = localStorage.getItem('IT_ICON'); - - if (ImprovedTube.isset(position)) { - position = JSON.parse(position); - - button.style.left = position.x + 'px'; - button.style.top = position.y + 'px'; - } - - function move(event) { - button.classList.add('it-btn--dragging'); - - if (event.clientX < window.innerWidth / 2) { - if (event.clientX - Number(button.dataset.x) >= 16) { - button.style.left = event.clientX - Number(button.dataset.x) + 'px'; - } else { - button.style.left = '16px'; - } - } else { - if (event.clientX + (48 + window.innerWidth - document.querySelector('body').offsetWidth) - Number(button.dataset.x) <= window.innerWidth) { - button.style.left = event.clientX - Number(button.dataset.x) + 'px'; - } else { - button.style.left = 'calc(100vw - ' + (48 + window.innerWidth - document.querySelector('body').offsetWidth) + 'px)'; - } - } - - if (event.clientY < window.innerHeight / 2) { - if (event.clientY - Number(button.dataset.y) >= 16) { - button.style.top = event.clientY - Number(button.dataset.y) + 'px'; - } else { - button.style.top = '16px'; - } - } else { - if (event.clientY + 48 - Number(button.dataset.y) <= window.innerHeight) { - button.style.top = event.clientY - Number(button.dataset.y) + 'px'; - } else { - button.style.top = 'calc(100vh - 48px)'; - } - } - - ImprovedTube.improvedtube_youtube_icon_resize(); - } - - button.addEventListener('mousedown', function(event) { - this.dataset.x = event.layerX; - this.dataset.y = event.layerY; - - window.addEventListener('mousemove', move); - }); - - window.addEventListener('mouseup', function() { - button.classList.remove('it-btn--dragging'); - - window.removeEventListener('mousemove', move); - - localStorage.setItem('IT_ICON', JSON.stringify({ - x: button.offsetLeft, - y: button.offsetTop - })); - - setTimeout(function() { - button.style.pointerEvents = ''; - }); - }); - } - - if (option === 'header_left') { - parentNode.insertBefore(button, referenceNode); - } else { - parentNode.appendChild(button); - } - - ImprovedTube.improvedtube_youtube_icon_resize(); - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Delete YouTube cookies ------------------------------------------------------------------------------*/ - -ImprovedTube.delete_youtube_cookies = function() { - var cookies = document.cookie.split(';'); - - for (var i = 0, l = cookies.length; i < l; i++) { - var cookie = cookies[i], - eqPos = cookie.indexOf('='), - name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; - - document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; - } - - setTimeout(function() { - location.reload(); - }, 100); -}; - - -/*----------------------------------------------------------------------------- -3.0 YouTube Language ------------------------------------------------------------------------------*/ - -ImprovedTube.youtube_language = function() { - var pref = ImprovedTube.getCookieValueByName('PREF'), - hl = ImprovedTube.getParam(pref, 'hl'); - - if (hl) { - ImprovedTube.setCookie('PREF', pref.replace('hl=' + hl, 'hl=' + ImprovedTube.storage.youtube_language)); - } else { - ImprovedTube.setCookie('PREF', pref + '&hl=' + ImprovedTube.storage.youtube_language); - } - - setTimeout(function() { - location.reload(); - }, 100); -}; - -/*----------------------------------------------------------------------------- ->>> SHORTCUTS -------------------------------------------------------------------------------- -1.0 Keyboard -2.0 Mouse ------------------------------------------------------------------------------*/ - -ImprovedTube.shortcuts = function() { - var self = this, - keys = {}, - wheel = 0, - hover = false, - status_timer; - - function showStatus(player, volume) { - if (!player.querySelector('#it-status')) { - var element = document.createElement('div'); - - element.id = 'it-status'; - element.innerHTML = volume; - - document.querySelector('.html5-video-container').appendChild(element); - } else { - player.querySelector('#it-status').innerHTML = volume; - } - - if (status_timer) { - clearTimeout(status_timer); - } - - status_timer = setTimeout(function() { - if (player.querySelector('#it-status')) { - player.querySelector('#it-status').remove(); - } - }, 500); - } - - function start(type = 'keys') { - if (document.activeElement && ['EMBED', 'INPUT', 'OBJECT', 'TEXTAREA', 'IFRAME'].indexOf(document.activeElement.tagName) !== -1 || event.target.isContentEditable) { - return false; - } - - var features = { - shortcut_240p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('small'); - player.setPlaybackQuality('small'); - } - }, - shortcut_360p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('medium'); - player.setPlaybackQuality('medium'); - } - }, - shortcut_480p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('large'); - player.setPlaybackQuality('large'); - } - }, - shortcut_720p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd720'); - player.setPlaybackQuality('hd720'); - } - }, - shortcut_1080p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd1080'); - player.setPlaybackQuality('hd1080'); - } - }, - shortcut_1440p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd1440'); - player.setPlaybackQuality('hd1440'); - } - }, - shortcut_2160p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd2160'); - player.setPlaybackQuality('hd2160'); - } - }, - shortcut_2880p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd2880'); - player.setPlaybackQuality('hd2880'); - } - }, - shortcut_4320p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('highres'); - player.setPlaybackQuality('highres'); - } - }, - shortcut_picture_in_picture: function() { - var video = document.querySelector('#movie_player video'); - - if (video) { - video.requestPictureInPicture(); - } - }, - shortcut_play_pause: function() { - var video = document.querySelector('#movie_player video'); - - if (video) { - if (video.paused) { - video.play(); - } else { - video.pause(); - } - } - }, - shortcut_stop: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.stopVideo(); - } - }, - shortcut_next_video: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.nextVideo) { - player.nextVideo(); - } - }, - shortcut_prev_video: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.previousVideo) { - player.previousVideo(); - } - }, - shortcut_seek_backward: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.seekBy) { - player.seekBy(-10); - } - }, - shortcut_seek_forward: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.seekBy) { - player.seekBy(10); - } - }, - shortcut_increase_volume: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - player.setVolume(player.getVolume() + (Number(ImprovedTube.storage.shortcut_volume_step) || 5)); - } - - showStatus(player, player.getVolume()); - }, - shortcut_decrease_volume: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - player.setVolume(player.getVolume() - (Number(ImprovedTube.storage.shortcut_volume_step) || 5)); - } - - showStatus(player, player.getVolume()); - }, - shortcut_screenshot: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - ImprovedTube.screenshot(); - } - }, - shortcut_increase_playback_speed: function() { - var video = document.querySelector('#movie_player video'); - - if (video && video.playbackRate) { - video.playbackRate = Math.max(Number((video.playbackRate + Number(ImprovedTube.storage.shortcut_playback_speed_step)).toFixed(2)), .1); - - showStatus(document.querySelector('#movie_player'), video.playbackRate); - } - }, - shortcut_decrease_playback_speed: function() { - var video = document.querySelector('#movie_player video'); - - if (video && video.playbackRate) { - video.playbackRate = Math.max(Number((video.playbackRate - Number(ImprovedTube.storage.shortcut_playback_speed_step)).toFixed(2)), .1); - - showStatus(document.querySelector('#movie_player'), video.playbackRate); - } - }, - shortcut_go_to_search_box: function() { - var search = document.querySelector('#search'); - - if (search && search.focus) { - search.focus(); - } - }, - shortcut_activate_fullscreen: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.toggleFullscreen) { - player.toggleFullscreen(); - } - }, - shortcut_activate_captions: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.querySelector('.ytp-subtitles-button')) { - player.querySelector('.ytp-subtitles-button').click(); - } - }, - shortcut_like_shortcut: function() { - var like = (document.querySelectorAll('.like-button-renderer-like-button')[0] || document.querySelectorAll('#menu #top-level-buttons ytd-toggle-button-renderer')[0]); - - if (like) { - like.click(); - } - }, - shortcut_dislike_shortcut: function() { - var like = (document.querySelectorAll('.like-button-renderer-dislike-button')[0] || document.querySelectorAll('#menu #top-level-buttons ytd-toggle-button-renderer')[1]); - - if (like) { - like.click(); - } - }, - shortcut_dark_theme: function() { - if (document.documentElement.hasAttribute('dark')) { - document.documentElement.removeAttribute('dark'); - document.documentElement.removeAttribute('it-theme'); - } else { - document.documentElement.setAttribute('dark', ''); - document.documentElement.setAttribute('it-theme', 'true'); - } - }, - shortcut_custom_mini_player: function() { - ImprovedTube.storage.mini_player = !ImprovedTube.storage.mini_player; - - ImprovedTube.mini_player(); - - if (ImprovedTube.storage.mini_player === true) { - ImprovedTube.mini_player__mode = true; - - ImprovedTube.mini_player__original_width = ImprovedTube.mini_player__element.offsetWidth; - ImprovedTube.mini_player__original_height = ImprovedTube.mini_player__element.offsetHeight; - - ImprovedTube.mini_player__element.classList.add('it-mini-player'); - - ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); - ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, ImprovedTube.mini_player__y); - - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height); - - window.addEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } - } - }; - - for (var i in features) { - if (self.isset(self.storage[i])) { - var data = JSON.parse(self.storage[i]) || {}; - - if ( - (data.key === keys.key || !self.isset(data.key)) && - (data.shiftKey === keys.shiftKey || !self.isset(data.shiftKey)) && - (data.ctrlKey === keys.ctrlKey || !self.isset(data.ctrlKey)) && - (data.altKey === keys.altKey || !self.isset(data.altKey)) && - ((data.wheel > 0) === (wheel > 0) || !self.isset(data.wheel)) && - ((hover === true && (data.wheel > 0) === (wheel > 0) && Object.keys(keys).length === 0 && keys.constructor === Object) || (self.isset(data.key) || self.isset(data.altKey) || self.isset(data.ctrlKey))) - ) { - if (type === 'wheel' && self.isset(data.wheel) || type === 'keys') { - event.preventDefault(); - event.stopPropagation(); - } - - features[i](); - - if (type === 'wheel' && self.isset(data.wheel) || type === 'keys') { - return false; - } - } - } - } - } - - - /*------------------------------------------------------------------------- - 1.0 Keyboard - -------------------------------------------------------------------------*/ - - window.addEventListener('keydown', function(event) { - keys = { - key: event.key, - keyCode: event.keyCode, - shiftKey: event.shiftKey, - ctrlKey: event.ctrlKey, - altKey: event.altKey - }; - - start(); - }, true); - - window.addEventListener('keyup', function(event) { - keys = {}; - }, true); - - - /*------------------------------------------------------------------------- - 2.0 Mouse - -------------------------------------------------------------------------*/ - - window.addEventListener('mousemove', function(event) { - hover = false; - - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i].classList && event.path[i].classList.contains('html5-video-player')) { - hover = true; - } - } - }, { - passive: false, - capture: true - }); - - window.addEventListener('wheel', function(event) { - wheel = event.deltaY; - - start('wheel'); - }, { - passive: false, - capture: true - }); -}; - -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Bluelight -2.0 Dim -3.0 Themes ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Bluelight ------------------------------------------------------------------------------*/ - -ImprovedTube.bluelight = function() { - var value = this.storage.bluelight, - times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - } - - if ( - this.isset(value) && value !== 0 && value !== '0' && - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) - ) { - if (!document.querySelector('#it-bluelight')) { - var container = document.createElement('div'); - - container.id = 'it-bluelight'; - container.innerHTML = ''; - - document.documentElement.appendChild(container); - } else { - document.querySelector('#it-bluelight-filter feColorMatrix').setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 ' + (1 - parseFloat(value) / 100) + ' 0 0 0 0 0 1 0'); - } - } else if (document.querySelector('#it-bluelight')) { - document.querySelector('#it-bluelight').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Dim ------------------------------------------------------------------------------*/ - -ImprovedTube.dim = function() { - var value = this.storage.dim, - times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - }; - - if ( - this.isset(value) && value !== 0 && value !== '0' && - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) - ) { - if (!document.querySelector('#it-dim')) { - var container = document.createElement('div'); - - container.id = 'it-dim'; - container.style.opacity = parseInt(Number(value)) / 100 || 0; - - document.documentElement.appendChild(container); - } else { - document.querySelector('#it-dim').style.opacity = parseInt(Number(value)) / 100 || 0; - } - - if (!document.querySelector('#it-dim-player')) { - var container = document.createElement('div'); - - container.id = 'it-dim-player'; - container.style.opacity = parseInt(Number(value)) / 100 || 0; - - if (document.querySelector('.html5-video-player')) { - document.querySelector('.html5-video-player').appendChild(container); - } - } else { - document.querySelector('#it-dim-player').style.opacity = parseInt(Number(value)) / 100 || 0; - } - } else { - if (document.querySelector('#it-dim')) { - document.querySelector('#it-dim').remove(); - } - - if (document.querySelector('#it-dim-player')) { - document.querySelector('#it-dim-player').remove(); - } - } -}; - - -ImprovedTube.font = function() { - if (this.storage.font) { - if (!document.querySelector('.it-font-family')) { - var link = document.createElement('link'); - - link.rel = 'stylesheet'; - - document.documentElement.appendChild(link); - } else { - var link = document.querySelector('.it-font-family'); - } - - link.href = '//fonts.googleapis.com/css2?family=' + this.storage.font; - - document.documentElement.style.fontFamily = this.storage.font.replace(/\+/g, ' '); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Themes ------------------------------------------------------------------------------*/ - -ImprovedTube.theme = function() { - var times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - } - - if ( - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) && - ( - this.isset(ImprovedTube.storage.default_dark_theme) && ImprovedTube.storage.default_dark_theme !== false || - this.isset(ImprovedTube.storage.night_theme) && ImprovedTube.storage.night_theme !== false || - this.isset(ImprovedTube.storage.dawn_theme) && ImprovedTube.storage.dawn_theme !== false || - this.isset(ImprovedTube.storage.sunset_theme) && ImprovedTube.storage.sunset_theme !== false || - this.isset(ImprovedTube.storage.desert_theme) && ImprovedTube.storage.desert_theme !== false || - this.isset(ImprovedTube.storage.plain_theme) && ImprovedTube.storage.plain_theme !== false || - this.isset(ImprovedTube.storage.black_theme) && ImprovedTube.storage.black_theme !== false - ) - ) { - var PREF_OLD = this.getParams(this.getCookieValueByName('PREF')), - PREF = this.getParams(this.getCookieValueByName('PREF')), - result = ''; - - if (!this.isset(PREF.f6) || this.isset(PREF.f6) && PREF.f6.length !== 3) { - PREF.f6 = '400'; - } else if (PREF.f6.length === 3) { - PREF.f6 = '4' + PREF.f6.substr(1); - } - - for (var i in PREF) { - result += i + '=' + PREF[i] + '&'; - } - - this.setCookie('PREF', result.slice(0, -1)); - - document.documentElement.setAttribute('it-theme', 'true'); - } else { - document.documentElement.removeAttribute('it-theme'); - } -}; - - -ImprovedTube.themeEditor = function() { - if (this.storage.theme_my_colors !== true) { - if (document.querySelector('.it-theme-editor')) { - document.querySelector('.it-theme-editor').remove(); - } - - return false; - } - - var style = document.querySelector('.it-theme-editor') || document.createElement('style'); - - style.className = 'it-theme-editor'; - style.innerText = 'html{' + - '--yt-swatch-textbox-bg:rgba(19,19,19,1)!important;' + - '--yt-swatch-icon-color:rgba(136,136,136,1)!important;' + - '--yt-spec-brand-background-primary:rgba(0,0,0, 0.1) !important;' + - '--yt-spec-brand-background-secondary:rgba(0,0,0, 0.1) !important;' + - '--yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important;' + - '--yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important;' + - '--yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important;' + - '--yt-spec-brand-button-background:rgba(136,136,136,1) !important;' + - '--yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important;' + - '--yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important;' + - '--yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important;' + - '--yt-spec-10-percent-layer:rgba(136,136,136,1) !important;' + - '--yt-swatch-primary:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-swatch-primary-darker:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-brand-background-solid:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-a:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-b:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-c:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-touch-response:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-swatch-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-important-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-input-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-logo-override: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-spec-text-primary:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-primary-inverse:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-secondary:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-disabled:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-active-other:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-inactive:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-disabled:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-filled-button-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-call-to-action-inverse:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-icon-active:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-icon-inactive:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-link-text:' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-spec-brand-subscribe-button-background:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-wordmark-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-selected-nav-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '}'; - - document.documentElement.appendChild(style); -} - -/*----------------------------------------------------------------------------- ->>> VOLUME MIXER -------------------------------------------------------------------------------- -1.0 Inject ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Inject ------------------------------------------------------------------------------*/ - -ImprovedTube.volumeMixer = function() {}; -/*----------------------------------------------------------------------------- ->>> FUNCTIONS -------------------------------------------------------------------------------- -1.0 ------------------------------------------------------------------------------*/ - -function injectScript(string) { - var script = document.createElement('script'); - - script.textContent = string; - - document.documentElement.appendChild(script); - - script.remove(); -} - -function injectStyle(string, id) { - var style = document.getElementById(id) || document.createElement('style'); - - style.textContent = string; - - document.documentElement.appendChild(style); -} - -ImprovedTube.isset = function(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -}; - -ImprovedTube.getCookieValueByName = function(name) { - var match = document.cookie.match(new RegExp('([; ]' + name + '|^' + name + ')([^\\s;]*)', 'g')); - - if (match) { - var cookie = match[0]; - - return cookie.replace(name + '=', '').replace(' ', ''); - } else - return ''; -}; - -ImprovedTube.getParam = function(query, name) { - var params = query.split('&'), - param = false; - - for (var i = 0; i < params.length; i++) { - params[i] = params[i].split('='); - - if (params[i][0] == name) { - param = params[i][1]; - } - } - - if (param) { - return param; - } else { - return false; - } -}; - -ImprovedTube.getParams = function(query) { - var params = query.split('&'), - result = {}; - - for (var i = 0, l = params.length; i < l; i++) { - params[i] = params[i].split('='); - - result[params[i][0]] = params[i][1]; - } - - return result; -}; - -ImprovedTube.setCookie = function(name, value) { - var date = new Date(); - - date.setTime(date.getTime() + 3.154e+10); - - document.cookie = name + '=' + value + '; path=/; domain=.youtube.com; expires=' + date.toGMTString(); -}; - -ImprovedTube.pageType = function() { - var href = location.href, - type = ''; - - if (location.pathname == '/') { - type = 'home'; - } else if (/\/watch\?/.test(href)) { - type = 'video'; - } else if (/\/channel|user\//.test(href)) { - type = 'channel'; - } - - document.documentElement.setAttribute('it-page-type', type); -}; - - -chrome.runtime.sendMessage({ - enabled: true -}); -/*----------------------------------------------------------------------------- ->>> INJECTION -------------------------------------------------------------------------------- -1.0 Initialization -2.0 Storage listener -3.0 Message listener ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Initialization ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - var content = 'var ImprovedTube={'; - - if (typeof items.player_volume === 'string') { - items.player_volume = Number(items.player_volume); - } - - if (!items.hasOwnProperty('header_position')) { - items.header_position = 'normal'; - } - - if (!items.hasOwnProperty('player_size')) { - items.player_size = 'do_not_change'; - } - - if (items.bluelight === '0') { - items.bluelight = 0; - } - - if (items.dim === '0') { - items.dim = 0; - } - - if (items.custom_js && items.custom_js.length > 0) { - injectScript('try{' + items.custom_js + '} catch (err) {}'); - } - - if (items.custom_css && items.custom_css.length > 0) { - injectStyle(items.custom_css, 'it-custom-css'); - } - - withoutInjection(items); - - content += 'storage:' + JSON.stringify(items); - - for (var key in items) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), items[key]); - } - - for (var key in ImprovedTube) { - content += ',' + key + ':' + ImprovedTube[key]; - } - - content += '};ImprovedTube.init();'; - - injectScript(content); -}); - - -/*----------------------------------------------------------------------------- -2.0 Storage listener ------------------------------------------------------------------------------*/ - -chrome.storage.onChanged.addListener(function(changes) { - for (var key in changes) { - var value = changes[key].newValue; - - if (['watched'].indexOf(key) === -1) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), value); - - injectScript('ImprovedTube.storage[\'' + key + '\']=' + (typeof value === 'boolean' ? value : '\'' + value + '\'') + ';'); - - if (typeof ImprovedTube[key] === 'function') { - injectScript('ImprovedTube.' + key + '();'); - } - - if (key === 'schedule' || key === 'schedule_time_from' || key === 'schedule_time_to') { - injectScript('ImprovedTube.bluelight();'); - injectScript('ImprovedTube.dim();'); - injectScript('ImprovedTube.theme();'); - } - - if (key.indexOf('theme') !== -1) { - injectScript('ImprovedTube.theme();'); - } - - if (key === 'theme_primary_color' || key === 'theme_text_color') { - injectScript('ImprovedTube.themeEditor();'); - } - - if (['custom_css'].indexOf(key) !== -1 && value.length > 0) { - injectStyle(value, 'it-custom-css'); - } else if (document.querySelector('#it-custom-css')) { - document.querySelector('#it-custom-css').remove(); - } - } - } -}); - - -/*----------------------------------------------------------------------------- -3.0 Message listener ------------------------------------------------------------------------------*/ - -chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { - var name = request.name || '', - value = request.value; - - if (name === 'improvedtube-play') { - if (request.id && request.id !== new URL(location.href).searchParams.get('v')) { - injectScript(['if (document.querySelector(".html5-video-player") && !ImprovedTube.focused && ImprovedTube.storage.only_one_player_instance_playing) { document.querySelector(".html5-video-player").pauseVideo();}']); - } - } else if (name == 'request_volume' && document.querySelector('video')) { - sendResponse({ - value: document.querySelector('video').volume * 100 - }); - } else if (name == 'change_volume') { - injectScript(['if(document.querySelector(".html5-video-player")){document.querySelector(".html5-video-player").setVolume(' + request.volume + ');}'], 'improvedtube-mixer-data'); - } else if (name == 'request_playback_speed' && document.querySelector('video')) { - sendResponse({ - value: document.querySelector('video').playbackRate - }); - } else if (name == 'change_playback_speed') { - injectScript(['if(document.querySelector(".html5-video-player video")){document.querySelector(".html5-video-player video").playbackRate = ' + request.playback_speed + ';}'], 'improvedtube-mixer-data'); - } else if (name === 'delete_youtube_cookies') { - var cookies = document.cookie.split(';'); - - for (var i = 0; i < cookies.length; i++) { - var cookie = cookies[i], - eqPos = cookie.indexOf('='), - name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; - - document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; - } - - setTimeout(function() { - location.reload(); - }, 250); - } -}); - -/*----------------------------------------------------------------------------- ->>> MIGRATION -------------------------------------------------------------------------------- -1.0 General - 1.1 Legacy YouTube - 1.2 YouTube Home Page - 1.3 Add «Scroll to top» - 1.4 Hide animated thumbnails - 1.5 Confirmation before closing -2.0 Appearance - 2.1 Header - 2.1.1 Header style - 2.1.2 Improve logo - 2.2 Player - 2.2.1 Annotations - 2.2.2 Cards - 2.2.3 Player size - 2.3 Footer - 2.3.5 Hide footer -3.0 Themes -4.0 Player - 4.1 Quality - 4.2 Volume - 4.3 Playback speed - 4.4 Autoplay - 4.5 Allow 60fps - 4.6 Codec h.264 - 4.7 Subtitles - 4.8 Loudness normalization - 4.9 Mini player - 4.10 Ads - 4.11 Autopause - 4.12 Auto-fullscreen - 4.13 Repeat button - 4.14 Screenshot button - 4.15 Rotate button - 4.16 Popup button -5.0 Playlist - 5.1 Repeat - 5.2 Shuffle -6.0 Channel - 6.1 Default tab - 6.2 Trailer autoplay - 6.3 Hide featured content ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(object) { - if (object.migrated !== true) { - for (var key in object) { - var value = object[key]; - - if (value === 'true') { - object[key] = true; - } else if (value === 'false') { - object[key] = false; - } - - /*--------------------------------------------------------------------- - 1.0 General - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 1.1 Legacy YouTube - ---------------------------------------------------------------------*/ - - if (key === 'youtube_version') { - if (value === 'old') { - object.legacy_youtube = true; - } else { - object.legacy_youtube = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.2 YouTube Home Page - ---------------------------------------------------------------------*/ - else if (key === 'youtube_home_page') { - if (value === 'normal') { - object[key] = '/'; - } else if (value === 'trending') { - object[key] = '/feed/trending'; - } else if (value === 'subscriptions') { - object[key] = '/feed/subscriptions'; - } else if (value === 'history') { - object[key] = '/feed/history'; - } else if (value === 'watch_later') { - object[key] = '/playlist?list=WL'; - } - } - - - /*--------------------------------------------------------------------- - 1.3 Add «Scroll to top» - ---------------------------------------------------------------------*/ - else if (key === 'scroll_to_top') { - if (value === 'true') { - object.add_scroll_to_top = true; - } else { - object.add_scroll_to_top = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.4 Hide animated thumbnails - ---------------------------------------------------------------------*/ - else if (key === 'play_videos_by_hovering_the_thumbnails') { - if (value === 'false') { - object.hide_animated_thumbnails = true; - } else { - object.hide_animated_thumbnails = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.5 Confirmation before closing - ---------------------------------------------------------------------*/ - else if (key === 'youtube_prevent_closure') { - if (value === 'true') { - object.confirmation_before_closing = true; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.0 Appearance - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.1 Header - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.1.1 Header style - ---------------------------------------------------------------------*/ - else if (key === 'header') { - if (value === 'top_of_page') { - object.header_position = 'static'; - } else { - object.header_position = value; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.1.2 Improve logo - ---------------------------------------------------------------------*/ - else if (key === 'improve_youtube_logo') { - object.header_improve_logo = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.2 Player - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.2.1 Annotations - ---------------------------------------------------------------------*/ - else if (key === 'annotations') { - object.player_hide_annotations = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.2 Cards - ---------------------------------------------------------------------*/ - else if (key === 'cards') { - object.player_hide_cards = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.3 Transparent background - ---------------------------------------------------------------------*/ - else if (key === 'transparent_background') { - object.player_transparent_background = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.4 Endscreen - ---------------------------------------------------------------------*/ - else if (key === 'endscreen') { - object.player_hide_endscreen = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.3 Footer - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.3.5 Hide footer - ---------------------------------------------------------------------*/ - else if (key === 'footer') { - object.hide_footer = value === 'hidden' ? true : false; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 3.0 Themes - ---------------------------------------------------------------------*/ - else if (key === 'it_theme') { - object.theme = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.0 Player - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 4.1 Quality - ---------------------------------------------------------------------*/ - else if (key === 'video_quality') { - object.player_quality = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.2 Volume - ---------------------------------------------------------------------*/ - else if (key === 'video_volume') { - object.player_volume = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.3 Playback speed - ---------------------------------------------------------------------*/ - else if (key === 'video_playback_speed') { - object.player_playback_speed = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.4 Autoplay - ---------------------------------------------------------------------*/ - else if (key === 'video_autoplay') { - object.player_autoplay = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.5 Allow 60fps - ---------------------------------------------------------------------*/ - else if (key === 'allow_60fps') { - object.player_60fps = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.6 Video codec h.264 - ---------------------------------------------------------------------*/ - else if (key === 'video_encode') { - object.player_h264 = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.7 Allow subtitles - ---------------------------------------------------------------------*/ - else if (key === 'allow_subtitles') { - object.player_subtitles = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.8 Loudness normalization - ---------------------------------------------------------------------*/ - else if (key === 'allow_loudness') { - object.player_loudness_normalization = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.8 Mini player - ---------------------------------------------------------------------*/ - else if (key === 'mini_player_b') { - object.mini_player = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.9 Ads - ---------------------------------------------------------------------*/ - else if (key === 'allow_video_ads') { - object.player_ads = 'all_videos'; - - delete object[key]; - } else if (key === 'subscribed_channel_player_ads' && value === true) { - object.player_ads = 'subscribed_channels'; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.10 Autopause - ---------------------------------------------------------------------*/ - else if (key === 'video_autopause') { - object.player_autopause = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.11 Auto-fullscreen - ---------------------------------------------------------------------*/ - else if (key === 'video_autofullscreen') { - object.player_autofullscreen = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.12 Repeat button - ---------------------------------------------------------------------*/ - else if (key === 'video_repeat_button') { - object.player_repeat_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.13 Screenshot button - ---------------------------------------------------------------------*/ - else if (key === 'screenshot_button') { - object.player_screenshot_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.14 Rotate button - ---------------------------------------------------------------------*/ - else if (key === 'video_rotate_button') { - object.player_rotate_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.15 Popup button - ---------------------------------------------------------------------*/ - else if (key === 'popup_player_button') { - object.player_popup_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 5.0 Playlist - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 5.1 Repeat - ---------------------------------------------------------------------*/ - else if (key === 'playlist_repeat') { - if (value === 'enabled') { - object.playlist_repeat = true; - } else if (value === 'disabled') { - object.playlist_repeat = false; - } - } - - /*--------------------------------------------------------------------- - 5.2 Shuffle - ---------------------------------------------------------------------*/ - else if (key === 'playlist_shuffle') { - if (value === 'enabled') { - object.playlist_repeat = true; - } else if (value === 'disabled') { - object.playlist_repeat = false; - } - } - - - /*--------------------------------------------------------------------- - 6.0 Channel - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 6.1 Default tab - ---------------------------------------------------------------------*/ - else if (key === 'channel_default_page') { - if (value === 'normal') { - object.channel_default_tab = '/'; - } else { - object.channel_default_tab = '/' + value; - } - } - - /*--------------------------------------------------------------------- - 6.2 Trailer autoplay - ---------------------------------------------------------------------*/ - else if (key === 'channel_autoplay') { - object.channel_trailer_autoplay = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 6.3 Hide featured content - ---------------------------------------------------------------------*/ - else if (key === 'channel_featured_content') { - object.channel_hide_featured_content = value; - - delete object[key]; - } - } - - object.migrated = true; - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - } - - if (object.bluelight_removed !== true && (object.bluelight || object.bluelight === 0)) { - object.bluelight_removed = true; - - delete object.bluelight; - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.player_size_migrated !== true && object.player_size) { - object.player_size_migrated = true; - - if ( - [ - 'do_not_change', - 'full_window', - 'fit_to_window', - '240p', - '360p', - '480p', - '576p', - '720p', - '1080p', - '1440p', - '2160p' - ].indexOf(object.player_size) === -1 - ) { - if (object.player_size === 'fit_window') { - object.player_size = 'fit_to_window'; - } else { - object.player_size = 'do_not_change'; - } - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.hasOwnProperty('legacy_youtube') && object.legacy_youtube_migration !== true) { - object.legacy_youtube_migration = true; - - if (object.legacy_youtube === true) { - object.legacy_youtube = 'enabled'; - } else if (object.legacy_youtube === false) { - object.legacy_youtube = 'disabled'; - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.hasOwnProperty('legacy_youtube') && object.legacy_youtube_migration2 !== true) { - object.legacy_youtube_migration2 = true; - - if (object.legacy_youtube === 'enabled' || object.legacy_youtube === 'enabledForced') { - object.legacy_youtube = true; - } else if (object.legacy_youtube === 'disabled') { - object.legacy_youtube = false; - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } -}); -/*----------------------------------------------------------------------------- ->>> MUTATIONS -------------------------------------------------------------------------------- -1.0 Mutations - 1.1 JSON.parse - 1.2 HTMLMediaElement.play -3.0 Player vars -4.0 ytPlayerApplicationCreateMod ------------------------------------------------------------------------------*/ - -document.addEventListener('ImprovedTubePlayVideo', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-play', - id: new URL(location.href).searchParams.get('v') - }); - } -}); - -/*----------------------------------------------------------------------------- -1.0 Mutations ------------------------------------------------------------------------------*/ - -ImprovedTube.adInterval = false; -ImprovedTube.AdSkipButton = false; - -ImprovedTube.player_ads = function() { - if (ImprovedTube.adInterval) { - clearInterval(ImprovedTube.adInterval); - } - - if (ImprovedTube.storage.player_ads === 'block_all' || ImprovedTube.storage.player_ads === 'subscribed_channels') { - ImprovedTube.adInterval = setInterval(function() { - if (!ImprovedTube.AdSkipButton) { - ImprovedTube.AdSkipButton = document.querySelector('.ytp-ad-skip-button.ytp-button'); - } - - if (ImprovedTube.AdSkipButton) { - ImprovedTube.AdSkipButton.click(); - } - }, 250); - } -}; - -ImprovedTube.mutations = function() { - /*------------------------------------------------------------------------- - 1.1 JSON.parse - -------------------------------------------------------------------------*/ - JSON.parse = (function(original) { - return function(text, reviver, bypass) { - var temp = original.apply(this, arguments); - - if (!bypass && temp && temp.player && temp.player.args) { - temp.player.args = ImprovedTube.changeArgs(temp.player.args); - } - - return temp; - }; - }(JSON.parse)); - - /*------------------------------------------------------------------------- - 1.2 HTMLMediaElement.play - -------------------------------------------------------------------------*/ - HTMLMediaElement.prototype.play = (function(original) { - return function() { - var self = this; - - if (ImprovedTube.videoUrl !== location.href) { - ImprovedTube.allow_autoplay = false; - } - - if ( - ImprovedTube.autoplay() === false && - ImprovedTube.allow_autoplay === false && - this.parentNode.parentNode.classList.contains('ad-showing') === false - ) { - setTimeout(function() { - self.parentNode.parentNode.pauseVideo(); - }); - - return; - } else if (self.paused === true && ImprovedTube.videoUrl !== location.href) { - ImprovedTube.playerUpdate(self.parentNode.parentNode, true); - } - - if (ImprovedTube.videoUrl !== location.href) { - ImprovedTube.videoUrl = location.href; - } - - ImprovedTube.player_loudness_normalization(); - - return original.apply(this, arguments); - } - })(HTMLMediaElement.prototype.play); -}; - - -/*----------------------------------------------------------------------------- -1.0 Change args ------------------------------------------------------------------------------*/ - -ImprovedTube.changeArgs = function(args) { - if (ImprovedTube.isset(args)) { - // Ads - if ( - ImprovedTube.storage.player_ads === 'block_all' || - ImprovedTube.storage.player_ads === 'subscribed_channels' && (args.player_response || '').indexOf('subscribed=1') === -1 - ) { - delete args.ad3_module; - - if (args.player_response) { - var player_response = JSON.parse(args.player_response); - - if (player_response && player_response.adPlacements) { - delete player_response.adPlacements; - delete player_response.playerAds; - - args.player_response = JSON.stringify(player_response); - } - } - } - - // 60 fps - if (ImprovedTube.storage.player_60fps === false && args.adaptive_fmts) { - var key_type = args.adaptive_fmts.indexOf(',') > -1 ? ',' : '%2C', - list = args.adaptive_fmts.split(key_type); - - for (var i = 0; i < list.length; i++) { - var fps = list[i].split(/fps(?:=|%3D)([0-9]{2})/); - - fps = fps && fps[1]; - - if (fps > 30) - list.splice(i--, 1); - } - - args.adaptive_fmts = list.join(key_type); - } - - // SUBTITLES - if (ImprovedTube.storage.player_subtitles === false && args.caption_audio_tracks) { - args.caption_audio_tracks = args.caption_audio_tracks.split(/&d=[0-9]|d=[0-9]&/).join(''); - } - } - - return args; -}; - - -/*----------------------------------------------------------------------------- -3.0 Player vars ------------------------------------------------------------------------------*/ - -ImprovedTube.playerVars = function(original) { - var context = this; - - return function(args) { - var temp; - - args = ImprovedTube.changeArgs(args); - - temp = original.apply(this, arguments); - - return temp; - }; -}; - - -/*----------------------------------------------------------------------------- -4.0 ytPlayerApplicationCreateMod ------------------------------------------------------------------------------*/ - -ImprovedTube.ytPlayerApplicationCreateMod = function(original) { - return function(api_name, config) { - config.args = ImprovedTube.changeArgs(config.args); - - return original.apply(this, arguments); - }; -}; \ No newline at end of file diff --git a/stable/index.html b/stable/index.html deleted file mode 100644 index 714654b01..000000000 --- a/stable/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - ImprovedTube - - - - - - - - diff --git a/stable/manifest.json b/stable/manifest.json deleted file mode 100644 index 5c8b2455c..000000000 --- a/stable/manifest.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "manifest_version": 2, - "name": "Improve YouTube! (Open-Source for YouTube)", - "short_name": "ImprovedTube", - "description": "Make YouTube tidy & powerful! YouTube Player Size Theme Quality Auto HD Colors Playback Speed Style ad block Playlist Channel H.264", - "version": "3.101", - "version_name": "3.101-stable", - - "default_locale": "en", - "icons": { - "128": "assets/icons/128.png", - "16": "assets/icons/16.png", - "32": "assets/icons/32.png", - "48": "assets/icons/48.png" - }, - - "background": { - "persistent": false, - "scripts": ["background.js"] - }, - - "browser_action": { - "default_icon": { - "128": "assets/icons/128g.png", - "16": "assets/icons/16g.png", - "32": "assets/icons/32g.png", - "48": "assets/icons/48g.png" - }, - "default_popup": "index.html" - }, - - "options_page": "options.html", - - "content_scripts": [{ - "all_frames": true, - "css": ["content-scripts.css"], - "exclude_matches": ["https://www.youtube.com/improvedtube", "https://www.youtube.com/tv*", "https://www.youtube.com/audiolibrary/*", "http://studio.youtube.com/*"], - "js": ["content-scripts.js"], - "matches": ["https://www.youtube.com/*"], - "run_at": "document_start" - }, { - "all_frames": true, - "css": ["satus.css", "popup.css"], - "js": ["satus.js", "popup.js"], - "matches": ["https://www.youtube.com/improvedtube"], - "run_at": "document_end" - }, { - "all_frames": true, - "js": ["page.js"], - "matches": ["https://www.youtube.com/improvedtube"], - "run_at": "document_start" - }], - - "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'", - "offline_enabled": true, - "permissions": [ - "https://www.youtube.com/", - "contextMenus", - "storage" - ], - "optional_permissions": [ - "downloads", - "https://*.youtube.com/*" - ], - "update_url": "https://clients2.google.com/service/update2/crx" -} \ No newline at end of file diff --git a/stable/options.html b/stable/options.html deleted file mode 100644 index 61d11272a..000000000 --- a/stable/options.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - ImprovedTube - - - - - - - - - \ No newline at end of file diff --git a/stable/page.js b/stable/page.js deleted file mode 100644 index 67668705f..000000000 --- a/stable/page.js +++ /dev/null @@ -1,13 +0,0 @@ -document.addEventListener('DOMContentLoaded', function() { - document.documentElement.innerHTML = [ - '', - '', - '', - '', - '', - 'ImprovedTube', - '', - '', - '' - ].join(''); -}); \ No newline at end of file diff --git a/stable/popup.css b/stable/popup.css deleted file mode 100644 index bedb800d3..000000000 --- a/stable/popup.css +++ /dev/null @@ -1,1995 +0,0 @@ - -/*--------------------------------------------------------------- ->>> THEMES ------------------------------------------------------------------ -1.0 Dark -2.0 Night -3.0 Dawn -4.0 Sunset -5.0 Desert -6.0 Plain -7.0 Black ----------------------------------------------------------------*/ - -html { - --satus-theme-primary: #ff4158; -} - - -/*--------------------------------------------------------------- -1.0 DARK ----------------------------------------------------------------*/ - -html[theme="dark"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #2c2b2c; - --satus-theme-dialog-text: #b5b5b5; - - --satus-theme-header: #343334; - --satus-theme-header-text: #b5b5b5; - - --satus-theme-main: #2c2b2c; - --satus-theme-main-text: #b5b5b5; - - --satus-theme-section: #343334; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - -/*--------------------------------------------------------------- -2.0 NIGHT ----------------------------------------------------------------*/ - -html[theme="night"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #61a7f5; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #61a7f5; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #3a48b4; - --satus-theme-main-text: #fafafa; - - --satus-theme-section: #61a7f5; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -3.0 DAWN ----------------------------------------------------------------*/ - -html[theme="dawn"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #ffba99; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #ffba99; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #ed74a9; - --satus-theme-main-text: #eee; - - --satus-theme-section: #ffba99; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -4.0 SUNSET ----------------------------------------------------------------*/ - -html[theme="sunset"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #a96165; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #a96165; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #2f3364; - --satus-theme-main-text: #eee; - - --satus-theme-section: #a96165; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -5.0 DESERT ----------------------------------------------------------------*/ - -html[theme="desert"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #9dc2ee; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #9dc2ee; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #ffe498; - --satus-theme-main-text: #eee; - - --satus-theme-section: #9dc2ee; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -6.0 PLAIN ----------------------------------------------------------------*/ - -html[theme="plain"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #abceb8; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #abceb8; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #dea975; - --satus-theme-main-text: #eee; - - --satus-theme-section: #abceb8; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -7.0 BLACK ----------------------------------------------------------------*/ - -html[theme="black"] -{ - --satus-theme-primary: #ff4158; - - --satus-theme-dialog: #222; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #222; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #111; - --satus-theme-main-text: #eee; - - --satus-theme-section: #222; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - -/*-------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -# Fonts -# Basic ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -# FONTS ---------------------------------------------------------------*/ - -@font-face -{ - font-family: 'Open Sans'; - font-weight: 400; - - src: url('assets/fonts/OpenSans-Regular.ttf'); -} - -@font-face -{ - font-family: 'Open Sans'; - font-weight: 600; - - src: url('assets/fonts/OpenSans-SemiBold.ttf'); -} - - -/*-------------------------------------------------------------- -# BASIC ---------------------------------------------------------------*/ - -body -{ - font-family: 'Open Sans', sans-serif; - font-size: 14px; - - display: flex; - overflow: hidden; - flex-direction: column; - - width: 300px; - height: 532px; - margin: 0; - - background-color: #eee; -} - -body.improvedtube-page -{ - width: 100vw; - height: 100vh; -} - -button -{ - font-family: 'Open Sans', sans-serif; -} - - - - - -.satus-dialog--confirm .satus-section -{ - display: flex; - background-color: transparent; -} - -.satus-dialog--confirm .satus-text -{ - display: block; - - box-sizing: border-box; - padding: 0 16px 8px; -} - -.satus-dialog--confirm .satus-button -{ - font-weight: 500; - - overflow: hidden; - - height: 28px; - min-height: 28px; - margin-right: 2px; - padding: 4px 8px; - - text-transform: uppercase; - - color: #f96754; - border-radius: 4px; -} - - - - - - - - - - - - - - - - - - - - - - -.satus-section--footer -{ - position: fixed; - z-index: 99; - bottom: 10px; - left: 16px; - display: flex; - box-sizing: border-box; - box-shadow: 0 0 3px rgba(0,0,0,.1); - width: 268px; - height: 38px; - padding: 8px 16px; - color: var(--satus-theme-main-text); - border-radius: 4px; - background: var(--satus-theme-section); - align-items: center; - justify-content: space-between; -} - -html[it-improvedtube-home='list'] .satus-section--footer -{ - position: relative; - left: 0; - top: 0; - margin: 50px 16px 16px; -} - -.satus-main .satus-section--footer .satus-button -{ - font-family: 'Open Sans', sans-serif; - font-weight: 700; - font-size: 13px; - text-decoration: none; - color: var(--satus-theme-main-text); - text-align: center; - height: 32px; - justify-content: center; - border-radius: 4px; - overflow: hidden; -} - -.satus-main .satus-section--footer .satus-button--found-a-bug { - width: 128px; - position: absolute; - bottom: 48px; - left: 70px; -} - -.satus-dialog--setup -{ - animation: unset; -} - -.satus-dialog--setup .satus-dialog__scrim -{ - display: none; -} - -.satus-dialog--setup .satus-dialog__surface -{ - position: absolute; - top: 0; - left: 0; - - padding: 0; - - width: 100%; - height: 100%; - max-height: unset; - - transform: unset; - animation: unset; - - opacity: 1; - border-radius: unset; -} - -.satus-dialog--setup-language .satus-button -{ - width: 100%; - height: 48px; -} - -/*--------------------------------------------------------------- ->>> HEADER: ------------------------------------------------------------------ -1.0 Buttons - 1.1 Back button -2.0 Title -3.0 Right section -4.0 Search -5.0 Vertical menu ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -1.0 BUTTONS ----------------------------------------------------------------*/ - -.satus-header .satus-button -{ - width: 36px; - height: 36px; - padding: 6px; -} - -.satus-header .satus-button::before -{ - border-radius: 50%; -} - - -/*--------------------------------------------------------------- -1.1 BACK BUTTON ----------------------------------------------------------------*/ - -.satus-button--back -{ - position: absolute; -} - -.satus-button--back svg -{ - fill: none; - stroke: currentColor; -} - -body[data-appearance='home'] .satus-button--back -{ - visibility: hidden; -} - - -/*--------------------------------------------------------------- -2.0 TITLE ----------------------------------------------------------------*/ - -.satus-text--title -{ - font-size: 15px; - font-weight: 400; - - position: absolute; - left: 56px; - - letter-spacing: .0125em; -} - -html[it-title-version='true'] body[data-appearance='home'] .satus-text--title::after -{ - font: 700 10px sans-serif; - - margin: 0 0 0 4px; - - content: attr(data-version); - - opacity: .6; - color: var(--satus-theme-header-text); -} - -body[data-appearance='home'] .satus-text--title -{ - left: 14px; -} - - -/*--------------------------------------------------------------- -3.0 RIGHT SECTION ----------------------------------------------------------------*/ - -.satus-section--align-end -{ - justify-content: flex-end; -} - -.satus-section--align-end .satus-button + .satus-button -{ - margin-left: 8px; -} - - -/*--------------------------------------------------------------- -4.0 SEARCH ----------------------------------------------------------------*/ - -.satus-dialog--search -{ - pointer-events: none; -} - -.satus-dialog--search .satus-dialog__scrim -{ - display: none; -} - -.satus-dialog--search .satus-dialog__surface -{ - position: fixed; - top: 11px; - right: 8px; - - visibility: unset; - - width: calc(100% - 62px); - min-width: unset; - max-width: unset; - height: 34px; - padding: 0; - - transform: unset; - animation: unset; - pointer-events: all; - - opacity: unset; - border: 1px solid rgba(0,0,0,.05); - box-shadow: unset; -} - -.satus-dialog--search .satus-dialog__surface .satus-text-field -{ - height: 34px; -} - -.satus-dialog--search .satus-dialog__surface .satus-button -{ - position: absolute; - top: 3px; - right: 3px; - - overflow: hidden; - - width: 32px; - height: 32px; - - border-radius: 50%; -} - -.satus-dialog--search .satus-dialog__surface .satus-button svg -{ - fill: unset; - stroke: currentColor; -} - - -body[data-appearance='search'] .satus-switch--red, -body[data-appearance='search'] .satus-switch--dark, -body[data-appearance='search'] .satus-switch--night, -body[data-appearance='search'] .satus-switch--dawn, -body[data-appearance='search'] .satus-switch--sunset, -body[data-appearance='search'] .satus-switch--desert, -body[data-appearance='search'] .satus-switch--plain, -body[data-appearance='search'] .satus-switch--black -{ - width: calc(100% - 16px); - margin: 4px 8px; - - border-radius: 6px; -} - -body[data-appearance='search'] .satus-switch--red .satus-switch__label, -body[data-appearance='search'] .satus-switch--dark .satus-switch__label, -body[data-appearance='search'] .satus-switch--night .satus-switch__label, -body[data-appearance='search'] .satus-switch--dawn .satus-switch__label, -body[data-appearance='search'] .satus-switch--sunset .satus-switch__label, -body[data-appearance='search'] .satus-switch--black .satus-switch__label -{ - color: #fff; -} - -body[data-appearance='search'] .satus-switch--plain .satus-switch__label, -body[data-appearance='search'] .satus-switch--desert .satus-switch__label -{ - color: #222; -} - - -/*--------------------------------------------------------------- -5.0 VERTICAL MENU ----------------------------------------------------------------*/ - -.satus-dialog--vertical-menu .satus-dialog__surface -{ - position: absolute; - top: 8px; - right: 8px; - left: auto; - - min-width: 180px; - max-width: 180px; - - transform-origin: right top; -} - -.satus-dialog--vertical-menu .satus-button, -.satus-dialog--vertical-menu .satus-folder -{ - width: 100%; - height: 36px; - padding: 0 16px; - - text-align: left; -} - -.satus-dialog--vertical-menu .satus-folder svg, -.satus-dialog--vertical-menu .satus-button svg -{ - width: 20px; - height: 18px; - margin: 0 14px 0 0; - - opacity: .75; - - fill: none; - stroke: var(--satus-theme-primary); -} - -.satus-dialog--vertical-menu .satus-folder--mixer svg -{ - height: 20px; -} - -.satus-dialog--vertical-menu .satus-button--github svg -{ - width: 18px; - height: 18px; -} - -/*-------------------------------------------------------------- ->>> MAIN: ----------------------------------------------------------------- -1.0 Basic -2.0 Section -3.0 Folder -4.0 Button -5.0 Custom ---------------------------------------------------------------*/ - -/*-------------------------------------------------------------- -1.0 BASIC ---------------------------------------------------------------*/ - -.satus-main -{ - flex: 1; -} - - -/*-------------------------------------------------------------- -2.0 SECTION ---------------------------------------------------------------*/ - -.satus-main .satus-section--label -{ - font-size: 17px; - - display: block; - - width: calc(100% - 16px); - max-width: 900px; - margin: 16px auto 8px; -} - -html[it-improvedtube-home='list'] .satus-main__container[data-appearance='home'] .satus-section:not(.satus-section--footer), -.satus-main__container:not([data-appearance='home']) .satus-section:not(.satus-section--footer) -{ - display: block; - - width: calc(100% - 16px); - max-width: 900px; - margin: 8px auto; - padding: 8px 0; - - border: 1px solid rgba(0,0,0,.1); - border-radius: 8px; -} - -html[it-improvedtube-home='list'] .satus-main__container[data-appearance='home'] .satus-section--message, -.satus-main__container:not([data-appearance='home']) .satus-section--message -{ - padding-right: 8px; - padding-left: 8px; -} - - -/*-------------------------------------------------------------- -3.0 FOLDER ---------------------------------------------------------------*/ - -.satus-main .satus-folder svg -{ - width: 20px; - height: 20px; - margin: 0 14px 0 0; - - opacity: .75; - - stroke: none; - fill: var(--satus-theme-primary); -} - - -/*-------------------------------------------------------------- -4.0 BUTTON ---------------------------------------------------------------*/ - -.satus-main .satus-button -{ - width: 100%; - height: 48px; - padding: 0 16px; - text-align: left; -} - - -/*-------------------------------------------------------------- -5.0 CUSTOM ---------------------------------------------------------------*/ - -#forced-playback-speed + *, -#forced-volume + * -{ - pointer-events: none; - - opacity: .5; -} - -#forced-playback-speed[data-value=true] + *, -#forced-volume[data-value=true] + * -{ - pointer-events: all; - - opacity: 1; -} - -/*-------------------------------------------------------------- ->>> HOME ---------------------------------------------------------------*/ - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-section:not(.satus-section--footer) -{ - width: 100%; - margin-top: 16px; - - flex-wrap: wrap; - - background-color: transparent; -} - - - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder -{ - position: relative; - - flex-direction: column; - - width: 64px; - height: 86px; - margin: 0 18px 14px; - padding: 0; - - cursor: default; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder::before -{ - background-color: transparent -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder__label -{ - position: absolute; - bottom: 0; - - pointer-events: none; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder:focus, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder:hover -{ - background-color: transparent; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder svg, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--shortcut__icon -{ - display: block; - overflow: visible; - - width: 28px; - height: 28px; - margin: 0 0 5px 0; - padding: 16px; - - cursor: pointer; - transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; - - opacity: .95; - border-radius: 50%; - background: linear-gradient(135deg, #ff4158, #ff001f); - box-shadow: 0 2px 1px 1px rgb(222, 0, 27, .7), 0 3px 5px rgba(0,0,0,.35); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder svg:focus, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder svg:hover -{ - transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; - transform: translateY(4px) scale(.975); - - box-shadow: 0 1px 1px 0 rgba(222, 0, 27, .7), 0 1px 2px rgba(0,0,0,.35); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--general svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--appearance svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--themes svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--player svg -{ - width: 26px; - height: 26px; - padding: 19px 15px 15px 19px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--playlist svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--channel svg -{ - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--shortcut svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--mixer svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--blacklist svg -{ - width: 26px; - height: 26px; - padding: 18px 17px 16px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-folder--analyzer svg -{ - width: 26px; - height: 26px; - padding: 18px 17px 16px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html[it-improvedtube-home='list'] .satus-main__container[data-appearance='home'] .satus-folder svg -{ - fill: transparent; - stroke: var(--satus-theme-primary); -} - - - -html[it-it-general='false'] .satus-folder--general, -html[it-it-appearance='false'] .satus-folder--appearance, -html[it-it-themes='false'] .satus-folder--themes, -html[it-it-player='false'] .satus-folder--player, -html[it-it-playlist='false'] .satus-folder--playlist, -html[it-it-channel='false'] .satus-folder--channel, -html[it-it-shortcuts='false'] .satus-folder--shortcut, -html[it-it-blacklist='false'] .satus-folder--blacklist, -html[it-it-analyzer='false'] .satus-folder--analyzer -{ - display: none; -} - -/*-------------------------------------------------------------- -# APPEARANCE ---------------------------------------------------------------*/ - -.satus-main__container[data-appearance='appearance'] .satus-folder -{ - position: absolute; - - box-sizing: border-box; - padding: 0; - - transition-duration: .5s; - transition-property: transform, box-shadow; - transform: scale(1); - text-align: center; - - border: 1px solid var(--main-appearance-shadow, #dfdfdf); - border-radius: 6px; - box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0); - - justify-content: center; - align-items: center; -} - -.satus-main__container[data-appearance='appearance'] .satus-folder:hover -{ - z-index: 9; - - transition-duration: .25s; - transform: scale(1.03) translate(-8px, -4px); - - box-shadow: 1px 1px 0 0 var(--main-appearance-shadow, #dfdfdf), 2px 2px 0 0 var(--main-appearance-shadow, #dfdfdf), 3px 3px 0 0 var(--main-appearance-shadow, #dfdfdf), 4px 4px 0 0 var(--main-appearance-shadow, #dfdfdf), 5px 6px 4px 0 rgba(0, 0, 0, .1); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--header -{ - top: 16px; - left: 16px; - - width: calc(100% - 32px); - height: 40px; - min-height: auto; - - background-color: var(--satus-theme-dialog); - color: var(--satus-theme-dialog-text); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--header:hover -{ - transform: scale(1.03) translate(-9px, -4px); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--player -{ - top: 64px; - left: 16px; - - width: calc(70% - 32px); - height: 96px; - min-height: auto; - - color: #eee; - border-color: #333; - background-color: #444; -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--player .label -{ - color: #fff; -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--player:hover -{ - transform: scale(1.03) translate(-7px, -4px); - - box-shadow: 1px 1px 0 0 #333, 2px 2px 0 0 #333, 3px 3px 0 0 #333, 4px 4px 0 0 #333, 5px 6px 4px 0 rgba(0, 0, 0, .1); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--details -{ - top: 168px; - left: 16px; - - width: calc(70% - 32px); - height: 56px; - min-height: auto; - - background-color: var(--satus-theme-dialog); - color: var(--satus-theme-dialog-text); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--description -{ - top: 13.5rem; - left: 1rem; - - width: calc(70% - 2rem); - height: 3.5rem; - min-height: 3.5rem; - - background-color: var(--satus-theme-dialog); - color: var(--satus-theme-dialog-text); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--comments -{ - top: 232px; - left: 16px; - - width: calc(70% - 32px); - height: 80px; - min-height: auto; - - background-color: var(--satus-theme-dialog); - color: var(--satus-theme-dialog-text); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--footer -{ - top: 320px; - left: 16px; - - width: calc(70% - 32px); - height: 64px; - min-height: auto; - - background-color: var(--satus-theme-dialog); - color: var(--satus-theme-dialog-text); -} - -.satus-main__container[data-appearance='appearance'] .satus-folder--sidebar -{ - top: 64px; - left: calc(70% - 8px); - - width: calc(30% - 8px); - height: 160px; - - background-color: var(--satus-theme-dialog); - color: var(--satus-theme-dialog-text); -} - -/*----------------------------------------------------------------------------- -# THEMES CATEGORY ------------------------------------------------------------------------------*/ - -.satus-main__container[data-appearance='themes'] .satus-switch:first-child -{ - margin-top: 16px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch:last-child -{ - margin-bottom: 16px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch -{ - width: calc(100% - 16px); - max-width: 900px; - height: 80px; - margin: 8px auto; - - border-radius: 8px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch__label -{ - font-size: 15px; - font-weight: 500; - - color: #eee; - text-shadow: 0 1px 3px rgba(0, 0, 0, .7); -} - -.satus-switch--dark -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#0d1216, #353d46) !important; -} - -.satus-switch--dark::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - animation-name: satus-switch--dark; - animation-duration: 4s; - animation-timing-function: ease-in-out; - animation-iteration-count: infinite; - pointer-events: none; - - background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; - background-repeat: no-repeat !important; - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; - background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; - - filter: blur(8px); -} - -@keyframes satus-switch--dark -{ - 0% - { - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; - } - - 50% - { - background-position: 20px 20px, 230px -20px, 0 -40px, 160px 10px; - } - - 100% - { - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; - } -} - -.satus-switch--night -{ - position: relative; - - overflow: hidden; - - animation-name: satus-switch--night; - animation-duration: .75s; - animation-iteration-count: infinite; - - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5) !important; - background-repeat: no-repeat !important; - background-position: 75% 80%, 35% 65%, 30% 10%, 50% 40%, 10% 80%, 90% 10%, 0 0 !important; - background-size: 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, auto !important; -} - -@keyframes satus-switch--night -{ - 0% - { - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 25% - { - background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 50% - { - background-image: radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .9) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 75% - { - background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 100% - { - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } -} - -.satus-switch--dawn -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#ed74a9, #ffba99) !important; -} - -.satus-switch--dawn::before -{ - position: absolute; - right: 1rem; - bottom: -5rem; - - width: 10rem; - height: 10rem; - - content: ''; - animation-name: satus-switch--dawn; - animation-duration: .75s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -@keyframes satus-switch--dawn -{ - 0% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } - - 50% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .30) 20%, - rgba(255, 255, 231, .30) 35%, - rgba(255, 255, 231, .20) 35%, - rgba(255, 255, 231, .20) 55%, - rgba(255, 255, 231, .10) 55%, - rgba(255, 255, 231, .10) 75%, transparent 75%); - } - - 100% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } -} - -.satus-switch--sunset -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#2f3364, #a96165) !important; -} - -.satus-switch--sunset::before -{ - position: absolute; - top: -1rem; - left: 50%; - - overflow: hidden; - - width: 8rem; - height: 8rem; - - content: ''; - transform: translate(-50%, 0%); - pointer-events: none; - - border-radius: 50%; - background: linear-gradient(#fa7965, #f56264, transparent) !important; -} - -.satus-switch--desert -{ - position: relative; - - overflow: hidden; - - background-image: radial-gradient(#ffe498 50%, transparent 50%), - linear-gradient(#9dc2ee, #f5fdff) !important; - background-repeat: no-repeat !important; - background-position: -120px 36px, 0 !important; - background-size: 240%, 100% !important; -} - -.satus-switch--desert::before -{ - position: absolute; - top: -100%; - left: 40%; - - width: 10rem; - height: 10rem; - - content: ''; - animation-name: satus-switch--desert; - animation-duration: .75s; - animation-delay: .5s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -@keyframes satus-switch--desert -{ - 0% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } - - 50% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .30) 20%, - rgba(255, 255, 231, .30) 35%, - rgba(255, 255, 231, .20) 35%, - rgba(255, 255, 231, .20) 55%, - rgba(255, 255, 231, .10) 55%, - rgba(255, 255, 231, .1) 75%, transparent 75%); - } - - 100% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } -} - -.satus-switch--plain -{ - position: relative; - - overflow: hidden; - - background-image: radial-gradient(#dea975 50%, transparent 50%), - radial-gradient(#e8b887 50%, transparent 50%), - radial-gradient(#f1cc9f 50%, transparent 50%), - radial-gradient(#f3ddb8 50%, transparent 50%), - linear-gradient(#abceb8, #e7ede1) !important; - background-repeat: no-repeat !important; - background-position: -50px 50px, -370px 40px, 0 36px, -360px 26px, 0 !important; - background-size: 240%, 240%, 240%, 240%, 100% !important; -} - -.satus-switch--plain::before -{ - position: absolute; - top: -70%; - left: 10%; - - width: 7rem; - height: 7rem; - - content: ''; - animation-name: satus-switch--plain; - animation-duration: .75s; - animation-delay: .2s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(#fff 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -.satus-switch--black -{ - background: #000 !important; -} - -/*----------------------------------------------------------------------------- -# BLACKLIST CATEGORY ------------------------------------------------------------------------------*/ - -.satus-section.satus-section--blacklist -{ - position: relative; - - overflow: hidden; - flex-direction: column; - - width: calc(100% - 32px); - height: 116px; - margin: 8px 16px 0; - - transition: opacity .25s; - - opacity: 1; - border-radius: 10px; - background-color: #000; - background-position: center; - background-size: cover; - - flex: unset; - align-items: flex-start; -} - -.satus-section.satus-section--blacklist.removing -{ - opacity: 0; -} - -.satus-section.satus-section--blacklist::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - margin: 0; - - content: ''; - - background: rgba(0, 0, 0, .5); -} - -.satus-section.satus-section--blacklist > .label -{ - font-size: 16px; - font-weight: 700; - - position: absolute; - z-index: 1; - bottom: 28px; - - text-transform: uppercase; - - opacity: 1; - color: #fff; -} - -.satus-section.satus-section--blacklist::after -{ - position: absolute; - z-index: 1; - bottom: 16px; - left: 16px; - - content: attr(data-label); - - color: rgba(255, 255, 255, .5); -} - -.satus-section.satus-section--blacklist > .satus-section -{ - position: absolute; - z-index: 999; - bottom: 0; - - visibility: hidden; - - width: 100%; - margin: 0; - padding: 0; - - transition: .15s; - - opacity: 0; - border: none; - border-radius: 0; - background: rgba(255, 255, 255, .95); - - justify-content: center; -} - -.satus-section.satus-section--blacklist:hover > .satus-section -{ - visibility: visible; - - opacity: 1; -} -/*----------------------------------------------------------------------------- -# ANALYZER CATEGORY ------------------------------------------------------------------------------*/ - -.analyzer-top-text -{ - font-size: 13px; - - display: flex; - - box-sizing: border-box; - margin: 16px 0 0; - padding: 0 16px; - - background: transparent !important; - - justify-content: space-between; -} - -.analyzer-watch-time -{ - text-transform: uppercase; -} - -.analyzer-today-at -{ - box-sizing: border-box; -} - -.analyzer-container -{ - box-sizing: border-box; - margin: 8px 0 16px; - padding: 16px; - - background: var(--background-0) !important; - box-shadow: 0 0 2px rgba(0, 0, 0, .2); -} - -.analyzer-all-time -{ - font-size: 24px; - font-weight: 400; - - margin-bottom: 8px; - - color: #4c4c4c; -} - -.analyzer-chart -{ - position: relative; - - display: flex; - overflow: hidden; - - box-sizing: border-box; - height: 140px; - margin: 8px 0; - - border-bottom: 1px solid #ccc; - - justify-content: space-between; -} - -.analyzer-chart::before -{ - position: absolute; - top: -78%; - left: -15%; - - width: 125%; - height: 250%; - - content: ''; - transform: rotate(-45deg); - - background: linear-gradient(transparent 50%, rgba(0, 0, 0, .05) 50%); - background-size: 4px 4px; -} - -.analyzer-column -{ - z-index: 1; - - display: flex; - - border-right: 1px solid #ccc; - - flex: 1; -} - -.analyzer-column:first-child -{ - border-left: 1px solid #ccc; -} - -.analyzer-data-column -{ - display: flex; - flex-direction: column; - - justify-content: flex-end; - flex: 1; -} - -.analyzer-data -{ - height: 20px; - margin: 0 1px; - - background-color: #c5c5c5; -} - -.analyzer-data.first -{ - background-color: #1c00db; - - order: 3; -} - -.analyzer-data.second -{ - background-color: #4dd0e1; - - order: 2; -} - -.analyzer-data.third -{ - background-color: #ff9800; - - order: 1; -} - -/*.analyzer-data:first-child -{ - border-top-left-radius: 4px; - border-top-right-radius: 4px; -}*/ -.analyzer-bottom -{ - display: flex; - - margin: 14px 0 0; - - justify-content: space-between; -} - -.analyzer-bottom > div .label -{ - margin: 0 0 2px; -} - -.analyzer-bottom > div:first-child .label -{ - color: #1c00db; -} - -.analyzer-bottom > div:nth-child(2) .label -{ - color: #4dd0e1; -} - -.analyzer-bottom > div:nth-child(3) .label -{ - color: #ff9800; -} - -/*----------------------------------------------------------------------------- -# MIXER CATEGORY ------------------------------------------------------------------------------*/ - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer -{ - position: relative; - - overflow: hidden; - flex-direction: column; - - width: calc(100% - 32px); - height: 128px; - margin: 8px 16px 0; - - border: unset; - border-radius: 10px; - - flex: unset; - align-items: flex-start; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - - background: rgba(0, 0, 0, .5); -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer > .satus-section -{ - position: absolute; - bottom: 0; - - visibility: hidden; - - width: 100%; - margin: 0; - padding: 0; - - transition: 200ms; - transform: translateY(32px); - - opacity: 0; - border: unset; - border-radius: unset; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer:hover > .satus-section -{ - visibility: visible; - - transform: translateY(0); - - opacity: 1; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer.noconnection > .satus-section > div -{ - visibility: hidden; - - pointer-events: none; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer.noconnection > .satus-section::after -{ - font-size: 18px; - font-weight: 500; - - position: absolute; - top: 50%; - - width: 100%; - - content: attr(data-no-connection-label); - transform: translateY(-50%); - text-align: center; - - opacity: .8; -} -.satus-main__container[data-appearance='about'] .satus-text -{ - display: flex; - - box-sizing: border-box; - width: 100%; - min-height: 48px; - padding: 0 16px; - - justify-content: space-between; - align-items: center; -} - -.satus-main__container[data-appearance='about'] .satus-text__value -{ - text-align: right; - - opacity: .7; -} - - -/*--------------------------------------------------------------- -# AD ----------------------------------------------------------------*/ - -.satus-section--info -{ - position: absolute; - z-index: 99; - bottom: 104px; - left: 32px; - - display: flex; - - width: calc(100% - 64px) !important; - - justify-content: space-between; -} - -.satus-section--info .satus-button -{ - font-weight: 700; - overflow: hidden; - width: auto; - height: 28px; - border-radius: 6px; - background: var(--satus-theme-primary); - color: #fff; - opacity: 0.5; - padding: 0 10px; -} - -.satus-section--info .satus-button:hover { - opacity: 1 -} - - - - -.satus-main .satus-button.satus-button--ad -{ - position: absolute; - z-index: 99; - bottom: 16px; - left: 16px; - - overflow: hidden; - - width: 268px; - height: 38px; - height: 80px; - padding: 8px 16px; - - color: var(--satus-theme-main-text); - border-radius: 8px; - background: #0f1911; - box-shadow: 0 0 3px rgba(0,0,0,.1); - - align-items: center; - justify-content: space-between; -} - -.satus-button--ad .satus-button__label -{ - font-size: 22px; - font-weight: 700; - - color: rgba(255,255,255,.85); - text-shadow: 2px 1px 2px rgba(0,0,0,.6); -} - - -@keyframes satusSwitchDark -{ - 0% - { - transform: translate(0, 0); - } - 33% - { - transform: translate(20px, 10px); - } - 66% - { - transform: translate(10px, -10px); - } - 100% - { - transform: translate(0, 0); - } -} - -.satus-button--ad::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - opacity: 1; - animation-name: satusSwitchDark; - animation-duration: 8s; - animation-timing-function: linear; - animation-iteration-count: infinite; - pointer-events: none; - - background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; - background-repeat: no-repeat !important; - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; - background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; - - filter: blur(8px); -} - -html[it-improvedtube-home='list'] .satus-main .satus-button.satus-button--ad -{ - position: relative; - top: 0; - left: 0; - - margin: 16px; -} - -.satus-button--ad:after -{ - position: absolute; - top: 0; - left: -100%; - - width: 100%; - height: 100%; - - content: ''; - transition: .5s; - transition-delay: .2s; - - background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); -} - -.satus-button--ad:hover:after -{ - left: 100%; -} \ No newline at end of file diff --git a/stable/popup.js b/stable/popup.js deleted file mode 100644 index 5bda32ea6..000000000 --- a/stable/popup.js +++ /dev/null @@ -1,3095 +0,0 @@ -var Menu = { - header: { - type: 'header', - - section_start: { - type: 'section', - class: 'satus-section--align-start', - - button_back: { - type: 'button', - class: 'satus-button--back', - before: '', - onclick: function() { - if (document.querySelector('.satus-dialog__scrim')) { - document.querySelector('.satus-dialog__scrim').click(); - } else { - document.querySelector('.satus-main').back(); - } - } - }, - title: { - type: 'text', - class: 'satus-text--title', - innerText: 'ImprovedTube', - dataset: { - version: chrome && chrome.runtime && chrome.runtime.getManifest ? chrome.runtime.getManifest().version : '' - } - } - }, - section_end: { - type: 'section', - class: 'satus-section--align-end', - - button_search: { - type: 'button', - icon: '', - onclick: function() { - document.querySelector('.satus-main').open({ - appearanceId: 'search' - }, function() { - Satus.render({ - type: 'dialog', - class: 'satus-dialog--search', - onclose: function() { - document.querySelector('.satus-main').back(); - }, - - input: { - type: 'text-field', - placeholder: 'search', - oninput: function() { - if (this.value.length > 0) { - Satus.search(this.value, Menu, function(results) { - var sorted_results = []; - - document.querySelector('.satus-main__container').innerHTML = ''; - - for (var key in results) { - results[key].type = 'section'; - - sorted_results.push({ - type: 'text', - label: key, - class: 'satus-section--label' - }); - sorted_results.push(results[key]); - } - - console.log(results); - - var scroll = Satus.components.scrollbar(document.querySelector('.satus-main__container')); - - Satus.render(sorted_results, scroll); - }, true); - } else { - document.querySelector('.satus-main__container').innerHTML = ''; - - Satus.render({}, document.querySelector('.satus-main__container')); - } - } - } - }); - }); - } - }, - button_vert: { - type: 'button', - icon: '', - onClickRender: { - type: 'dialog', - class: 'satus-dialog--vertical-menu' - } - } - } - } -}; - -Menu.main = { - type: 'main', - appearanceId: 'home', - on: { - change: function(container) { - var item = this.history[this.history.length - 1], - id = item.appearanceId; - - document.body.dataset.appearance = id; - container.dataset.appearance = id; - - document.querySelector('.satus-text--title').innerText = Satus.locale.getMessage(item.label) || 'ImprovedTube'; - } - }, - - section: { - type: 'section' - }, - - footer: { - type: 'button', - class: 'satus-button--ad', - label: 'DARK MODE', - title: 'Dark Mode', - onclick: function() { - window.open('https://chrome.google.com/webstore/detail/dark-mode/declgfomkjdohhjbcfemjklfebflhefl', '_blank'); - } - }, - - info: { - type: 'section', - class: 'satus-section--info', - - email: { - type: 'button', - label: 'Email', - title: 'bugs@improvedtube.com', - onclick: function() { - window.open('mailto:bugs@improvedtube.com', '_blank'); - } - }, - github: { - type: 'button', - label: 'GitHub', - title: '/ImprovedTube/ImprovedTube', - onclick: function() { - window.open('https://github.com/ImprovedTube/ImprovedTube/', '_blank'); - } - }, - website: { - type: 'button', - label: 'Website', - title: 'improvedtube.com', - onclick: function() { - window.open('http://www.improvedtube.com/', '_blank'); - } - } - } -}; - -Menu.header.section_end.button_vert.onClickRender.active_features = { - type: 'folder', - before: '', - label: 'activeFeatures', - onclick: function() { - document.querySelector('.satus-dialog__scrim').click(); - }, - - section: { - type: 'section', - onrender: function() { - var component = this, - new_menu = {}, - storage = Satus.storage; - - function search(string, object) { - let result = []; - - for (let i in object) { - if (object[i].type) { - if (/(button|select|shortcut|slider|switch)/.test(object[i].type)) { - if (i.indexOf(string) !== -1 || (object[i].tags && object[i].tags.indexOf(string) !== -1)) { - if (object[i].type.indexOf('button') === -1 || !object[i].label) { - new_menu[i] = object[i]; - } - } - } else { - let response = search(string, object[i]); - - if (response.length > 0) { - for (let j = 0, l = response.length; j < l; j++) { - result.push(response[i]); - } - } - } - } - } - - return result; - } - - for (var key in storage) { - search(key, Menu) - } - - setTimeout(function() { - if (Object.keys(new_menu).length > 0) { - Satus.render(new_menu, component); - } else { - Satus.render({ - text: { - type: 'text', - label: 'noActiveFeatures' - } - }, component); - } - }); - } - } -}; -Menu.header.section_end.button_vert.onClickRender.mixer = { - type: 'folder', - before: '', - label: 'mixer', - class: 'satus-folder--mixer', - appearanceId: 'mixer', - onopen: function() { - var self = this; - - if (chrome && chrome.tabs) { - chrome.tabs.query({}, function(tabs) { - var mixer = {}; - - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - var tab = tabs[i]; - - if (/(\?|\&)v=/.test(tab.url)) { - mixer[i] = { - type: 'section', - class: 'satus-section--mixer', - style: { - 'background': 'url(https://img.youtube.com/vi/' + tab.url.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '/0.jpg) center center / cover no-repeat #000', - }, - - section: { - type: 'section', - dataset: { - 'noConnectionLabel': Satus.locale.getMessage('tryToReloadThePage') || 'tryToReloadThePage' - }, - - mixer_volume: { - type: 'slider', - label: 'volume', - dataset: { - id: tab.id, - element: 'audio' - }, - max: 100, - onrender: function() { - var self = this; - - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'request_volume' - }, function(response) { - if (response) { - document.querySelector('div[data-element="audio"][data-id="' + Number(self.dataset.id) + '"]').change(response.value); - } else { - self.parentNode.parentNode.classList.add('noconnection'); - } - }); - }, - onchange: function(value) { - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'change_volume', - volume: value - }); - } - }, - mixer_playback_speed: { - type: 'slider', - label: 'playbackSpeed', - dataset: { - id: tab.id, - element: 'playback_speed' - }, - min: .1, - max: 8, - step: .05, - onrender: function() { - var self = this; - - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'request_playback_speed' - }, function(response) { - if (response) { - document.querySelector('div[data-element="playback_speed"][data-id="' + Number(self.dataset.id) + '"]').change(Number(response.value)); - } else { - self.parentNode.parentNode.classList.add('noconnection'); - } - }); - }, - onchange: function(value) { - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'change_playback_speed', - playback_speed: value - }); - } - } - } - }; - } - } - } - - if (Object.entries(mixer).length === 0) { - mixer.section = { - type: 'section', - - message: { - type: 'text', - class: 'satus-section--message', - label: 'noOpenVideoTabs' - } - }; - } - - document.querySelector('.satus-dialog__scrim').click(); - - Satus.render(mixer, self); - }); - } - } -}; - -Menu.header.section_end.button_vert.onClickRender.settings = { - type: 'folder', - before: '', - label: 'settings', - parent: '.satus-main__container', - onclick: function() { - document.querySelector('.satus-dialog__scrim').click(); - }, - - section: { - type: 'section', - - developer_options: { - type: 'folder', - before: '', - label: 'developerOptions', - - custom_js_section_label: { - type: 'text', - class: 'satus-section--label', - label: 'customJs' - }, - - custom_js_section: { - type: 'section', - custom_js: { - type: 'text-field', - onrender: function() { - this.value = Satus.storage.get('custom_js') || ''; - }, - oninput: function() { - Satus.storage.set('custom_js', this.value); - } - } - }, - - custom_css_section_label: { - type: 'text', - class: 'satus-section--label', - label: 'customCss' - }, - - custom_css_section: { - type: 'section', - custom_css: { - type: 'text-field', - onrender: function() { - this.value = Satus.storage.get('custom_css') || ''; - }, - oninput: function() { - Satus.storage.set('custom_css', this.value); - } - } - }, - - /*translations_section_label: { - type: 'text', - class: 'satus-section--label', - label: 'translations' - }, - - translations_section: { - type: 'section', - onrender: function() { - Satus.search('language', Menu, function(result) { - var languages = result.language.options; - - for (var i = 0, l = languages.length; i < l; i++) { - - } - }) - } - }*/ - }, - }, - - section0: { - type: 'section', - - appearance: { - type: 'folder', - before: '', - label: 'appearance', - - general: { - type: 'section', - label: 'general', - - header: { - type: 'folder', - label: 'header', - - section: { - type: 'section', - - title_version: { - type: 'switch', - label: 'version' - } - } - }, - home: { - type: 'folder', - label: 'home', - - section: { - type: 'section', - - improvedtube_home: { - type: 'select', - label: 'style', - options: [{ - label: 'bubbles', - value: 'bubbles' - }, { - label: 'list', - value: 'list' - }] - } - }, - - categories: { - type: 'section', - label: 'categories', - - it_general: { - type: 'switch', - label: 'general', - value: true - }, - it_appearance: { - type: 'switch', - label: 'appearance', - value: true - }, - it_themes: { - type: 'switch', - label: 'themes', - value: true - }, - it_player: { - type: 'switch', - label: 'player', - value: true - }, - it_playlist: { - type: 'switch', - label: 'playlist', - value: true - }, - it_channel: { - type: 'switch', - label: 'channel', - value: true - }, - it_shortcuts: { - type: 'switch', - label: 'shortcuts', - value: true - }, - it_mixer: { - type: 'switch', - label: 'mixer', - value: true - }, - it_analyzer: { - type: 'switch', - label: 'analyzer', - value: true - }, - it_blacklist: { - type: 'switch', - label: 'blacklist', - value: true - } - } - } - }, - icons: { - type: 'section', - label: 'icons', - - improvedtube_youtube_icon: { - label: 'improvedtubeIconOnYoutube', - type: 'select', - options: [{ - label: 'disabled', - value: 'disabled' - }, { - label: 'youtubeHeaderLeft', - value: 'header_left' - }, { - label: 'youtubeHeaderRight', - value: 'header_right' - }, { - label: 'draggable', - value: 'draggable' - }, { - label: 'belowPlayer', - value: 'below_player' - }] - }, - improvedtube_browser_icon: { - label: 'improvedtubeIconInBrowser', - type: 'select', - - options: [{ - label: 'onlyActiveOnYoutube', - value: 'youtube' - }, { - label: 'alwaysActive', - value: 'always' - }] - } - } - }, - languages: { - type: 'folder', - before: '', - label: 'languages', - - section: { - type: 'section', - - language: { - label: 'improvedtubeLanguage', - type: 'select', - onchange: function(name, value) { - Satus.memory.set('locale', {}); - - Satus.locale(function() { - document.querySelector('.satus-main__container').innerHTML = ''; - - document.querySelector('.satus-header__title').innerText = Satus.locale.getMessage('languages'); - document.querySelector('#search').placeholder = Satus.locale.getMessage('search'); - - Satus.render(document.querySelector('.satus-main__container'), Menu.main.section.settings.section.languages); - }); - }, - options: [{ - value: 'en', - label: 'English' - }, { - value: 'ar', - label: 'العربية' - }, { - value: 'de', - label: 'Deutsch' - }, { - value: 'es', - label: 'Español' - }, { - value: 'fr', - label: 'Français' - }, { - value: 'id', - label: 'Bahasa Indonesia' - }, { - value: 'it', - label: 'Italiano' - }, { - value: 'ja', - label: '日本語' - }, { - value: 'nl', - label: 'Dutch' - }, { - value: 'no', - label: 'Norwegian Bokmål' - }, { - value: 'pt_BR', - label: 'Português (Brasil)' - }, { - value: 'ru', - label: 'Русский' - }, { - value: 'tr', - label: 'Türkçe' - }, { - value: 'zh_CN', - label: '中文 (简体)' - }, { - value: 'zh_TW', - label: '中文 (繁體)' - }] - }, - youtube_language: { - label: 'youtubeLanguage', - type: 'select', - options: [{ - value: "en", - label: "English" - }, { - value: "es", - label: "Español (España)" - }, { - value: "es-419", - label: "Español (Latinoamérica)" - }, { - value: "es-US", - label: "Español (US)" - }, { - value: "ru", - label: "Русский" - }, { - value: "de", - label: "Deutsch" - }, { - value: "pt-PT", - label: "Português" - }, { - value: "pt", - label: "Português (Brasil)" - }, { - value: "fr", - label: "Français" - }, { - value: "pl", - label: "Polski" - }, { - value: "ja", - label: "日本語" - }, { - value: "af", - label: "Afrikaans" - }, { - value: "az", - label: "Azərbaycan" - }, { - value: "id", - label: "Bahasa Indonesia" - }, { - value: "ms", - label: "Bahasa Malaysia" - }, { - value: "bs", - label: "Bosanski" - }, { - value: "ca", - label: "Català" - }, { - value: "cs", - label: "Čeština" - }, { - value: "da", - label: "Dansk" - }, { - value: "et", - label: "Eesti" - }, { - value: "eu", - label: "Euskara" - }, { - value: "fil", - label: "Filipino" - }, { - value: "fr-CA", - label: "Français (Canada)" - }, { - value: "gl", - label: "Galego" - }, { - value: "hr", - label: "Hrvatski" - }, { - value: "zu", - label: "IsiZulu" - }, { - value: "is", - label: "Íslenska" - }, { - value: "it", - label: "Italiano" - }, { - value: "sw", - label: "Kiswahili" - }, { - value: "lv", - label: "Latviešu valoda" - }, { - value: "lt", - label: "Lietuvių" - }, { - value: "hu", - label: "Magyar" - }, { - value: "nl", - label: "Nederlands" - }, { - value: "no", - label: "Norsk" - }, { - value: "uz", - label: "O‘zbek" - }, { - value: "ro", - label: "Română" - }, { - value: "sq", - label: "Shqip" - }, { - value: "sk", - label: "Slovenčina" - }, { - value: "sl", - label: "Slovenščina" - }, { - value: "sr-Latn", - label: "Srpski" - }, { - value: "fi", - label: "Suomi" - }, { - value: "sv", - label: "Svenska" - }, { - value: "vi", - label: "Tiếng Việt" - }, { - value: "tr", - label: "Türkçe" - }, { - value: "be", - label: "Беларуская" - }, { - value: "bg", - label: "Български" - }, { - value: "ky", - label: "Кыргызча" - }, { - value: "kk", - label: "Қазақ Тілі" - }, { - value: "mk", - label: "Македонски" - }, { - value: "mn", - label: "Монгол" - }, { - value: "sr", - label: "Српски" - }, { - value: "uk", - label: "Українська" - }, { - value: "el", - label: "Ελληνικά" - }, { - value: "hy", - label: "Հայերեն" - }, { - value: "iw", - label: "עברית" - }, { - value: "ur", - label: "اردو" - }, { - value: "ar", - label: "العربية" - }, { - value: "fa", - label: "فارسی" - }, { - value: "ne", - label: "नेपाली" - }, { - value: "mr", - label: "मराठी" - }, { - value: "hi", - label: "हिन्दी" - }, { - value: "bn", - label: "বাংলা" - }, { - value: "pa", - label: "ਪੰਜਾਬੀ" - }, { - value: "gu", - label: "ગુજરાતી" - }, { - value: "ta", - label: "தமிழ்" - }, { - value: "te", - label: "తెలుగు" - }, { - value: "kn", - label: "ಕನ್ನಡ" - }, { - value: "ml", - label: "മലയാളം" - }, { - value: "si", - label: "සිංහල" - }, { - value: "th", - label: "ภาษาไทย" - }, { - value: "lo", - label: "ລາວ" - }, { - value: "my", - label: "ဗမာ" - }, { - value: "ka", - label: "ქართული" - }, { - value: "am", - label: "አማርኛ" - }, { - value: "km", - label: "ខ្មែរ" - }, { - value: "zh-CN", - label: "中文 (简体)" - }, { - value: "zh-TW", - label: "中文 (繁體)" - }, { - value: "zh-HK", - label: "中文 (香港)" - }, { - value: "ko", - label: "한국어" - }] - } - } - }, - backup_and_reset: { - type: 'folder', - label: 'backupAndReset', - before: '', - - section: { - type: 'section', - import_settings: { - type: 'button', - label: 'importSettings', - - onclick: function() { - try { - var input = document.createElement('input'); - - input.type = 'file'; - - input.addEventListener('change', function() { - var file_reader = new FileReader(); - - file_reader.onload = function() { - var data = JSON.parse(this.result); - - for (var i in data) { - Satus.storage.set(i, data[i]); - } - - Satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'successfullyImportedSettings' - }, - section: { - type: 'section', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - label: 'OK', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - }; - - file_reader.readAsText(this.files[0]); - }); - - input.click(); - } catch (err) { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: err - }); - } - } - }, - export_settings: { - type: 'button', - label: 'exportSettings', - - onclick: function() { - chrome.runtime.sendMessage({ - name: 'download', - filename: 'improvedtube-settings.json', - value: Satus.storage - }); - } - }, - reset_all_settings: { - type: 'button', - label: 'resetAllSettings', - - onclick: function() { - Satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'thisWillResetAllSettings' - }, - section: { - type: 'section', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - accept: { - type: 'button', - label: 'accept', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - Satus.storage.clear(); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - }, - delete_youtube_cookies: { - type: 'button', - label: 'deleteYoutubeCookies', - - onclick: function() { - Satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'thisWillRemoveAllYouTubeCookies', - style: { - 'width': '100%', - 'opacity': '.8' - } - }, - section: { - type: 'section', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - accept: { - type: 'button', - label: 'accept', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'delete_youtube_cookies' - }); - } - } - }); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - } - }, - date_and_time: { - type: 'folder', - label: 'dateAndTime', - before: '', - - section: { - type: 'section', - - use_24_hour_format: { - type: 'switch', - label: 'use24HourFormat', - value: true - } - } - }, - about: { - type: 'folder', - before: '', - label: 'about', - appearanceId: 'about', - - section: { - type: 'section', - - onrender: function() { - var component = this, - manifest = chrome.runtime.getManifest(), - user = Satus.modules.user(), - object = { - extension_section: { - type: 'section', - label: 'extension', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - version: { - type: 'text', - label: 'version', - value: manifest.version - }, - permissions: { - type: 'text', - label: 'permissions', - value: manifest.permissions.join(', ').replace('https://www.youtube.com/', 'YouTube') - }, - }, - browser_section: { - type: 'section', - label: 'browser', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - name: { - type: 'text', - label: 'name', - value: user.browser.name - }, - version: { - type: 'text', - label: 'version', - value: user.browser.version - }, - platform: { - type: 'text', - label: 'platform', - value: user.browser.platform - }, - video_formats: { - type: 'text', - label: 'videoFormats', - value: user.browser.video - }, - audio_formats: { - type: 'text', - label: 'audioFormats', - value: user.browser.audio - }, - flash: { - type: 'text', - label: 'flash', - value: user.browser.flash ? true : false - } - }, - os_section: { - type: 'section', - label: 'os', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - os_name: { - type: 'text', - label: 'name', - value: user.os.name - }, - - os_type: { - type: 'text', - label: 'type', - value: user.os.type - } - }, - device_section: { - type: 'section', - label: 'device', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - screen: { - type: 'text', - label: 'screen', - value: user.device.screen - }, - cores: { - type: 'text', - label: 'cores', - value: user.device.cores - }, - gpu: { - type: 'text', - label: 'gpu', - value: user.device.gpu - }, - ram: { - type: 'text', - label: 'ram', - value: user.device.ram - } - } - }; - - setTimeout(function() { - Satus.render(object, component.parentNode); - - component.remove(); - }); - } - } - } - } -}; - -Menu.main.section.general = { - type: 'folder', - before: '', - label: 'general', - class: 'satus-folder--general', - appearanceId: 'general', - - section: { - type: 'section', - - /*legacy_youtube: { - type: 'switch', - label: 'legacyYoutube', - tags: 'old' - },*/ - youtube_home_page: { - type: 'select', - label: 'youtubeHomePage', - options: [{ - label: 'home', - value: '/' - }, { - label: 'trending', - value: '/feed/trending' - }, { - label: 'subscriptions', - value: '/feed/subscriptions' - }, { - label: 'history', - value: '/feed/history' - }, { - label: 'watchLater', - value: '/playlist?list=WL' - }, { - label: 'search', - value: 'search' - }], - tags: 'trending,subscriptions,history,watch,search' - }, - collapse_of_subscription_sections: { - type: 'switch', - label: 'collapseOfSubscriptionSections' - }, - add_scroll_to_top: { - type: 'switch', - label: 'addScrollToTop', - tags: 'up' - }, - remove_related_search_results: { - type: 'switch', - label: 'removeRelatedSearchResults' - }, - confirmation_before_closing: { - type: 'switch', - label: 'confirmationBeforeClosing', - tags: 'random prevent close exit' - }, - mark_watched_videos: { - type: 'switch', - label: 'markWatchedVideos' - }, - only_one_player_instance_playing: { - type: 'switch', - label: 'onlyOnePlayerInstancePlaying' - } - }, - - section_label__thumbnails: { - type: 'text', - class: 'satus-section--label', - label: 'thumbnails' - }, - - thumbnails_section: { - type: 'section', - - squared_user_images: { - type: 'switch', - label: 'squaredUserImages', - tags: 'avatar' - }, - hd_thumbnails: { - type: 'switch', - label: 'hdThumbnails', - tags: 'preview quality' - }, - hide_animated_thumbnails: { - type: 'switch', - label: 'hideAnimatedThumbnails', - tags: 'preview' - } - } -}; - -Menu.main.section.appearance = { - type: 'folder', - before: '', - label: 'appearance', - class: 'satus-folder--appearance', - appearanceId: 'appearance', - - header: { - type: 'folder', - label: 'header', - class: 'satus-folder--header', - - section: { - type: 'section', - - header_position: { - type: 'select', - label: 'position', - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'hidden', - value: 'hidden' - }, { - label: 'hover', - value: 'hover' - }, { - label: 'hiddenOnVideoPage', - value: 'hidden_on_video_page' - }, { - label: 'hoverOnVideoPage', - value: 'hover_on_video_page' - }, { - label: 'static', - value: 'static' - }], - tags: 'hide,hover,static,top' - }, - header_improve_logo: { - type: 'switch', - label: 'improveLogo', - tags: 'youtube' - }, - header_hide_right_buttons: { - type: 'switch', - label: 'hideRightButtons', - tags: 'user' - } - } - }, - player: { - type: 'folder', - label: 'player', - class: 'satus-folder--player', - - section: { - type: 'section', - - player_hide_annotations: { - type: 'switch', - label: 'hideAnnotations', - tags: 'hide,remove,elements' - }, - player_hide_cards: { - type: 'switch', - label: 'hideCards', - tags: 'hide,remove,elements' - }, - player_show_cards_on_mouse_hover: { - type: 'switch', - label: 'showCardsOnMouseHover', - tags: 'hide,remove,elements' - }, - player_size: { - type: 'select', - label: 'playerSize', - options: [{ - label: 'doNotChange', - value: 'do_not_change' - }, { - label: 'fullWindow', - value: 'full_window' - }, { - label: 'fitToWindow', - value: 'fit_to_window' - }, { - label: '240p', - value: '240p' - }, { - label: '360p', - value: '360p' - }, { - label: '480p', - value: '480p' - }, { - label: '576p', - value: '576p' - }, { - label: '720p', - value: '720p' - }, { - label: '1080p', - value: '1080p' - }, { - label: '1440p', - value: '1440p' - }, { - label: '2160p', - value: '2160p' - }] - }, - forced_theater_mode: { - type: 'switch', - label: 'forcedTheaterMode', - tags: 'wide' - }, - player_color: { - label: 'playerColor', - type: 'select', - options: [{ - label: 'red', - value: 'red' - }, { - label: 'pink', - value: 'pink' - }, { - label: 'purple', - value: 'purple' - }, { - label: 'deepPurple', - value: 'deep_purple' - }, { - label: 'indigo', - value: 'indigo' - }, { - label: 'blue', - value: 'blue' - }, { - label: 'lightBlue', - value: 'light_blue' - }, { - label: 'cyan', - value: 'cyan' - }, { - label: 'teal', - value: 'teal' - }, { - label: 'green', - value: 'green' - }, { - label: 'lightGreen', - value: 'light_green' - }, { - label: 'lime', - value: 'lime' - }, { - label: 'yellow', - value: 'yellow' - }, { - label: 'amber', - value: 'amber' - }, { - label: 'orange', - value: 'orange' - }, { - label: 'deepOrange', - value: 'deep_orange' - }, { - label: 'brown', - value: 'brown' - }, { - label: 'blueGray', - value: 'blue_gray' - }, { - label: 'white', - value: 'white' - }], - tags: 'style' - }, - player_transparent_background: { - type: 'switch', - label: 'transparentBackground' - }, - player_hide_endscreen: { - type: 'switch', - label: 'hideEndscreen' - }, - player_hd_thumbnail: { - type: 'switch', - label: 'hdThumbnail', - tags: 'preview' - }, - hide_scroll_for_details: { - type: 'switch', - label: 'hideScrollForDetails', - tags: 'remove,hide' - }, - always_show_progress_bar: { - type: 'switch', - label: 'alwaysShowProgressBar' - } - } - }, - details: { - type: 'folder', - label: 'details', - class: 'satus-folder--details', - - section: { - type: 'section', - - hide_details: { - type: 'switch', - label: 'hideDetails', - tags: 'hide,remove' - }, - description: { - type: 'select', - label: 'description', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'expanded', - value: 'expanded' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'hide,remove' - }, - hide_views_count: { - type: 'switch', - label: 'hideViewsCount', - tags: 'hide,remove' - }, - likes: { - type: 'select', - label: 'likes', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'iconsOnly', - value: 'icons_only' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'hide,remove' - }, - how_long_ago_the_video_was_uploaded: { - type: 'switch', - label: 'howLongAgoTheVideoWasUploaded' - }, - channel_videos_count: { - type: 'switch', - label: 'showChannelVideosCount' - }, - red_dislike_button: { - type: 'switch', - label: 'redDislikeButton' - } - } - }, - sidebar: { - type: 'folder', - label: 'sidebar', - class: 'satus-folder--sidebar', - - section: { - type: 'section', - - livechat: { - type: 'select', - label: 'liveChat', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }] - }, - /*livechat_type: { - type: 'select', - label: 'liveChatType', - - options: [{ - label: 'topChat', - value: 'top' - }, { - label: 'liveChat', - value: 'live' - }] - },*/ - hide_playlist: { - type: 'switch', - label: 'hidePlaylist' - }, - related_videos: { - type: 'select', - label: 'relatedVideos', - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'right' - } - } - }, - comments: { - type: 'folder', - label: 'comments', - class: 'satus-folder--comments', - - section: { - type: 'section', - - comments: { - type: 'select', - label: 'comments', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }] - } - } - }, - footer: { - type: 'folder', - label: 'footer', - class: 'satus-folder--footer', - - section: { - type: 'section', - - hide_footer: { - type: 'switch', - label: 'hideFooter', - tags: 'bottom' - } - } - } -}; - -function themePopupChange() { - if (Satus.storage.get('red_popup_theme') === true) { - document.documentElement.setAttribute('popup-theme', 'red'); - } else { - document.documentElement.removeAttribute('popup-theme'); - } -} - -function themeChange(event) { - if (event.target.checked) { - let themes = document.querySelectorAll('.satus-switch > input:checked:not([data-storage-key="red_popup_theme"])'); - - for (let i = 0, l = themes.length; i < l; i++) { - if (themes[i] !== event.target) { - themes[i].click(); - } - } - } - - if (Satus.storage.get('default_dark_theme') === true) { - document.documentElement.setAttribute('theme', 'dark'); - } else if (Satus.storage.get('night_theme') === true) { - document.documentElement.setAttribute('theme', 'night'); - } else if (Satus.storage.get('dawn_theme') === true) { - document.documentElement.setAttribute('theme', 'dawn'); - } else if (Satus.storage.get('sunset_theme') === true) { - document.documentElement.setAttribute('theme', 'sunset'); - } else if (Satus.storage.get('desert_theme') === true) { - document.documentElement.setAttribute('theme', 'desert'); - } else if (Satus.storage.get('plain_theme') === true) { - document.documentElement.setAttribute('theme', 'plain'); - } else if (Satus.storage.get('black_theme') === true) { - document.documentElement.setAttribute('theme', 'black'); - } else { - document.documentElement.removeAttribute('theme'); - } -} - - -Menu.main.section.themes = { - type: 'folder', - before: '', - label: 'themes', - class: 'satus-folder--themes', - appearanceId: 'themes', - - section: { - type: 'section', - - my_colors: { - type: 'folder', - label: 'myColors', - - section: { - type: 'section', - - theme_my_colors: { - type: 'switch', - label: 'activate' - } - }, - - section2: { - type: 'section', - - theme_primary_color: { - type: 'color-picker', - label: 'primaryColor', - value: 'rgba(200,200,200)' - }, - theme_text_color: { - type: 'color-picker', - label: 'textColor', - value: 'rgba(25,25,25)' - } - } - }, - filters: { - type: 'folder', - label: 'filters', - - section: { - type: 'section', - - bluelight: { - type: 'slider', - label: 'bluelight', - step: 1, - max: 90, - value: 0 - }, - dim: { - type: 'slider', - label: 'dim', - step: 1, - max: 90, - value: 0 - } - } - }, - schedule: { - type: 'folder', - label: 'schedule', - - section: { - type: 'section', - - schedule: { - type: 'select', - label: 'schedule', - - options: [{ - label: 'disabled', - value: 'disabled' - }, { - label: 'sunsetToSunrise', - value: 'sunset_to_sunrise' - }, { - label: 'systemPeferenceDark', - value: 'system_peference_dark' - }, { - label: 'systemPeferenceLight', - value: 'system_peference_light' - }] - }, - schedule_time_from: { - type: 'select', - label: 'timeFrom', - options: [{ - label: '00:00', - value: '00:00' - }, { - label: '01:00', - value: '01:00' - }, { - label: '02:00', - value: '02:00' - }, { - label: '03:00', - value: '03:00' - }, { - label: '04:00', - value: '04:00' - }, { - label: '05:00', - value: '05:00' - }, { - label: '06:00', - value: '06:00' - }, { - label: '07:00', - value: '07:00' - }, { - label: '08:00', - value: '08:00' - }, { - label: '09:00', - value: '09:00' - }, { - label: '10:00', - value: '10:00' - }, { - label: '11:00', - value: '11:00' - }, { - label: '12:00', - value: '12:00' - }, { - label: '13:00', - value: '13:00' - }, { - label: '14:00', - value: '14:00' - }, { - label: '15:00', - value: '15:00' - }, { - label: '16:00', - value: '16:00' - }, { - label: '17:00', - value: '17:00' - }, { - label: '18:00', - value: '18:00' - }, { - label: '19:00', - value: '19:00' - }, { - label: '20:00', - value: '20:00' - }, { - label: '21:00', - value: '21:00' - }, { - label: '22:00', - value: '22:00' - }, { - label: '23:00', - value: '23:00' - }] - }, - schedule_time_to: { - type: 'select', - label: 'timeTo', - options: [{ - label: '00:00', - value: '00:00' - }, { - label: '01:00', - value: '01:00' - }, { - label: '02:00', - value: '02:00' - }, { - label: '03:00', - value: '03:00' - }, { - label: '04:00', - value: '04:00' - }, { - label: '05:00', - value: '05:00' - }, { - label: '06:00', - value: '06:00' - }, { - label: '07:00', - value: '07:00' - }, { - label: '08:00', - value: '08:00' - }, { - label: '09:00', - value: '09:00' - }, { - label: '10:00', - value: '10:00' - }, { - label: '11:00', - value: '11:00' - }, { - label: '12:00', - value: '12:00' - }, { - label: '13:00', - value: '13:00' - }, { - label: '14:00', - value: '14:00' - }, { - label: '15:00', - value: '15:00' - }, { - label: '16:00', - value: '16:00' - }, { - label: '17:00', - value: '17:00' - }, { - label: '18:00', - value: '18:00' - }, { - label: '19:00', - value: '19:00' - }, { - label: '20:00', - value: '20:00' - }, { - label: '21:00', - value: '21:00' - }, { - label: '22:00', - value: '22:00' - }, { - label: '23:00', - value: '23:00' - }] - } - } - }, - font: { - type: 'select', - label: 'font', - options: [{ - label: 'Roboto', - value: 'Roboto' - }, { - label: 'Open Sans', - value: 'Open+Sans' - }, { - label: 'Lato', - value: 'Lato' - }, { - label: 'Montserrat', - value: 'Montserrat' - }, { - label: 'Source Sans Pro', - value: 'Source+Sans+Pro' - }, { - label: 'Roboto Condensed', - value: 'Roboto+Condensed' - }, { - label: 'Oswald', - value: 'Oswald' - }, { - label: 'Comfortaa', - value: 'Comfortaa' - }, { - label: 'Roboto Mono', - value: 'Roboto+Mono' - }, { - label: 'Raleway', - value: 'Raleway' - }, { - label: 'Poppins', - value: 'Poppins' - }, { - label: 'Noto Sans', - value: 'Noto+Sans' - }, { - label: 'Roboto Slab', - value: 'Roboto+Slab' - }, { - label: 'Marriweather', - value: 'Marriweather' - }, { - label: 'PT Sans', - value: 'PT+Sans' - }] - } - }, - - popup_title: { - type: 'text', - label: 'ImprovedTube', - style: { - margin: '0 12px', - fontWeight: '700' - } - }, - red_popup_theme: { - type: 'switch', - label: 'Red', - value: true, - class: 'satus-switch--red', - style: { - background: '#bb1a1a' - }, - - onchange: themePopupChange - }, - - youtube_title: { - type: 'text', - label: 'YouTube', - style: { - margin: '0 12px', - fontWeight: '700' - } - }, - default_dark_theme: { - type: 'switch', - label: 'dark', - class: 'satus-switch--dark', - - onchange: themeChange - }, - night_theme: { - type: 'switch', - label: 'night', - class: 'satus-switch--night', - - onchange: themeChange - }, - dawn_theme: { - type: 'switch', - label: 'dawn', - class: 'satus-switch--dawn', - - onchange: themeChange - }, - sunset_theme: { - type: 'switch', - label: 'sunset', - class: 'satus-switch--sunset', - - onchange: themeChange - }, - desert_theme: { - type: 'switch', - label: 'desert', - class: 'satus-switch--desert', - - onchange: themeChange - }, - plain_theme: { - type: 'switch', - label: 'plain', - class: 'satus-switch--plain', - - onchange: themeChange - }, - black_theme: { - type: 'switch', - label: 'black', - class: 'satus-switch--black', - - onchange: themeChange - } -}; - -Menu.main.section.player = { - type: 'folder', - before: '', - label: 'player', - class: 'satus-folder--player', - appearanceId: 'player', - - general: { - type: 'section', - - player_autoplay: { - type: 'switch', - label: 'autoplay', - value: true - }, - player_autopause_when_switching_tabs: { - type: 'switch', - label: 'autopauseWhenSwitchingTabs' - }, - player_forced_playback_speed: { - type: 'switch', - label: 'forcedPlaybackSpeed', - id: 'forced-playback-speed', - onrender: function() { - this.dataset.value = Satus.storage.player_forced_playback_speed; - }, - onchange: function() { - this.dataset.value = Satus.storage.player_forced_playback_speed; - } - }, - player_playback_speed: { - type: 'slider', - label: 'playbackSpeed', - textarea: true, - value: 1, - min: .1, - max: 8, - step: .05 - }, - player_subtitles: { - type: 'switch', - label: 'subtitles', - value: true - }, - player_crop_chapter_titles: { - type: 'switch', - label: 'cropChapterTitles', - value: true - }, - up_next_autoplay: { - type: 'switch', - label: 'upNextAutoplay', - value: true - }, - player_ads: { - label: 'ads', - type: 'select', - options: [{ - label: 'onAllVideos', - value: 'all_videos', - default: 'true' - }, { - label: 'onSubscribedChannels', - value: 'subscribed_channels' - }, { - label: 'blockAll', - value: 'block_all' - }] - }, - mini_player: { - type: 'switch', - label: 'customMiniPlayer' - }, - player_autofullscreen: { - type: 'switch', - label: 'autoFullscreen' - } - }, - - section_label__videos: { - type: 'text', - class: 'satus-section--label', - label: 'videos' - }, - - video: { - type: 'section', - - player_quality: { - type: 'select', - label: 'quality', - options: [{ - label: 'auto', - value: 'auto' - }, { - label: '144p', - value: 'tiny' - }, { - label: '240p', - value: 'small' - }, { - label: '360p', - value: 'medium' - }, { - label: '480p', - value: 'large' - }, { - label: '720p', - value: 'hd720' - }, { - label: '1080p', - value: 'hd1080' - }, { - label: '1440p', - value: 'hd1440' - }, { - label: '2160p', - value: 'hd2160' - }, { - label: '2880p', - value: 'hd2880' - }, { - label: '4320p', - value: 'highres' - }] - }, - player_h264: { - type: 'switch', - label: 'codecH264', - - onclick: function() { - console.log(this.dataset.value); - if (this.querySelector('input').checked === true) { - Satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'youtubeLimitsVideoQualityTo1080pForH264Codec', - style: { - 'width': '100%', - 'opacity': '.8' - } - }, - section: { - type: 'section', - class: 'controls', - style: { - 'justify-content': 'flex-end' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - label: 'OK', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - }, - player_60fps: { - type: 'switch', - label: 'allow60fps', - value: true - }, - }, - - section_label__audio: { - type: 'text', - class: 'satus-section--label', - label: 'audio' - }, - - audio: { - type: 'section', - label: 'audio', - - player_forced_volume: { - type: 'switch', - label: 'forcedVolume', - id: 'forced-volume', - onrender: function() { - this.dataset.value = Satus.storage.player_forced_volume; - }, - onchange: function() { - this.dataset.value = Satus.storage.player_forced_volume; - } - }, - player_volume: { - type: 'slider', - label: 'volume', - step: 1, - max: 100, - value: 100 - }, - player_loudness_normalization: { - type: 'switch', - label: 'loudnessNormalization', - value: true - } - }, - - section_label__buttons: { - type: 'text', - class: 'satus-section--label', - label: 'buttons' - }, - - buttons: { - type: 'section', - - player_screenshot: { - type: 'folder', - label: 'screenshot', - - section: { - type: 'section', - - player_screenshot_button: { - type: 'switch', - label: 'activate' - }, - player_screenshot_save_as: { - type: 'select', - label: 'saveAs', - options: [{ - label: 'file', - value: 'file' - }, { - label: 'clipboard', - value: 'clipboard' - }] - } - } - }, - player_repeat: { - type: 'folder', - label: 'repeat', - - section: { - type: 'section', - - player_repeat_button: { - type: 'switch', - label: 'activate' - }, - player_always_repeat: { - type: 'switch', - label: 'alwaysActive' - } - } - }, - player_rotate_button: { - type: 'switch', - label: 'rotate' - }, - player_popup_button: { - type: 'switch', - label: 'popupPlayer' - } - } -}; - -Menu.main.section.playlist = { - type: 'folder', - before: '', - label: 'playlist', - class: 'satus-folder--playlist', - appearanceId: 'playlist', - - section: { - type: 'section', - - playlist_autoplay: { - type: 'switch', - label: 'autoplay', - value: true - }, - playlist_up_next_autoplay: { - type: 'switch', - label: 'upNextAutoplay', - value: true - }, - playlist_reverse: { - type: 'switch', - label: 'reverse' - } - }, - - section2: { - type: 'section', - - playlist_repeat: { - type: 'switch', - label: 'repeat' - }, - playlist_shuffle: { - type: 'switch', - label: 'shuffle' - } - } -}; -Menu.main.section.channel = { - type: 'folder', - before: '', - label: 'channel', - class: 'satus-folder--channel', - appearanceId: 'channel', - - section: { - type: 'section', - - channel_default_tab: { - type: 'select', - label: 'defaultChannelTab', - options: [{ - label: 'home', - value: '/home' - }, { - label: 'videos', - value: '/videos' - }, { - label: 'playlists', - value: '/playlists' - }] - }, - channel_trailer_autoplay: { - type: 'switch', - label: 'trailerAutoplay', - value: true - }, - channel_hide_featured_content: { - type: 'switch', - label: 'hideFeaturedContent' - } - } -}; -Menu.main.section.shortcuts = { - type: 'folder', - before: '', - label: 'shortcuts', - class: 'satus-folder--shortcut', - appearanceId: 'shortcuts', - - player_section_label: { - type: 'text', - class: 'satus-section--label', - label: 'player' - }, - - player_section: { - type: 'section', - - shortcut_picture_in_picture: { - type: 'shortcut', - label: 'pictureInPicture' - }, - shortcut_play_pause: { - type: 'shortcut', - label: 'playPause', - value: { - key: ' ' - } - }, - shortcut_stop: { - type: 'shortcut', - label: 'stop' - }, - shortcut_next_video: { - type: 'shortcut', - label: 'nextVideo', - value: { - key: 'N', - shiftKey: true - } - }, - shortcut_prev_video: { - type: 'shortcut', - label: 'previousVideo', - value: { - key: 'P', - shiftKey: true - } - }, - shortcut_seek_backward: { - type: 'shortcut', - label: 'seekBackward10Seconds', - value: { - key: 'J' - } - }, - shortcut_seek_forward: { - type: 'shortcut', - label: 'seekForward10Seconds', - value: { - key: 'I' - } - }, - shortcut_volume: { - type: 'folder', - label: 'volume', - - section_step: { - type: 'section', - - shortcut_volume_step: { - type: 'slider', - label: 'step', - min: 1, - max: 10, - step: 1, - value: 5 - } - }, - - section: { - type: 'section', - - shortcut_increase_volume: { - type: 'shortcut', - label: 'increaseVolume' - }, - shortcut_decrease_volume: { - type: 'shortcut', - label: 'decreaseVolume' - } - } - }, - shortcut_playback_speed: { - type: 'folder', - label: 'playbackSpeed', - - section_step: { - type: 'section', - - shortcut_playback_speed_step: { - type: 'slider', - label: 'step', - min: .05, - max: .5, - step: .05, - value: .05 - } - }, - - section: { - type: 'section', - - shortcut_increase_playback_speed: { - type: 'shortcut', - label: 'increasePlaybackSpeed' - }, - shortcut_decrease_playback_speed: { - type: 'shortcut', - label: 'decreasePlaybackSpeed' - } - } - }, - shortcut_activate_fullscreen: { - type: 'shortcut', - label: 'activateFullscreen', - value: { - key: 'F' - } - }, - shortcut_activate_captions: { - type: 'shortcut', - label: 'activateCaptions', - value: { - key: 'C' - } - }, - shortcut_quality: { - type: 'folder', - label: 'quality', - - section: { - type: 'section', - - shortcut_240p: { - type: 'shortcut', - label: '240p' - }, - shortcut_360p: { - type: 'shortcut', - label: '360p' - }, - shortcut_480p: { - type: 'shortcut', - label: '480p' - }, - shortcut_720p: { - type: 'shortcut', - label: '720p' - }, - shortcut_1080p: { - type: 'shortcut', - label: '1080p' - }, - shortcut_1440p: { - type: 'shortcut', - label: '1440p' - }, - shortcut_2160p: { - type: 'shortcut', - label: '2160p' - }, - shortcut_2880p: { - type: 'shortcut', - label: '2880p' - }, - shortcut_4320p: { - type: 'shortcut', - label: '4320p' - } - } - }, - shortcut_custom_mini_player: { - type: 'shortcut', - label: 'customMiniPlayer' - }, - shortcut_screenshot: { - type: 'shortcut', - label: 'screenshot' - } - }, - - appearance_section_label: { - type: 'text', - class: 'satus-section--label', - label: 'appearance' - }, - - appearance_section: { - type: 'section', - - shortcut_go_to_search_box: { - type: 'shortcut', - label: 'goToSearchBox', - value: { - key: '/' - } - }, - shortcut_like_shortcut: { - type: 'shortcut', - label: 'like' - }, - shortcut_dislike_shortcut: { - type: 'shortcut', - label: 'dislike' - }, - shortcut_dark_theme: { - type: 'shortcut', - label: 'darkTheme' - } - } -}; - -Menu.main.section.blacklist = { - type: 'folder', - before: '', - label: 'blacklist', - class: 'satus-folder--blacklist', - appearanceId: 'blacklist', - - section_activate: { - type: 'section', - - blacklist_activate: { - type: 'switch', - label: 'activate' - } - }, - - section: { - type: 'section', - - channels: { - type: 'folder', - label: 'channels', - onopen: function() { - var self = this; - - if (Satus.storage.blacklist && Satus.storage.blacklist.channels) { - var list = {}; - - for (var item in Satus.storage.blacklist.channels) { - if (Satus.storage.blacklist.channels[item] !== false) { - var title = Satus.storage.blacklist.channels[item].title || ''; - - list[item] = { - type: 'section', - label: title.length > 20 ? title.substr(0, 20) + '...' : title, - class: 'satus-section--blacklist', - style: { - 'background-image': 'url(' + Satus.storage.blacklist.channels[item].preview + ')', - 'background-color': '#000' - }, - - section: { - type: 'section', - - delete: { - type: 'button', - icon: '', - onclick: function() { - delete Satus.storage.blacklist.channels[item]; - - Satus.storage.set('blacklist', Satus.storage.blacklist); - - this.classList.add('removing'); - - setTimeout(function() { - self.remove(); - }, 250); - } - } - } - }; - } - } - - if (Object.keys(list).length === 0) { - list.section = { - type: 'section', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }; - } - - Satus.render(list, this); - } else { - Satus.render({ - type: 'section', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }, this); - } - } - }, - videos: { - type: 'folder', - label: 'videos', - onopen: function() { - var self = this; - - if (Satus.storage.blacklist && Satus.storage.blacklist.videos) { - let list = {}; - - for (let item in Satus.storage.blacklist.videos) { - if (Satus.storage.blacklist.videos[item] !== false) { - let title = Satus.storage.blacklist.videos[item].title || ''; - - list[item] = { - type: 'section', - label: title.length > 20 ? title.substr(0, 20) + '...' : title, - class: 'satus-section--blacklist', - style: { - 'background-image': 'url(https://img.youtube.com/vi/' + item + '/0.jpg)' - }, - - section: { - type: 'section', - - delete: { - type: 'button', - icon: '', - onclick: function() { - delete Satus.storage.blacklist.videos[item]; - - Satus.storage.set('blacklist', Satus.storage.blacklist); - this.parentNode.parentNode.classList.add('removing'); - - setTimeout(function() { - self.parentNode.parentNode.remove(); - }, 250); - } - } - } - }; - } - } - - if (Object.keys(list).length === 0) { - list.section = { - type: 'section', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }; - } - - Satus.render(list, this); - } else { - Satus.render({ - type: 'section', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }, this); - } - } - } - } -}; - -Menu.main.section.analyzer = { - type: 'folder', - before: '', - label: 'analyzer', - class: 'satus-folder--analyzer', - appearanceId: 'analyzer', - - activ_section: { - type: 'section', - - analyzer_activation: { - type: 'switch', - label: 'activate' - } - }, - - section: { - type: 'section', - style: { - 'flex-direction': 'column', - 'align-items': 'flex-start' - }, - onrender: function() { - var data = Satus.storage.get('analyzer') || {}, - all_data = {}, - all_data_sort = [], - all_time_value = 0, - current_date = new Date().toDateString(), - container = document.createElement('div'), - top_text_container = document.createElement('div'), - today_at = document.createElement('div'), - watch_time = document.createElement('div'), - all_time = document.createElement('div'), - chart = document.createElement('div'), - bottom_text_container = document.createElement('div'); - - container.className = 'analyzer-container'; - top_text_container.className = 'analyzer-top-text'; - watch_time.className = 'analyzer-watch-time'; - today_at.className = 'analyzer-today-at'; - all_time.className = 'analyzer-all-time'; - chart.className = 'analyzer-chart'; - bottom_text_container.className = 'analyzer-bottom'; - - if (data[current_date]) { - for (let i in data[current_date]) { - if (data[current_date][i]) { - for (let j in data[current_date][i]) { - if (!all_data[j]) { - all_data[j] = 0; - } - - all_data[j] += data[current_date][i][j]; - } - } - } - } - - for (let i in all_data) { - all_data_sort.push([i, all_data[i]]); - all_time_value += all_data[i]; - } - - all_data_sort.sort(function(a, b) { - return b[1] - a[1]; - }); - - var now_minutes = new Date().getMinutes(); - - watch_time.innerText = Satus.locale.getMessage('watchTime') || 'watchTime'; - today_at.innerText = Satus.locale.getMessage('todayAt') + ' ' + (new Date().getHours() + ':' + (now_minutes < 10 ? '0' + now_minutes : now_minutes)) || 'todayAt'; - all_time.innerText = Math.floor(all_time_value / 60) + 'h ' + (all_time_value - Math.floor(all_time_value / 60) * 60) + 'm'; - - let h = 0; - - for (let i = 0; i < 4; i++) { - let column = document.createElement('div'); - - column.className = 'analyzer-column'; - - for (let j = 0; j < 6; j++) { - let hours = h + ':00'; - - h++; - - let data_column = document.createElement('div'); - - data_column.className = 'analyzer-data-column'; - - if (data[current_date] && data[current_date][hours]) { - for (let k in data[current_date][hours]) { - let block = document.createElement('div'); - - block.className = 'analyzer-data'; - - let height = data[current_date][hours][k] * 100 / 60; - - block.title = k; - block.style.height = height + '%'; - - if (k === all_data_sort[0][0]) { - block.className += ' first'; - } else if (k === all_data_sort[1][0]) { - block.className += ' second'; - } else if (k === all_data_sort[2][0]) { - block.className += ' third'; - } - - data_column.appendChild(block); - } - } - - column.appendChild(data_column); - } - - chart.appendChild(column); - } - - - for (let i = 0; i < 3; i++) { - if (all_data_sort[i]) { - let cont = document.createElement('div'), - label = document.createElement('div'), - value = document.createElement('div'); - - label.className = 'label'; - - label.innerText = all_data_sort[i][0]; - value.innerText = Math.floor(all_data_sort[i][1] / 60) + 'h ' + (all_data_sort[i][1] - Math.floor(all_data_sort[i][1] / 60) * 60) + 'm'; - - cont.appendChild(label); - cont.appendChild(value); - bottom_text_container.appendChild(cont); - } - } - - container.appendChild(all_time); - container.appendChild(chart); - this.appendChild(top_text_container); - top_text_container.appendChild(watch_time); - top_text_container.appendChild(today_at); - container.appendChild(bottom_text_container); - this.appendChild(container); - } - } -}; - -chrome.storage.local.get(function(items) { - for (var key in items) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), items[key]); - } -}); - -chrome.storage.onChanged.addListener(function(changes) { - for (var key in changes) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), changes[key].newValue); - } -}); - -Satus.storage.import(function() { - var language = Satus.storage.get('language') || 'en'; - - if (!Satus.storage.get('language')) { - var dialog = { - type: 'dialog', - class: 'satus-dialog--setup satus-dialog--setup-language', - - en: { - type: 'button', - label: 'English' - }, - ar: { - type: 'button', - label: 'العربية' - }, - de: { - type: 'button', - label: 'Deutsch' - }, - es: { - type: 'button', - label: 'Español' - }, - fr: { - type: 'button', - label: 'Français' - }, - id: { - type: 'button', - label: 'Bahasa Indonesia' - }, - it: { - type: 'button', - label: 'Italiano' - }, - ja: { - type: 'button', - label: '日本語' - }, - nl: { - type: 'button', - label: 'Dutch' - }, - no: { - type: 'button', - label: 'Norwegian Bokmål' - }, - pt_BR: { - type: 'button', - label: 'Português (Brasil)' - }, - ru: { - type: 'button', - label: 'Русский' - }, - tr: { - type: 'button', - label: 'Türkçe' - }, - zh_CN: { - type: 'button', - label: '中文 (简体)' - }, - zh_TW: { - type: 'button', - label: '中文 (繁體)' - } - }; - - for (var key in dialog) { - if (typeof dialog[key] === 'object') { - dialog[key].dataset = { - key: key - }; - - dialog[key].onclick = function() { - Satus.storage.set('language', this.dataset.key); - - document.querySelector('.satus-dialog--setup .satus-dialog__scrim').click(); - }; - } - } - - Satus.render(dialog); - } - - if (Satus.isset(Satus.storage.get('red_popup_theme')) === false || Satus.storage.get('red_popup_theme') === true) { - document.documentElement.setAttribute('popup-theme', 'red'); - } - - if (Satus.storage.get('default_dark_theme') === true) { - document.documentElement.setAttribute('theme', 'dark'); - } - - if (Satus.storage.get('night_theme') === true) { - document.documentElement.setAttribute('theme', 'night'); - } - - if (Satus.storage.get('dawn_theme') === true) { - document.documentElement.setAttribute('theme', 'dawn'); - } - - if (Satus.storage.get('sunset_theme') === true) { - document.documentElement.setAttribute('theme', 'sunset'); - } - - if (Satus.storage.get('desert_theme') === true) { - document.documentElement.setAttribute('theme', 'desert'); - } - - if (Satus.storage.get('plain_theme') === true) { - document.documentElement.setAttribute('theme', 'plain'); - } - - if (Satus.storage.get('black_theme') === true) { - document.documentElement.setAttribute('theme', 'black'); - } - - Satus.locale.import('_locales/' + language + '/messages.json', function() { - Satus.modules.updateStorageKeys(Menu, function() { - Satus.render(Menu, document.body); - }); - }); -}); \ No newline at end of file diff --git a/stable/satus.css b/stable/satus.css deleted file mode 100644 index c740c65e7..000000000 --- a/stable/satus.css +++ /dev/null @@ -1,1397 +0,0 @@ - -/*-------------------------------------------------------------- ->>> BUTTON ---------------------------------------------------------------*/ - -.satus-button -{ - font-size: inherit; - - position: relative; - - display: flex; - - margin: 0; - - cursor: pointer; - - color: inherit; - border: none; - outline: none; - background-color: var(--satus-theme-button); - - -webkit-tap-highlight-color: transparent; - align-items: center; - -webkit-appearance: none; -} - -.satus-button::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - - opacity: 0; - background-color: var(--satus-theme-ripple); -} - -.satus-button:focus::before, -.satus-button:hover::before -{ - opacity: 1; -} - -.satus-button__icon -{ - width: 24px; - height: 24px; -} - -.satus-button svg -{ - width: 100%; - - color: inherit; - - fill: var(--satus-theme-primary); -} - -.satus-button__icon + .satus-button__label -{ - margin-left: 8px; -} - -/*-------------------------------------------------------------- ->>> COLOR PICKER ---------------------------------------------------------------*/ - -.satus-color-picker -{ - font-size: inherit; - - position: relative; - - display: flex; - - box-sizing: border-box; - margin: 0; - - cursor: pointer; - - color: inherit; - border: none; - outline: none; - background-color: var(--satus-theme-button); - - justify-content: space-between; - -webkit-tap-highlight-color: transparent; - align-items: center; - -webkit-appearance: none; -} - -.satus-color-picker__value -{ - width: 24px; - height: 24px; - - border-radius: 50%; -} - -.satus-dialog--color-picker .satus-scrollbar__content -{ - display: flex; - flex-direction: column; - - align-items: center; -} - -.satus-dialog--color-picker .satus-button -{ - box-sizing: unset; - width: 24px; - height: 24px; - margin: 0 0 8px; - padding: 8px; - - border-radius: 50%; -} - -.satus-dialog--color-picker .satus-button:hover -{ - background-color: var(--satus-theme-ripple); -} - -.satus-dialog--color-picker .satus-button::before -{ - content: unset; -} - -.satus-dialog--color-picker .satus-button svg -{ - fill: transparent; - stroke: var(--satus-theme-primary); -} - -.satus-dialog--color-picker canvas -{ - width: 200px; - height: 200px; - margin: 0 0 16px; -} - -/*-------------------------------------------------------------- ->>> DIALOG ---------------------------------------------------------------*/ - -.satus-dialog -{ - position: absolute; - z-index: 100; - top: 0; - left: 0; - - display: flex; - - width: 100%; - height: 100vh; - - justify-content: center; - align-items: center; -} - -.satus-dialog__scrim -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - animation: fadeIn 150ms linear forwards; - - opacity: 0; - background: rgba(25,25,25,.2); - - fill: var(--satus-theme-dialog-text); - backdrop-filter: blur(8px); -} - -.satus-dialog__surface -{ - font-size: 14px; - - display: flex; - flex-direction: column; - - width: 95%; - min-width: 240px; - max-width: 560px; - max-height: 80%; - padding: 8px 0; - - transform: scale(.8); - animation: zoomIn 150ms linear forwards; - animation-delay: 20ms; - - opacity: 0; - color: var(--satus-theme-dialog-text); - border-radius: 6px; - background-color: var(--satus-theme-dialog); - box-shadow: inset 0 -1px 1px 1px rgba(0,0,0,.1), 0 2px 6px rgba(0, 0, 0, .15); -} - -.satus-dialog--closing .satus-dialog__scrim -{ - animation: fadeOut 70ms linear forwards; -} - -.satus-dialog--closing .satus-dialog__surface -{ - animation: zoomOut 70ms linear forwards; -} - -@keyframes fadeIn -{ - from - { - opacity: 0; - } - to - { - opacity: 1; - } -} - -@keyframes fadeOut -{ - from - { - opacity: 1; - } - to - { - opacity: 0; - } -} - -@keyframes zoomIn -{ - from - { - transform: scale(.8); - - opacity: 0; - } - to - { - transform: scale(1); - - opacity: 1; - } -} - -@keyframes zoomOut -{ - from - { - transform: scale(1); - - opacity: 1; - } - to - { - transform: scale(.8); - - opacity: 0; - } -} - -/*-------------------------------------------------------------- ->>> FOLDER ---------------------------------------------------------------*/ - -.satus-folder -{ - text-align: left -} - -/*-------------------------------------------------------------- ->>> HEADER ---------------------------------------------------------------*/ - -.satus-header -{ - position: relative; - z-index: 1; - - display: flex; - - box-sizing: border-box; - width: 100%; - min-height: 58px; - padding: 0 8px; - - color: var(--satus-theme-header-text); - background-color: var(--satus-theme-header); - box-shadow: 0 0 3px rgba(0,0,0,.1); - - fill: var(--satus-theme-header-text); -} - -.satus-header .satus-text--title -{ - font-size: 15px; - font-weight: 400; -} - -/*-------------------------------------------------------------- ->>> LIST ---------------------------------------------------------------*/ - -.satus-list--compact, -.satus-list--compact li -{ - margin: 0; - padding: 0; - - list-style: none; -} - -/*----------------------------------------------------------------------------- ->>> MAIN -------------------------------------------------------------------------------- -1.0 General -2.0 Animations - 2.1 Opening - 2.2 Closing ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 General ------------------------------------------------------------------------------*/ - -.satus-main -{ - position: relative; - - overflow: hidden; - - width: 100%; - height: 100%; - - color: var(--satus-theme-main-text); - background-color: var(--satus-theme-main); - - fill: var(--satus-theme-main-text); -} - -.satus-main__container -{ - position: absolute; - top: 0; - left: 0; - - overflow: auto; - - box-sizing: border-box; - width: 100%; - height: 100%; - - transition: 250ms; - - background-color: var(--satus-theme-main); - - will-change: transform; -} - - -/*----------------------------------------------------------------------------- -2.0 Animations ------------------------------------------------------------------------------*/ - -.satus-main__container--fade-in-left -{ - animation: fadeInLeft 250ms; -} - -.satus-main__container--fade-in-right -{ - animation: fadeInRight 250ms; -} - -.satus-main__container--fade-out-left -{ - animation: fadeOutLeft 250ms; -} - -.satus-main__container--fade-out-right -{ - animation: fadeOutRight 250ms; -} - -@keyframes fadeInLeft -{ - from - { - transform: translateX(-10%); - - opacity: 0; - } - to - { - transform: translateX(0%); - - opacity: 1; - } -} - -@keyframes fadeInRight -{ - from - { - transform: translateX(10%); - - opacity: 0; - } - to - { - transform: translateX(0%); - - opacity: 1; - } -} - -@keyframes fadeOutLeft -{ - from - { - transform: translateX(0%); - - opacity: 1; - } - to - { - transform: translateX(-10%); - - opacity: 0; - } -} - -@keyframes fadeOutRight -{ - from - { - transform: translateX(0%); - - opacity: 1; - } - to - { - transform: translateX(10%); - - opacity: 0; - } -} - -.satus-scrollbar -{ - position: relative; - - overflow: hidden; - - width: 100%; - height: 100%; -} - -.satus-scrollbar__wrapper -{ - overflow-y: scroll; - - width: 150%; - height: 100%; -} - -.satus-scrollbar__thumb -{ - position: absolute; - z-index: 999; - top: 0; - right: 0; - - min-height: 32px; - padding: 0 2px; - - transition: background-color 200ms, opacity 300ms; - - opacity: 0; -} - -.satus-scrollbar__thumb::after -{ - display: block; - - width: 3px; - height: 100%; - - content: ''; - - background-color: var(--satus-theme-scrollbar); -} - -.satus-scrollbar__thumb:hover::after -{ - background-color: var(--satus-theme-scrollbar-focus); -} - -.satus-scrollbar.active .satus-scrollbar__thumb, -.satus-scrollbar__thumb:hover -{ - transition: background-color 200ms, opacity 100ms; - - opacity: 1; -} - -/*-------------------------------------------------------------- ->>> SECTION ---------------------------------------------------------------*/ - -.satus-section -{ - display: inline-flex; - - box-sizing: border-box; - - background-color: var(--satus-theme-section); - - align-items: center; - flex: 1; -} - -/*-------------------------------------------------------------- ->>> SELECT ---------------------------------------------------------------*/ - -.satus-select -{ - justify-content: space-between; -} - -.satus-select__value -{ - font-size: 12px; - - text-align: right; - - opacity: .7; -} - - -.satus-dialog--select-component .satus-dialog__surface -{ - position: absolute; - - max-width: unset; - - transform: unset; - animation: unset; - - opacity: 1; -} - -.satus-dialog--select-component .satus-section -{ - top: 48px; - - flex-direction: column; - - transform: translateY(-16px); - animation: listIn 50ms linear forwards; - animation-delay: 20ms; - - opacity: .5; -} - -.satus-dialog--select-component .satus-button -{ - width: 100%; - height: 48px; - padding: 0 16px; -} - -@keyframes listIn -{ - from - { - transform: translateY(-16px); - - opacity: .5; - } - to - { - transform: translateY(0); - - opacity: 1; - } -} - -.satus-shortcut -{ - position: relative; - - display: flex; - - box-sizing: border-box; - width: 100%; - height: 48px; - min-height: 48px; - padding: 0 16px; - - cursor: pointer; - - justify-content: space-between; - align-items: center; -} - -.satus-shortcut:hover -{ - background-color: var(--satus-theme-ripple); -} - -.satus-shortcut > .label -{ - margin: 0 0 4px 0; -} - -.satus-shortcut > .value -{ - font-size: 13px; - - opacity: .5; -} - -.satus-shortcut-dialog-label -{ - font-size: 16px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 4px 0 10px; - padding: 0 16px; -} - -.satus-shortcut__canvas -{ - display: flex; - - box-sizing: border-box; - width: 100%; - height: 68px; - padding: 16px; - - background: #dedede; - - align-items: center; -} - -.satus-shortcut__key -{ - display: flex; - - box-sizing: border-box; - min-width: 32px; - height: 32px; - padding: 4px 8px; - - border-radius: 4px; - background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,.15), inset 0 -3px 0 rgba(0,0,0,.1); - - align-items: center; - justify-content: center; -} - -.satus-shortcut__plus -{ - position: relative; - - width: 12px; - height: 12px; - margin: 8px; -} - -.satus-shortcut__plus::before -{ - position: absolute; - top: 0; - left: 5px; - - width: 2px; - height: 12px; - - content: ''; - - background-color: #aaa; -} - -.satus-shortcut__plus::after -{ - position: absolute; - top: 5px; - left: 0; - - width: 12px; - height: 2px; - - content: ''; - - background-color: #aaa; -} - -.satus-shortcut__mouse -{ - position: relative; - - display: flex; - - width: 28px; - height: 36px; - - border-radius: 50%; - border-top-left-radius: 12px; - border-top-right-radius: 12px; - background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,.15), inset 0 -3px 0 rgba(0,0,0,.1); -} - -.satus-shortcut__mouse > div -{ - position: absolute; - top: 0; - left: 13px; - - width: 2px; - height: 11px; - - border-radius: 2px; - background: #ccc; -} - -.satus-shortcut__mouse::before -{ - position: absolute; - top: -4px; - left: 21px; - - width: 2px; - height: 18px; - - content: ''; - - background: #f96754; -} - -.satus-shortcut__mouse.false::after -{ - position: absolute; - top: -12px; - left: 17px; - - width: 0; - height: 0; - - content: ''; - - border-right: 5px solid transparent; - border-bottom: 8px solid #f96754; - border-left: 5px solid transparent; -} - -.satus-shortcut__mouse.true::after -{ - position: absolute; - top: 14px; - left: 17px; - - width: 0; - height: 0; - - content: ''; - - border-top: 8px solid #f96754; - border-right: 5px solid transparent; - border-left: 5px solid transparent; -} - -.satus-section_shortcut -{ - width: 100%; - margin: 8px 0 0; - - justify-content: flex-end; -} - -.satus-button_shortcut -{ - font-weight: 500; - - overflow: hidden; - - height: 28px; - min-height: 28px; - margin-right: 2px; - padding: 4px 8px; - - text-transform: uppercase; - - color: #f96754; - border-radius: 4px; -} - -/*-------------------------------------------------------------- ->>> SLIDER ---------------------------------------------------------------*/ - -.satus-slider -{ - position: relative; - - display: flex; - flex-direction: column; - - box-sizing: border-box; - width: 100%; - min-height: 64px; - padding: 0 16px; - - -webkit-user-select: none; - -moz-user-select: -moz-none; - user-select: none; - - outline: none; - - align-items: flex-start; - justify-content: center; -} - -.satus-slider::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - - opacity: 0; - background-color: var(--satus-theme-button); -} - -.satus-slider:hover::before -{ - opacity: 1; -} - - -/* LABEL */ - -.satus-slider__label -{ - cursor: default; -} - - -.satus-slider__range -{ - position: absolute; - z-index: 1; - top: 0; - left: 0; - - box-sizing: border-box; - width: 100%; - height: 100%; - margin: 0; - padding: 0; - - opacity: 0; -} - - -/* TRACK */ - -.satus-slider__container -{ - position: relative; - - width: 100%; - height: 12px; - margin: 8px 0 0; -} - -.satus-slider__track-container -{ - position: absolute; - top: calc(50% - 1px); - - width: 100%; - height: 2px; - - pointer-events: none; -} - -.satus-slider__track-container::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 2px; - - content: ''; - - opacity: .26; - background-color: var(--satus-theme-primary); -} - -.satus-slider__track -{ - position: relative; - - width: 0; - height: 100%; - - background-color: var(--satus-theme-primary); - - will-change: width; -} - -.satus-slider:not(.satus-slider--dragging) .satus-slider__track -{ - transition: width 100ms ease-out; -} - -.satus-slider__thumb -{ - position: absolute; - top: -5px; - right: -12px; - - width: 12px; - height: 12px; - - border-radius: 50%; - background-color: var(--satus-theme-primary); - box-shadow: 0 1px 5px rgba(0, 0, 0, .15); -} - -.satus-slider .satus-slider__thumb::before -{ - font-size: 13px; - - position: absolute; - top: -34px; - left: 50%; - - visibility: hidden; - - box-sizing: border-box; - min-width: 28px; - padding: 4px 4px; - - content: attr(data-value); - transform: translateX(-50%); - text-align: center; - pointer-events: none; - - color: #fff; - border-radius: 4px; - background: var(--satus-theme-tooltip); -} - -.satus-slider:hover .satus-slider__thumb::before, -.satus-slider__range:focus .satus-slider__container .satus-slider__thumb::before -{ - visibility: visible; -} - -.satus-slider__ring -{ - position: absolute; - top: -11px; - right: -18px; - - width: 24px; - height: 24px; - - transition: 100ms; - transform: scale(0); - - opacity: 0; - border-radius: 50%; - background-color: var(--satus-theme-primary); -} - -.satus-slider__range:focus + .satus-slider__container .satus-slider__ring -{ - transform: scale(1); - - opacity: .25; -} - -/*-------------------------------------------------------------- ->>> SWITCH ---------------------------------------------------------------*/ - -.satus-switch -{ - position: relative; - - display: flex; - - box-sizing: border-box; - width: 100%; - height: 48px; - padding: 0 16px; - - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: -moz-none; - user-select: none; - - background-color: transparent; - - align-items: center; - justify-content: space-between; -} - -.satus-switch:hover -{ - background-color: var(--satus-theme-ripple); -} - -.satus-switch__input -{ - position: absolute; - z-index: 1; - top: 0; - left: 0; - - width: 100%; - height: 100%; - margin: 0; - padding: 0; - - opacity: 0; - outline: none; - - -webkit-appearance: none; -} - - -/* LABEL */ - -.satus-switch__label -{ - padding: 0 16px 0 0; -} - - -/* TRACK*/ - -.satus-switch__track -{ - position: relative; - - width: 32px; - min-width: 32px; - height: 18px; - - border-radius: 18px; - background: #bdbdbd; -} - -.satus-switch__track::before -{ - position: absolute; - top: -7px; - left: -7px; - - width: 32px; - height: 32px; - - content: ''; - transition: left .1s cubic-bezier(.4, 0, .2, 1), transform 200ms, background-color 200ms; - transform: scale(0); - - opacity: 0; - border-radius: 50%; - background-color: #000; - - will-change: left, transform, background-color; -} - -.satus-switch__input:checked + .satus-switch__track::before -{ - left: 8px; - - background-color: var(--satus-theme-primary, #54d2a3); -} - -.satus-switch__input:focus + .satus-switch__track::before -{ - transform: scale(1); - - opacity: .08; -} - -.satus-switch__input:checked:focus + .satus-switch__track::before -{ - opacity: .25; -} - -.satus-switch__track::after -{ - position: absolute; - - width: 14px; - height: 14px; - - content: ''; - transition: transform .1s cubic-bezier(.4, 0, .2, 1); - transform: translate(2px, 2px); - - border-radius: 50%; - background-color: #fff; - - will-change: transform; -} - -.satus-switch__input:checked + .satus-switch__track -{ - background: var(--satus-theme-primary, #54d2a3); -} - -.satus-switch__input:checked + .satus-switch__track::after -{ - transform: translate(16px, 2px); -} - -/*-------------------------------------------------------------- ->>> TABLE ---------------------------------------------------------------*/ - -.satus-table -{ - font-size: .875rem; - - position: relative; - - overflow: hidden; - display: flex; - flex-direction: column; - box-sizing: border-box; - - border: 1px solid #ececec; - border-radius: 6px; -} - -.satus-table__head -{ - position: relative; - z-index: 1; - - display: flex; - - box-sizing: border-box; - width: 100%; - height: 44px; - padding: 0 8px; - - background: #fff; - box-shadow: 0 2px 4px rgba(0, 0, 0, .1); -} - -.satus-table__head > div -{ - font-weight: 600; - - display: inline-flex; - - box-sizing: border-box; - padding: 0 8px 0 0; - - opacity: .7; - - flex-shrink: 0; - align-items: center; -} - -.satus-table__head > div:last-child -{ - padding: 0; -} - -.satus-table__head > div:hover -{ - cursor: pointer; - - opacity: 1; -} - -.satus-table__head > div[data-sorting=false]:hover -{ - cursor: default; -} - -.satus-table__head > div > span -{ - position: relative; -} - -.satus-table__head > div[data-sorting=asc] > span::after -{ - position: absolute; - top: calc(50% - 2px); - right: -14px; - - width: 0; - height: 0; - - content: ''; - - border-right: 4px solid transparent; - border-bottom: 5px solid currentColor; - border-left: 4px solid transparent; -} - -.satus-table__head > div[data-sorting=desc] > span::after -{ - position: absolute; - top: calc(50% - 2px); - right: -13px; - - width: 0; - height: 0; - - content: ''; - - border-top: 5px solid currentColor; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} - -.satus-table__body -{ - overflow: hidden; - flex: 1; - - width: 100%; - height: calc(100% - 48px); - - background: #fff; -} - -.satus-table__row -{ - display: flex; - - padding: 0 8px; - - box-sizing: border-box; - - border-bottom: 1px solid rgba(0, 0, 0, 0.1); -} - -.satus-table__row:nth-child(2n) -{ - background: rgba(0,0,0,.03) -} - -.satus-table__cell -{ - overflow: hidden; - - box-sizing: border-box; - padding: 8px 8px 8px 0; - - white-space: nowrap; - word-wrap: break-word; - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - - overflow-wrap: break-word; - flex-shrink: 0; - - text-overflow: ellipsis; -} - -.satus-table__cell:last-child -{ - padding-right: 0; -} - -.satus-table__cell input -{ - width: 100%; - margin: 5px 0; - border: 1px solid #d2d2d2; - box-sizing: border-box; - padding: 1px 2px; - border-radius: 4px; - height: calc(100% - 10px); - outline: none -} - - - -.satus-table__paging > button -{ - min-width: 32px; - height: 32px; - padding: 0 8px; - - cursor: pointer; - - color: var(--satus-theme-on-surface, #555); - border: none; - background: transparent; -} - -.satus-table__paging > button.active -{ - color: #2979ff; -} - -/*-------------------------------------------------------------- ->>> TEXT ---------------------------------------------------------------*/ - -.satus-text -{ - margin: 0; - - color: inherit; - border: none; -} - -/*-------------------------------------------------------------- ->>> TEXT ---------------------------------------------------------------*/ - -.satus-text-field -{ - font: inherit; - - box-sizing: border-box; - width: 100%; - margin: 0; - padding: 0; - padding: 0 8px; - - color: inherit; - border: none; - outline: none; - background: unset; -} - -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Default ------------------------------------------------------------------------------*/ - -html -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #f7f7f6; - --satus-theme-dialog-text: #777; - - --satus-theme-header: #fff; - --satus-theme-header-text: #777; - - --satus-theme-main: #f7f7f6; - --satus-theme-main-text: #777; - - --satus-theme-section: #fff; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(0, 0, 0, .2); - --satus-theme-scrollbar-focus: rgba(0, 0, 0, .4); - - --satus-theme-tooltip: rgba(0, 0, 0, .4); - - --satus-theme-ripple: rgba(0, 0, 0, .04); -} \ No newline at end of file diff --git a/stable/satus.js b/stable/satus.js deleted file mode 100644 index 6271c136e..000000000 --- a/stable/satus.js +++ /dev/null @@ -1,2160 +0,0 @@ - -/*-------------------------------------------------------------- ->>> TABLE OF CONTENTS: ----------------------------------------------------------------- -# Events -# Render -# Camelize -# Animation duration ---------------------------------------------------------------*/ - -var Satus = {}; - - -/*-------------------------------------------------------------- -# EVENTS ---------------------------------------------------------------*/ - -Satus.events = {}; - -Satus.on = function(event, handler) { - if (!this.isset(this.events[event])) { - this.events[event] = []; - } - - this.events[event].push(handler); -}; - - -/*-------------------------------------------------------------- -# COMPONENTS ---------------------------------------------------------------*/ - -Satus.components = {}; - - -/*-------------------------------------------------------------- -# MODULES ---------------------------------------------------------------*/ - -Satus.modules = {}; - - -/*-------------------------------------------------------------- -# ISSET ---------------------------------------------------------------*/ - -Satus.isset = function(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -}; - - -/*-------------------------------------------------------------- -# CAMELIZE ---------------------------------------------------------------*/ - -Satus.camelize = function(string) { - return string.replace(/-[a-z]/g, function(match) { - return match[1].toUpperCase(); - }); -}; - - -/*-------------------------------------------------------------- -# ANIMATION DURATION ---------------------------------------------------------------*/ - -Satus.getAnimationDuration = function(element) { - return Number(window.getComputedStyle(element).getPropertyValue('animation-duration').replace(/[^0-9.]/g, '')) * 1000; -}; -/*-------------------------------------------------------------- ->>> CHROMIUM STORAGE ----------------------------------------------------------------- -1.0 Get -2.0 Set -3.0 Import -4.0 Clear ---------------------------------------------------------------*/ - -Satus.storage = {}; - -/*-------------------------------------------------------------- -# GET ---------------------------------------------------------------*/ - -Satus.storage.get = function(name) { - var target = Satus.storage; - - name = name.split('/').filter(function(value) { - return value != ''; - }); - - for (var i = 0, l = name.length; i < l; i++) { - if (Satus.isset(target[name[i]])) { - target = target[name[i]]; - } else { - return undefined; - } - } - - return target; -}; - - -/*-------------------------------------------------------------- -# SET ---------------------------------------------------------------*/ - -Satus.storage.set = function(name, value) { - var items = {}, - target = Satus.storage; - - if (!Satus.isset(name)) { - return false; - } - - name = name.split('/').filter(function(value) { - return value != ''; - }); - - for (var i = 0, l = name.length; i < l; i++) { - var item = name[i]; - - if (i < l - 1) { - - if (target[item]) { - target = target[item]; - } else { - target[item] = {}; - - target = target[item]; - } - } else { - target[item] = value; - } - } - - for (var key in Satus.storage) { - if (typeof Satus.storage[key] !== 'function') { - items[key] = Satus.storage[key]; - } - } - - chrome.storage.local.set(items); -}; - - -/*-------------------------------------------------------------- -# IMPORT ---------------------------------------------------------------*/ - -Satus.storage.import = function(callback) { - chrome.storage.local.get(function(items) { - for (var key in items) { - Satus.storage[key] = items[key]; - } - - if (callback) { - callback(); - } - }); -}; - - -/*-------------------------------------------------------------- -# CLEAR ---------------------------------------------------------------*/ - -Satus.storage.clear = function() { - chrome.storage.local.clear(); - - for (var key in Satus.storage) { - if (typeof Satus.storage[key] !== 'function') { - delete Satus.storage[key]; - } - } -}; - -/*-------------------------------------------------------------- -# LOCALE ---------------------------------------------------------------*/ - -Satus.locale = { - messages: {} -}; - - -/*-------------------------------------------------------------- -# GET MESSAGE ---------------------------------------------------------------*/ - -Satus.locale.getMessage = function(string) { - return this.messages[string] || string; -}; - -/*-------------------------------------------------------------- -# IMPORT LOCALE ---------------------------------------------------------------*/ - -Satus.locale.import = function(src, callback) { - var xhr = new XMLHttpRequest(); - - xhr.onload = function() { - try { - var object = JSON.parse(this.responseText); - - for (var key in object) { - Satus.locale.messages[key] = object[key].message; - } - - callback(); - } catch (err) { - function listener(request) { - if (request !== null && typeof request === 'object') { - if (request.name === 'translation_response') { - var object = JSON.parse(request.value); - - chrome.runtime.onMessage.removeListener(listener); - - for (var key in object) { - Satus.locale.messages[key] = object[key].message; - } - - callback(); - } - } - } - - chrome.runtime.onMessage.addListener(listener); - - chrome.runtime.sendMessage({ - name: 'translation_request', - path: src - }); - } - }; - - xhr.open('GET', src, true); - xhr.send(); -}; -/*-------------------------------------------------------------- ->>> RENDER ---------------------------------------------------------------*/ - -Satus.render = function(element, container, callback) { - function convert(object) { - if (object && object.type) { - var type = Satus.camelize(object.type), - component = Satus.components[type](object), - excluded_properties = ['type', 'label', 'class', 'title', 'storage']; - - function applyProperties(object, target) { - for (var key in object) { - if (Satus.isset(object[key]) && typeof object[key] === 'object' && !object[key].type) { - if (typeof target[key] !== 'object') { - target[key] = {}; - } - - applyProperties(object[key], target[key]); - } else if (excluded_properties.indexOf(key) === -1) { - target[key] = object[key]; - } - } - } - - applyProperties(object, component); - - component.classList.add('satus-' + object.type); - - if (object.class) { - var class_list = object.class.split(' '); - - for (var i = 0, l = class_list.length; i < l; i++) { - component.classList.add(class_list[i]); - } - } - - if (object.before) { - var component_before = document.createElement('span'); - - component_before.innerHTML = object.before; - - for (var i = component_before.children.length - 1; i > -1; i--) { - component.insertBefore(component_before.children[i], component.firstChild); - } - } - - if (object.after) { - var component_after = document.createElement('span'); - - component_after.innerHTML = object.after; - - for (var i = component_after.children.length - 1; i > -1; i--) { - component.appendChild(component_after.children[i]); - } - } - - (container || document.body).appendChild(component); - - if (typeof component.onClickRender === 'object') { - component.addEventListener('click', function() { - Satus.render(component.onClickRender); - }); - } - - if (Satus.isset(Satus.events.render)) { - for (var i = 0, l = Satus.events.render.length; i < l; i++) { - Satus.events.render[i](component, object); - } - } - - if (typeof component.onrender === 'function') { - component.onrender(object); - } - - if (callback) { - callback(); - } - } - } - - if (element.type) { - convert(element); - } else { - for (var key in element) { - convert(element[key]); - } - } -}; -/*-------------------------------------------------------------- -# CLONE NODE STYLES ---------------------------------------------------------------*/ - -Satus.cloneNodeStyles = function(origin, target) { - target.style.cssText = window.getComputedStyle(origin, '').cssText; - - for (var i = 0, l = origin.children.length; i < l; i++) { - Satus.cloneNodeStyles(origin.children[i], target.children[i]); - } -}; -/*----------------------------------------------------------------------------- ->>> «SEARCH» MODULE ------------------------------------------------------------------------------*/ - -Satus.search = function(query, object, callback, categories) { - var threads = 0, - folder = '', - results = {}; - - function parse(items) { - threads++; - - for (var key in items) { - var item = items[key]; - - if (categories === true && item.type === 'folder' && folder !== item.label) { - folder = item.label; - } - - if (['switch', 'select', 'slider'].indexOf(item.type) !== -1 && key.indexOf(query) !== -1) { - if (categories === true) { - if (!results[folder]) { - results[folder] = {}; - } - - results[folder][key] = item; - } else { - results[key] = item; - } - } - - if (typeof item === 'object') { - parse(item); - } - } - - threads--; - - if (threads === 0) { - callback(results); - } - } - - parse(object); -}; - -/*-------------------------------------------------------------- ->>> STORAGE KEYS ---------------------------------------------------------------*/ - -Satus.modules.updateStorageKeys = function(object, callback) { - var threads = 0; - - function parse(items) { - threads++; - - for (var key in items) { - var item = items[key]; - - - if (item.type) { - item.storage_key = key; - } - - if (typeof item === 'object') { - parse(item); - } - } - - threads--; - - if (threads === 0) { - callback(); - } - } - - parse(object); -}; -/*----------------------------------------------------------------------------- ->>> «USER» MODULE -------------------------------------------------------------------------------- -1.0 Variables -2.0 Software - 2.1 OS - 2.2.1 Name - 2.2.2 Type - 2.2 Browser - 2.2.1 Name - 2.2.2 Version - 2.2.3 Platform - 2.2.4 Languages - 2.2.5 Cookies - 2.2.6 Flash - 2.2.8 Video formats - 2.2.9 Audio formats - 2.2.10 WebGL -3.0 Hardware - 3.1 Screen - 3.2 RAM - 3.3 GPU - 3.4 Cores - 3.5 Touch - 3.6 Connection -4.0 Clearing ------------------------------------------------------------------------------*/ - -Satus.modules.user = function() { - /*----------------------------------------------------------------------------- - 1.0 VARIABLES - -----------------------------------------------------------------------------*/ - - var user_agent = navigator.userAgent, - random_cookie = 'ta{t`nX6cMXK,Wsc', - video = document.createElement('video'), - video_formats = { - ogg: 'video/ogg; codecs="theora"', - h264: 'video/mp4; codecs="avc1.42E01E"', - webm: 'video/webm; codecs="vp8, vorbis"', - vp9: 'video/webm; codecs="vp9"', - hls: 'application/x-mpegURL; codecs="avc1.42E01E"' - }, - audio = document.createElement('audio'), - audio_formats = { - mp3: 'audio/mpeg', - mp4: 'audio/mp4', - aif: 'audio/x-aiff' - }, - cvs = document.createElement('canvas'), - ctx = cvs.getContext('webgl'), - data = { - browser: { - audio: null, - cookies: null, - flash: null, - java: null, - languages: null, - name: null, - platform: null, - version: null, - video: null, - webgl: null - }, - os: { - name: null, - type: null - }, - device: { - connection: { - type: null, - speed: null - }, - cores: null, - gpu: null, - max_touch_points: null, - ram: null, - screen: null, - touch: null - } - }; - - - /*----------------------------------------------------------------------------- - 2.0 SOFTWARE - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 2.1.0 OS - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 2.1.1 NAME - -----------------------------------------------------------------------------*/ - - if (navigator.appVersion.indexOf('Win') !== -1) { - if (navigator.appVersion.match(/(Windows 10.0|Windows NT 10.0)/)) { - data.os.name = 'Windows 10'; - } else if (navigator.appVersion.match(/(Windows 8.1|Windows NT 6.3)/)) { - data.os.name = 'Windows 8.1'; - } else if (navigator.appVersion.match(/(Windows 8|Windows NT 6.2)/)) { - data.os.name = 'Windows 8'; - } else if (navigator.appVersion.match(/(Windows 7|Windows NT 6.1)/)) { - data.os.name = 'Windows 7'; - } else if (navigator.appVersion.match(/(Windows NT 6.0)/)) { - data.os.name = 'Windows Vista'; - } else if (navigator.appVersion.match(/(Windows NT 5.1|Windows XP)/)) { - data.os.name = 'Windows XP'; - } else { - data.os.name = 'Windows'; - } - } else if (navigator.appVersion.indexOf('(iPhone|iPad|iPod)') !== -1) { - data.os.name = 'iOS'; - } else if (navigator.appVersion.indexOf('Mac') !== -1) { - data.os.name = 'macOS'; - } else if (navigator.appVersion.indexOf('Android') !== -1) { - data.os.name = 'Android'; - } else if (navigator.appVersion.indexOf('OpenBSD') !== -1) { - data.os.name = 'OpenBSD'; - } else if (navigator.appVersion.indexOf('SunOS') !== -1) { - data.os.name = 'SunOS'; - } else if (navigator.appVersion.indexOf('Linux') !== -1) { - data.os.name = 'Linux'; - } else if (navigator.appVersion.indexOf('X11') !== -1) { - data.os.name = 'UNIX'; - } - - /*----------------------------------------------------------------------------- - 2.1.2 TYPE - -----------------------------------------------------------------------------*/ - - if (navigator.appVersion.match(/(Win64|x64|x86_64|WOW64)/)) { - data.os.type = '64-bit'; - } else { - data.os.type = '32-bit'; - } - - - /*----------------------------------------------------------------------------- - 2.2.0 BROWSER - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 2.2.1 NAME - -----------------------------------------------------------------------------*/ - - if (user_agent.indexOf('Opera') !== -1) { - data.browser.name = 'Opera'; - } else if (user_agent.indexOf('Vivaldi') !== -1) { - data.browser.name = 'Vivaldi'; - } else if (user_agent.indexOf('Edge') !== -1) { - data.browser.name = 'Edge'; - } else if (user_agent.indexOf('Chrome') !== -1) { - data.browser.name = 'Chrome'; - } else if (user_agent.indexOf('Safari') !== -1) { - data.browser.name = 'Safari'; - } else if (user_agent.indexOf('Firefox') !== -1) { - data.browser.name = 'Firefox'; - } else if (user_agent.indexOf('MSIE') !== -1) { - data.browser.name = 'IE'; - } - - - /*----------------------------------------------------------------------------- - 2.2.2 VERSION - -----------------------------------------------------------------------------*/ - - var browser_version = user_agent.match(new RegExp(data.browser.name + '/([0-9.]+)')); - - if (browser_version[1]) { - data.browser.version = browser_version[1]; - } - - - /*----------------------------------------------------------------------------- - 2.2.3 PLATFORM - -----------------------------------------------------------------------------*/ - - data.browser.platform = navigator.platform || null; - - - /*----------------------------------------------------------------------------- - 2.2.4 LANGUAGES - -----------------------------------------------------------------------------*/ - - data.browser.languages = navigator.languages || null; - - - /*----------------------------------------------------------------------------- - 2.2.5 COOKIES - -----------------------------------------------------------------------------*/ - - if (document.cookie) { - document.cookie = random_cookie; - - if (document.cookie.indexOf(random_cookie) !== -1) { - data.browser.cookies = true; - } - } - - - /*----------------------------------------------------------------------------- - 2.2.6 FLASH - -----------------------------------------------------------------------------*/ - - try { - if (new ActiveXObject('ShockwaveFlash.ShockwaveFlash')) { - data.browser.flash = true; - } - } catch (e) { - if (navigator.mimeTypes['application/x-shockwave-flash']) { - data.browser.flash = true; - } - } - - - /*----------------------------------------------------------------------------- - 2.2.7 JAVA - -----------------------------------------------------------------------------*/ - - if (typeof navigator.javaEnabled === 'function' && navigator.javaEnabled()) { - data.browser.java = true; - } - - - /*----------------------------------------------------------------------------- - 2.2.8 VIDEO FORMATS - -----------------------------------------------------------------------------*/ - - if (typeof video.canPlayType === 'function') { - data.browser.video = {}; - - for (var i in video_formats) { - var can_play_type = video.canPlayType(video_formats[i]); - - if (can_play_type === '') { - data.browser.video[i] = false; - } else { - data.browser.video[i] = can_play_type; - } - } - } - - - /*----------------------------------------------------------------------------- - 2.2.9 AUDIO FORMATS - -----------------------------------------------------------------------------*/ - - if (typeof audio.canPlayType === 'function') { - data.browser.audio = {}; - - for (var i in audio_formats) { - var can_play_type = audio.canPlayType(audio_formats[i]); - - if (can_play_type == '') { - data.browser.audio[i] = false; - } else { - data.browser.audio[i] = can_play_type; - } - } - } - - - /*----------------------------------------------------------------------------- - 2.2.10 WEBGL - -----------------------------------------------------------------------------*/ - - if (ctx && ctx instanceof WebGLRenderingContext) { - data.browser.webgl = true; - } - - - /*----------------------------------------------------------------------------- - 3.0 HARDWARE - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 3.1 SCREEN - -----------------------------------------------------------------------------*/ - - if (screen) { - data.device.screen = screen.width + 'x' + screen.height; - } - - - /*----------------------------------------------------------------------------- - 3.2 RAM - -----------------------------------------------------------------------------*/ - - if ('deviceMemory' in navigator) { - data.device.ram = navigator.deviceMemory + ' GB'; - } - - - /*----------------------------------------------------------------------------- - 3.3 GPU - -----------------------------------------------------------------------------*/ - - if ( - ctx && - ctx instanceof WebGLRenderingContext && - 'getParameter' in ctx && - 'getExtension' in ctx - ) { - var info = ctx.getExtension('WEBGL_debug_renderer_info'); - - if (info) { - data.device.gpu = ctx.getParameter(info.UNMASKED_RENDERER_WEBGL); - } - } - - - /*----------------------------------------------------------------------------- - 3.4 CORES - -----------------------------------------------------------------------------*/ - - if (navigator.hardwareConcurrency) { - data.device.cores = navigator.hardwareConcurrency; - } - - - /*----------------------------------------------------------------------------- - 3.5 TOUCH - -----------------------------------------------------------------------------*/ - - if ( - window.hasOwnProperty('ontouchstart') || - window.DocumentTouch && document instanceof window.DocumentTouch || - navigator.maxTouchPoints > 0 || - window.navigator.msMaxTouchPoints > 0 - ) { - data.device.touch = true; - data.device.max_touch_points = navigator.maxTouchPoints; - } - - - /*----------------------------------------------------------------------------- - 3.6 CONNECTION - -----------------------------------------------------------------------------*/ - - if (typeof navigator.connection === 'object') { - data.device.connection.type = navigator.connection.effectiveType || null; - - if (navigator.connection.downlink) { - data.device.connection.speed = navigator.connection.downlink + ' Mbps'; - } - } - - - /*----------------------------------------------------------------------------- - 4.0 CLEARING - -----------------------------------------------------------------------------*/ - - video.remove(); - audio.remove(); - cvs.remove(); - - - return data; -}; -Satus.on('render', function(component, data) { - if (data.perspective === true) { - component.style.willChange = 'transform'; - component.style.transformStyle = 'preserve-3d'; - component.style.transition = '.4s'; - - component.addEventListener('mousemove', function(event) { - var bounding = component.getBoundingClientRect(), - dx = event.clientX - bounding.left - bounding.width / 2, - dy = event.clientY - bounding.top - bounding.height / 2; - - this.style.transform = 'perspective(440px) rotateX(' + dy * -1 + 'deg) rotateY(' + dx + 'deg) translateZ(0)'; - }); - - component.addEventListener('mouseout', function(event) { - this.style.transform = 'perspective(440px) rotateX(0deg) rotateY(0deg) translateZ(0)'; - }); - } -}); -/*-------------------------------------------------------------- ->>> BUTTON ---------------------------------------------------------------*/ - -Satus.components.button = function(element) { - var component = document.createElement('button'); - - if (Satus.isset(element.icon)) { - var component_icon = document.createElement('span'); - - component_icon.className = 'satus-button__icon'; - component_icon.innerHTML = element.icon; - - component.appendChild(component_icon); - } - - if (Satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-button__label'; - component_label.innerText = Satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - return component; -}; -/*-------------------------------------------------------------- ->>> COLOR PICKER ---------------------------------------------------------------*/ - -Satus.components.colorPicker = function(element) { - var component = document.createElement('div'), - component_value = document.createElement('div'); - - element.class = 'satus-button'; - component_value.className = 'satus-color-picker__value'; - component_value.style.backgroundColor = Satus.storage.get(element.storage_key) || element.value || ''; - - if (Satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-button__label'; - component_label.innerText = Satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - component.addEventListener('click', function() { - var component = document.createElement('div'), - component_canvas = document.createElement('canvas'), - close = document.createElement('button'), - ctx = component_canvas.getContext('2d'), - image = new Image(), - dialog = Satus.components.dialog({}); - - close.className = 'satus-button'; - close.innerHTML = ''; - close.onclick = function() { - dialog.querySelector('.satus-dialog__scrim').click(); - }; - - dialog.className = 'satus-dialog satus-dialog--color-picker'; - - component_canvas.width = 200; - component_canvas.height = 200; - - function select(event) { - var coordinates = component_canvas.getBoundingClientRect(), - x = event.clientX - coordinates.left, - y = event.clientY - coordinates.top, - color = ctx.getImageData(x, y, 1, 1).data; - - component_value.style.backgroundColor = 'rgb(' + color[0] + ',' + color[1] + ',' + color[2] + ')'; - - Satus.storage.set(element.storage_key, component_value.style.backgroundColor); - } - - function mouseup(event) { - component_canvas.removeEventListener('mousemove', select); - window.removeEventListener('mouseup', mouseup); - } - - component_canvas.addEventListener('mousedown', function() { - select(event); - this.addEventListener('mousemove', select); - window.addEventListener('mouseup', mouseup); - }); - - image.onload = function() { - ctx.drawImage(image, 0, 0); - - image.remove(); - }; - - image.src = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNzAgMjcwIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgaWQ9ImEiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvcmFkaWFsR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIHN0cm9rZS13aWR0aD0iMTMzIiBjbGFzcz0iSXJvV2hlZWxIdWUiPjxwYXRoIHN0cm9rZT0iaHNsKDI0MCwgMTAwJSwgNTAlKSIgZD0iTTIwMS40NzcgMTM2Ljc0YTY2LjUgNjYuNSAwIDAwLjAyMy0xLjc0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjQxLCAxMDAlLCA1MCUpIiBkPSJNMjAxLjQzNyAxMzcuOWE2Ni41IDY2LjUgMCAwMC4wNTMtMS43NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI0MiwgMTAwJSwgNTAlKSIgZD0iTTIwMS4zNzYgMTM5LjA2YTY2LjUgNjYuNSAwIDAwLjA4My0xLjc0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjQzLCAxMDAlLCA1MCUpIiBkPSJNMjAxLjI5NSAxNDAuMjE4YTY2LjUgNjYuNSAwIDAwLjExNC0xLjczOCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI0NCwgMTAwJSwgNTAlKSIgZD0iTTIwMS4xOTQgMTQxLjM3NGE2Ni41IDY2LjUgMCAwMC4xNDQtMS43MzUiLz48cGF0aCBzdHJva2U9ImhzbCgyNDUsIDEwMCUsIDUwJSkiIGQ9Ik0yMDEuMDczIDE0Mi41MjhhNjYuNSA2Ni41IDAgMDAuMTc0LTEuNzMyIi8+PHBhdGggc3Ryb2tlPSJoc2woMjQ2LCAxMDAlLCA1MCUpIiBkPSJNMjAwLjkzMSAxNDMuNjhhNjYuNSA2Ni41IDAgMDAuMjA1LTEuNzI5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjQ3LCAxMDAlLCA1MCUpIiBkPSJNMjAwLjc3IDE0NC44M2E2Ni41IDY2LjUgMCAwMC4yMzQtMS43MjYiLz48cGF0aCBzdHJva2U9ImhzbCgyNDgsIDEwMCUsIDUwJSkiIGQ9Ik0yMDAuNTg4IDE0NS45NzZhNjYuNSA2Ni41IDAgMDAuMjY1LTEuNzIxIi8+PHBhdGggc3Ryb2tlPSJoc2woMjQ5LCAxMDAlLCA1MCUpIiBkPSJNMjAwLjM4NiAxNDcuMTE5YTY2LjUgNjYuNSAwIDAwLjI5NS0xLjcxNiIvPjxwYXRoIHN0cm9rZT0iaHNsKDI1MCwgMTAwJSwgNTAlKSIgZD0iTTIwMC4xNjUgMTQ4LjI1OGE2Ni41IDY2LjUgMCAwMC4zMjUtMS43MSIvPjxwYXRoIHN0cm9rZT0iaHNsKDI1MSwgMTAwJSwgNTAlKSIgZD0iTTE5OS45MjQgMTQ5LjM5M2E2Ni41IDY2LjUgMCAwMC4zNTQtMS43MDQiLz48cGF0aCBzdHJva2U9ImhzbCgyNTIsIDEwMCUsIDUwJSkiIGQ9Ik0xOTkuNjYzIDE1MC41MjRhNjYuNSA2Ni41IDAgMDAuMzg0LTEuNjk4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjUzLCAxMDAlLCA1MCUpIiBkPSJNMTk5LjM4MiAxNTEuNjVhNjYuNSA2Ni41IDAgMDAuNDE0LTEuNjkiLz48cGF0aCBzdHJva2U9ImhzbCgyNTQsIDEwMCUsIDUwJSkiIGQ9Ik0xOTkuMDgxIDE1Mi43NzFhNjYuNSA2Ni41IDAgMDAuNDQ0LTEuNjgzIi8+PHBhdGggc3Ryb2tlPSJoc2woMjU1LCAxMDAlLCA1MCUpIiBkPSJNMTk4Ljc2MiAxNTMuODg3YTY2LjUgNjYuNSAwIDAwLjQ3Mi0xLjY3NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDI1NiwgMTAwJSwgNTAlKSIgZD0iTTE5OC40MjIgMTU0Ljk5N2E2Ni41IDY2LjUgMCAwMC41MDItMS42NjciLz48cGF0aCBzdHJva2U9ImhzbCgyNTcsIDEwMCUsIDUwJSkiIGQ9Ik0xOTguMDY0IDE1Ni4xYTY2LjUgNjYuNSAwIDAwLjUzLTEuNjU3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjU4LCAxMDAlLCA1MCUpIiBkPSJNMTk3LjY4NiAxNTcuMTk4YTY2LjUgNjYuNSAwIDAwLjU2LTEuNjQ4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjU5LCAxMDAlLCA1MCUpIiBkPSJNMTk3LjI4OSAxNTguMjg5YTY2LjUgNjYuNSAwIDAwLjU4OC0xLjYzOSIvPjxwYXRoIHN0cm9rZT0iaHNsKDI2MCwgMTAwJSwgNTAlKSIgZD0iTTE5Ni44NzMgMTU5LjM3MmE2Ni41IDY2LjUgMCAwMC42MTctMS42MjgiLz48cGF0aCBzdHJva2U9ImhzbCgyNjEsIDEwMCUsIDUwJSkiIGQ9Ik0xOTYuNDM4IDE2MC40NDhhNjYuNSA2Ni41IDAgMDAuNjQ1LTEuNjE3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjYyLCAxMDAlLCA1MCUpIiBkPSJNMTk1Ljk4NCAxNjEuNTE3YTY2LjUgNjYuNSAwIDAwLjY3NC0xLjYwNiIvPjxwYXRoIHN0cm9rZT0iaHNsKDI2MywgMTAwJSwgNTAlKSIgZD0iTTE5NS41MTIgMTYyLjU3N2E2Ni41IDY2LjUgMCAwMC43MDItMS41OTMiLz48cGF0aCBzdHJva2U9ImhzbCgyNjQsIDEwMCUsIDUwJSkiIGQ9Ik0xOTUuMDIyIDE2My42MjlhNjYuNSA2Ni41IDAgMDAuNzI5LTEuNTgxIi8+PHBhdGggc3Ryb2tlPSJoc2woMjY1LCAxMDAlLCA1MCUpIiBkPSJNMTk0LjUxMyAxNjQuNjcyYTY2LjUgNjYuNSAwIDAwLjc1Ni0xLjU2OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI2NiwgMTAwJSwgNTAlKSIgZD0iTTE5My45ODYgMTY1LjcwNmE2Ni41IDY2LjUgMCAwMC43ODQtMS41NTQiLz48cGF0aCBzdHJva2U9ImhzbCgyNjcsIDEwMCUsIDUwJSkiIGQ9Ik0xOTMuNDQxIDE2Ni43MzFhNjYuNSA2Ni41IDAgMDAuODEtMS41NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI2OCwgMTAwJSwgNTAlKSIgZD0iTTE5Mi44NzkgMTY3Ljc0NmE2Ni41IDY2LjUgMCAwMC44MzctMS41MjYiLz48cGF0aCBzdHJva2U9ImhzbCgyNjksIDEwMCUsIDUwJSkiIGQ9Ik0xOTIuMjk4IDE2OC43NTFhNjYuNSA2Ni41IDAgMDAuODY0LTEuNTExIi8+PHBhdGggc3Ryb2tlPSJoc2woMjcwLCAxMDAlLCA1MCUpIiBkPSJNMTkxLjcgMTY5Ljc0NmE2Ni41IDY2LjUgMCAwMC44OS0xLjQ5NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDI3MSwgMTAwJSwgNTAlKSIgZD0iTTE5MS4wODYgMTcwLjczYTY2LjUgNjYuNSAwIDAwLjkxNi0xLjQ4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjcyLCAxMDAlLCA1MCUpIiBkPSJNMTkwLjQ1MyAxNzEuNzA0YTY2LjUgNjYuNSAwIDAwLjk0Mi0xLjQ2NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI3MywgMTAwJSwgNTAlKSIgZD0iTTE4OS44MDQgMTcyLjY2NmE2Ni41IDY2LjUgMCAwMC45NjgtMS40NDgiLz48cGF0aCBzdHJva2U9ImhzbCgyNzQsIDEwMCUsIDUwJSkiIGQ9Ik0xODkuMTM5IDE3My42MTdhNjYuNSA2Ni41IDAgMDAuOTkyLTEuNDMiLz48cGF0aCBzdHJva2U9ImhzbCgyNzUsIDEwMCUsIDUwJSkiIGQ9Ik0xODguNDU2IDE3NC41NTZhNjYuNSA2Ni41IDAgMDAxLjAxOC0xLjQxMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDI3NiwgMTAwJSwgNTAlKSIgZD0iTTE4Ny43NTggMTc1LjQ4M2E2Ni41IDY2LjUgMCAwMDEuMDQyLTEuMzk1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjc3LCAxMDAlLCA1MCUpIiBkPSJNMTg3LjA0MyAxNzYuMzk3YTY2LjUgNjYuNSAwIDAwMS4wNjYtMS4zNzYiLz48cGF0aCBzdHJva2U9ImhzbCgyNzgsIDEwMCUsIDUwJSkiIGQ9Ik0xODYuMzEzIDE3Ny4zYTY2LjUgNjYuNSAwIDAwMS4wOS0xLjM1OSIvPjxwYXRoIHN0cm9rZT0iaHNsKDI3OSwgMTAwJSwgNTAlKSIgZD0iTTE4NS41NjcgMTc4LjE4OGE2Ni41IDY2LjUgMCAwMDEuMTEzLTEuMzM4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjgwLCAxMDAlLCA1MCUpIiBkPSJNMTg0LjgwNiAxNzkuMDY0YTY2LjUgNjYuNSAwIDAwMS4xMzYtMS4zMTkiLz48cGF0aCBzdHJva2U9ImhzbCgyODEsIDEwMCUsIDUwJSkiIGQ9Ik0xODQuMDI5IDE3OS45MjdhNjYuNSA2Ni41IDAgMDAxLjE2LTEuMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDI4MiwgMTAwJSwgNTAlKSIgZD0iTTE4My4yMzcgMTgwLjc3NmE2Ni41IDY2LjUgMCAwMDEuMTgyLTEuMjc5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjgzLCAxMDAlLCA1MCUpIiBkPSJNMTgyLjQzMSAxODEuNjFhNjYuNSA2Ni41IDAgMDAxLjIwNC0xLjI1NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDI4NCwgMTAwJSwgNTAlKSIgZD0iTTE4MS42MSAxODIuNDMxYTY2LjUgNjYuNSAwIDAwMS4yMjYtMS4yMzYiLz48cGF0aCBzdHJva2U9ImhzbCgyODUsIDEwMCUsIDUwJSkiIGQ9Ik0xODAuNzc2IDE4My4yMzdhNjYuNSA2Ni41IDAgMDAxLjI0Ny0xLjIxNCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI4NiwgMTAwJSwgNTAlKSIgZD0iTTE3OS45MjcgMTg0LjAyOWE2Ni41IDY2LjUgMCAwMDEuMjY4LTEuMTkzIi8+PHBhdGggc3Ryb2tlPSJoc2woMjg3LCAxMDAlLCA1MCUpIiBkPSJNMTc5LjA2NCAxODQuODA2YTY2LjUgNjYuNSAwIDAwMS4yODktMS4xNzEiLz48cGF0aCBzdHJva2U9ImhzbCgyODgsIDEwMCUsIDUwJSkiIGQ9Ik0xNzguMTg4IDE4NS41NjdhNjYuNSA2Ni41IDAgMDAxLjMxLTEuMTQ4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjg5LCAxMDAlLCA1MCUpIiBkPSJNMTc3LjMgMTg2LjMxM2E2Ni41IDY2LjUgMCAwMDEuMzI4LTEuMTI1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjkwLCAxMDAlLCA1MCUpIiBkPSJNMTc2LjM5NyAxODcuMDQzYTY2LjUgNjYuNSAwIDAwMS4zNDgtMS4xMDEiLz48cGF0aCBzdHJva2U9ImhzbCgyOTEsIDEwMCUsIDUwJSkiIGQ9Ik0xNzUuNDgzIDE4Ny43NThhNjYuNSA2Ni41IDAgMDAxLjM2Ny0xLjA3OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDI5MiwgMTAwJSwgNTAlKSIgZD0iTTE3NC41NTYgMTg4LjQ1NmE2Ni41IDY2LjUgMCAwMDEuMzg1LTEuMDUzIi8+PHBhdGggc3Ryb2tlPSJoc2woMjkzLCAxMDAlLCA1MCUpIiBkPSJNMTczLjYxNyAxODkuMTM5YTY2LjUgNjYuNSAwIDAwMS40MDQtMS4wMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDI5NCwgMTAwJSwgNTAlKSIgZD0iTTE3Mi42NjYgMTg5LjgwNGE2Ni41IDY2LjUgMCAwMDEuNDIyLTEuMDA0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjk1LCAxMDAlLCA1MCUpIiBkPSJNMTcxLjcwNCAxOTAuNDUzYTY2LjUgNjYuNSAwIDAwMS40MzktLjk4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjk2LCAxMDAlLCA1MCUpIiBkPSJNMTcwLjczIDE5MS4wODZhNjYuNSA2Ni41IDAgMDAxLjQ1Ni0uOTU1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjk3LCAxMDAlLCA1MCUpIiBkPSJNMTY5Ljc0NiAxOTEuN2E2Ni41IDY2LjUgMCAwMDEuNDcyLS45MjgiLz48cGF0aCBzdHJva2U9ImhzbCgyOTgsIDEwMCUsIDUwJSkiIGQ9Ik0xNjguNzUxIDE5Mi4yOThhNjYuNSA2Ni41IDAgMDAxLjQ4OS0uOTAzIi8+PHBhdGggc3Ryb2tlPSJoc2woMjk5LCAxMDAlLCA1MCUpIiBkPSJNMTY3Ljc0NiAxOTIuODc5YTY2LjUgNjYuNSAwIDAwMS41MDQtLjg3NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDMwMCwgMTAwJSwgNTAlKSIgZD0iTTE2Ni43MzEgMTkzLjQ0MWE2Ni41IDY2LjUgMCAwMDEuNTE5LS44NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDMwMSwgMTAwJSwgNTAlKSIgZD0iTTE2NS43MDYgMTkzLjk4NmE2Ni41IDY2LjUgMCAwMDEuNTM0LS44MjQiLz48cGF0aCBzdHJva2U9ImhzbCgzMDIsIDEwMCUsIDUwJSkiIGQ9Ik0xNjQuNjcyIDE5NC41MTNhNjYuNSA2Ni41IDAgMDAxLjU0OC0uNzk3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzAzLCAxMDAlLCA1MCUpIiBkPSJNMTYzLjYyOSAxOTUuMDIyYTY2LjUgNjYuNSAwIDAwMS41NjEtLjc3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzA0LCAxMDAlLCA1MCUpIiBkPSJNMTYyLjU3NyAxOTUuNTEyYTY2LjUgNjYuNSAwIDAwMS41NzUtLjc0MiIvPjxwYXRoIHN0cm9rZT0iaHNsKDMwNSwgMTAwJSwgNTAlKSIgZD0iTTE2MS41MTcgMTk1Ljk4NGE2Ni41IDY2LjUgMCAwMDEuNTg3LS43MTUiLz48cGF0aCBzdHJva2U9ImhzbCgzMDYsIDEwMCUsIDUwJSkiIGQ9Ik0xNjAuNDQ4IDE5Ni40MzhhNjYuNSA2Ni41IDAgMDAxLjYtLjY4NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDMwNywgMTAwJSwgNTAlKSIgZD0iTTE1OS4zNzIgMTk2Ljg3M2E2Ni41IDY2LjUgMCAwMDEuNjEyLS42NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDMwOCwgMTAwJSwgNTAlKSIgZD0iTTE1OC4yODkgMTk3LjI4OWE2Ni41IDY2LjUgMCAwMDEuNjIyLS42MzEiLz48cGF0aCBzdHJva2U9ImhzbCgzMDksIDEwMCUsIDUwJSkiIGQ9Ik0xNTcuMTk4IDE5Ny42ODZhNjYuNSA2Ni41IDAgMDAxLjYzMy0uNjAzIi8+PHBhdGggc3Ryb2tlPSJoc2woMzEwLCAxMDAlLCA1MCUpIiBkPSJNMTU2LjEgMTk4LjA2NGE2Ni41IDY2LjUgMCAwMDEuNjQ0LS41NzQiLz48cGF0aCBzdHJva2U9ImhzbCgzMTEsIDEwMCUsIDUwJSkiIGQ9Ik0xNTQuOTk3IDE5OC40MjJhNjYuNSA2Ni41IDAgMDAxLjY1My0uNTQ1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzEyLCAxMDAlLCA1MCUpIiBkPSJNMTUzLjg4NyAxOTguNzYyYTY2LjUgNjYuNSAwIDAwMS42NjMtLjUxNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDMxMywgMTAwJSwgNTAlKSIgZD0iTTE1Mi43NzEgMTk5LjA4MWE2Ni41IDY2LjUgMCAwMDEuNjcyLS40ODciLz48cGF0aCBzdHJva2U9ImhzbCgzMTQsIDEwMCUsIDUwJSkiIGQ9Ik0xNTEuNjUgMTk5LjM4MmE2Ni41IDY2LjUgMCAwMDEuNjgtLjQ1OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDMxNSwgMTAwJSwgNTAlKSIgZD0iTTE1MC41MjQgMTk5LjY2M2E2Ni41IDY2LjUgMCAwMDEuNjg3LS40MjkiLz48cGF0aCBzdHJva2U9ImhzbCgzMTYsIDEwMCUsIDUwJSkiIGQ9Ik0xNDkuMzkzIDE5OS45MjRhNjYuNSA2Ni41IDAgMDAxLjY5NS0uNCIvPjxwYXRoIHN0cm9rZT0iaHNsKDMxNywgMTAwJSwgNTAlKSIgZD0iTTE0OC4yNTggMjAwLjE2NWE2Ni41IDY2LjUgMCAwMDEuNzAxLS4zNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDMxOCwgMTAwJSwgNTAlKSIgZD0iTTE0Ny4xMTkgMjAwLjM4NmE2Ni41IDY2LjUgMCAwMDEuNzA3LS4zNCIvPjxwYXRoIHN0cm9rZT0iaHNsKDMxOSwgMTAwJSwgNTAlKSIgZD0iTTE0NS45NzYgMjAwLjU4OGE2Ni41IDY2LjUgMCAwMDEuNzEzLS4zMSIvPjxwYXRoIHN0cm9rZT0iaHNsKDMyMCwgMTAwJSwgNTAlKSIgZD0iTTE0NC44MyAyMDAuNzdhNjYuNSA2Ni41IDAgMDAxLjcxOC0uMjgiLz48cGF0aCBzdHJva2U9ImhzbCgzMjEsIDEwMCUsIDUwJSkiIGQ9Ik0xNDMuNjggMjAwLjkzMWE2Ni41IDY2LjUgMCAwMDEuNzIzLS4yNSIvPjxwYXRoIHN0cm9rZT0iaHNsKDMyMiwgMTAwJSwgNTAlKSIgZD0iTTE0Mi41MjggMjAxLjA3M2E2Ni41IDY2LjUgMCAwMDEuNzI3LS4yMiIvPjxwYXRoIHN0cm9rZT0iaHNsKDMyMywgMTAwJSwgNTAlKSIgZD0iTTE0MS4zNzQgMjAxLjE5NGE2Ni41IDY2LjUgMCAwMDEuNzMtLjE5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzI0LCAxMDAlLCA1MCUpIiBkPSJNMTQwLjIxOCAyMDEuMjk1YTY2LjUgNjYuNSAwIDAwMS43MzMtLjE2Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzI1LCAxMDAlLCA1MCUpIiBkPSJNMTM5LjA2IDIwMS4zNzZhNjYuNSA2Ni41IDAgMDAxLjczNi0uMTMiLz48cGF0aCBzdHJva2U9ImhzbCgzMjYsIDEwMCUsIDUwJSkiIGQ9Ik0xMzcuOSAyMDEuNDM3YTY2LjUgNjYuNSAwIDAwMS43MzktLjA5OSIvPjxwYXRoIHN0cm9rZT0iaHNsKDMyNywgMTAwJSwgNTAlKSIgZD0iTTEzNi43NCAyMDEuNDc3YTY2LjUgNjYuNSAwIDAwMS43NC0uMDY4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzI4LCAxMDAlLCA1MCUpIiBkPSJNMTM1LjU4IDIwMS40OTdhNjYuNSA2Ni41IDAgMDAxLjc0LS4wMzgiLz48cGF0aCBzdHJva2U9ImhzbCgzMjksIDEwMCUsIDUwJSkiIGQ9Ik0xMzQuNDIgMjAxLjQ5N2E2Ni41IDY2LjUgMCAwMDEuNzQtLjAwNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDMzMCwgMTAwJSwgNTAlKSIgZD0iTTEzMy4yNiAyMDEuNDc3YTY2LjUgNjYuNSAwIDAwMS43NC4wMjMiLz48cGF0aCBzdHJva2U9ImhzbCgzMzEsIDEwMCUsIDUwJSkiIGQ9Ik0xMzIuMSAyMDEuNDM3YTY2LjUgNjYuNSAwIDAwMS43NC4wNTMiLz48cGF0aCBzdHJva2U9ImhzbCgzMzIsIDEwMCUsIDUwJSkiIGQ9Ik0xMzAuOTQgMjAxLjM3NmE2Ni41IDY2LjUgMCAwMDEuNzQuMDgzIi8+PHBhdGggc3Ryb2tlPSJoc2woMzMzLCAxMDAlLCA1MCUpIiBkPSJNMTI5Ljc4MiAyMDEuMjk1YTY2LjUgNjYuNSAwIDAwMS43MzguMTE0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzM0LCAxMDAlLCA1MCUpIiBkPSJNMTI4LjYyNiAyMDEuMTk0YTY2LjUgNjYuNSAwIDAwMS43MzUuMTQ0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzM1LCAxMDAlLCA1MCUpIiBkPSJNMTI3LjQ3MiAyMDEuMDczYTY2LjUgNjYuNSAwIDAwMS43MzIuMTc0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzM2LCAxMDAlLCA1MCUpIiBkPSJNMTI2LjMyIDIwMC45MzFhNjYuNSA2Ni41IDAgMDAxLjcyOS4yMDUiLz48cGF0aCBzdHJva2U9ImhzbCgzMzcsIDEwMCUsIDUwJSkiIGQ9Ik0xMjUuMTcgMjAwLjc3YTY2LjUgNjYuNSAwIDAwMS43MjYuMjM0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzM4LCAxMDAlLCA1MCUpIiBkPSJNMTI0LjAyNCAyMDAuNTg4YTY2LjUgNjYuNSAwIDAwMS43MjEuMjY1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzM5LCAxMDAlLCA1MCUpIiBkPSJNMTIyLjg4MSAyMDAuMzg2YTY2LjUgNjYuNSAwIDAwMS43MTYuMjk1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzQwLCAxMDAlLCA1MCUpIiBkPSJNMTIxLjc0MiAyMDAuMTY1YTY2LjUgNjYuNSAwIDAwMS43MS4zMjUiLz48cGF0aCBzdHJva2U9ImhzbCgzNDEsIDEwMCUsIDUwJSkiIGQ9Ik0xMjAuNjA3IDE5OS45MjRhNjYuNSA2Ni41IDAgMDAxLjcwNC4zNTQiLz48cGF0aCBzdHJva2U9ImhzbCgzNDIsIDEwMCUsIDUwJSkiIGQ9Ik0xMTkuNDc2IDE5OS42NjNhNjYuNSA2Ni41IDAgMDAxLjY5OC4zODQiLz48cGF0aCBzdHJva2U9ImhzbCgzNDMsIDEwMCUsIDUwJSkiIGQ9Ik0xMTguMzUgMTk5LjM4MmE2Ni41IDY2LjUgMCAwMDEuNjkuNDE0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzQ0LCAxMDAlLCA1MCUpIiBkPSJNMTE3LjIyOSAxOTkuMDgxYTY2LjUgNjYuNSAwIDAwMS42ODMuNDQ0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzQ1LCAxMDAlLCA1MCUpIiBkPSJNMTE2LjExMyAxOTguNzYyYTY2LjUgNjYuNSAwIDAwMS42NzYuNDcyIi8+PHBhdGggc3Ryb2tlPSJoc2woMzQ2LCAxMDAlLCA1MCUpIiBkPSJNMTE1LjAwMyAxOTguNDIyYTY2LjUgNjYuNSAwIDAwMS42NjcuNTAyIi8+PHBhdGggc3Ryb2tlPSJoc2woMzQ3LCAxMDAlLCA1MCUpIiBkPSJNMTEzLjkgMTk4LjA2NGE2Ni41IDY2LjUgMCAwMDEuNjU3LjUzIi8+PHBhdGggc3Ryb2tlPSJoc2woMzQ4LCAxMDAlLCA1MCUpIiBkPSJNMTEyLjgwMiAxOTcuNjg2YTY2LjUgNjYuNSAwIDAwMS42NDguNTYiLz48cGF0aCBzdHJva2U9ImhzbCgzNDksIDEwMCUsIDUwJSkiIGQ9Ik0xMTEuNzExIDE5Ny4yODlhNjYuNSA2Ni41IDAgMDAxLjYzOS41ODgiLz48cGF0aCBzdHJva2U9ImhzbCgzNTAsIDEwMCUsIDUwJSkiIGQ9Ik0xMTAuNjI4IDE5Ni44NzNhNjYuNSA2Ni41IDAgMDAxLjYyOC42MTciLz48cGF0aCBzdHJva2U9ImhzbCgzNTEsIDEwMCUsIDUwJSkiIGQ9Ik0xMDkuNTUyIDE5Ni40MzhhNjYuNSA2Ni41IDAgMDAxLjYxNy42NDUiLz48cGF0aCBzdHJva2U9ImhzbCgzNTIsIDEwMCUsIDUwJSkiIGQ9Ik0xMDguNDgzIDE5NS45ODRhNjYuNSA2Ni41IDAgMDAxLjYwNi42NzQiLz48cGF0aCBzdHJva2U9ImhzbCgzNTMsIDEwMCUsIDUwJSkiIGQ9Ik0xMDcuNDIzIDE5NS41MTJhNjYuNSA2Ni41IDAgMDAxLjU5My43MDIiLz48cGF0aCBzdHJva2U9ImhzbCgzNTQsIDEwMCUsIDUwJSkiIGQ9Ik0xMDYuMzcxIDE5NS4wMjJhNjYuNSA2Ni41IDAgMDAxLjU4MS43MjkiLz48cGF0aCBzdHJva2U9ImhzbCgzNTUsIDEwMCUsIDUwJSkiIGQ9Ik0xMDUuMzI4IDE5NC41MTNhNjYuNSA2Ni41IDAgMDAxLjU2OC43NTYiLz48cGF0aCBzdHJva2U9ImhzbCgzNTYsIDEwMCUsIDUwJSkiIGQ9Ik0xMDQuMjk0IDE5My45ODZhNjYuNSA2Ni41IDAgMDAxLjU1NC43ODQiLz48cGF0aCBzdHJva2U9ImhzbCgzNTcsIDEwMCUsIDUwJSkiIGQ9Ik0xMDMuMjY5IDE5My40NDFhNjYuNSA2Ni41IDAgMDAxLjU0LjgxIi8+PHBhdGggc3Ryb2tlPSJoc2woMzU4LCAxMDAlLCA1MCUpIiBkPSJNMTAyLjI1NCAxOTIuODc5YTY2LjUgNjYuNSAwIDAwMS41MjYuODM3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzU5LCAxMDAlLCA1MCUpIiBkPSJNMTAxLjI0OSAxOTIuMjk4YTY2LjUgNjYuNSAwIDAwMS41MTEuODY0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMCwgMTAwJSwgNTAlKSIgZD0iTTEwMC4yNTQgMTkxLjdhNjYuNSA2Ni41IDAgMDAxLjQ5Ni44OSIvPjxwYXRoIHN0cm9rZT0iaHNsKDEsIDEwMCUsIDUwJSkiIGQ9Ik05OS4yNyAxOTEuMDg2YTY2LjUgNjYuNSAwIDAwMS40OC45MTYiLz48cGF0aCBzdHJva2U9ImhzbCgyLCAxMDAlLCA1MCUpIiBkPSJNOTguMjk2IDE5MC40NTNhNjYuNSA2Ni41IDAgMDAxLjQ2NC45NDIiLz48cGF0aCBzdHJva2U9ImhzbCgzLCAxMDAlLCA1MCUpIiBkPSJNOTcuMzM0IDE4OS44MDRhNjYuNSA2Ni41IDAgMDAxLjQ0OC45NjgiLz48cGF0aCBzdHJva2U9ImhzbCg0LCAxMDAlLCA1MCUpIiBkPSJNOTYuMzgzIDE4OS4xMzlhNjYuNSA2Ni41IDAgMDAxLjQzLjk5MiIvPjxwYXRoIHN0cm9rZT0iaHNsKDUsIDEwMCUsIDUwJSkiIGQ9Ik05NS40NDQgMTg4LjQ1NmE2Ni41IDY2LjUgMCAwMDEuNDEzIDEuMDE4Ii8+PHBhdGggc3Ryb2tlPSJoc2woNiwgMTAwJSwgNTAlKSIgZD0iTTk0LjUxNyAxODcuNzU4YTY2LjUgNjYuNSAwIDAwMS4zOTUgMS4wNDIiLz48cGF0aCBzdHJva2U9ImhzbCg3LCAxMDAlLCA1MCUpIiBkPSJNOTMuNjAzIDE4Ny4wNDNhNjYuNSA2Ni41IDAgMDAxLjM3NiAxLjA2NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDgsIDEwMCUsIDUwJSkiIGQ9Ik05Mi43IDE4Ni4zMTNhNjYuNSA2Ni41IDAgMDAxLjM1OSAxLjA5Ii8+PHBhdGggc3Ryb2tlPSJoc2woOSwgMTAwJSwgNTAlKSIgZD0iTTkxLjgxMiAxODUuNTY3YTY2LjUgNjYuNSAwIDAwMS4zMzggMS4xMTMiLz48cGF0aCBzdHJva2U9ImhzbCgxMCwgMTAwJSwgNTAlKSIgZD0iTTkwLjkzNiAxODQuODA2YTY2LjUgNjYuNSAwIDAwMS4zMTkgMS4xMzYiLz48cGF0aCBzdHJva2U9ImhzbCgxMSwgMTAwJSwgNTAlKSIgZD0iTTkwLjA3MyAxODQuMDI5YTY2LjUgNjYuNSAwIDAwMS4zIDEuMTYiLz48cGF0aCBzdHJva2U9ImhzbCgxMiwgMTAwJSwgNTAlKSIgZD0iTTg5LjIyNCAxODMuMjM3YTY2LjUgNjYuNSAwIDAwMS4yNzkgMS4xODIiLz48cGF0aCBzdHJva2U9ImhzbCgxMywgMTAwJSwgNTAlKSIgZD0iTTg4LjM5IDE4Mi40MzFhNjYuNSA2Ni41IDAgMDAxLjI1NyAxLjIwNCIvPjxwYXRoIHN0cm9rZT0iaHNsKDE0LCAxMDAlLCA1MCUpIiBkPSJNODcuNTY5IDE4MS42MWE2Ni41IDY2LjUgMCAwMDEuMjM2IDEuMjI2Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTUsIDEwMCUsIDUwJSkiIGQ9Ik04Ni43NjMgMTgwLjc3NmE2Ni41IDY2LjUgMCAwMDEuMjE0IDEuMjQ3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTYsIDEwMCUsIDUwJSkiIGQ9Ik04NS45NzEgMTc5LjkyN2E2Ni41IDY2LjUgMCAwMDEuMTkzIDEuMjY4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTcsIDEwMCUsIDUwJSkiIGQ9Ik04NS4xOTQgMTc5LjA2NGE2Ni41IDY2LjUgMCAwMDEuMTcxIDEuMjg5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTgsIDEwMCUsIDUwJSkiIGQ9Ik04NC40MzMgMTc4LjE4OGE2Ni41IDY2LjUgMCAwMDEuMTQ4IDEuMzEiLz48cGF0aCBzdHJva2U9ImhzbCgxOSwgMTAwJSwgNTAlKSIgZD0iTTgzLjY4NyAxNzcuM2E2Ni41IDY2LjUgMCAwMDEuMTI1IDEuMzI4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjAsIDEwMCUsIDUwJSkiIGQ9Ik04Mi45NTcgMTc2LjM5N2E2Ni41IDY2LjUgMCAwMDEuMTAxIDEuMzQ4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjEsIDEwMCUsIDUwJSkiIGQ9Ik04Mi4yNDIgMTc1LjQ4M2E2Ni41IDY2LjUgMCAwMDEuMDc4IDEuMzY3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjIsIDEwMCUsIDUwJSkiIGQ9Ik04MS41NDQgMTc0LjU1NmE2Ni41IDY2LjUgMCAwMDEuMDUzIDEuMzg1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjMsIDEwMCUsIDUwJSkiIGQ9Ik04MC44NjEgMTczLjYxN2E2Ni41IDY2LjUgMCAwMDEuMDMgMS40MDQiLz48cGF0aCBzdHJva2U9ImhzbCgyNCwgMTAwJSwgNTAlKSIgZD0iTTgwLjE5NiAxNzIuNjY2YTY2LjUgNjYuNSAwIDAwMS4wMDQgMS40MjIiLz48cGF0aCBzdHJva2U9ImhzbCgyNSwgMTAwJSwgNTAlKSIgZD0iTTc5LjU0NyAxNzEuNzA0YTY2LjUgNjYuNSAwIDAwLjk4IDEuNDM5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjYsIDEwMCUsIDUwJSkiIGQ9Ik03OC45MTQgMTcwLjczYTY2LjUgNjYuNSAwIDAwLjk1NSAxLjQ1NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDI3LCAxMDAlLCA1MCUpIiBkPSJNNzguMyAxNjkuNzQ2YTY2LjUgNjYuNSAwIDAwLjkyOCAxLjQ3MiIvPjxwYXRoIHN0cm9rZT0iaHNsKDI4LCAxMDAlLCA1MCUpIiBkPSJNNzcuNzAyIDE2OC43NTFhNjYuNSA2Ni41IDAgMDAuOTAzIDEuNDg5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjksIDEwMCUsIDUwJSkiIGQ9Ik03Ny4xMjEgMTY3Ljc0NmE2Ni41IDY2LjUgMCAwMC44NzcgMS41MDQiLz48cGF0aCBzdHJva2U9ImhzbCgzMCwgMTAwJSwgNTAlKSIgZD0iTTc2LjU1OSAxNjYuNzMxYTY2LjUgNjYuNSAwIDAwLjg1IDEuNTE5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzEsIDEwMCUsIDUwJSkiIGQ9Ik03Ni4wMTQgMTY1LjcwNmE2Ni41IDY2LjUgMCAwMC44MjQgMS41MzQiLz48cGF0aCBzdHJva2U9ImhzbCgzMiwgMTAwJSwgNTAlKSIgZD0iTTc1LjQ4NyAxNjQuNjcyYTY2LjUgNjYuNSAwIDAwLjc5NyAxLjU0OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDMzLCAxMDAlLCA1MCUpIiBkPSJNNzQuOTc4IDE2My42MjlhNjYuNSA2Ni41IDAgMDAuNzcgMS41NjEiLz48cGF0aCBzdHJva2U9ImhzbCgzNCwgMTAwJSwgNTAlKSIgZD0iTTc0LjQ4OCAxNjIuNTc3YTY2LjUgNjYuNSAwIDAwLjc0MiAxLjU3NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDM1LCAxMDAlLCA1MCUpIiBkPSJNNzQuMDE2IDE2MS41MTdhNjYuNSA2Ni41IDAgMDAuNzE1IDEuNTg3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzYsIDEwMCUsIDUwJSkiIGQ9Ik03My41NjIgMTYwLjQ0OGE2Ni41IDY2LjUgMCAwMC42ODcgMS42Ii8+PHBhdGggc3Ryb2tlPSJoc2woMzcsIDEwMCUsIDUwJSkiIGQ9Ik03My4xMjcgMTU5LjM3MmE2Ni41IDY2LjUgMCAwMC42NiAxLjYxMiIvPjxwYXRoIHN0cm9rZT0iaHNsKDM4LCAxMDAlLCA1MCUpIiBkPSJNNzIuNzExIDE1OC4yODlhNjYuNSA2Ni41IDAgMDAuNjMxIDEuNjIyIi8+PHBhdGggc3Ryb2tlPSJoc2woMzksIDEwMCUsIDUwJSkiIGQ9Ik03Mi4zMTQgMTU3LjE5OGE2Ni41IDY2LjUgMCAwMC42MDMgMS42MzMiLz48cGF0aCBzdHJva2U9ImhzbCg0MCwgMTAwJSwgNTAlKSIgZD0iTTcxLjkzNiAxNTYuMWE2Ni41IDY2LjUgMCAwMC41NzQgMS42NDQiLz48cGF0aCBzdHJva2U9ImhzbCg0MSwgMTAwJSwgNTAlKSIgZD0iTTcxLjU3OCAxNTQuOTk3YTY2LjUgNjYuNSAwIDAwLjU0NSAxLjY1MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDQyLCAxMDAlLCA1MCUpIiBkPSJNNzEuMjM4IDE1My44ODdhNjYuNSA2Ni41IDAgMDAuNTE3IDEuNjYzIi8+PHBhdGggc3Ryb2tlPSJoc2woNDMsIDEwMCUsIDUwJSkiIGQ9Ik03MC45MTkgMTUyLjc3MWE2Ni41IDY2LjUgMCAwMC40ODcgMS42NzIiLz48cGF0aCBzdHJva2U9ImhzbCg0NCwgMTAwJSwgNTAlKSIgZD0iTTcwLjYxOCAxNTEuNjVhNjYuNSA2Ni41IDAgMDAuNDU4IDEuNjgiLz48cGF0aCBzdHJva2U9ImhzbCg0NSwgMTAwJSwgNTAlKSIgZD0iTTcwLjMzNyAxNTAuNTI0YTY2LjUgNjYuNSAwIDAwLjQyOSAxLjY4NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDQ2LCAxMDAlLCA1MCUpIiBkPSJNNzAuMDc2IDE0OS4zOTNhNjYuNSA2Ni41IDAgMDAuNCAxLjY5NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDQ3LCAxMDAlLCA1MCUpIiBkPSJNNjkuODM1IDE0OC4yNThhNjYuNSA2Ni41IDAgMDAuMzcgMS43MDEiLz48cGF0aCBzdHJva2U9ImhzbCg0OCwgMTAwJSwgNTAlKSIgZD0iTTY5LjYxNCAxNDcuMTE5YTY2LjUgNjYuNSAwIDAwLjM0IDEuNzA3Ii8+PHBhdGggc3Ryb2tlPSJoc2woNDksIDEwMCUsIDUwJSkiIGQ9Ik02OS40MTIgMTQ1Ljk3NmE2Ni41IDY2LjUgMCAwMC4zMSAxLjcxMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDUwLCAxMDAlLCA1MCUpIiBkPSJNNjkuMjMgMTQ0LjgzYTY2LjUgNjYuNSAwIDAwLjI4IDEuNzE4Ii8+PHBhdGggc3Ryb2tlPSJoc2woNTEsIDEwMCUsIDUwJSkiIGQ9Ik02OS4wNjkgMTQzLjY4YTY2LjUgNjYuNSAwIDAwLjI1IDEuNzIzIi8+PHBhdGggc3Ryb2tlPSJoc2woNTIsIDEwMCUsIDUwJSkiIGQ9Ik02OC45MjcgMTQyLjUyOGE2Ni41IDY2LjUgMCAwMC4yMiAxLjcyNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDUzLCAxMDAlLCA1MCUpIiBkPSJNNjguODA2IDE0MS4zNzRhNjYuNSA2Ni41IDAgMDAuMTkgMS43MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDU0LCAxMDAlLCA1MCUpIiBkPSJNNjguNzA1IDE0MC4yMThhNjYuNSA2Ni41IDAgMDAuMTYgMS43MzMiLz48cGF0aCBzdHJva2U9ImhzbCg1NSwgMTAwJSwgNTAlKSIgZD0iTTY4LjYyNCAxMzkuMDZhNjYuNSA2Ni41IDAgMDAuMTMgMS43MzYiLz48cGF0aCBzdHJva2U9ImhzbCg1NiwgMTAwJSwgNTAlKSIgZD0iTTY4LjU2MyAxMzcuOWE2Ni41IDY2LjUgMCAwMC4wOTkgMS43MzkiLz48cGF0aCBzdHJva2U9ImhzbCg1NywgMTAwJSwgNTAlKSIgZD0iTTY4LjUyMyAxMzYuNzRhNjYuNSA2Ni41IDAgMDAuMDY4IDEuNzQiLz48cGF0aCBzdHJva2U9ImhzbCg1OCwgMTAwJSwgNTAlKSIgZD0iTTY4LjUwMyAxMzUuNThhNjYuNSA2Ni41IDAgMDAuMDM4IDEuNzQiLz48cGF0aCBzdHJva2U9ImhzbCg1OSwgMTAwJSwgNTAlKSIgZD0iTTY4LjUwMyAxMzQuNDJhNjYuNSA2Ni41IDAgMDAuMDA3IDEuNzQiLz48cGF0aCBzdHJva2U9ImhzbCg2MCwgMTAwJSwgNTAlKSIgZD0iTTY4LjUyMyAxMzMuMjZBNjYuNSA2Ni41IDAgMDA2OC41IDEzNSIvPjxwYXRoIHN0cm9rZT0iaHNsKDYxLCAxMDAlLCA1MCUpIiBkPSJNNjguNTYzIDEzMi4xYTY2LjUgNjYuNSAwIDAwLS4wNTMgMS43NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDYyLCAxMDAlLCA1MCUpIiBkPSJNNjguNjI0IDEzMC45NGE2Ni41IDY2LjUgMCAwMC0uMDgzIDEuNzQiLz48cGF0aCBzdHJva2U9ImhzbCg2MywgMTAwJSwgNTAlKSIgZD0iTTY4LjcwNSAxMjkuNzgyYTY2LjUgNjYuNSAwIDAwLS4xMTQgMS43MzgiLz48cGF0aCBzdHJva2U9ImhzbCg2NCwgMTAwJSwgNTAlKSIgZD0iTTY4LjgwNiAxMjguNjI2YTY2LjUgNjYuNSAwIDAwLS4xNDQgMS43MzUiLz48cGF0aCBzdHJva2U9ImhzbCg2NSwgMTAwJSwgNTAlKSIgZD0iTTY4LjkyNyAxMjcuNDcyYTY2LjUgNjYuNSAwIDAwLS4xNzQgMS43MzIiLz48cGF0aCBzdHJva2U9ImhzbCg2NiwgMTAwJSwgNTAlKSIgZD0iTTY5LjA2OSAxMjYuMzJhNjYuNSA2Ni41IDAgMDAtLjIwNSAxLjcyOSIvPjxwYXRoIHN0cm9rZT0iaHNsKDY3LCAxMDAlLCA1MCUpIiBkPSJNNjkuMjMgMTI1LjE3YTY2LjUgNjYuNSAwIDAwLS4yMzQgMS43MjYiLz48cGF0aCBzdHJva2U9ImhzbCg2OCwgMTAwJSwgNTAlKSIgZD0iTTY5LjQxMiAxMjQuMDI0YTY2LjUgNjYuNSAwIDAwLS4yNjUgMS43MjEiLz48cGF0aCBzdHJva2U9ImhzbCg2OSwgMTAwJSwgNTAlKSIgZD0iTTY5LjYxNCAxMjIuODgxYTY2LjUgNjYuNSAwIDAwLS4yOTUgMS43MTYiLz48cGF0aCBzdHJva2U9ImhzbCg3MCwgMTAwJSwgNTAlKSIgZD0iTTY5LjgzNSAxMjEuNzQyYTY2LjUgNjYuNSAwIDAwLS4zMjUgMS43MSIvPjxwYXRoIHN0cm9rZT0iaHNsKDcxLCAxMDAlLCA1MCUpIiBkPSJNNzAuMDc2IDEyMC42MDdhNjYuNSA2Ni41IDAgMDAtLjM1NCAxLjcwNCIvPjxwYXRoIHN0cm9rZT0iaHNsKDcyLCAxMDAlLCA1MCUpIiBkPSJNNzAuMzM3IDExOS40NzZhNjYuNSA2Ni41IDAgMDAtLjM4NCAxLjY5OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDczLCAxMDAlLCA1MCUpIiBkPSJNNzAuNjE4IDExOC4zNWE2Ni41IDY2LjUgMCAwMC0uNDE0IDEuNjkiLz48cGF0aCBzdHJva2U9ImhzbCg3NCwgMTAwJSwgNTAlKSIgZD0iTTcwLjkxOSAxMTcuMjI5YTY2LjUgNjYuNSAwIDAwLS40NDQgMS42ODMiLz48cGF0aCBzdHJva2U9ImhzbCg3NSwgMTAwJSwgNTAlKSIgZD0iTTcxLjIzOCAxMTYuMTEzYTY2LjUgNjYuNSAwIDAwLS40NzIgMS42NzYiLz48cGF0aCBzdHJva2U9ImhzbCg3NiwgMTAwJSwgNTAlKSIgZD0iTTcxLjU3OCAxMTUuMDAzYTY2LjUgNjYuNSAwIDAwLS41MDIgMS42NjciLz48cGF0aCBzdHJva2U9ImhzbCg3NywgMTAwJSwgNTAlKSIgZD0iTTcxLjkzNiAxMTMuOWE2Ni41IDY2LjUgMCAwMC0uNTMgMS42NTciLz48cGF0aCBzdHJva2U9ImhzbCg3OCwgMTAwJSwgNTAlKSIgZD0iTTcyLjMxNCAxMTIuODAyYTY2LjUgNjYuNSAwIDAwLS41NiAxLjY0OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDc5LCAxMDAlLCA1MCUpIiBkPSJNNzIuNzExIDExMS43MTFhNjYuNSA2Ni41IDAgMDAtLjU4OCAxLjYzOSIvPjxwYXRoIHN0cm9rZT0iaHNsKDgwLCAxMDAlLCA1MCUpIiBkPSJNNzMuMTI3IDExMC42MjhhNjYuNSA2Ni41IDAgMDAtLjYxNyAxLjYyOCIvPjxwYXRoIHN0cm9rZT0iaHNsKDgxLCAxMDAlLCA1MCUpIiBkPSJNNzMuNTYyIDEwOS41NTJhNjYuNSA2Ni41IDAgMDAtLjY0NSAxLjYxNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDgyLCAxMDAlLCA1MCUpIiBkPSJNNzQuMDE2IDEwOC40ODNhNjYuNSA2Ni41IDAgMDAtLjY3NCAxLjYwNiIvPjxwYXRoIHN0cm9rZT0iaHNsKDgzLCAxMDAlLCA1MCUpIiBkPSJNNzQuNDg4IDEwNy40MjNhNjYuNSA2Ni41IDAgMDAtLjcwMiAxLjU5MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDg0LCAxMDAlLCA1MCUpIiBkPSJNNzQuOTc4IDEwNi4zNzFhNjYuNSA2Ni41IDAgMDAtLjcyOSAxLjU4MSIvPjxwYXRoIHN0cm9rZT0iaHNsKDg1LCAxMDAlLCA1MCUpIiBkPSJNNzUuNDg3IDEwNS4zMjhhNjYuNSA2Ni41IDAgMDAtLjc1NiAxLjU2OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDg2LCAxMDAlLCA1MCUpIiBkPSJNNzYuMDE0IDEwNC4yOTRhNjYuNSA2Ni41IDAgMDAtLjc4NCAxLjU1NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDg3LCAxMDAlLCA1MCUpIiBkPSJNNzYuNTU5IDEwMy4yNjlhNjYuNSA2Ni41IDAgMDAtLjgxIDEuNTQiLz48cGF0aCBzdHJva2U9ImhzbCg4OCwgMTAwJSwgNTAlKSIgZD0iTTc3LjEyMSAxMDIuMjU0YTY2LjUgNjYuNSAwIDAwLS44MzcgMS41MjYiLz48cGF0aCBzdHJva2U9ImhzbCg4OSwgMTAwJSwgNTAlKSIgZD0iTTc3LjcwMiAxMDEuMjQ5YTY2LjUgNjYuNSAwIDAwLS44NjQgMS41MTEiLz48cGF0aCBzdHJva2U9ImhzbCg5MCwgMTAwJSwgNTAlKSIgZD0iTTc4LjMgMTAwLjI1NGE2Ni41IDY2LjUgMCAwMC0uODkgMS40OTYiLz48cGF0aCBzdHJva2U9ImhzbCg5MSwgMTAwJSwgNTAlKSIgZD0iTTc4LjkxNCA5OS4yN2E2Ni41IDY2LjUgMCAwMC0uOTE2IDEuNDgiLz48cGF0aCBzdHJva2U9ImhzbCg5MiwgMTAwJSwgNTAlKSIgZD0iTTc5LjU0NyA5OC4yOTZhNjYuNSA2Ni41IDAgMDAtLjk0MiAxLjQ2NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDkzLCAxMDAlLCA1MCUpIiBkPSJNODAuMTk2IDk3LjMzNGE2Ni41IDY2LjUgMCAwMC0uOTY4IDEuNDQ4Ii8+PHBhdGggc3Ryb2tlPSJoc2woOTQsIDEwMCUsIDUwJSkiIGQ9Ik04MC44NjEgOTYuMzgzYTY2LjUgNjYuNSAwIDAwLS45OTIgMS40MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDk1LCAxMDAlLCA1MCUpIiBkPSJNODEuNTQ0IDk1LjQ0NGE2Ni41IDY2LjUgMCAwMC0xLjAxOCAxLjQxMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDk2LCAxMDAlLCA1MCUpIiBkPSJNODIuMjQyIDk0LjUxN2E2Ni41IDY2LjUgMCAwMC0xLjA0MiAxLjM5NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDk3LCAxMDAlLCA1MCUpIiBkPSJNODIuOTU3IDkzLjYwM2E2Ni41IDY2LjUgMCAwMC0xLjA2NiAxLjM3NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDk4LCAxMDAlLCA1MCUpIiBkPSJNODMuNjg3IDkyLjdhNjYuNSA2Ni41IDAgMDAtMS4wOSAxLjM1OSIvPjxwYXRoIHN0cm9rZT0iaHNsKDk5LCAxMDAlLCA1MCUpIiBkPSJNODQuNDMzIDkxLjgxMmE2Ni41IDY2LjUgMCAwMC0xLjExMyAxLjMzOCIvPjxwYXRoIHN0cm9rZT0iaHNsKDEwMCwgMTAwJSwgNTAlKSIgZD0iTTg1LjE5NCA5MC45MzZhNjYuNSA2Ni41IDAgMDAtMS4xMzYgMS4zMTkiLz48cGF0aCBzdHJva2U9ImhzbCgxMDEsIDEwMCUsIDUwJSkiIGQ9Ik04NS45NzEgOTAuMDczYTY2LjUgNjYuNSAwIDAwLTEuMTYgMS4zIi8+PHBhdGggc3Ryb2tlPSJoc2woMTAyLCAxMDAlLCA1MCUpIiBkPSJNODYuNzYzIDg5LjIyNGE2Ni41IDY2LjUgMCAwMC0xLjE4MiAxLjI3OSIvPjxwYXRoIHN0cm9rZT0iaHNsKDEwMywgMTAwJSwgNTAlKSIgZD0iTTg3LjU2OSA4OC4zOWE2Ni41IDY2LjUgMCAwMC0xLjIwNCAxLjI1NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDEwNCwgMTAwJSwgNTAlKSIgZD0iTTg4LjM5IDg3LjU2OWE2Ni41IDY2LjUgMCAwMC0xLjIyNiAxLjIzNiIvPjxwYXRoIHN0cm9rZT0iaHNsKDEwNSwgMTAwJSwgNTAlKSIgZD0iTTg5LjIyNCA4Ni43NjNhNjYuNSA2Ni41IDAgMDAtMS4yNDcgMS4yMTQiLz48cGF0aCBzdHJva2U9ImhzbCgxMDYsIDEwMCUsIDUwJSkiIGQ9Ik05MC4wNzMgODUuOTcxYTY2LjUgNjYuNSAwIDAwLTEuMjY4IDEuMTkzIi8+PHBhdGggc3Ryb2tlPSJoc2woMTA3LCAxMDAlLCA1MCUpIiBkPSJNOTAuOTM2IDg1LjE5NGE2Ni41IDY2LjUgMCAwMC0xLjI4OSAxLjE3MSIvPjxwYXRoIHN0cm9rZT0iaHNsKDEwOCwgMTAwJSwgNTAlKSIgZD0iTTkxLjgxMiA4NC40MzNhNjYuNSA2Ni41IDAgMDAtMS4zMSAxLjE0OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDEwOSwgMTAwJSwgNTAlKSIgZD0iTTkyLjcgODMuNjg3YTY2LjUgNjYuNSAwIDAwLTEuMzI4IDEuMTI1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTEwLCAxMDAlLCA1MCUpIiBkPSJNOTMuNjAzIDgyLjk1N2E2Ni41IDY2LjUgMCAwMC0xLjM0OCAxLjEwMSIvPjxwYXRoIHN0cm9rZT0iaHNsKDExMSwgMTAwJSwgNTAlKSIgZD0iTTk0LjUxNyA4Mi4yNDJhNjYuNSA2Ni41IDAgMDAtMS4zNjcgMS4wNzgiLz48cGF0aCBzdHJva2U9ImhzbCgxMTIsIDEwMCUsIDUwJSkiIGQ9Ik05NS40NDQgODEuNTQ0YTY2LjUgNjYuNSAwIDAwLTEuMzg1IDEuMDUzIi8+PHBhdGggc3Ryb2tlPSJoc2woMTEzLCAxMDAlLCA1MCUpIiBkPSJNOTYuMzgzIDgwLjg2MWE2Ni41IDY2LjUgMCAwMC0xLjQwNCAxLjAzIi8+PHBhdGggc3Ryb2tlPSJoc2woMTE0LCAxMDAlLCA1MCUpIiBkPSJNOTcuMzM0IDgwLjE5NmE2Ni41IDY2LjUgMCAwMC0xLjQyMiAxLjAwNCIvPjxwYXRoIHN0cm9rZT0iaHNsKDExNSwgMTAwJSwgNTAlKSIgZD0iTTk4LjI5NiA3OS41NDdhNjYuNSA2Ni41IDAgMDAtMS40MzkuOTgiLz48cGF0aCBzdHJva2U9ImhzbCgxMTYsIDEwMCUsIDUwJSkiIGQ9Ik05OS4yNyA3OC45MTRhNjYuNSA2Ni41IDAgMDAtMS40NTYuOTU1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTE3LCAxMDAlLCA1MCUpIiBkPSJNMTAwLjI1NCA3OC4zYTY2LjUgNjYuNSAwIDAwLTEuNDcyLjkyOCIvPjxwYXRoIHN0cm9rZT0iaHNsKDExOCwgMTAwJSwgNTAlKSIgZD0iTTEwMS4yNDkgNzcuNzAyYTY2LjUgNjYuNSAwIDAwLTEuNDg5LjkwMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDExOSwgMTAwJSwgNTAlKSIgZD0iTTEwMi4yNTQgNzcuMTIxYTY2LjUgNjYuNSAwIDAwLTEuNTA0Ljg3NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDEyMCwgMTAwJSwgNTAlKSIgZD0iTTEwMy4yNjkgNzYuNTU5YTY2LjUgNjYuNSAwIDAwLTEuNTE5Ljg1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTIxLCAxMDAlLCA1MCUpIiBkPSJNMTA0LjI5NCA3Ni4wMTRhNjYuNSA2Ni41IDAgMDAtMS41MzQuODI0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTIyLCAxMDAlLCA1MCUpIiBkPSJNMTA1LjMyOCA3NS40ODdhNjYuNSA2Ni41IDAgMDAtMS41NDguNzk3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTIzLCAxMDAlLCA1MCUpIiBkPSJNMTA2LjM3MSA3NC45NzhhNjYuNSA2Ni41IDAgMDAtMS41NjEuNzciLz48cGF0aCBzdHJva2U9ImhzbCgxMjQsIDEwMCUsIDUwJSkiIGQ9Ik0xMDcuNDIzIDc0LjQ4OGE2Ni41IDY2LjUgMCAwMC0xLjU3NS43NDIiLz48cGF0aCBzdHJva2U9ImhzbCgxMjUsIDEwMCUsIDUwJSkiIGQ9Ik0xMDguNDgzIDc0LjAxNmE2Ni41IDY2LjUgMCAwMC0xLjU4Ny43MTUiLz48cGF0aCBzdHJva2U9ImhzbCgxMjYsIDEwMCUsIDUwJSkiIGQ9Ik0xMDkuNTUyIDczLjU2MmE2Ni41IDY2LjUgMCAwMC0xLjYuNjg3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTI3LCAxMDAlLCA1MCUpIiBkPSJNMTEwLjYyOCA3My4xMjdhNjYuNSA2Ni41IDAgMDAtMS42MTIuNjYiLz48cGF0aCBzdHJva2U9ImhzbCgxMjgsIDEwMCUsIDUwJSkiIGQ9Ik0xMTEuNzExIDcyLjcxMWE2Ni41IDY2LjUgMCAwMC0xLjYyMi42MzEiLz48cGF0aCBzdHJva2U9ImhzbCgxMjksIDEwMCUsIDUwJSkiIGQ9Ik0xMTIuODAyIDcyLjMxNGE2Ni41IDY2LjUgMCAwMC0xLjYzMy42MDMiLz48cGF0aCBzdHJva2U9ImhzbCgxMzAsIDEwMCUsIDUwJSkiIGQ9Ik0xMTMuOSA3MS45MzZhNjYuNSA2Ni41IDAgMDAtMS42NDQuNTc0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTMxLCAxMDAlLCA1MCUpIiBkPSJNMTE1LjAwMyA3MS41NzhhNjYuNSA2Ni41IDAgMDAtMS42NTMuNTQ1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTMyLCAxMDAlLCA1MCUpIiBkPSJNMTE2LjExMyA3MS4yMzhhNjYuNSA2Ni41IDAgMDAtMS42NjMuNTE3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTMzLCAxMDAlLCA1MCUpIiBkPSJNMTE3LjIyOSA3MC45MTlhNjYuNSA2Ni41IDAgMDAtMS42NzIuNDg3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTM0LCAxMDAlLCA1MCUpIiBkPSJNMTE4LjM1IDcwLjYxOGE2Ni41IDY2LjUgMCAwMC0xLjY4LjQ1OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDEzNSwgMTAwJSwgNTAlKSIgZD0iTTExOS40NzYgNzAuMzM3YTY2LjUgNjYuNSAwIDAwLTEuNjg3LjQyOSIvPjxwYXRoIHN0cm9rZT0iaHNsKDEzNiwgMTAwJSwgNTAlKSIgZD0iTTEyMC42MDcgNzAuMDc2YTY2LjUgNjYuNSAwIDAwLTEuNjk1LjQiLz48cGF0aCBzdHJva2U9ImhzbCgxMzcsIDEwMCUsIDUwJSkiIGQ9Ik0xMjEuNzQyIDY5LjgzNWE2Ni41IDY2LjUgMCAwMC0xLjcwMS4zNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDEzOCwgMTAwJSwgNTAlKSIgZD0iTTEyMi44ODEgNjkuNjE0YTY2LjUgNjYuNSAwIDAwLTEuNzA3LjM0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTM5LCAxMDAlLCA1MCUpIiBkPSJNMTI0LjAyNCA2OS40MTJhNjYuNSA2Ni41IDAgMDAtMS43MTMuMzEiLz48cGF0aCBzdHJva2U9ImhzbCgxNDAsIDEwMCUsIDUwJSkiIGQ9Ik0xMjUuMTcgNjkuMjNhNjYuNSA2Ni41IDAgMDAtMS43MTguMjgiLz48cGF0aCBzdHJva2U9ImhzbCgxNDEsIDEwMCUsIDUwJSkiIGQ9Ik0xMjYuMzIgNjkuMDY5YTY2LjUgNjYuNSAwIDAwLTEuNzIzLjI1Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTQyLCAxMDAlLCA1MCUpIiBkPSJNMTI3LjQ3MiA2OC45MjdhNjYuNSA2Ni41IDAgMDAtMS43MjcuMjIiLz48cGF0aCBzdHJva2U9ImhzbCgxNDMsIDEwMCUsIDUwJSkiIGQ9Ik0xMjguNjI2IDY4LjgwNmE2Ni41IDY2LjUgMCAwMC0xLjczLjE5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTQ0LCAxMDAlLCA1MCUpIiBkPSJNMTI5Ljc4MiA2OC43MDVhNjYuNSA2Ni41IDAgMDAtMS43MzMuMTYiLz48cGF0aCBzdHJva2U9ImhzbCgxNDUsIDEwMCUsIDUwJSkiIGQ9Ik0xMzAuOTQgNjguNjI0YTY2LjUgNjYuNSAwIDAwLTEuNzM2LjEzIi8+PHBhdGggc3Ryb2tlPSJoc2woMTQ2LCAxMDAlLCA1MCUpIiBkPSJNMTMyLjEgNjguNTYzYTY2LjUgNjYuNSAwIDAwLTEuNzM5LjA5OSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE0NywgMTAwJSwgNTAlKSIgZD0iTTEzMy4yNiA2OC41MjNhNjYuNSA2Ni41IDAgMDAtMS43NC4wNjgiLz48cGF0aCBzdHJva2U9ImhzbCgxNDgsIDEwMCUsIDUwJSkiIGQ9Ik0xMzQuNDIgNjguNTAzYTY2LjUgNjYuNSAwIDAwLTEuNzQuMDM4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTQ5LCAxMDAlLCA1MCUpIiBkPSJNMTM1LjU4IDY4LjUwM2E2Ni41IDY2LjUgMCAwMC0xLjc0LjAwNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDE1MCwgMTAwJSwgNTAlKSIgZD0iTTEzNi43NCA2OC41MjNBNjYuNSA2Ni41IDAgMDAxMzUgNjguNSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE1MSwgMTAwJSwgNTAlKSIgZD0iTTEzNy45IDY4LjU2M2E2Ni41IDY2LjUgMCAwMC0xLjc0LS4wNTMiLz48cGF0aCBzdHJva2U9ImhzbCgxNTIsIDEwMCUsIDUwJSkiIGQ9Ik0xMzkuMDYgNjguNjI0YTY2LjUgNjYuNSAwIDAwLTEuNzQtLjA4MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDE1MywgMTAwJSwgNTAlKSIgZD0iTTE0MC4yMTggNjguNzA1YTY2LjUgNjYuNSAwIDAwLTEuNzM4LS4xMTQiLz48cGF0aCBzdHJva2U9ImhzbCgxNTQsIDEwMCUsIDUwJSkiIGQ9Ik0xNDEuMzc0IDY4LjgwNmE2Ni41IDY2LjUgMCAwMC0xLjczNS0uMTQ0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTU1LCAxMDAlLCA1MCUpIiBkPSJNMTQyLjUyOCA2OC45MjdhNjYuNSA2Ni41IDAgMDAtMS43MzItLjE3NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDE1NiwgMTAwJSwgNTAlKSIgZD0iTTE0My42OCA2OS4wNjlhNjYuNSA2Ni41IDAgMDAtMS43MjktLjIwNSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE1NywgMTAwJSwgNTAlKSIgZD0iTTE0NC44MyA2OS4yM2E2Ni41IDY2LjUgMCAwMC0xLjcyNi0uMjM0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTU4LCAxMDAlLCA1MCUpIiBkPSJNMTQ1Ljk3NiA2OS40MTJhNjYuNSA2Ni41IDAgMDAtMS43MjEtLjI2NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE1OSwgMTAwJSwgNTAlKSIgZD0iTTE0Ny4xMTkgNjkuNjE0YTY2LjUgNjYuNSAwIDAwLTEuNzE2LS4yOTUiLz48cGF0aCBzdHJva2U9ImhzbCgxNjAsIDEwMCUsIDUwJSkiIGQ9Ik0xNDguMjU4IDY5LjgzNWE2Ni41IDY2LjUgMCAwMC0xLjcxLS4zMjUiLz48cGF0aCBzdHJva2U9ImhzbCgxNjEsIDEwMCUsIDUwJSkiIGQ9Ik0xNDkuMzkzIDcwLjA3NmE2Ni41IDY2LjUgMCAwMC0xLjcwNC0uMzU0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTYyLCAxMDAlLCA1MCUpIiBkPSJNMTUwLjUyNCA3MC4zMzdhNjYuNSA2Ni41IDAgMDAtMS42OTgtLjM4NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDE2MywgMTAwJSwgNTAlKSIgZD0iTTE1MS42NSA3MC42MThhNjYuNSA2Ni41IDAgMDAtMS42OS0uNDE0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTY0LCAxMDAlLCA1MCUpIiBkPSJNMTUyLjc3MSA3MC45MTlhNjYuNSA2Ni41IDAgMDAtMS42ODMtLjQ0NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDE2NSwgMTAwJSwgNTAlKSIgZD0iTTE1My44ODcgNzEuMjM4YTY2LjUgNjYuNSAwIDAwLTEuNjc2LS40NzIiLz48cGF0aCBzdHJva2U9ImhzbCgxNjYsIDEwMCUsIDUwJSkiIGQ9Ik0xNTQuOTk3IDcxLjU3OGE2Ni41IDY2LjUgMCAwMC0xLjY2Ny0uNTAyIi8+PHBhdGggc3Ryb2tlPSJoc2woMTY3LCAxMDAlLCA1MCUpIiBkPSJNMTU2LjEgNzEuOTM2YTY2LjUgNjYuNSAwIDAwLTEuNjU3LS41MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDE2OCwgMTAwJSwgNTAlKSIgZD0iTTE1Ny4xOTggNzIuMzE0YTY2LjUgNjYuNSAwIDAwLTEuNjQ4LS41NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDE2OSwgMTAwJSwgNTAlKSIgZD0iTTE1OC4yODkgNzIuNzExYTY2LjUgNjYuNSAwIDAwLTEuNjM5LS41ODgiLz48cGF0aCBzdHJva2U9ImhzbCgxNzAsIDEwMCUsIDUwJSkiIGQ9Ik0xNTkuMzcyIDczLjEyN2E2Ni41IDY2LjUgMCAwMC0xLjYyOC0uNjE3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTcxLCAxMDAlLCA1MCUpIiBkPSJNMTYwLjQ0OCA3My41NjJhNjYuNSA2Ni41IDAgMDAtMS42MTctLjY0NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE3MiwgMTAwJSwgNTAlKSIgZD0iTTE2MS41MTcgNzQuMDE2YTY2LjUgNjYuNSAwIDAwLTEuNjA2LS42NzQiLz48cGF0aCBzdHJva2U9ImhzbCgxNzMsIDEwMCUsIDUwJSkiIGQ9Ik0xNjIuNTc3IDc0LjQ4OGE2Ni41IDY2LjUgMCAwMC0xLjU5My0uNzAyIi8+PHBhdGggc3Ryb2tlPSJoc2woMTc0LCAxMDAlLCA1MCUpIiBkPSJNMTYzLjYyOSA3NC45NzhhNjYuNSA2Ni41IDAgMDAtMS41ODEtLjcyOSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE3NSwgMTAwJSwgNTAlKSIgZD0iTTE2NC42NzIgNzUuNDg3YTY2LjUgNjYuNSAwIDAwLTEuNTY4LS43NTYiLz48cGF0aCBzdHJva2U9ImhzbCgxNzYsIDEwMCUsIDUwJSkiIGQ9Ik0xNjUuNzA2IDc2LjAxNGE2Ni41IDY2LjUgMCAwMC0xLjU1NC0uNzg0Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTc3LCAxMDAlLCA1MCUpIiBkPSJNMTY2LjczMSA3Ni41NTlhNjYuNSA2Ni41IDAgMDAtMS41NC0uODEiLz48cGF0aCBzdHJva2U9ImhzbCgxNzgsIDEwMCUsIDUwJSkiIGQ9Ik0xNjcuNzQ2IDc3LjEyMWE2Ni41IDY2LjUgMCAwMC0xLjUyNi0uODM3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTc5LCAxMDAlLCA1MCUpIiBkPSJNMTY4Ljc1MSA3Ny43MDJhNjYuNSA2Ni41IDAgMDAtMS41MTEtLjg2NCIvPjxwYXRoIHN0cm9rZT0iaHNsKDE4MCwgMTAwJSwgNTAlKSIgZD0iTTE2OS43NDYgNzguM2E2Ni41IDY2LjUgMCAwMC0xLjQ5Ni0uODkiLz48cGF0aCBzdHJva2U9ImhzbCgxODEsIDEwMCUsIDUwJSkiIGQ9Ik0xNzAuNzMgNzguOTE0YTY2LjUgNjYuNSAwIDAwLTEuNDgtLjkxNiIvPjxwYXRoIHN0cm9rZT0iaHNsKDE4MiwgMTAwJSwgNTAlKSIgZD0iTTE3MS43MDQgNzkuNTQ3YTY2LjUgNjYuNSAwIDAwLTEuNDY0LS45NDIiLz48cGF0aCBzdHJva2U9ImhzbCgxODMsIDEwMCUsIDUwJSkiIGQ9Ik0xNzIuNjY2IDgwLjE5NmE2Ni41IDY2LjUgMCAwMC0xLjQ0OC0uOTY4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTg0LCAxMDAlLCA1MCUpIiBkPSJNMTczLjYxNyA4MC44NjFhNjYuNSA2Ni41IDAgMDAtMS40My0uOTkyIi8+PHBhdGggc3Ryb2tlPSJoc2woMTg1LCAxMDAlLCA1MCUpIiBkPSJNMTc0LjU1NiA4MS41NDRhNjYuNSA2Ni41IDAgMDAtMS40MTMtMS4wMTgiLz48cGF0aCBzdHJva2U9ImhzbCgxODYsIDEwMCUsIDUwJSkiIGQ9Ik0xNzUuNDgzIDgyLjI0MmE2Ni41IDY2LjUgMCAwMC0xLjM5NS0xLjA0MiIvPjxwYXRoIHN0cm9rZT0iaHNsKDE4NywgMTAwJSwgNTAlKSIgZD0iTTE3Ni4zOTcgODIuOTU3YTY2LjUgNjYuNSAwIDAwLTEuMzc2LTEuMDY2Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTg4LCAxMDAlLCA1MCUpIiBkPSJNMTc3LjMgODMuNjg3YTY2LjUgNjYuNSAwIDAwLTEuMzU5LTEuMDkiLz48cGF0aCBzdHJva2U9ImhzbCgxODksIDEwMCUsIDUwJSkiIGQ9Ik0xNzguMTg4IDg0LjQzM2E2Ni41IDY2LjUgMCAwMC0xLjMzOC0xLjExMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDE5MCwgMTAwJSwgNTAlKSIgZD0iTTE3OS4wNjQgODUuMTk0YTY2LjUgNjYuNSAwIDAwLTEuMzE5LTEuMTM2Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTkxLCAxMDAlLCA1MCUpIiBkPSJNMTc5LjkyNyA4NS45NzFhNjYuNSA2Ni41IDAgMDAtMS4zLTEuMTYiLz48cGF0aCBzdHJva2U9ImhzbCgxOTIsIDEwMCUsIDUwJSkiIGQ9Ik0xODAuNzc2IDg2Ljc2M2E2Ni41IDY2LjUgMCAwMC0xLjI3OS0xLjE4MiIvPjxwYXRoIHN0cm9rZT0iaHNsKDE5MywgMTAwJSwgNTAlKSIgZD0iTTE4MS42MSA4Ny41NjlhNjYuNSA2Ni41IDAgMDAtMS4yNTctMS4yMDQiLz48cGF0aCBzdHJva2U9ImhzbCgxOTQsIDEwMCUsIDUwJSkiIGQ9Ik0xODIuNDMxIDg4LjM5YTY2LjUgNjYuNSAwIDAwLTEuMjM2LTEuMjI2Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTk1LCAxMDAlLCA1MCUpIiBkPSJNMTgzLjIzNyA4OS4yMjRhNjYuNSA2Ni41IDAgMDAtMS4yMTQtMS4yNDciLz48cGF0aCBzdHJva2U9ImhzbCgxOTYsIDEwMCUsIDUwJSkiIGQ9Ik0xODQuMDI5IDkwLjA3M2E2Ni41IDY2LjUgMCAwMC0xLjE5My0xLjI2OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDE5NywgMTAwJSwgNTAlKSIgZD0iTTE4NC44MDYgOTAuOTM2YTY2LjUgNjYuNSAwIDAwLTEuMTcxLTEuMjg5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMTk4LCAxMDAlLCA1MCUpIiBkPSJNMTg1LjU2NyA5MS44MTJhNjYuNSA2Ni41IDAgMDAtMS4xNDgtMS4zMSIvPjxwYXRoIHN0cm9rZT0iaHNsKDE5OSwgMTAwJSwgNTAlKSIgZD0iTTE4Ni4zMTMgOTIuN2E2Ni41IDY2LjUgMCAwMC0xLjEyNS0xLjMyOCIvPjxwYXRoIHN0cm9rZT0iaHNsKDIwMCwgMTAwJSwgNTAlKSIgZD0iTTE4Ny4wNDMgOTMuNjAzYTY2LjUgNjYuNSAwIDAwLTEuMTAxLTEuMzQ4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjAxLCAxMDAlLCA1MCUpIiBkPSJNMTg3Ljc1OCA5NC41MTdhNjYuNSA2Ni41IDAgMDAtMS4wNzgtMS4zNjciLz48cGF0aCBzdHJva2U9ImhzbCgyMDIsIDEwMCUsIDUwJSkiIGQ9Ik0xODguNDU2IDk1LjQ0NGE2Ni41IDY2LjUgMCAwMC0xLjA1My0xLjM4NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDIwMywgMTAwJSwgNTAlKSIgZD0iTTE4OS4xMzkgOTYuMzgzYTY2LjUgNjYuNSAwIDAwLTEuMDMtMS40MDQiLz48cGF0aCBzdHJva2U9ImhzbCgyMDQsIDEwMCUsIDUwJSkiIGQ9Ik0xODkuODA0IDk3LjMzNGE2Ni41IDY2LjUgMCAwMC0xLjAwNC0xLjQyMiIvPjxwYXRoIHN0cm9rZT0iaHNsKDIwNSwgMTAwJSwgNTAlKSIgZD0iTTE5MC40NTMgOTguMjk2YTY2LjUgNjYuNSAwIDAwLS45OC0xLjQzOSIvPjxwYXRoIHN0cm9rZT0iaHNsKDIwNiwgMTAwJSwgNTAlKSIgZD0iTTE5MS4wODYgOTkuMjdhNjYuNSA2Ni41IDAgMDAtLjk1NS0xLjQ1NiIvPjxwYXRoIHN0cm9rZT0iaHNsKDIwNywgMTAwJSwgNTAlKSIgZD0iTTE5MS43IDEwMC4yNTRhNjYuNSA2Ni41IDAgMDAtLjkyOC0xLjQ3MiIvPjxwYXRoIHN0cm9rZT0iaHNsKDIwOCwgMTAwJSwgNTAlKSIgZD0iTTE5Mi4yOTggMTAxLjI0OWE2Ni41IDY2LjUgMCAwMC0uOTAzLTEuNDg5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjA5LCAxMDAlLCA1MCUpIiBkPSJNMTkyLjg3OSAxMDIuMjU0YTY2LjUgNjYuNSAwIDAwLS44NzctMS41MDQiLz48cGF0aCBzdHJva2U9ImhzbCgyMTAsIDEwMCUsIDUwJSkiIGQ9Ik0xOTMuNDQxIDEwMy4yNjlhNjYuNSA2Ni41IDAgMDAtLjg1LTEuNTE5Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjExLCAxMDAlLCA1MCUpIiBkPSJNMTkzLjk4NiAxMDQuMjk0YTY2LjUgNjYuNSAwIDAwLS44MjQtMS41MzQiLz48cGF0aCBzdHJva2U9ImhzbCgyMTIsIDEwMCUsIDUwJSkiIGQ9Ik0xOTQuNTEzIDEwNS4zMjhhNjYuNSA2Ni41IDAgMDAtLjc5Ny0xLjU0OCIvPjxwYXRoIHN0cm9rZT0iaHNsKDIxMywgMTAwJSwgNTAlKSIgZD0iTTE5NS4wMjIgMTA2LjM3MWE2Ni41IDY2LjUgMCAwMC0uNzctMS41NjEiLz48cGF0aCBzdHJva2U9ImhzbCgyMTQsIDEwMCUsIDUwJSkiIGQ9Ik0xOTUuNTEyIDEwNy40MjNhNjYuNSA2Ni41IDAgMDAtLjc0Mi0xLjU3NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDIxNSwgMTAwJSwgNTAlKSIgZD0iTTE5NS45ODQgMTA4LjQ4M2E2Ni41IDY2LjUgMCAwMC0uNzE1LTEuNTg3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjE2LCAxMDAlLCA1MCUpIiBkPSJNMTk2LjQzOCAxMDkuNTUyYTY2LjUgNjYuNSAwIDAwLS42ODctMS42Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjE3LCAxMDAlLCA1MCUpIiBkPSJNMTk2Ljg3MyAxMTAuNjI4YTY2LjUgNjYuNSAwIDAwLS42Ni0xLjYxMiIvPjxwYXRoIHN0cm9rZT0iaHNsKDIxOCwgMTAwJSwgNTAlKSIgZD0iTTE5Ny4yODkgMTExLjcxMWE2Ni41IDY2LjUgMCAwMC0uNjMxLTEuNjIyIi8+PHBhdGggc3Ryb2tlPSJoc2woMjE5LCAxMDAlLCA1MCUpIiBkPSJNMTk3LjY4NiAxMTIuODAyYTY2LjUgNjYuNSAwIDAwLS42MDMtMS42MzMiLz48cGF0aCBzdHJva2U9ImhzbCgyMjAsIDEwMCUsIDUwJSkiIGQ9Ik0xOTguMDY0IDExMy45YTY2LjUgNjYuNSAwIDAwLS41NzQtMS42NDQiLz48cGF0aCBzdHJva2U9ImhzbCgyMjEsIDEwMCUsIDUwJSkiIGQ9Ik0xOTguNDIyIDExNS4wMDNhNjYuNSA2Ni41IDAgMDAtLjU0NS0xLjY1MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDIyMiwgMTAwJSwgNTAlKSIgZD0iTTE5OC43NjIgMTE2LjExM2E2Ni41IDY2LjUgMCAwMC0uNTE3LTEuNjYzIi8+PHBhdGggc3Ryb2tlPSJoc2woMjIzLCAxMDAlLCA1MCUpIiBkPSJNMTk5LjA4MSAxMTcuMjI5YTY2LjUgNjYuNSAwIDAwLS40ODctMS42NzIiLz48cGF0aCBzdHJva2U9ImhzbCgyMjQsIDEwMCUsIDUwJSkiIGQ9Ik0xOTkuMzgyIDExOC4zNWE2Ni41IDY2LjUgMCAwMC0uNDU4LTEuNjgiLz48cGF0aCBzdHJva2U9ImhzbCgyMjUsIDEwMCUsIDUwJSkiIGQ9Ik0xOTkuNjYzIDExOS40NzZhNjYuNSA2Ni41IDAgMDAtLjQyOS0xLjY4NyIvPjxwYXRoIHN0cm9rZT0iaHNsKDIyNiwgMTAwJSwgNTAlKSIgZD0iTTE5OS45MjQgMTIwLjYwN2E2Ni41IDY2LjUgMCAwMC0uNC0xLjY5NSIvPjxwYXRoIHN0cm9rZT0iaHNsKDIyNywgMTAwJSwgNTAlKSIgZD0iTTIwMC4xNjUgMTIxLjc0MmE2Ni41IDY2LjUgMCAwMC0uMzctMS43MDEiLz48cGF0aCBzdHJva2U9ImhzbCgyMjgsIDEwMCUsIDUwJSkiIGQ9Ik0yMDAuMzg2IDEyMi44ODFhNjYuNSA2Ni41IDAgMDAtLjM0LTEuNzA3Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjI5LCAxMDAlLCA1MCUpIiBkPSJNMjAwLjU4OCAxMjQuMDI0YTY2LjUgNjYuNSAwIDAwLS4zMS0xLjcxMyIvPjxwYXRoIHN0cm9rZT0iaHNsKDIzMCwgMTAwJSwgNTAlKSIgZD0iTTIwMC43NyAxMjUuMTdhNjYuNSA2Ni41IDAgMDAtLjI4LTEuNzE4Ii8+PHBhdGggc3Ryb2tlPSJoc2woMjMxLCAxMDAlLCA1MCUpIiBkPSJNMjAwLjkzMSAxMjYuMzJhNjYuNSA2Ni41IDAgMDAtLjI1LTEuNzIzIi8+PHBhdGggc3Ryb2tlPSJoc2woMjMyLCAxMDAlLCA1MCUpIiBkPSJNMjAxLjA3MyAxMjcuNDcyYTY2LjUgNjYuNSAwIDAwLS4yMi0xLjcyNyIvPjxwYXRoIHN0cm9rZT0iaHNsKDIzMywgMTAwJSwgNTAlKSIgZD0iTTIwMS4xOTQgMTI4LjYyNmE2Ni41IDY2LjUgMCAwMC0uMTktMS43MyIvPjxwYXRoIHN0cm9rZT0iaHNsKDIzNCwgMTAwJSwgNTAlKSIgZD0iTTIwMS4yOTUgMTI5Ljc4MmE2Ni41IDY2LjUgMCAwMC0uMTYtMS43MzMiLz48cGF0aCBzdHJva2U9ImhzbCgyMzUsIDEwMCUsIDUwJSkiIGQ9Ik0yMDEuMzc2IDEzMC45NGE2Ni41IDY2LjUgMCAwMC0uMTMtMS43MzYiLz48cGF0aCBzdHJva2U9ImhzbCgyMzYsIDEwMCUsIDUwJSkiIGQ9Ik0yMDEuNDM3IDEzMi4xYTY2LjUgNjYuNSAwIDAwLS4wOTktMS43MzkiLz48cGF0aCBzdHJva2U9ImhzbCgyMzcsIDEwMCUsIDUwJSkiIGQ9Ik0yMDEuNDc3IDEzMy4yNmE2Ni41IDY2LjUgMCAwMC0uMDY4LTEuNzQiLz48cGF0aCBzdHJva2U9ImhzbCgyMzgsIDEwMCUsIDUwJSkiIGQ9Ik0yMDEuNDk3IDEzNC40MmE2Ni41IDY2LjUgMCAwMC0uMDM4LTEuNzQiLz48cGF0aCBzdHJva2U9ImhzbCgyMzksIDEwMCUsIDUwJSkiIGQ9Ik0yMDEuNDk3IDEzNS41OGE2Ni41IDY2LjUgMCAwMC0uMDA3LTEuNzQiLz48L2c+PGNpcmNsZSBjeD0iMTM1IiBjeT0iMTM1IiByPSIxMzMiIGZpbGw9InVybCgjYSkiIGNsYXNzPSJJcm9XaGVlbFNhdHVyYXRpb24iLz48Y2lyY2xlIGN4PSIxMzUiIGN5PSIxMzUiIHI9IjEzMyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIGNsYXNzPSJJcm9XaGVlbEJvcmRlciIvPjwvc3ZnPg=='; - - dialog.querySelector('.satus-scrollbar__content').appendChild(close); - dialog.querySelector('.satus-scrollbar__content').appendChild(component_canvas); - - document.body.appendChild(dialog); - }); - - component.appendChild(component_value); - - return component; -}; -/*-------------------------------------------------------------- ->>> DIALOG ---------------------------------------------------------------*/ - -Satus.components.dialog = function(element) { - var component = document.createElement('div'), - component_scrim = document.createElement('div'), - component_surface = document.createElement('div'), - component_scrollbar = Satus.components.scrollbar(component_surface), - options = element.options || {}; - - component_scrim.className = 'satus-dialog__scrim'; - component_surface.className = 'satus-dialog__surface'; - - for (var key in element) { - Satus.render(element[key], component_scrollbar); - } - - function close() { - window.removeEventListener('keydown', keydown); - - component.classList.add('satus-dialog--closing'); - - if (typeof element.onclose === 'function') { - element.onclose(); - } - - setTimeout(function() { - component.remove(); - }, Satus.getAnimationDuration(component_surface)); - } - - function keydown(event) { - if (event.keyCode === 27) { - event.preventDefault(); - close(); - } - - if (event.keyCode === 9) { - var elements = component_surface.querySelectorAll('button, input'), - focused = false; - - event.preventDefault(); - - for (var i = 0, l = elements.length; i < l; i++) { - if (elements[i] === document.activeElement && elements[i + 1]) { - elements[i + 1].focus(); - - focused = true; - - i = l; - } - } - - if (focused === false) { - elements[0].focus(); - } - } - } - - component_scrim.addEventListener('click', close); - window.addEventListener('keydown', keydown); - - component.appendChild(component_scrim); - component.appendChild(component_surface); - - // OPTIONS - - if (options.left) { - component_surface.style.left = options.left + 'px'; - } - - if (options.top) { - component_surface.style.top = options.top + 'px'; - } - - if (options.width) { - component_surface.style.width = options.width + 'px'; - } - - if (options.height) { - component_surface.style.height = options.height + 'px'; - } - - // END OPTIONS - - return component; -}; -/*-------------------------------------------------------------- ->>> FOLDER ---------------------------------------------------------------*/ - -Satus.components.folder = function(object) { - var component = document.createElement('button'); - - component.object = object; - - component.classList.add('satus-button'); - - component.addEventListener('click', function() { - var parent = document.querySelector(component.object.parent) || document.querySelector('.satus-main'); - - if (!component.object.parent || !parent.classList.contains('satus-main')) { - while (!parent.classList.contains('satus-main')) { - parent = parent.parentNode; - } - } - - parent.open(this.object, object.onopen); - }); - - if (Satus.isset(object.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-folder__label'; - component_label.innerText = Satus.locale.getMessage(object.label); - - component.appendChild(component_label); - } - - return component; -}; -/*-------------------------------------------------------------- ->>> HEADER ---------------------------------------------------------------*/ - -Satus.components.header = function(object) { - var component = document.createElement('header'); - - for (var key in object) { - Satus.render(object[key], component); - } - - return component; -}; -/*-------------------------------------------------------------- ->>> LIST ---------------------------------------------------------------*/ - -Satus.components.list = function(object) { - var ul = document.createElement('ul'); - - if (object.compact === true) { - ul.classList.add('satus-list'); - ul.classList.add('satus-list--compact'); - } - - for (var key in object) { - if (Satus.isset(object[key].type)) { - var li = document.createElement('li'); - - if (object.sortable === true) { - function mousedown(event) { - if (event.button === 0) { - var self = this, - dragging = false, - clone = false, - current_index = Array.from(self.parentNode.children).indexOf(self), - bounding = this.getBoundingClientRect(), - first_x = event.clientX, - first_y = event.clientY, - offset_x = event.clientX - bounding.left, - offset_y = event.clientY - bounding.top; - - function mousemove(event) { - if (Math.abs(first_y - event.clientY) <= 5) { - return false; - } - - if (dragging === false) { - clone = self.cloneNode(true); - - Satus.cloneNodeStyles(self, clone); - clone.style.position = 'fixed'; - clone.style.pointerEvents = 'none'; - clone.style.backgroundColor = '#fff'; - self.style.visibility = 'hidden'; - - document.body.appendChild(clone); - - dragging = true; - } - - var x = bounding.left, //event.clientX - offset_x - y = event.clientY - offset_y, - index = Math.floor(y / self.offsetHeight) - 1; - - clone.style.left = x + 'px'; - clone.style.top = y + 'px'; - - //return false; - - if (index !== current_index && self.parentNode.children[index]) { - var new_clone = self.cloneNode(true); - - if (index > 0) { - self.parentNode.insertBefore(new_clone, self.parentNode.children[index].nextSibling); - } else { - self.parentNode.insertBefore(new_clone, self.parentNode.children[index]); - } - - self.remove(); - - self = new_clone; - - self.addEventListener('mousedown', mousedown); - - if (typeof object.onchange === 'function') { - object.onchange(current_index, index); - } - - current_index = index; - } - } - - function mouseup(event) { - if (clone) { - clone.remove(); - self.style.visibility = ''; - } - - window.removeEventListener('mousemove', mousemove); - window.removeEventListener('mouseup', mouseup); - } - - window.addEventListener('mousemove', mousemove); - window.addEventListener('mouseup', mouseup); - } - } - - li.addEventListener('mousedown', mousedown); - } - - Satus.render(object[key], li); - - ul.appendChild(li); - } - } - - return ul; -}; - -/*-------------------------------------------------------------- ->>> MAIN ---------------------------------------------------------------*/ - -Satus.components.main = function(object) { - var component = document.createElement('main'), - component_container = document.createElement('div'), - component_scrollbar = Satus.components.scrollbar(component_container, object.scrollbar); - - component.history = [object]; - - component.back = function() { - var container = this.querySelector('.satus-main__container'), - component_container = document.createElement('div'), - component_scrollbar = Satus.components.scrollbar(component_container); - - container.classList.add('satus-main__container--fade-out-right'); - component_container.className = 'satus-main__container satus-main__container--fade-in-left'; - - this.history.pop(); - - for (var key in this.history[this.history.length - 1]) { - Satus.render(this.history[this.history.length - 1][key], component_scrollbar); - } - - this.appendChild(component_container); - - if (this.historyListener) { - this.historyListener(component_container); - } - - if (this.history[this.history.length - 1].onopen) { - component_scrollbar.onopen = this.history[this.history.length - 1].onopen; - - component_scrollbar.onopen(); - } - - setTimeout(function() { - container.remove(); - }, Satus.getAnimationDuration(container)); - }; - - component.open = function(element, callback, animated) { - var container = this.querySelector('.satus-main__container'), - component_container = document.createElement('div'), - component_scrollbar = Satus.components.scrollbar(component_container); - - if (animated !== false) { - container.classList.add('satus-main__container--fade-out-left'); - component_container.className = 'satus-main__container satus-main__container--fade-in-right'; - } else { - component_container.className = 'satus-main__container'; - } - - this.history.push(element); - - for (var key in this.history[this.history.length - 1]) { - Satus.render(this.history[this.history.length - 1][key], component_scrollbar); - } - - this.appendChild(component_container); - - if (this.historyListener) { - this.historyListener(component_container); - } - - if (callback) { - component_scrollbar.onopen = callback; - - component_scrollbar.onopen(); - } - - setTimeout(function() { - container.remove(); - }, Satus.getAnimationDuration(container)); - }; - - component_container.className = 'satus-main__container'; - - if (object.on && object.on.change) { - component.historyListener = object.on.change; - } - - if (component.historyListener) { - component.historyListener(component_container); - } - - for (var key in object) { - Satus.render(object[key], component_scrollbar); - } - - component.appendChild(component_container); - - return component; -}; -/*----------------------------------------------------------------------------- ->>> SCROLL BAR ------------------------------------------------------------------------------*/ - -Satus.components.scrollbar = function(parent, enabled) { - if (enabled === false) { - return parent; - } - - var component = document.createElement('div'), - component_wrapper = document.createElement('div'), - component_content = document.createElement('div'), - component_thumb = document.createElement('div'); - - component.className = 'satus-scrollbar'; - component_wrapper.className = 'satus-scrollbar__wrapper'; - component_content.className = 'satus-scrollbar__content'; - component_thumb.className = 'satus-scrollbar__thumb'; - - - // RESIZE - - function resize() { - component_content.style.width = component.offsetWidth + 'px'; - component_wrapper.style.height = component.offsetHeight + 'px'; - - if (component_wrapper.scrollHeight > component_wrapper.offsetHeight) { - component_thumb.style.height = component_wrapper.offsetHeight / component_wrapper.scrollHeight * component_wrapper.offsetHeight + 'px'; - } - } - - window.addEventListener('resize', resize); - - new MutationObserver(resize).observe(component_content, { - subtree: true, - childList: true - }); - - - // HOVER - - component.timeout = false; - - function active() { - if (component.timeout) { - clearTimeout(component.timeout); - - component.timeout = false; - } - - component.classList.add('active'); - - component.timeout = setTimeout(function() { - component.classList.remove('active'); - - component.timeout = false; - }, 1000); - } - - component.addEventListener('mousemove', active); - - - // SCROLL - - component_wrapper.addEventListener('scroll', function(event) { - active(); - - component_thumb.style.top = Math.floor(component_wrapper.scrollTop * (component_wrapper.offsetHeight - component_thumb.offsetHeight) / (component_wrapper.scrollHeight - component_wrapper.offsetHeight)) + 'px'; - }); - - component_thumb.addEventListener('mousedown', function(event) { - var offsetY = event.layerY; - - if (event.button !== 0) { - return false; - } - - function mousemove(event) { - var offset = 100 / ((component.offsetHeight - component_thumb.offsetHeight) / (event.clientY - offsetY - component.getBoundingClientRect().top)), - scroll = component_wrapper.scrollHeight - component.offsetHeight; - - component_wrapper.scrollTop = scroll / 100 * offset; - - event.preventDefault(); - - return false; - } - - function mouseup() { - window.removeEventListener('mouseup', mouseup); - window.removeEventListener('mousemove', mousemove); - } - - window.addEventListener('mouseup', mouseup); - window.addEventListener('mousemove', mousemove); - }); - - component_wrapper.appendChild(component_content); - component.appendChild(component_wrapper); - component.appendChild(component_thumb); - - parent.appendChild(component); - - return component_content; -}; -/*-------------------------------------------------------------- ->>> SECTION ---------------------------------------------------------------*/ - -Satus.components.section = function(element) { - var component = document.createElement('section'); - - for (var key in element) { - Satus.render(element[key], component); - } - - return component; -}; - -/*-------------------------------------------------------------- ->>> SELECT ---------------------------------------------------------------*/ - -Satus.components.select = function(element) { - var component = document.createElement('button'), - component_label = document.createElement('span'), - component_value = document.createElement('span'), - label = Satus.locale.getMessage(element.label); - - component.classList.add('satus-button'); - - component_label.className = 'satus-select__label'; - component_label.innerText = label; - - component_value.className = 'satus-select__value'; - - if (element.storage_key) { - var value = Satus.storage.get(element.storage_key); - - component.dataset.storageKey = element.storage_key; - - for (var i = 0, l = element.options.length; i < l; i++) { - if (value === element.options[i].value) { - value = element.options[i].label; - } - } - - component_value.innerText = Satus.locale.getMessage(value || element.options[0].label); - } - - component.onclick = function() { - var position = this.getBoundingClientRect(), - dialog = { - type: 'dialog', - class: 'satus-dialog--select-component' - }; - - for (var key in element.options) { - dialog[key] = element.options[key]; - - dialog[key].type = 'button'; - dialog[key].dataset = {}; - dialog[key].dataset.key = element.options[key].label; - dialog[key].dataset.value = element.options[key].value; - dialog[key].onclick = function() { - component_value.innerText = Satus.locale.getMessage(this.dataset.key); - - Satus.storage.set(component.dataset.storageKey, this.dataset.value); - - var parent = this.parentNode; - - while (!parent.classList.contains('satus-dialog')) { - parent = parent.parentNode; - } - - parent.querySelector('.satus-dialog__scrim').click(); - }; - } - - Satus.render(dialog); - }; - - component.appendChild(component_label); - component.appendChild(component_value); - - return component; -}; -/*------------------------------------------------------------------------------ ->>> SHORTCUT -------------------------------------------------------------------------------*/ - -Satus.components.shortcut = function(element) { - var self = this, - value = (Satus.storage.get(element.storage_key) ? JSON.parse(Satus.storage.get(element.storage_key)) : false) || element.value || {}, - component = document.createElement('div'), - component_label = document.createElement('span'), - component_value = document.createElement('span'), - mousewheel_timeout = false, - mousewheel_only = false; - - component_label.className = 'satus-shortcut__label'; - component_value.className = 'satus-shortcut__value'; - - function update(canvas) { - let text_value = [], - keys_value = []; - - if (value.altKey === true) { - text_value.push('Alt'); - keys_value.push('
Alt
'); - } - - if (value.ctrlKey === true) { - text_value.push('Ctrl'); - keys_value.push('
Ctrl
'); - } - - if (value.shiftKey === true) { - text_value.push('Shift'); - keys_value.push('
Shift
'); - } - - if (value.key === ' ') { - text_value.push('Space bar'); - keys_value.push('
Space bar
'); - - } else if (typeof value.key === 'string' && ['Shift', 'Control', 'Alt'].indexOf(value.key) === -1) { - if (value.key === 'ArrowUp') { - text_value.push('↑'); - keys_value.push('
'); - } else if (value.key === 'ArrowRight') { - text_value.push('→'); - keys_value.push('
'); - } else if (value.key === 'ArrowDown') { - text_value.push('↓'); - keys_value.push('
'); - } else if (value.key === 'ArrowLeft') { - text_value.push('←'); - keys_value.push('
'); - } else { - let key = value.key.toUpperCase(); - - text_value.push(key); - keys_value.push('
' + key + '
'); - } - } - - if (value.wheel) { - keys_value.push('
'); - } - - component_value.innerText = text_value.join('+'); - - if (canvas) { - if (keys_value.length > 0) { - canvas.innerHTML = keys_value.join('
'); - } else { - canvas.innerText = Satus.locale.getMessage('pressAnyKeyOrUseMouseWheel'); - } - } - } - - update(); - - component_value.dataset.value = component_value.innerText; - - component_label.innerText = Satus.locale.getMessage(element.label); - - component.addEventListener('click', function() { - let component_dialog = document.createElement('div'), - component_dialog_label = document.createElement('span'), - component_scrim = document.createElement('div'), - component_surface = document.createElement('div'), - component_canvas = document.createElement('div'), - component_section = document.createElement('section'), - component_button_reset = document.createElement('div'), - component_button_cancel = document.createElement('div'), - component_button_save = document.createElement('div'); - - component_dialog.className = 'satus-dialog satus-dialog_open'; - component_dialog_label.className = 'satus-shortcut-dialog-label'; - component_scrim.className = 'satus-dialog__scrim'; - component_surface.className = 'satus-dialog__surface satus-dialog__surface_shortcut'; - component_canvas.className = 'satus-shortcut__canvas'; - component_section.className = 'satus-section satus-section--align-end satus-section_shortcut'; - component_button_reset.className = 'satus-button satus-button_shortcut'; - component_button_cancel.className = 'satus-button satus-button_shortcut'; - component_button_save.className = 'satus-button satus-button_shortcut'; - - component_dialog_label.innerText = component_label.innerText; - component_button_reset.innerText = Satus.locale.getMessage('reset'); - component_button_cancel.innerText = Satus.locale.getMessage('cancel'); - component_button_save.innerText = Satus.locale.getMessage('save'); - - update(component_canvas); - - function keydown(event) { - event.preventDefault(); - event.stopPropagation(); - - mousewheel_only = false; - clearTimeout(mousewheel_timeout); - - value = { - key: event.key, - keyCode: event.keyCode, - shiftKey: event.shiftKey, - ctrlKey: event.ctrlKey, - altKey: event.altKey - }; - - update(component_canvas); - - return false; - } - - function mousewheel(event) { - event.stopPropagation(); - - if (mousewheel_only === true) { - delete value.shiftKey; - delete value.altKey; - delete value.ctrlKey; - delete value.keyCode; - delete value.key; - } - - clearTimeout(mousewheel_timeout); - - mousewheel_timeout = setTimeout(function() { - mousewheel_only = true; - }, 300); - - value.wheel = event.deltaY; - - update(component_canvas); - - return false; - } - - window.addEventListener('keydown', keydown); - window.addEventListener('mousewheel', mousewheel); - - function close(clear = true) { - window.removeEventListener('keydown', keydown); - window.removeEventListener('mousewheel', mousewheel); - - if (clear === true) { - component_value.innerText = component_value.dataset.value; - } - - component_dialog.classList.remove('satus-dialog_open'); - - setTimeout(function() { - component_dialog.remove(); - }, Number(document.defaultView.getComputedStyle(component_dialog, '').getPropertyValue('animation-duration').replace(/[^0-9.]/g, '') * 1000)); - } - - component_scrim.addEventListener('click', close); - component_button_reset.addEventListener('click', function() { - Satus.storage.set(element.storage_key, null); - close(); - value = (Satus.storage.get(element.storage_key) ? JSON.parse(Satus.storage.get(element.storage_key)) : false) || object.value || {}; - update(); - }); - component_button_cancel.addEventListener('click', close); - component_button_save.addEventListener('click', function() { - Satus.storage.set(element.storage_key, JSON.stringify(value)); - close(false); - }); - - component_section.appendChild(component_button_reset); - component_section.appendChild(component_button_cancel); - component_section.appendChild(component_button_save); - - component_surface.appendChild(component_dialog_label); - component_surface.appendChild(component_canvas); - component_surface.appendChild(component_section); - - component_dialog.appendChild(component_scrim); - component_dialog.appendChild(component_surface); - - document.body.appendChild(component_dialog); - }); - - component.appendChild(component_label); - component.appendChild(component_value); - - return component; -}; -/*-------------------------------------------------------------- ->>> SLIDER ---------------------------------------------------------------*/ - -Satus.components.slider = function(element) { - var component = document.createElement('div'); - - // LABEL - if (Satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-slider__label'; - component_label.innerText = Satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - - // RANGE - var component_range = document.createElement('input'); - - component_range.type = 'range'; - component_range.className = 'satus-slider__range'; - component_range.min = element.min || 0; - component_range.max = element.max || 10; - component_range.step = element.step || 1; - - component_range.oninput = function() { - var track = this.parentNode.querySelector('.satus-slider__track'), - thumb = this.parentNode.querySelector('.satus-slider__thumb'), - min = Number(this.min) || 0, - max = Number(this.max) || 1, - step = Number(this.step) || 1, - value = Number(this.value) || 0, - offset = (value - min) / (max - min) * 100; - - track.style.width = 'calc(' + offset + '% - ' + Math.floor(offset * 12 / 100) + 'px)'; - - Satus.storage.set(this.dataset.storageKey, Number(this.value)); - - component_thumb.dataset.value = this.value; - - if (component.onchange) { - component.onchange(Number(this.value)); - } - }; - - component.change = function(value) { - component_range.value = value; - - component_thumb.dataset.value = value; - - component_range.oninput(); - }; - - component.addEventListener('mousedown', function() { - function mousemove() { - component.classList.add('satus-slider--dragging'); - } - - function mouseup() { - component.classList.remove('satus-slider--dragging'); - - window.removeEventListener('mousemove', mousemove); - window.removeEventListener('mouseup', mouseup); - } - - window.addEventListener('mousemove', mousemove); - window.addEventListener('mouseup', mouseup); - }); - - if (element.onchange) { - component.onchange = element.onchange; - } - - component.appendChild(component_range); - - - // CONTAINER - var component_container = document.createElement('div'); - - component_container.className = 'satus-slider__container'; - - component.appendChild(component_container); - - - // TRACK - var component_track_container = document.createElement('div'), - component_track = document.createElement('div'); - - component_track_container.className = 'satus-slider__track-container'; - component_track.className = 'satus-slider__track'; - - component_track_container.appendChild(component_track); - component_container.appendChild(component_track_container); - - - // FOCUS RING - var component_ring = document.createElement('div'); - - component_ring.className = 'satus-slider__ring'; - - component_track.appendChild(component_ring); - - - // THUMB - var component_thumb = document.createElement('div'); - - component_thumb.className = 'satus-slider__thumb'; - - component_track.appendChild(component_thumb); - - if (element.storage_key) { - var value = Satus.storage.get(element.storage_key) || element.value; - - component_range.dataset.storageKey = element.storage_key; - - if (value) { - component_range.value = value; - - if (!Satus.isset(value)) { - value = element.value; - } - - var offset = (Number(component_range.value) - Number(component_range.min)) / (Number(component_range.max) - Number(component_range.min)) * 100; - - component_track.style.width = 'calc(' + offset + '% - ' + Math.floor(offset * 12 / 100) + 'px)'; - component_thumb.dataset.value = value; - } else { - component_range.value = 0; - component_thumb.dataset.value = 0; - } - } - - - return component; -}; -/*-------------------------------------------------------------- ->>> SWITCH ---------------------------------------------------------------*/ - -Satus.components.switch = function(element) { - var component = document.createElement('div'), - value; - - // LABEL - if (Satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-switch__label'; - component_label.innerText = Satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - - // INPUT - var component_input = document.createElement('input'); - - component_input.type = 'checkbox'; - component_input.className = 'satus-switch__input'; - - if (element.storage_key) { - value = Satus.storage.get(element.storage_key); - - component_input.dataset.storageKey = element.storage_key; - } - - if (!Satus.isset(value)) { - value = element.value; - } - - if (value) { - component_input.checked = value; - } - - component_input.addEventListener('change', function() { - Satus.storage.set(this.dataset.storageKey, this.checked); - }); - - component.appendChild(component_input); - - - // TRACK - var component_track = document.createElement('div'); - - component_track.className = 'satus-switch__track'; - - component.appendChild(component_track); - - - // MOUSE MOVE - component_track.addEventListener('mousedown', function(event) { - var prevent = false, - difference = 0; - - function click(event) { - event.preventDefault(); - event.stopPropagation(); - - component.removeEventListener('click', click); - - return false; - } - - function mousemove(event) { - var checkbox = component.querySelector('input'), - movement = event.movementX; - - if (movement * difference < 0) { - difference = 0; - } else { - difference += movement; - - if (prevent === false) { - prevent = true; - component.addEventListener('click', click); - } - } - - if (difference < -5) { - checkbox.checked = false; - } else if (difference > 5) { - checkbox.checked = true; - } - } - - function mouseup(event) { - window.removeEventListener('mousemove', mousemove); - window.removeEventListener('mouseup', mouseup); - } - - window.addEventListener('mousemove', mousemove); - window.addEventListener('mouseup', mouseup); - }); - - - // TOUCH MOVE - component_track.addEventListener('touchstart', function(event) { - var previous_x = 0, - difference = 0; - - function mousemove(event) { - var checkbox = component.querySelector('input'), - movement = event.touches[0].clientX - previous_x; - - previous_x = event.touches[0].clientX; - - if (movement * difference < 0) { - difference = 0; - } else { - difference += movement; - } - - if (difference < -5) { - checkbox.checked = false; - } else if (difference > 5) { - checkbox.checked = true; - } - } - - function mouseup(event) { - window.removeEventListener('touchmove', mousemove); - window.removeEventListener('touchend', mouseup); - } - - window.addEventListener('touchmove', mousemove); - window.addEventListener('touchend', mouseup); - }); - - - return component; -}; -Satus.components.table = function(item) { - var component = document.createElement('div'), - component_head = document.createElement('div'), - component_body = document.createElement('div'), - component_scrollbar = Satus.components.scrollbar(component_body, item.scrollbar), - table = document.createElement('div'); - - table.className = 'satus-table__container'; - component_head.className = 'satus-table__head'; - component_body.className = 'satus-table__body'; - - function update(data) { - var pages = Math.ceil(component.data.length / component.paging), - start = Math.max((component.pagingIndex - 1) * component.paging, 0), - end = component.pagingIndex * component.paging; - - if (end > data.length) { - end = data.length; - } else if (end === 0) { - end = component.paging; - } - - table.innerHTML = ''; - - if (data) { - for (var i = start, l = end; i < l; i++) { - if (data[i]) { - var tr = document.createElement('div'); - - tr.className = 'satus-table__row'; - - for (var j = 0, k = data[i].length; j < k; j++) { - var td = document.createElement('div'); - - - td.className = 'satus-table__cell'; - - if (data[i][j].html) { - td.innerHTML = data[i][j].html; - } else if (data[i][j].text) { - td.innerText = data[i][j].text; - } - - if (data[i][j].onrender) { - td.onrender = data[i][j].onrender; - - td.onrender(); - } - - tr.appendChild(td); - } - - table.appendChild(tr); - } - } - } - - component.pagingUpdate(); - } - - function sortArray(array, index, mode) { - if (mode === 'asc') { - if (typeof array[0][index].text === 'number') { - sorted = array.sort(function(a, b) { - return a[index].text - b[index].text; - }); - } else { - sorted = array.sort(function(a, b) { - return a[index].text.localeCompare(b[index].text); - }); - } - } else { - if (typeof array[0][index].text === 'number') { - sorted = array.sort(function(a, b) { - return b[index].text - a[index].text; - }); - } else { - sorted = array.sort(function(a, b) { - return b[index].text.localeCompare(a[index].text); - }); - } - } - - return array; - } - - function sort() { - var mode = this.dataset.sorting, - index = Array.prototype.indexOf.call(this.parentElement.children, this), - sorted; - - if (component.data[0][index] && component.data[0][index].hasOwnProperty('text')) { - if (mode === 'none') { - mode = 'asc'; - } else if (mode === 'asc') { - mode = 'desc'; - } else if (mode === 'desc') { - mode = 'asc'; - } - - if (this.parentNode.querySelector('div[data-sorting=asc], div[data-sorting=desc]')) { - this.parentNode.querySelector('div[data-sorting=asc], div[data-sorting=desc]').dataset.sorting = 'none'; - } - - this.dataset.sorting = mode; - - sorted = sortArray(component.data, index, mode); - - update(sorted); - } else { - this.dataset.sorting = false; - } - } - - function resize() {} - - for (var i = 0, l = item.columns.length; i < l; i++) { - var column = document.createElement('div'); - - column.dataset.sorting = 'none'; - column.addEventListener('click', sort); - column.innerHTML = '' + item.columns[i].title + ''; - - component_head.appendChild(column); - } - - component_scrollbar.appendChild(table); - - component.appendChild(component_head); - component.appendChild(component_body); - - component.data = item.data; - component.paging = item.paging; - component.pagingIndex = 0; - - component.update = function(data, index, mode) { - if (Satus.isset(data)) { - this.data = data; - } - - if (this.querySelector('div[data-sorting=asc], div[data-sorting=desc]')) { - var mode = this.querySelector('div[data-sorting=asc], div[data-sorting=desc]').dataset.sorting, - index = Array.prototype.indexOf.call(this.querySelector('div[data-sorting=asc], div[data-sorting=desc]').parentElement.children, this.querySelector('div[data-sorting=asc], div[data-sorting=desc]')); - - update(sortArray(this.data, index, mode)); - } else { - for (var i = 0, l = item.columns.length; i < l; i++) { - if (item.columns[i].hasOwnProperty('sorting')) { - if (this.data[0][i].hasOwnProperty('text')) { - this.querySelectorAll('.satus-table__head > div')[i].dataset.sorting = item.columns[i].sorting; - } else { - this.querySelectorAll('.satus-table__head > div')[i].dataset.sorting = false; - } - - update(sortArray(this.data, i, item.columns[i].sorting)); - - i = l; - } - } - } - }; - - - // PAGING - - function pagingUpdate() { - if (typeof this.paging === 'number') { - var pages = Math.ceil(this.data.length / this.paging); - - this.querySelector('.satus-table__paging').innerHTML = ''; - - for (var i = 1; i <= pages; i++) { - var button = document.createElement('button'); - - if (i === (this.pagingIndex || 1)) { - button.className = 'active'; - } - - button.innerText = i; - button.parentComponent = this; - button.addEventListener('click', function() { - if (this.parentNode.querySelector('button.active')) { - this.parentNode.querySelector('button.active').classList.remove('active'); - } - - this.classList.add('active'); - - this.parentComponent.pagingIndex = Number(this.innerText); - this.parentComponent.update(this.parentComponent.data); - }); - - this.querySelector('.satus-table__paging').appendChild(button); - } - } - - resize(); - } - - component.pagingUpdate = pagingUpdate; - - component_paging = document.createElement('div'); - - component_paging.className = 'satus-table__paging'; - - component_scrollbar.appendChild(component_paging); - - // END PAGING - - if (item.data) { - component.update(item.data); - } - - return component; -}; - -/*-------------------------------------------------------------- ->>> TEXT ---------------------------------------------------------------*/ - -Satus.components.text = function(element) { - var component = document.createElement('span'); - - if (Satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-text__label'; - component_label.innerText = Satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - if (Satus.isset(element.value)) { - var component_value = document.createElement('span'); - - component_value.className = 'satus-text__value'; - component_value.innerText = Satus.locale.getMessage(element.value); - - component.appendChild(component_value); - } - - return component; -}; -/*-------------------------------------------------------------- ->>> TEXT FIELD ---------------------------------------------------------------*/ - -Satus.components.textField = function(element) { - var component = element.rows > 1 ? document.createElement('textarea') : document.createElement('input'); - - component.type = 'text'; - - return component; -}; \ No newline at end of file diff --git a/unstable/assets/fonts/OpenSans-Regular.ttf b/unstable/assets/fonts/OpenSans-Regular.ttf deleted file mode 100644 index 29bfd35a2..000000000 Binary files a/unstable/assets/fonts/OpenSans-Regular.ttf and /dev/null differ diff --git a/unstable/assets/fonts/OpenSans-SemiBold.ttf b/unstable/assets/fonts/OpenSans-SemiBold.ttf deleted file mode 100644 index 54e7059cf..000000000 Binary files a/unstable/assets/fonts/OpenSans-SemiBold.ttf and /dev/null differ diff --git a/unstable/assets/fonts/XanhMono-Regular.ttf b/unstable/assets/fonts/XanhMono-Regular.ttf deleted file mode 100644 index b56a225da..000000000 Binary files a/unstable/assets/fonts/XanhMono-Regular.ttf and /dev/null differ diff --git a/unstable/assets/icons/128.png b/unstable/assets/icons/128.png deleted file mode 100644 index 93e57d80a..000000000 Binary files a/unstable/assets/icons/128.png and /dev/null differ diff --git a/unstable/assets/icons/128g.png b/unstable/assets/icons/128g.png deleted file mode 100644 index 2a4c3fe50..000000000 Binary files a/unstable/assets/icons/128g.png and /dev/null differ diff --git a/unstable/assets/icons/16.png b/unstable/assets/icons/16.png deleted file mode 100644 index 495f73cb3..000000000 Binary files a/unstable/assets/icons/16.png and /dev/null differ diff --git a/unstable/assets/icons/16g.png b/unstable/assets/icons/16g.png deleted file mode 100644 index 9e0271c5f..000000000 Binary files a/unstable/assets/icons/16g.png and /dev/null differ diff --git a/unstable/assets/icons/32.png b/unstable/assets/icons/32.png deleted file mode 100644 index 5470de916..000000000 Binary files a/unstable/assets/icons/32.png and /dev/null differ diff --git a/unstable/assets/icons/32g.png b/unstable/assets/icons/32g.png deleted file mode 100644 index 00761d712..000000000 Binary files a/unstable/assets/icons/32g.png and /dev/null differ diff --git a/unstable/assets/icons/48.png b/unstable/assets/icons/48.png deleted file mode 100644 index b2dcf5f66..000000000 Binary files a/unstable/assets/icons/48.png and /dev/null differ diff --git a/unstable/assets/icons/48g.png b/unstable/assets/icons/48g.png deleted file mode 100644 index 0edd6134b..000000000 Binary files a/unstable/assets/icons/48g.png and /dev/null differ diff --git a/unstable/background.js b/unstable/background.js deleted file mode 100644 index a4a744e21..000000000 --- a/unstable/background.js +++ /dev/null @@ -1,342 +0,0 @@ -/*--------------------------------------------------------------- ->>> BACKGROUND ------------------------------------------------------------------ -# Global variables -# Functions -# Context menu items -# Message listener -# Storage change listener -# Initialization -# Uninstall URL -# Google Analytics ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# GLOBAL VARIABLES ----------------------------------------------------------------*/ - -var locale_code = 'en', - browser_icon = false; - - -/*--------------------------------------------------------------- -# FUNCTIONS ----------------------------------------------------------------*/ - -function isset(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -} - -function getTranslations(path) { - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - if (chrome && chrome.tabs) { - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'translation_response', - value: xhr.responseText - }); - } - } - }); - } - - chrome.runtime.sendMessage({ - name: 'translation_response', - value: xhr.responseText - }); - }); - - xhr.open('GET', path, true); - xhr.send(); -} - -function browserActionIcon() { - if (browser_icon === 'always') { - chrome.browserAction.setIcon({ - path: 'assets/icons/32.png' - }); - } else { - chrome.browserAction.setIcon({ - path: 'assets/icons/32g.png' - }); - } -} - - -/*--------------------------------------------------------------- -# CONTEXT MENU ITEMS ----------------------------------------------------------------*/ - -chrome.contextMenus.removeAll(); - -chrome.contextMenus.create({ - id: '1111', - title: 'Donate', - contexts: ['browser_action'] -}); - -chrome.contextMenus.create({ - id: '1112', - title: 'Rate me', - contexts: ['browser_action'] -}); - -chrome.contextMenus.create({ - id: '1113', - title: 'GitHub', - contexts: ['browser_action'] -}); - -chrome.contextMenus.onClicked.addListener(function(event) { - if (event.menuItemId === '1111') { - window.open('https://www.improvedtube.com/donate'); - } else if (event.menuItemId === '1112') { - window.open('https://chrome.google.com/webstore/detail/improvedtube-for-youtube/bnomihfieiccainjcjblhegjgglakjdd'); - } else if (event.menuItemId === '1113') { - window.open('https://github.com/ImprovedTube/ImprovedTube'); - } -}); - - -/*--------------------------------------------------------------- -# MESSAGE LISTENER ----------------------------------------------------------------*/ - -chrome.runtime.onMessage.addListener(function(request, sender) { - if (isset(request) && typeof request === 'object') { - if (request.enabled === true && browser_icon !== 'always') { - chrome.browserAction.setIcon({ - path: 'assets/icons/32.png', - tabId: sender.tab.id - }); - } - - if (request.name === 'translation_request') { - getTranslations(request.path); - } - - if (request.name === 'improvedtube-analyzer') { - var data = request.value, - date = new Date().toDateString(), - hours = new Date().getHours() + ':00'; - - chrome.storage.local.get(function(items) { - if (!items.analyzer) { - items.analyzer = {}; - } - - if (!items.analyzer[date]) { - items.analyzer[date] = {}; - } - - if (!items.analyzer[date][hours]) { - items.analyzer[date][hours] = {}; - } - - if (!items.analyzer[date][hours][data]) { - items.analyzer[date][hours][data] = 0; - } - - items.analyzer[date][hours][data]++; - - chrome.storage.local.set({ - analyzer: items.analyzer - }); - }); - } - - if (request.name === 'improvedtube-blacklist') { - chrome.storage.local.get(function(items) { - if (!items.blacklist || typeof items.blacklist !== 'object') { - items.blacklist = {}; - } - - if (request.data.type === 'channel') { - if (!items.blacklist.channels) { - items.blacklist.channels = {}; - } - - items.blacklist.channels[request.data.id] = { - title: request.data.title, - preview: request.data.preview - }; - } - - if (request.data.type === 'video') { - if (!items.blacklist.videos) { - items.blacklist.videos = {}; - } - - items.blacklist.videos[request.data.id] = { - title: request.data.title - }; - } - - chrome.storage.local.set({ - blacklist: items.blacklist - }); - }); - } - - if (request.name === 'improvedtube-watched') { - chrome.storage.local.get(function(items) { - if (!items.watched || typeof items.watched !== 'object') { - items.watched = {}; - } - - if (request.data.action === 'set') { - items.watched[request.data.id] = { - title: request.data.title - }; - } - - if (request.data.action === 'remove') { - delete items.watched[request.data.id]; - } - - chrome.storage.local.set({ - watched: items.watched - }); - }); - } - - if (request.name === 'download') { - chrome.permissions.request({ - permissions: ['downloads'], - origins: ['https://www.youtube.com/*'] - }, function(granted) { - if (granted) { - try { - var blob = new Blob([JSON.stringify(request.value)], { - type: 'application/json;charset=utf-8' - }); - - chrome.downloads.download({ - url: URL.createObjectURL(blob), - filename: request.filename, - saveAs: true - }); - } catch (err) { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: err - }); - } - } else { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: 'permissionIsNotGranted' - }); - } - }); - } - - if (request.name === 'improvedtube-play') { - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'improvedtube-play', - id: request.id - }); - } - } - }); - } - - if (isset(request.export)) { - chrome.storage.local.get(function(data) { - chrome.permissions.request({ - permissions: ['downloads'], - origins: ['https://www.youtube.com/*'] - }, function(granted) { - if (granted) { - var blob = new Blob([JSON.stringify(data)], { - type: 'application/octet-stream' - }), - date = new Date(); - - chrome.downloads.download({ - url: URL.createObjectURL(blob), - filename: 'improvedtube_' + (date.getMonth() + 1) + '_' + date.getDate() + '_' + date.getFullYear() + '.json', - saveAs: true - }); - } - }); - }); - } - } -}); - - -/*--------------------------------------------------------------- -# STORAGE CHANGE LISTENER ----------------------------------------------------------------*/ - -chrome.storage.onChanged.addListener(function(changes) { - if (isset(changes.improvedtube_language)) { - locale_code = changes.improvedtube_language.newValue; - } - - if (isset(changes.improvedtube_browser_icon)) { - browser_icon = changes.improvedtube_browser_icon.newValue; - } - - browserActionIcon(); - - _gaq.push(['_trackPageview', '/improvedtube-' + chrome.runtime.getManifest().version + '/background', 'page-loaded']); -}); - - -/*--------------------------------------------------------------- -# INITIALIZATION ----------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - if (isset(items.improvedtube_language)) { - locale_code = items.improvedtube_language; - } - - if (isset(items.improvedtube_browser_icon)) { - browser_icon = items.improvedtube_browser_icon; - } - - browserActionIcon(); - - _gaq.push(['_trackPageview', '/improvedtube-' + chrome.runtime.getManifest().version + '/background', 'page-loaded']); -}); - - -/*--------------------------------------------------------------- -# UNINSTALL URL ----------------------------------------------------------------*/ - -//chrome.runtime.setUninstallURL('https://improvedtube.com/uninstalled'); - - -/*--------------------------------------------------------------- -# GOOGLE ANALYTICS ----------------------------------------------------------------*/ - -var _gaq = _gaq || []; - -/*(function() { - var ga = document.createElement('script'); - - _gaq.push(['_setAccount', 'UA-88354155-1']); - _gaq.push(['_setSessionCookieTimeout', 14400000]); - - ga.type = 'text/javascript'; - ga.async = true; - ga.src = 'https://ssl.google-analytics.com/ga.js'; - - document.body.appendChild(ga); -})();*/ diff --git a/unstable/build.py b/unstable/build.py deleted file mode 100644 index a7b1b137a..000000000 --- a/unstable/build.py +++ /dev/null @@ -1,23 +0,0 @@ -import json -import pathlib -import re - -with open("config.json") as json_file: - data = json.load(json_file) - - for target_key in data: - if re.search(r"\/", target_key): - pathlib.Path(target_key).mkdir(parents=True, exist_ok=True) - - file = open(target_key.search(r"[ \w-]+\.[\w-]*$").group(0), "w", encoding='utf-8') - else: - file = open(target_key, "w", encoding='utf-8') - - for source_key in data[target_key]: - source_file = open(source_key, "r", encoding='utf-8') - - file.write("\r\n" + "".join(source_file.readlines())) - - source_file.close() - - file.close() \ No newline at end of file diff --git a/unstable/config.json b/unstable/config.json deleted file mode 100644 index 3204ecbe7..000000000 --- a/unstable/config.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "content-scripts.js": [ - "src/youtube/js/core.js", - "src/youtube/js/events.js", - "src/youtube/js/features/analyzer.js", - "src/youtube/js/features/appearance.js", - "src/youtube/js/features/blacklist.js", - "src/youtube/js/features/channel.js", - "src/youtube/js/features/general.js", - "src/youtube/js/features/player.js", - "src/youtube/js/features/playlist.js", - "src/youtube/js/features/settings.js", - "src/youtube/js/features/shortcuts.js", - "src/youtube/js/features/themes.js", - "src/youtube/js/features/volume-mixer.js", - "src/youtube/js/functions.js", - "src/youtube/js/injection.js", - "src/youtube/js/migration.js", - "src/youtube/js/mutations.js" - ], - "content-scripts.css": [ - "src/youtube/css/appearance.css", - "src/youtube/css/appearance__player-size.css", - "src/youtube/css/blacklist.css", - "src/youtube/css/channel.css", - "src/youtube/css/general.css", - "src/youtube/css/other.css", - "src/youtube/css/player.css", - "src/youtube/css/playlist.css", - "src/youtube/css/settings.css", - "src/youtube/css/shortcuts.css", - "src/youtube/css/themes.css", - "src/youtube/css/themes/black.css", - "src/youtube/css/themes/dawn.css", - "src/youtube/css/themes/default.css", - "src/youtube/css/themes/desert.css", - "src/youtube/css/themes/night.css", - "src/youtube/css/themes/plain.css", - "src/youtube/css/themes/sunset.css" - ], - "popup.js": [ - "src/template/js/header.js", - "src/template/js/main.js", - "src/template/js/template-parts/header/active-features.js", - "src/template/js/template-parts/header/mixer.js", - "src/template/js/template-parts/header/settings.js", - "src/template/js/template-parts/general.js", - "src/template/js/template-parts/appearance.js", - "src/template/js/template-parts/themes.js", - "src/template/js/template-parts/player.js", - "src/template/js/template-parts/playlist.js", - "src/template/js/template-parts/channel.js", - "src/template/js/template-parts/shortcuts.js", - "src/template/js/template-parts/blacklist.js", - "src/template/js/template-parts/analyzer.js", - "src/template/js/index.js" - ], - "popup.css": [ - "src/template/css/themes.css", - "src/template/css/index.css", - "src/template/css/header.css", - "src/template/css/main.css", - "src/template/css/template-parts/home.css", - "src/template/css/template-parts/appearance.css", - "src/template/css/template-parts/themes.css", - "src/template/css/template-parts/player.css", - "src/template/css/template-parts/blacklist.css", - "src/template/css/template-parts/analyzer.css", - "src/template/css/template-parts/mixer.css", - "src/template/css/template-parts/settings.css" - ] -} diff --git a/unstable/content-scripts.css b/unstable/content-scripts.css deleted file mode 100644 index 7c2f105ec..000000000 --- a/unstable/content-scripts.css +++ /dev/null @@ -1,6791 +0,0 @@ - -/*----------------------------------------------------------------------------- ->>> APPEARANCE -------------------------------------------------------------------------------- -1.0 Header - 1.1 Position - 1.2 Logo - 1.3 Hide right buttons -2.0 Player - 2.1 Annotations - 2.2 Cards - 2.4 Color - 2.5 Transparent background - 2.6 Endscreen - 2.7 Sroll for details - 2.8 Always show progress bar - 2.9 Hide Gradient Bottom -3.0 Details - 3.1 Style - 3.2 Views count - 3.3 Likes -4.0 Description -5.0 Comments -6.0 Sidebar - 6.1 Live chat - 6.2 Playlist - 6.3 Related videos - 6.4 Sidebar and thumbnail position -7.0 Footer ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Header ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1 Position ------------------------------------------------------------------------------*/ - -html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-container, -html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-positioner -{ - transform: translateY(-100%); -} - -html[it-header-position=hidden] app-drawer#guide #guide-spacer, -html[it-header-position=hidden] ytd-app > ytd-masthead, -html[it-header-position=hidden] #masthead-positioner-height-offset, -html[it-header-position=hover] app-drawer#guide #guide-spacer, -html[it-header-position=hover] #masthead-positioner-height-offset, -html[it-header-position=static] app-drawer#guide #guide-spacer, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-container, -html[it-header-position=hidden_on_video_page][it-page-type=video] app-drawer#guide #guide-spacer, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-positioner, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-positioner-height-offset, -html[it-header-position=hover_on_video_page][it-page-type=video] app-drawer#guide #guide-spacer, -html[it-header-position=hover_on_video_page][it-page-type=video] #masthead-positioner-height-offset, -html[it-header-position=static] #masthead-positioner-height-offset -{ - display: none !important; -} - -html[it-header-position=hover] ytd-app > ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app > ytd-masthead, -html[it-header-position=hover] #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-container, -html[it-header-position=hover] #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-positioner -{ - z-index: 2147483647 !important; -} - -html[it-header-position=hidden] ytd-page-manager#page-manager, -html[it-header-position=hidden] app-header#header, -html[it-header-position=hidden_on_video_page][it-page-type='video'] ytd-page-manager#page-manager, -html[it-header-position=hidden_on_video_page][it-page-type='video'] app-header#header, -html[it-header-position=hidden] #appbar-guide-menu, -html[it-header-position=hidden_on_video_page][it-page-type='video'] #appbar-guide-menu, -html[it-header-position=hover] ytd-page-manager#page-manager, -html[it-header-position=hover] app-header#header, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-page-manager#page-manager, -html[it-header-position=hover_on_video_page][it-page-type='video'] app-header#header, -html[it-header-position=hover] #appbar-guide-menu, -html[it-header-position=hover_on_video_page][it-page-type='video'] #appbar-guide-menu, -html[it-header-position=static] ytd-page-manager#page-manager, -html[it-header-position=static] #appbar-guide-menu -{ - margin-top: 0 !important; -} - -html[it-header-position=hover] ytd-app > ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) ytd-app > ytd-masthead, -html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) #masthead-container, -html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) #masthead-positioner -{ - transition: transform 250ms !important; - transform: translateY(-75%) !important; -} - -html[it-header-position=hover] #masthead-container:hover, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-container:hover, -html[it-header-position=hover] #masthead-positioner:hover, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-positioner:hover, -html[it-header-position=hover][it-search-focus=true] #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video'][it-search-focus=true] #masthead-container, -html[it-header-position=hover][it-search-focus=true] #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video'][it-search-focus=true] #masthead-positioner -{ - transform: translateY(0%) !important; -} - -html[it-header-position=static] #masthead-container, -html[it-header-position=static] #masthead-positioner -{ - position: relative !important; - z-index: 999999999999 !important; -} - -html[it-header-position=hover] ytd-app[masthead-hidden_] ytd-masthead, -html[it-header-position=hover] ytd-app[scrolling_] ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app[masthead-hidden_] ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app[scrolling_] ytd-masthead -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -1.2 Logo ------------------------------------------------------------------------------*/ - -html[it-header-improve-logo=true] ytd-topbar-logo-renderer#logo, -html[it-header-improve-logo=true] #yt-masthead-logo-fragment, -html[it-header-improve-logo=true] #yt-masthead #logo-container .logo -{ - filter: grayscale(1); -} - -html[it-header-improve-logo=true][dark] #yt-masthead #logo-container .logo -{ - filter: grayscale(1) brightness(3); -} - -html[it-header-improve-logo=true] g.ytd-topbar-logo-renderer path[fill*='#FF0000'] -{ - fill: #282828; -} - -html[it-header-improve-logo=true][dark] g.ytd-topbar-logo-renderer path[fill*='#FF0000'] -{ - fill: #fff; -} - -html[it-header-improve-logo=true] g.ytd-topbar-logo-renderer polygon[fill*='#FFFFFF'] -{ - fill: #232323; -} - - -/*----------------------------------------------------------------------------- -1.3 Hide right buttons ------------------------------------------------------------------------------*/ - -html[it-header-hide-right-buttons=true] ytd-masthead#masthead #container #end -{ - visibility: hidden !important; - pointer-events: none !important; -} - - -/*----------------------------------------------------------------------------- -2.0 Player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 Annotations ------------------------------------------------------------------------------*/ - -html[it-player-hide-annotations=true] .annotation, -html[it-player-hide-annotations=true] .annotation-type-text, -html[it-player-hide-annotations=true] .annotation-shape -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.2 Cards ------------------------------------------------------------------------------*/ - -html[it-player-hide-cards=true] .ytp-ce-element, -html[it-player-hide-cards=true] .ytp-ce-video, -html[it-player-hide-cards=true] .ytp-cards-button, -html[it-player-hide-cards=true] .ytp-cards-teaser, -html[it-player-show-cards-on-mouse-hover=true] .ytp-cards-button -{ - display: none !important; -} - -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:hover .iv-drawer -{ - display: block !important; - transform: none; -} - -/*----------------------------------------------------------------------------- -2.4 Color ------------------------------------------------------------------------------*/ - -html[it-player-color='pink'] .ytp-play-progress, -html[it-player-color='pink'] .ytp-scrubber-button, -html[it-player-color='pink'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='pink'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #e91e63 !important; -} - -html[it-player-color='pink'] .ytp-swatch-color -{ - color: #e91e63 !important; -} - -html[it-player-color='purple'] .ytp-play-progress, -html[it-player-color='purple'] .ytp-scrubber-button, -html[it-player-color='purple'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='purple'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #9c27b0 !important; -} - -html[it-player-color='purple'] .ytp-swatch-color -{ - color: #9c27b0 !important; -} - -html[it-player-color='deep_purple'] .ytp-play-progress, -html[it-player-color='deep_purple'] .ytp-scrubber-button, -html[it-player-color='deep_purple'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='deep_purple'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #673ab7 !important; -} - -html[it-player-color='deep_purple'] .ytp-swatch-color -{ - color: #673ab7 !important; -} - -html[it-player-color='indigo'] .ytp-play-progress, -html[it-player-color='indigo'] .ytp-scrubber-button, -html[it-player-color='indigo'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='indigo'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #3f51b5 !important; -} - -html[it-player-color='indigo'] .ytp-swatch-color -{ - color: #3f51b5 !important; -} - -html[it-player-color='blue'] .ytp-play-progress, -html[it-player-color='blue'] .ytp-scrubber-button, -html[it-player-color='blue'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='blue'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #1e88e5 !important; -} - -html[it-player-color='blue'] .ytp-swatch-color -{ - color: #1e88e5 !important; -} - -html[it-player-color='light_blue'] .ytp-play-progress, -html[it-player-color='light_blue'] .ytp-scrubber-button, -html[it-player-color='light_blue'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='light_blue'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #03a9f4 !important; -} - -html[it-player-color='light_blue'] .ytp-swatch-color -{ - color: #03a9f4 !important; -} - -html[it-player-color='cyan'] .ytp-play-progress, -html[it-player-color='cyan'] .ytp-scrubber-button, -html[it-player-color='cyan'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='cyan'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #00bcd4 !important; -} - -html[it-player-color='cyan'] .ytp-swatch-color -{ - color: #00bcd4 !important; -} - -html[it-player-color='teal'] .ytp-play-progress, -html[it-player-color='teal'] .ytp-scrubber-button, -html[it-player-color='teal'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='teal'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #009688 !important; -} - -html[it-player-color='teal'] .ytp-swatch-color -{ - color: #009688 !important; -} - -html[it-player-color='green'] .ytp-play-progress, -html[it-player-color='green'] .ytp-scrubber-button, -html[it-player-color='green'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='green'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #4caf50 !important; -} - -html[it-player-color='green'] .ytp-swatch-color -{ - color: #4caf50 !important; -} - -html[it-player-color='light_green'] .ytp-play-progress, -html[it-player-color='light_green'] .ytp-scrubber-button, -html[it-player-color='light_green'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='light_green'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #8bc34a !important; -} - -html[it-player-color='light_green'] .ytp-swatch-color -{ - color: #8bc34a !important; -} - -html[it-player-color='lime'] .ytp-play-progress, -html[it-player-color='lime'] .ytp-scrubber-button, -html[it-player-color='lime'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='lime'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #cddc39 !important; -} - -html[it-player-color='lime'] .ytp-swatch-color -{ - color: #cddc39 !important; -} - -html[it-player-color='yellow'] .ytp-play-progress, -html[it-player-color='yellow'] .ytp-scrubber-button, -html[it-player-color='yellow'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='yellow'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ffeb3b !important; -} - -html[it-player-color='yellow'] .ytp-swatch-color -{ - color: #ffeb3b !important; -} - -html[it-player-color='amber'] .ytp-play-progress, -html[it-player-color='amber'] .ytp-scrubber-button, -html[it-player-color='amber'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='amber'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ffc107 !important; -} - -html[it-player-color='amber'] .ytp-swatch-color -{ - color: #ffc107 !important; -} - -html[it-player-color='orange'] .ytp-play-progress, -html[it-player-color='orange'] .ytp-scrubber-button, -html[it-player-color='orange'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='orange'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ff9800 !important; -} - -html[it-player-color='orange'] .ytp-swatch-color -{ - color: #ff9800 !important; -} - -html[it-player-color='deep_orange'] .ytp-play-progress, -html[it-player-color='deep_orange'] .ytp-scrubber-button, -html[it-player-color='deep_orange'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='deep_orange'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ff5722 !important; -} - -html[it-player-color='deep_orange'] .ytp-swatch-color -{ - color: #ff5722 !important; -} - -html[it-player-color='brown'] .ytp-play-progress, -html[it-player-color='brown'] .ytp-scrubber-button, -html[it-player-color='brown'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='brown'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #795548 !important; -} - -html[it-player-color='brown'] .ytp-swatch-color -{ - color: #795548 !important; -} - -html[it-player-color='blue_gray'] .ytp-play-progress, -html[it-player-color='blue_gray'] .ytp-scrubber-button, -html[it-player-color='blue_gray'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='blue_gray'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #607d8b !important; -} - -html[it-player-color='blue_gray'] .ytp-swatch-color -{ - color: #607d8b !important; -} - -html[it-player-color='white'] .ytp-play-progress, -html[it-player-color='white'] .ytp-scrubber-button, -html[it-player-color='white'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='white'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #fff !important; -} - -html[it-player-color='white'] .ytp-swatch-color -{ - color: #fff !important; -} - - -/*----------------------------------------------------------------------------- -2.5 Transparent background ------------------------------------------------------------------------------*/ - -[it-player-transparent-background=true] #player-theater-container, -[it-player-transparent-background=true] #theater-background, -[it-player-transparent-background=true] #player-api, -[it-player-transparent-background=true] .player-api, -[it-player-transparent-background=true] #movie_player, -[it-player-transparent-background=true] #player-container, -[it-player-transparent-background=true] #movie_player video -{ - background-color: transparent !important; -} - - -/*----------------------------------------------------------------------------- -2.6 Endscreen ------------------------------------------------------------------------------*/ - -html[it-player-hide-endscreen=true] .html5-endscreen -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.7 Scroll for details ------------------------------------------------------------------------------*/ - -html[it-hide-scroll-for-details=true] button.ytp-fullerscreen-edu-button -{ - display: none !important; -} - -html[it-hide-scroll-for-details=true] ytd-app[scrolling_] -{ - overflow: hidden !important; -} - - -/*----------------------------------------------------------------------------- -2.8 Always show progress bar ------------------------------------------------------------------------------*/ - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom -{ - opacity: 1 !important; -} - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-chrome-controls -{ - opacity: 0 !important; -} - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-progress-bar-container -{ - bottom: 0 !important; -} - -/*----------------------------------------------------------------------------- -2.9 Hide Gradient Bottom ------------------------------------------------------------------------------*/ - -html[it-hide-gradient-bottom=true] .ytp-gradient-bottom -{ - display: none; -} - -/*----------------------------------------------------------------------------- -3.0 Details ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -3.1 Hide details ------------------------------------------------------------------------------*/ - -html[it-hide-details=true] #watch-header, -html[it-hide-details=true] #watch-action-panels, -html[it-hide-details=true] #action-panel-details, -html[it-hide-details=true] #primary-inner > #info, -html[it-hide-details=true] #primary-inner > #meta -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -3.2 Views count ------------------------------------------------------------------------------*/ - -html[it-hide-views-count=true] #count.ytd-video-primary-info-renderer, -html[it-hide-views-count=true] #watch7-views-info > .watch-view-count -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -3.3 Likes ------------------------------------------------------------------------------*/ - -[it-likes=hidden] #watch8-sentiment-actions > .like-button-renderer, -[it-likes=hidden] .video-extras-sparkbar-likes, -[it-likes=hidden] .video-extras-sparkbar-dislikes, -[it-likes=hidden] #info #top-level-buttons ytd-toggle-button-renderer:nth-child(1), -[it-likes=hidden] #info #top-level-buttons ytd-toggle-button-renderer:nth-child(2), -[it-likes=hidden] #sentiment.ytd-video-primary-info-renderer -{ - visibility: hidden !important; - - pointer-events: none !important; -} - -[it-likes=icons_only] #watch8-sentiment-actions > .like-button-renderer button > span, -[it-likes=icons_only] .video-extras-sparkbar-likes, -[it-likes=icons_only] .video-extras-sparkbar-dislikes, -[it-likes=icons_only] #top-level-buttons ytd-toggle-button-renderer:nth-child(1) yt-formatted-string, -[it-likes=icons_only] #top-level-buttons ytd-toggle-button-renderer:nth-child(2) yt-formatted-string, -[it-likes=icons_only] #sentiment.ytd-video-primary-info-renderer -{ - visibility: hidden !important; - - pointer-events: none !important; -} - -[it-likes=icons_only] #text.style-scope.ytd-toggle-button-renderer.style-text, -[it-likes=icons_only] #text.style-scope.ytd-toggle-button-renderer.style-default-active -{ - visibility: hidden !important; -} - -[it-likes=icons_only] .like-button-renderer-like-button, -[it-likes=icons_only] .like-button-renderer-dislike-button -{ - color: transparent !important; -} - -[it-red-dislike-button=true] #top-level-buttons > ytd-toggle-button-renderer.style-scope.ytd-menu-renderer.force-icon-button:nth-child(2).style-default-active > a -{ - color: #fc0000 !important; -} - - -/*----------------------------------------------------------------------------- -4.0 Description ------------------------------------------------------------------------------*/ - -html[it-description=hidden] ytd-video-secondary-info-renderer ytd-expander.ytd-video-secondary-info-renderer, -html[it-description=hidden] div#action-panel-details, -html[it-description=expanded] #meta-contents ytd-expander[collapsed] paper-button, -html[it-description=expanded] #action-panel-details button -{ - display: none !important; -} - -html[it-description=expanded] #meta-contents ytd-expander[collapsed] > #content.ytd-expander, -html[it-description=expanded] #watch-description-text -{ - max-height: unset !important; -} - -html[it-description=expanded] .yt-uix-expander .yt-uix-expander-collapsed-body, -html[it-description=expanded] .yt-uix-expander-collapsed .yt-uix-expander-body -{ - display: block !important; -} - - -/*----------------------------------------------------------------------------- -5.0 Comments ------------------------------------------------------------------------------*/ - -html[it-comments=hidden] ytd-comments#comments, -html[it-comments=hidden] div#watch-discussion, -html[it-comments=collapsed].comments-collapsed #comment-section-renderer-items + button, -html[it-comments=collapsed]:not(.comments-collapsed) #improvedtube-collapsed-comments .show-more-text, -html[it-comments=collapsed].comments-collapsed #improvedtube-collapsed-comments .show-less-text, -html[it-comments=collapsed].comments-collapsed #comments #spinner -{ - display: none !important; -} - -html[it-comments=collapsed].comments-collapsed #comment-section-renderer-items, -html[it-comments=collapsed].comments-collapsed #comments #sections #contents -{ - overflow: hidden !important; - - height: 0 !important; -} - -#sections #improvedtube-collapsed-comments -{ - font-family: inherit; - font-size: 12px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 0 0 3rem; - padding: 1rem 0; - - cursor: pointer; - letter-spacing: .007px; - text-transform: uppercase; - - color: var(--yt-expand-color); - border: none; - border-bottom: 1px solid var(--yt-spec-10-percent-layer); - outline: none; - background: transparent; -} - - -/*----------------------------------------------------------------------------- -6.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -6.1 Live chat ------------------------------------------------------------------------------*/ - -html[it-livechat=hidden] ytd-live-chat-frame#chat, -html[it-livechat=hidden] div#watch-sidebar-live-chat -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -6.2 Playlist ------------------------------------------------------------------------------*/ - -html[it-hide-playlist=true] ytd-playlist-panel-renderer#playlist, -html[it-hide-playlist=true] div#player-playlist, -html[it-hide-playlist=true] #placeholder-playlist -{ - position: absolute !important; - - width: 0 !important; - height: 0 !important; - - pointer-events: none !important; - - opacity: 0 !important; -} - - -/*----------------------------------------------------------------------------- -6.3 Related videos ------------------------------------------------------------------------------*/ - -html[it-related-videos=hidden] div#related, -html[it-related-videos=hidden] div#watch7-sidebar-contents, -html[it-related-videos=collapsed].related-videos-collapsed #watch7-sidebar-modules, -html[it-related-videos=collapsed].related-videos-collapsed #related > *:not(#improvedtube-collapsed-related-videos), -html[it-related-videos=collapsed]:not(.related-videos-collapsed) #improvedtube-collapsed-related-videos .show-more-text, -html[it-related-videos=collapsed].related-videos-collapsed #improvedtube-collapsed-related-videos .show-less-text -{ - display: none !important; -} - -#improvedtube-collapsed-related-videos -{ - font-family: inherit; - font-size: 12px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 0 0 3rem; - padding: 1rem 0; - - cursor: pointer; - letter-spacing: .007px; - text-transform: uppercase; - - color: var(--yt-expand-color); - border: none; - border-bottom: 1px solid var(--yt-spec-10-percent-layer); - outline: none; - background: transparent; -} - -#watch7-sidebar #improvedtube-collapsed-related-videos -{ - font-size: 12px; - font-weight: 500; - - display: block; - - width: 95%; - height: 100%; - margin: 0 auto 15px !important; - padding: 10px 0; - - cursor: pointer; - text-align: center; - - color: #333; - border: 1px solid #d3d3d3; - border-color: #c6c6c6; - outline: 0; - background-color: #f8f8f8; - background-image: linear-gradient(to top, #f0f0f0 0, #f8f8f8 100%); - box-shadow: inset 0 1px 0 #ddd; -} - -/*----------------------------------------------------------------------------- -6.4 Sidebar and thumbnail position ------------------------------------------------------------------------------*/ - -html[it-sidebar-left='true'] #columns>#primary, -html[it-sidebar-left='true'] #head>#upnext /* also moving autoplay button to the outside as the glow bothers next to the video */ -{ - order:7; -} -html[it-thumbnails-right='true'] #dismissable>ytd-thumbnail -{ - order:7; -} - -/*----------------------------------------------------------------------------- -7.0 Footer ------------------------------------------------------------------------------*/ - -html[it-hide-footer=true] app-drawer#guide #footer, -html[it-hide-footer=true] #footer-container.yt-base-gutter -{ - display: none !important; -} - -/*----------------------------------------------------------------------------- ->>> APPEARANCE: PLAYER SIZE -------------------------------------------------------------------------------- -1.0 Variables - 1.1 Header size - 1.1.1 «Normal» - 1.1.2 «Hidden» - 1.1.3 «Hover» - 1.2 Player size - 1.2.1 «240p» - 1.2.2 «360p» - 1.2.3 «480p» - 1.2.4 «576p» - 1.2.5 «720p» - 1.2.6 «1080p» - 1.2.7 «1440p» - 1.2.8 «2160p» - 1.2.9 «Full window» -2.0 YouTube ------------------------------------------------------------------------------*/ - - - - - -/*----------------------------------------------------------------------------- -1.0 Variables ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1 Header size ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1.1 «Normal» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"]:not([it-header-position]) ytd-app, -html[it-page-type="video"][it-header-position='normal'] ytd-app, -html[it-page-type="video"][it-header-position='static'] ytd-app -{ - --it-header-size: 56px; -} - -html[it-page-type="video"]:not([it-header-position]) ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='normal'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='static'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 104px; -} - -html[it-page-type="video"]:not([it-header-position]) div#page, -html[it-page-type="video"][it-header-position='normal'] div#page, -html[it-page-type="video"][it-header-position='static'] div#page -{ - --it-header-size: 50px; -} - -html[it-page-type="video"]:not([it-header-position]) div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='normal'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='static'] div#page:not(.watch-wide) -{ - --it-header-size: 70px; -} - -/*----------------------------------------------------------------------------- -1.1.2 «Hidden» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-header-position='hidden'], -html[it-page-type="video"][it-header-position='hidden_on_video_page'] -{ - --it-header-size: 0px; -} - -html[it-page-type="video"][it-header-position='hidden'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='hidden_on_video_page'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 48px; -} - -html[it-page-type="video"][it-header-position='hidden'] div#page, -html[it-page-type="video"][it-header-position='hidden_on_video_page'] div#page -{ - --it-header-size: 0px; -} - -html[it-page-type="video"][it-header-position='hidden'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='hidden_on_video_page'] div#page:not(.watch-wide) -{ - --it-header-size: 20px; -} - -/*----------------------------------------------------------------------------- -1.1.3 «Hover» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-header-position='hover'], -html[it-page-type="video"][it-header-position='hover_on_video_page'] -{ - --it-header-size: 14px; -} - -html[it-page-type="video"][it-header-position='hover'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='hover_on_video_page'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 62px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page, -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page -{ - --it-header-size: 12px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page:not(.watch-wide) -{ - --it-header-size: 32px; -} - -html[it-page-type="video"][it-header-position='hover'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container, -html[it-page-type="video"][it-header-position='hover_on_video_page'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container -{ - margin-top: 14px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen), -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen) -{ - margin-top: 12px; -} - - - - - -html[it-page-type="video"][it-player-size='240p'] *, -html[it-page-type="video"][it-player-size='360p'] *, -html[it-page-type="video"][it-player-size='480p'] *, -html[it-page-type="video"][it-player-size='576p'] *, -html[it-page-type="video"][it-player-size='720p'] *, -html[it-page-type="video"][it-player-size='1080p'] *, -html[it-page-type="video"][it-player-size='1440p'] *, -html[it-page-type="video"][it-player-size='2160p'] * -{ - --it-header-size: 0px !important; -} - - - - - -/*----------------------------------------------------------------------------- -1.2 Player size ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.2.1 «240p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='240p'] -{ - --it-player-size: 240px; -} - -/*----------------------------------------------------------------------------- -1.2.2 «360p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='360p'] -{ - --it-player-size: 360px; -} - -/*----------------------------------------------------------------------------- -1.2.3 «480p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='480p'] -{ - --it-player-size: 480px; -} - -/*----------------------------------------------------------------------------- -1.2.4 «576p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='576p'] -{ - --it-player-size: 576px; -} - -/*----------------------------------------------------------------------------- -1.2.5 «720p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='720p'] -{ - --it-player-size: 720px; -} - -/*----------------------------------------------------------------------------- -1.2.6 «1080p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='1080p'] -{ - --it-player-size: 1080px; -} - -/*----------------------------------------------------------------------------- -1.2.7 «1440p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='1440p'] -{ - --it-player-size: 1440px; -} - -/*----------------------------------------------------------------------------- -1.2.8 «2160p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='2160p'] -{ - --it-player-size: 2160px; -} - -/*----------------------------------------------------------------------------- -1.2.9 «Full window» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='full_window'] -{ - --it-player-size: 100vh; -} - -html[it-page-type="video"][it-player-size='fit_to_window'] -{ - --it-player-size: 100vh; -} - - - - - -/*----------------------------------------------------------------------------- -2.0 YouTube ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- ->>> PLAYER ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-container-inner -{ - padding-top: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container, -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-theater-container -{ - width: auto !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; - min-height: auto !important; - max-height: 100vh !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player -{ - background: #000 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-container -{ - position: absolute !important; - - display: flex !important; - - width: 100% !important; - height: 100% !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video -{ - position: static !important; - top: 0 !important; - left: 0 !important; - - width: auto !important; - max-width: 100% !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - - -/*FIT TO WINDOW*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-theater-container -{ - background: transparent !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) -{ - width: auto !important; - overflow: visible !important; - display: table !important; - margin: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .ytp-chrome-bottom -{ - width: calc(100% - 24px) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .html5-video-container -{ - width: auto !important; - position: static !important; - display: inline-block !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video -{ - position: static !important; - width: auto !important; - max-width: 100vw !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .ytp-iv-video-content { - pointer-events: none !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> LEGACY PLAYER ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page #player #player-api, -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .player-height -{ - height: calc(var(--it-player-size) - var(--it-header-size)) !important; - min-height: auto !important; - max-height: 100vh !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page.watch-wide #player #player-api -{ - left: 0 !important; - - width: 100% !important; - margin: 0 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .html5-video-container -{ - position: absolute !important; - - display: flex !important; - - width: 100% !important; - height: 100% !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) video -{ - position: static !important; - top: 0 !important; - left: 0 !important; - - width: auto !important; - max-width: 100% !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - - -/*FIT TO WINDOW*/ -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #placeholder-player -{ - display: none !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player -{ - width: auto !important; - margin-bottom: 10px !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player #player-api -{ - display: table !important; - width: auto !important; - margin: auto !important; - left: 0 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #theater-background -{ - display: none !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player-mole-container -{ - height: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player #player-api.player-height -{ - height: auto !important; - position: static !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) -{ - width: auto !important; - height: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .html5-video-container -{ - position: static !important; - width: auto !important; - height: auto !important; -} - -/*html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) video -{ - z-index: 9 !important; -}*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .ytp-iv-video-content { - pointer-events: none !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> PLAYER ERROR ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) .ytp-error .ytp-tv-static -{ - width: 100% !important; - height: 100% !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> PLAYER TOOLTIP ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) .ytp-tooltip -{ - top: unset !important; - bottom: 64px !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> LEGACY SIDEBAR ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page:not(.watch-wide) #watch7-sidebar -{ - top: unset !important; - - margin-top: calc(-10px - calc(var(--it-player-size) - var(--it-header-size))) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page.watch-wide #watch-appbar-playlist -{ - top: 230px !important; -} - -html[it-page-type="video"][it-player-size='fit_to_window'] div#page.watch-wide #watch-appbar-playlist -{ - top: -360px !important; -} - - - - - - - - - - - - - - -html[it-page-type="video"][it-header-position='hover'][it-player-size='full_window'] ytd-app:not([masthead-hidden_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover'][it-player-size='full_window'] ytd-app:not([scrolling_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover_on_video_page'][it-player-size='full_window'] ytd-app:not([masthead-hidden_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover_on_video_page'][it-player-size='full_window'] ytd-app:not([scrolling_]) .html5-video-player -{ - margin-top: 14px !important; -} - -.improvedtube-add-to-blacklist -{ - font-size: 32px; - line-height: 26px; - - position: absolute; - z-index: 999; - top: 4px; - left: 4px; - - visibility: hidden; - overflow: hidden; - - width: 32px; - height: 32px; - - cursor: pointer; - transition: transform .15s; - transform: scale(1); - text-align: center; - - opacity: .7; - color: #fff; - border-radius: 2px; - background: #000; -} - -*:hover > .improvedtube-add-to-blacklist -{ - visibility: visible; -} - -.improvedtube-add-to-blacklist:hover -{ - transform: scale(1.25); -} - -/*----------------------------------------------------------------------------- ->>> CHANNEL -------------------------------------------------------------------------------- -1.0 Featured content ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Featured content ------------------------------------------------------------------------------*/ - -html[it-channel-hide-featured-content=true] #secondary #contents.style-scope.ytd-browse-secondary-contents-renderer, -html[it-channel-hide-featured-content=true] .branded-page-v2-secondary-col -{ - display: none !important; -} -html[it-channel-hide-featured-content=true] #secondary.ytd-two-column-browse-results-renderer, -html[it-channel-hide-featured-content=true] #secondary ytd-browse-secondary-contents-renderer -{ - padding: 0; - width: fit-content; - height: fit-content; -} - -/*----------------------------------------------------------------------------- ->>> GENERAL -------------------------------------------------------------------------------- -1.0 YouTube Home Page -2.0 Add «Scroll to top» -3.0 Squared user images -4.0 Hide animated thumbnails -5.0 Better subscriptions -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 YouTube Home Page ------------------------------------------------------------------------------*/ - -html[it-page-type=home][it-youtube-home-page=search], -html[it-page-type=home][it-youtube-home-page=search] app-drawer[opened], -html[it-page-type=home][it-youtube-home-page=search] #appbar-guide-menu -{ - visibility: hidden !important; - overflow: hidden !important; - - width: 100vw !important; - height: 100vh !important; - - pointer-events: none !important; -} - -html[it-page-type=home][it-youtube-home-page=search] ytd-searchbox#search, -html[it-page-type=home][it-youtube-home-page=search] #yt-masthead-content -{ - position: fixed !important; - z-index: 99999 !important; - top: 0 !important; - left: 0 !important; - - display: flex !important; - visibility: visible !important; - - width: 100vw !important; - height: 100vh !important; - margin: 0 !important; - - pointer-events: all !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type=home][it-youtube-home-page=search] #yt-masthead-content > form -{ - width: 100% !important; -} - -html[it-page-type=home][it-youtube-home-page=search] .gstl_50.sbdd_a -{ - z-index: 99999 !important; - - visibility: visible !important; - - pointer-events: all !important; -} - - -/*----------------------------------------------------------------------------- -2.0 Add «Scroll to top» ------------------------------------------------------------------------------*/ - -#it-scroll-to-top -{ - position: fixed; - z-index: 999; - right: 32px; - bottom: 32px; - - display: flex; - visibility: hidden; - - box-sizing: border-box; - width: 56px; - height: 56px; - - cursor: pointer; - transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; - transform: translateY(88px); - pointer-events: none; - - opacity: 0; - border-radius: 50%; - background: linear-gradient(135deg, #f8d266, #f17953); - box-shadow: 0 1px 1px 1px rgba(230, 109, 70, .7), 0 3px 5px rgba(0,0,0,.35); - - justify-content: center; - align-items: center; -} - -html[it-show-scroll-to-top=true] #it-scroll-to-top -{ - visibility: visible; - - transform: translateY(0px); - pointer-events: all; - - opacity: 1; -} - -html:not([it-red-popup-theme]) #it-scroll-to-top, -html[it-red-popup-theme="true"] #it-scroll-to-top -{ - background: #f73030; - box-shadow: 0 3px 5px rgba(0,0,0,.35); -} - -#it-scroll-to-top > svg -{ - width: 24px; - - fill: #fff; -} - -html[it-show-scroll-to-top="true"] #it-scroll-to-top:hover -{ - transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; - transform: translateY(4px) scale(.975); - box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12); -} - - -/*----------------------------------------------------------------------------- -3.0 Squared user images ------------------------------------------------------------------------------*/ - -html[it-squared-user-images=true] #avatar.ytd-shelf-renderer, -html[it-squared-user-images=true] yt-img-shadow, -html[it-squared-user-images=true] #yt-masthead-user .yt-masthead-user-icon -{ - border-radius: unset !important; -} - - -/*----------------------------------------------------------------------------- -4.0 Hide animated thumbnails ------------------------------------------------------------------------------*/ - -html[it-hide-animated-thumbnails=true] #mouseover-overlay, -html[it-hide-animated-thumbnails=true] .mouseover-play, -html[it-hide-animated-thumbnails=true] .mouseover-img -{ - visibility: hidden !important; -} - - -/*----------------------------------------------------------------------------- -5.0 Better subscriptions ------------------------------------------------------------------------------*/ - -#browse-items-primary .section-list > li .shelf-title-cell -{ - display: flex; -} - -#browse-items-primary .section-list > li .shelf-title-row -{ - display: flex; - - justify-content: space-between; -} - -ytd-item-section-renderer .grid-subheader + #contents, -#browse-items-primary .section-list > li, -#browse-items-primary .section-list > li .multirow-shelf -{ - overflow: hidden; -} - -ytd-item-section-renderer.it-section-collapsed .grid-subheader + #contents, -#browse-items-primary .section-list > li.it-section-collapsed .multirow-shelf -{ - height: 0 !important; -} - -#browse-items-primary .section-list > li .it-section-collapse -{ - margin-left: 16px; -} - -ytd-item-section-renderer .it-section-collapse, -#browse-items-primary .section-list > li .it-section-collapse -{ - cursor: pointer; -} - -ytd-item-section-renderer .it-section-collapse svg, -#browse-items-primary .section-list > li .it-section-collapse svg -{ - width: 24px; - height: 24px; - - transition: transform 150ms; - - fill: var(--ytd-menu-renderer-button-color, var(--yt-spec-icon-inactive)); -} - -#browse-items-primary .section-list > li .it-section-collapse svg -{ - position: relative; - top: -2px; -} - -ytd-item-section-renderer .it-section-collapse:hover svg, -#browse-items-primary .section-list > li .it-section-collapse:hover svg -{ - fill: var(--yt-spec-icon-active-other); -} - -ytd-item-section-renderer.it-section-collapsed .it-section-collapse svg, -#browse-items-primary .section-list > li.it-section-collapsed .it-section-collapse svg -{ - transform: rotate(180deg); -} - - -/*----------------------------------------------------------------------------- -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -.it-mark-watched -{ - position: absolute; - z-index: 999; - bottom: 4px; - left: 4px; - - visibility: hidden; - overflow: hidden; - - width: 28px; - height: 28px; - - cursor: pointer; - text-align: center; - - color: #fff; - border-radius: 2px; - background: rgba(0,0,0,.8); -} - -.it-mark-watched svg -{ - position: absolute; - top: 4px; - left: 4px; - - width: 20px; - height: 20px; - - fill: var(--ytd-menu-renderer-button-color, var(--yt-spec-icon-inactive, #aaa)); -} - -*:hover > .it-mark-watched -{ - visibility: visible; -} - -.it-mark-watched.watched svg -{ - fill: var(--yt-spec-icon-active-other, #fff); -} - - - - -/*html[it-remove-related-search-results=true] ytd-shelf-renderer.style-scope.ytd-item-section-renderer, -html[it-remove-related-search-results=true] ytd-horizontal-card-list-renderer.style-scope.ytd-item-section-renderer, -html[it-remove-related-search-results=true] li > div.feed-item-container.browse-list-item-container.yt-section-hover-container.compact-shelf.shelf-item.branded-page-box, -html[it-remove-related-search-results=true] li > div.search-refinements -{ - display: none; -}*/ - -.it-rate-notify -{ - position: fixed; - z-index: 99999999; - right: 24px; - bottom: 24px; - - visibility: hidden; - overflow: hidden; - - width: 300px; - padding-left: 96px; - - transition: transform 200ms; - transform: translate(0, 100%); - - opacity: 0; - border-radius: 16px; - background-image: linear-gradient(-20deg, #e9defa 0%, #e9defa 50%, #fbfcdb 100%); - box-shadow: 0 4px 12px rgba(0, 0, 0, .3); -} - -html:not([it-page-type='video']) .it-rate-notify.it-rate-notify--show -{ - visibility: visible; - - transform: translate(0,0); - animation: 1s infinite it-popup-background; - animation-timing-function: linear; - - opacity: 1; -} - -.it-rate-notify__heart -{ - position: absolute; - z-index: -1; - top: 20px; - left: 20px; - - width: 80px; - height: 80px; - - fill: url(#itHeartGradient); -} - -.it-rate-notify.it-rate-notify--show .it-rate-notify__heart -{ - animation: .8s infinite it-heart-beat; -} - -.it-rate-notify__title -{ - font-size: 18px; - font-weight: 500; - line-height: 27px; - - margin: 20px 24px; - - letter-spacing: .03125em; - - color: rgba(51, 38, 25, .8); -} - -.it-rate-notify__footer -{ - display: flex; - - padding: 8px; - - align-items: center; - justify-content: flex-end; -} - -.it-rate-notify__footer > button -{ - font: 500 18px 'Roboto'; - - min-width: 64px; - height: 36px; - padding: 0 8px; - - cursor: pointer; - transition: 150ms; - - color: rgba(255, 8, 68,.65); - border: none; - outline: none; - background: none; -} - -.it-rate-notify__footer > button:hover -{ - transform: scale(1.05); - - color: rgba(255, 8, 68,.85); -} - -.it-rate-notify__footer > button:last-child -{ - color: rgba(51, 38, 25, .25); -} - -.it-rate-notify__footer > button:last-child:hover -{ - color: rgba(51, 38, 25, .85); -} - -@keyframes it-popup-background -{ - 0% - { - background-image: linear-gradient(-20deg, #e9defa 0%, #e9defa 50%, #fbfcdb 100%); - } - 50% - { - background-image: linear-gradient(-20deg, #e9defa 0%, #fbfcdb 50%, #e9defa 100%); - } - 100% - { - background-image: linear-gradient(-20deg, #fbfcdb 0%, #e9defa 50%, #e9defa 100%); - } -} - -@keyframes it-heart-beat -{ - 0% - { - transform: scale(1); - } - 25% - { - transform: scale(1.1); - } - 40% - { - transform: scale(1); - } - 60% - { - transform: scale(1.1); - } - 100% - { - transform: scale(1); - } -} - -/*----------------------------------------------------------------------------- ->>> PLAYER -------------------------------------------------------------------------------- -1.0 Ads -2.0 Mini player - 2.1 Position and size - 2.2 Dragging - 2.3 Multipage -3.0 Custom player button - 3.1 Repeat - 3.2 Screenshot - 3.3 Rotate - 3.4 Popup -4.0 Crop chapter titles ------------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -1.0 Ads ----------------------------------------------------------------*/ - -/*html[it-player-ads="block_all"] .video-ads.ytp-ad-module, -html[it-player-ads="subscribed_channels"] .video-ads.ytp-ad-module -{ - display: none !important -}*/ - - -/*----------------------------------------------------------------------------- -2.0 Mini player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 Position and size ------------------------------------------------------------------------------*/ - -.it-mini-player -{ - position: fixed !important; - z-index: 2147483648 !important; - left: 0!important; - top: 0!important; - - box-shadow: rgba(0, 0, 0, .4) 0 2px 8px !important; - - will-change: transform, width, height !important; - - background: #000 !important; -} - -html[it-page-type="video"][it-header-position="hover_on_video_page"][it-player-size="full_window"] .html5-video-player.it-mini-player, -html[it-page-type="video"][it-header-position="hover"][it-player-size="full_window"] .html5-video-player.it-mini-player -{ - margin-top: 0!important; -} - -.it-mini-player .html5-video-container, -.it-mini-player video -{ - left: 0 !important; - top: 0 !important; - width: 100% !important; - height: 100% !important; -} - -.it-mini-player .ytp-chrome-bottom -{ - width: calc(100% - 24px) !important; -} - -.it-mini-player .ytp-chapters-container -{ - display: flex; -} - -.it-mini-player .ytp-chapter-hover-container -{ - flex-grow: 1; -} - -html[it-mini-player=true] .ytp-contextmenu -{ - z-index: 2147483649 !important; -} - -.it-mini-player .ytp-miniplayer-button, -.it-mini-player .ytp-size-button -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.2 Dragging ------------------------------------------------------------------------------*/ - -.improvedtube-mini-player.dragging -{ - pointer-events: none !important; -} - -.improvedtube-mini-player.dragging *:not(.html5-video-container):not(video) -{ - visibility: hidden !important; -} - -html[data-cursor='w-resize'], -html[data-cursor='w-resize'] * -{ - cursor: w-resize !important; -} - -html[data-cursor='e-resize'], -html[data-cursor='e-resize'] * -{ - cursor: e-resize !important; -} - -html[it-mini-player-cursor='n-resize']::after, -html[it-mini-player-cursor='e-resize']::after, -html[it-mini-player-cursor='s-resize']::after, -html[it-mini-player-cursor='w-resize']::after, -html[it-mini-player-cursor='ne-resize']::after, -html[it-mini-player-cursor='se-resize']::after, -html[it-mini-player-cursor='sw-resize']::after, -html[it-mini-player-cursor='nw-resize']::after -{ - content: ''; - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - z-index: 2147483650; -} - -html[it-mini-player-cursor='n-resize']::after -{ - cursor: n-resize; -} - -html[it-mini-player-cursor='e-resize']::after -{ - cursor: e-resize; -} - -html[it-mini-player-cursor='s-resize']::after -{ - cursor: s-resize; -} - -html[it-mini-player-cursor='w-resize']::after -{ - cursor: w-resize; -} - -html[it-mini-player-cursor='ne-resize']::after -{ - cursor: ne-resize; -} - -html[it-mini-player-cursor='se-resize']::after -{ - cursor: se-resize; -} - -html[it-mini-player-cursor='sw-resize']::after -{ - cursor: sw-resize; -} - -html[it-mini-player-cursor='nw-resize']::after -{ - cursor: nw-resize; -} - - -/*----------------------------------------------------------------------------- -2.3 Multipage ------------------------------------------------------------------------------*/ - -html[it-mini-player=true] ytd-watch-flexy[hidden] -{ - position: absolute !important; - top: 0 !important; - left: 0 !important; - - display: block !important; - visibility: hidden !important; - - max-width: 100% !important; - - pointer-events: none !important; -} - -html[it-mini-player=true] ytd-watch-flexy[hidden] .ytd-watch-next-secondary-results-renderer -{ - display: none; -} - -html[it-mini-player=true] ytd-watch-flexy[hidden] .improvedtube-mini-player -{ - position: fixed !important; - - visibility: visible !important; - - pointer-events: all !important; -} - - -/*----------------------------------------------------------------------------- -3.0 Custom player button ------------------------------------------------------------------------------*/ - -#it-repeat-button, -#it-screenshot-button, -#it-rotate-button, -#it-popup-player-button -{ - position: relative !important; -} - -.html5-video-player.ytp-big-mode #it-repeat-button svg, -.html5-video-player.ytp-big-mode #it-screenshot-button svg, -.html5-video-player.ytp-big-mode #it-rotate-button svg, -.html5-video-player.ytp-big-mode #it-popup-player-button svg -{ - top: 10px !important; - left: 10px !important; - - width: 34px !important; -} - -#it-repeat-button svg, -#it-screenshot-button svg, -#it-rotate-button svg, -#it-popup-player-button svg -{ - position: absolute !important; - - fill: #fff !important; -} - - -/*----------------------------------------------------------------------------- -3.1 Repeat ------------------------------------------------------------------------------*/ - -#it-repeat-button svg -{ - top: 6px !important; - left: 6px !important; - - width: 24px !important; -} - - -/*----------------------------------------------------------------------------- -3.2 Screenshot ------------------------------------------------------------------------------*/ - -#it-screenshot-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - -/*----------------------------------------------------------------------------- -3.3 Rotate ------------------------------------------------------------------------------*/ - -#it-rotate-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - -/*----------------------------------------------------------------------------- -3.4 Popup ------------------------------------------------------------------------------*/ - -#it-popup-player-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - - - - - - - - - - - -.it-player-button -{ - position: relative !important; - - overflow: visible !important; -} - -.it-player-button::before -{ - font-size: 13px; - font-weight: 600; - line-height: 13px; - - position: absolute; - top: -38px; - left: 50%; - - visibility: hidden; - - min-height: unset; - padding: 5px 9px; - - content: attr(data-title); - transform: translateX(-50%); - pointer-events: none; - - border-radius: 2px; - background-color: rgba(28,28,28,.9); -} - -.it-player-button:hover::before -{ - visibility: visible; - - pointer-events: all; -} - - - - - - -/*----------------------------------------------------------------------------- -4.0 Crop chapter titles ------------------------------------------------------------------------------*/ - -html[it-player-crop-chapter-titles='false'] .ytp-chapter-title -{ - width: auto !important; -} - -html[it-youtube-version=new] #it-playlist-reverse -{ - display: flex; - - width: 40px; - margin-left: 8px; - - cursor: pointer; - - align-items: center; - justify-content: center; -} - -html[it-youtube-version=new] #it-playlist-reverse svg -{ - fill: var(--iron-icon-fill-color, #909090); -} - -html[it-youtube-version=new] #it-playlist-reverse.yt-uix-button-toggled svg -{ - fill: var(--yt-spec-call-to-action); -} - -html[it-youtube-version=old] #it-playlist-reverse -{ - display: inline-block; - - box-sizing: border-box; - width: 26px; - height: 28px; - margin: 0 0 0 8px; - padding: 2px 1px; - - cursor: pointer; - vertical-align: middle; - - opacity: .5; -} - -html[it-youtube-version=old] #it-playlist-reverse.yt-uix-button-toggled -{ - opacity: 1; -} - -html[it-youtube-version=old] #it-playlist-reverse svg -{ - fill: #fff; -} - -/*----------------------------------------------------------------------------- ->>> SETTINGS -------------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -html[it-improvedtube-youtube-icon='below_player'] .title.ytd-video-primary-info-renderer -{ - overflow: visible !important; -} - -html[it-improvedtube-youtube-icon='below_player'] h1.watch-title-container -{ - display: inline-block !important; -} - -html[it-improvedtube-youtube-icon='draggable'] .it-btn -{ - position: fixed; - z-index: 2147483645; - top: calc(100vh - 56px); - left: calc(100vw - 64px); -} - -.it-btn -{ - z-index: 2147483645; - - user-select: none; -} - -#container.ytd-masthead > .it-btn -{ - margin: 0 12px 0 0; -} - -.yt-masthead-logo-container > .it-btn -{ - float: left; - - margin: 0 12px 0 0; -} - -#end #buttons .it-btn -{ - margin: 3px 0 0 0; -} - -#yt-masthead-user > .it-btn -{ - float: right; - - margin: -2px 0 0 14px; -} - -.title.ytd-video-primary-info-renderer > .it-btn, -#watch-headline-title > .it-btn -{ - float: right; -} - -.it-btn__scrim -{ - position: fixed; - z-index: 2147483645; - top: 0; - left: 0; - - visibility: hidden; - - width: 100%; - height: 100vh; - - transition: 150ms; - pointer-events: none; - - opacity: 0; - background: #000; -} - -.it-btn__icon -{ - position: relative; - z-index: 2147483645; - - width: 32px; - height: 32px; - margin: 0 0 2px 0; - - cursor: pointer; - - border-radius: 50%; - background: #f00; -} - -.it-btn__icon::after -{ - position: absolute; - top: 9px; - left: 12px; - - display: block; - - content: ''; - - opacity: .9; - border-top: 7px solid transparent; - border-bottom: 7px solid transparent; - border-left: 11px solid #fff; -} - -.it-btn__iframe -{ - position: absolute; - z-index: 2147483645; - top: 50px; - - visibility: hidden; - - width: 320px; - max-width: 80vw; - height: 500px; - max-height: 80vh; - - transition: opacity 150ms; - pointer-events: none; - - opacity: 0; -} - -#end #buttons .it-btn__iframe, -#yt-masthead-user .it-btn__iframe -{ - right: 0; - left: auto; -} - -.it-btn.it-btn--active .it-btn__scrim -{ - visibility: visible; - - pointer-events: all; - - opacity: .5; -} - -.it-btn.it-btn--active .it-btn__iframe -{ - visibility: visible; - - pointer-events: all; - - opacity: 1; -} - -.it-btn--dragging, -.it-btn--dragging .it-btn__icon, -.it-btn--dragging .it-btn__iframe -{ - pointer-events: none !important; -} - -.it-btn--dragging .it-btn__iframe -{ - opacity: .75 !important; -} - -#it-status -{ - font-size: 5rem; - - position: absolute; - top: 2rem; - right: 3rem; - - color: #0ff; - text-shadow: 1px 1px 2px #000; -} - -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Bluelight -2.0 Dim ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Bluelight ------------------------------------------------------------------------------*/ - -html[it-bluelight] -{ - height: auto !important; -} - -html[it-bluelight], -html[it-bluelight] .html5-video-player.ytp-fullscreen -{ - filter: url(#it-bluelight-filter) !important; -} - -#it-bluelight -{ - position: fixed !important; - top: 0 !important; - left: 0 !important; - - visibility: hidden !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; -} - -html[it-bluelight][it-youtube-version=old] -{ - background-color: #f1f1f1; -} - -html[it-bluelight][it-youtube-version=old] body -{ - min-height: 100vh; -} - - -/*----------------------------------------------------------------------------- -2.0 Dim ------------------------------------------------------------------------------*/ - -#it-dim -{ - position: fixed !important; - z-index: 2147483645 !important; - top: 0 !important; - left: 0 !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; - - background: #000 !important; -} - -#it-dim-player -{ - position: fixed !important; - z-index: 2147483645 !important; - top: 0 !important; - left: 0 !important; - - visibility: hidden !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; - - background: #000 !important; -} - -.html5-video-player.ytp-fullscreen #it-dim-player -{ - visibility: visible !important; -} - -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -html[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; -} - - - -@media (prefers-color-scheme: dark) { - [it-black-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-black-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-black-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-black-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-black-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-black-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-black-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-black-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-black-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-black-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-black-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-black-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-black-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-black-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; - } -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; -} -html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); -} - - - - - -@media (prefers-color-scheme: dark) { - [it-dawn-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-dawn-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-dawn-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-dawn-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-dawn-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-dawn-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; - } - html[it-dawn-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-dawn-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-dawn-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-dawn-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-dawn-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-dawn-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-dawn-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; - } - html[it-dawn-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); - } -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; -} - -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #masthead-search-term -{ - border: 1px solid #444!important; - border-right: none!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light])[youtube-version=old] body -{ - height: auto; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - background: var(--yt-swatch-primary-darker)!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) -{ - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; -} - -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light])[youtube-version=old] body -{ - height: auto!important; - - background: rgb(19,19,19)!important; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-youtube-version=old][it-default-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] #masthead-search-term - { - border: 1px solid #444!important; - border-right: none!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] html[youtube-version=old] body - { - height: auto; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] - { - background: var(--yt-swatch-primary-darker)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) - { - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark][youtube-version=old] body - { - height: auto!important; - - background: rgb(19,19,19)!important; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-youtube-version=old][it-default-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] #masthead-search-term - { - border: 1px solid #444!important; - border-right: none!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] html[youtube-version=old] body - { - height: auto; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] - { - background: var(--yt-swatch-primary-darker)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) - { - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light][youtube-version=old] body - { - height: auto!important; - - background: rgb(19,19,19)!important; - } -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-desert-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-desert-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-desert-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-desert-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-desert-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-desert-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-desert-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-desert-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-desert-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-desert-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-desert-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-desert-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; - } -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -html[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-night-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-night-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-night-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-night-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-night-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-night-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-night-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-night-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-night-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-night-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-night-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-night-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-night-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-night-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; - } -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-plain-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-plain-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-plain-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-plain-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-plain-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-plain-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-plain-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-plain-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-plain-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-plain-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-plain-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-plain-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; - } -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-sunset-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-sunset-theme=true][it-schedule=system_peference_dark] ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-sunset-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-sunset-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-sunset-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-sunset-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-sunset-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-sunset-theme=true][it-schedule=system_peference_light] ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-sunset-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-sunset-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-sunset-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-sunset-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/unstable/content-scripts.js b/unstable/content-scripts.js deleted file mode 100644 index 20c65de2a..000000000 --- a/unstable/content-scripts.js +++ /dev/null @@ -1,4319 +0,0 @@ - -/*----------------------------------------------------------------------------- ->>> CORE -------------------------------------------------------------------------------- -1.0 Page update -2.0 Player update -3.0 Init ------------------------------------------------------------------------------*/ - -var ImprovedTube = { - allow_autoplay: false, - videoUrl: '"null"', - playingTime: 0 -}; - - -/*----------------------------------------------------------------------------- -1.0 Page update ------------------------------------------------------------------------------*/ - -ImprovedTube.pageUpdate = function() { - var not_connected_players = document.querySelectorAll('.html5-video-player:not([it-player-connected])'); - - if (not_connected_players.length > 0) { - for (var i = 0, l = not_connected_players.length; i < l; i++) { - var player = not_connected_players[i]; - - if ( - player.querySelector('video').src && - player.querySelector('video').src !== '' - ) { - player.setAttribute('it-player-connected', ''); - - ImprovedTube.playerUpdate(player); - - player.querySelector('video').addEventListener('canplay', function() { - ImprovedTube.videoUrl = location.href; - }); - player.querySelector('video').addEventListener('timeupdate', function() { - ImprovedTube.playingTime++; - - var time = Math.floor(ImprovedTube.playingTime * 250 / 1000) / 60; - - if (time >= 1) { - ImprovedTube.playingTime = 0; - - document.dispatchEvent(new CustomEvent('ImprovedTubeAnalyzer')); - } - }); - } - } - } - - ImprovedTube.pageType(); - ImprovedTube.youtube_home_page(); - ImprovedTube.hd_thumbnails(); - ImprovedTube.channel_default_tab(); - ImprovedTube.comments(); - ImprovedTube.livechat(); - ImprovedTube.livechat_type(); - ImprovedTube.related_videos(); - ImprovedTube.improvedtube_youtube_icon(); - ImprovedTube.blacklist(); - ImprovedTube.player_hd_thumbnail(); - ImprovedTube.how_long_ago_the_video_was_uploaded(); - ImprovedTube.channel_videos_count(); - ImprovedTube.collapse_of_subscription_sections(); - ImprovedTube.mark_watched_videos(); -}; - - -/*----------------------------------------------------------------------------- -2.0 Player update ------------------------------------------------------------------------------*/ - -ImprovedTube.playerUpdate = function(node, hard) { - var player; - - if (node && node.type !== 'canplay') { - player = node; - } else if (this.hasOwnProperty('target')) { - player = this.target.parentNode.parentNode; - } else if (this.hasOwnProperty('parentNode')) { - player = this.parentNode.parentNode; - } else { - player = document.querySelector('.html5-video-player'); - } - - if (this.videoUrl !== location.href) { - this.videoUrl = location.href; - this.playingTime = 0; - - document.dispatchEvent(new CustomEvent('ImprovedTubePlayVideo')); - - this.fitToWindow(); - this.always_show_progress_bar(); - this.playlist_reverse(); - this.player_hd_thumbnail(); - this.player_quality(player); - this.player_volume(player); - this.player_playback_speed(player); - this.up_next_autoplay(); - this.player_autofullscreen(); - this.player_repeat_button(); - this.player_screenshot_button(); - this.player_rotate_button(); - this.player_popup_button(); - this.playlist_up_next_autoplay(player); - this.mini_player(); - - this.playlist_repeat(); - this.playlist_shuffle(); - - this.dim(); - - var video_id = this.getParam(new URL(location.href).search.substr(1), 'v'); - - if (video_id) { - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'set', - id: video_id, - title: document.title - } - })); - } - } else if (hard) { - this.videoUrl = location.href; - - this.fitToWindow(); - this.playlist_reverse(); - this.player_hd_thumbnail(); - this.player_quality(player); - this.player_volume(player); - this.player_playback_speed(player); - this.up_next_autoplay(); - this.player_autofullscreen(); - this.player_repeat_button(); - this.player_screenshot_button(); - this.player_rotate_button(); - this.player_popup_button(); - this.mini_player(); - - this.playlist_repeat(); - this.playlist_shuffle(); - - this.dim(); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Init ------------------------------------------------------------------------------*/ - -ImprovedTube.init = function() { - this.player_h264(); - this.player_60fps(); - this.confirmation_before_closing(); - this.shortcuts(); - this.themeEditor(); - this.theme(); - this.font(); - this.bluelight(); - this.dim(); - this.pageType(); - this.improvedtube_youtube_icon(); - this.add_scroll_to_top(); - this.player_autopause_when_switching_tabs(); - this.forced_theater_mode(); - this.comments(); - this.livechat(); - this.related_videos(); - this.mutations(); - this.events(); - - if (window.self === window.top) { - window.addEventListener('load', function(){ - ImprovedTube.player_volume(); - }); - } -}; - -function withoutInjection(object) { - youtubeHomePage__documentStart(object.youtube_home_page); -} - -/*----------------------------------------------------------------------------- ->>> EVENTS -------------------------------------------------------------------------------- -1.0 DOMContentLoaded -2.0 Load -3.0 YouTube page data updated -4.0 YouTube visibility refresh -5.0 SPF done -6.0 Keydown -7.0 Mousedown ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - window.addEventListener('load', function() { - if (!document.querySelector('.it-rate-notify') && Object.keys(items).length > 10 && items.rate_notify !== 5) { - var popup = document.createElement('div'); - - popup.className = 'it-rate-notify'; - - popup.innerHTML = '' + - '
Do you enjoy ImprovedTube?
' + - ''; - - document.body.appendChild(popup); - - setTimeout(function() { - popup.classList.add('it-rate-notify--show'); - }, 1000); - - chrome.storage.local.set({ - rate_notify: 5 - }); - } - }); -}); - -ImprovedTube.events = function() { - - /*------------------------------------------------------------------------- - 1.0 DOMContentLoaded - -------------------------------------------------------------------------*/ - - window.addEventListener('DOMContentLoaded', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 2.0 Load - -------------------------------------------------------------------------*/ - - document.documentElement.addEventListener('load', function() { - if ( - window.yt && - window.yt.player && - window.yt.player.Application && - window.yt.player.Application.create - ) { - window.yt.player.Application.create = ImprovedTube.ytPlayerApplicationCreateMod(window.yt.player.Application.create); - } - - var search = document.querySelector('#search') || document.querySelector('#masthead-search-term'); - - if (search) { - search.addEventListener('focus', function() { - document.documentElement.setAttribute('it-search-focus', 'true'); - }); - - search.addEventListener('blur', function() { - document.documentElement.setAttribute('it-search-focus', 'false'); - }); - } - }, true); - - window.addEventListener('resize', function() { - ImprovedTube.fitToWindow(); - ImprovedTube.improvedtube_youtube_icon_resize(); - - setTimeout(function() { - if (document.querySelector('.html5-video-player video') && document.querySelector('.it-rotate-styles')) { - var video = document.querySelector('.html5-video-player video'), - transform = '', - rotate = (document.querySelector('.it-rotate-styles') && document.querySelector('.it-rotate-styles').textContent.match(/rotate\([0-9.]+deg\)/g) || [''])[0]; - - rotate = Number((rotate.match(/[0-9.]+/g) || [])[0]) || 0; - - transform += 'rotate(' + rotate + 'deg)'; - - if (rotate == 90 || rotate == 270) { - transform += ' scale(' + video.offsetHeight / video.offsetWidth + ')'; - } - - document.querySelector('.it-rotate-styles').textContent = '.html5-video-player:not(it-mini-player) video {transform:' + transform + '}'; - } - }, 500); - }); - - window.addEventListener('scroll', function() { - ImprovedTube.improvedtube_youtube_icon_resize(); - }); - - - /*------------------------------------------------------------------------- - 3.0 YouTube page data updated - -------------------------------------------------------------------------*/ - - window.addEventListener('yt-page-data-updated', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 4.0 YouTube visibility refresh - -------------------------------------------------------------------------*/ - - window.addEventListener('yt-visibility-refresh', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 5.0 SPF done - -------------------------------------------------------------------------*/ - - window.addEventListener('spfrequest', function() { - ImprovedTube.pageUpdate(); - }); - - window.addEventListener('spfdone', function() { - ImprovedTube.pageUpdate(); - }); - - - /*------------------------------------------------------------------------- - 6.0 Keydown - -------------------------------------------------------------------------*/ - - window.addEventListener('keydown', function() { - if ( - document.querySelector('.html5-video-player') && - document.querySelector('.html5-video-player').classList.contains('ad-showing') === false - ) { - ImprovedTube.allow_autoplay = true; - } - }, true); - - - /*------------------------------------------------------------------------- - 7.0 Mousedown - -------------------------------------------------------------------------*/ - - window.addEventListener('mousedown', function(event) { - for (var i = 0, l = event.path.length; i < l; i++) { - if ( - document.querySelector('.html5-video-player') && - document.querySelector('.html5-video-player').classList.contains('ad-showing') === false && - event.path[i].classList && - ( - event.path[i].classList.contains('html5-main-video') || - event.path[i].classList.contains('ytp-play-button') - ) - ) { - ImprovedTube.allow_autoplay = true; - } - } - }, true); -}; - -chrome.storage.local.get(function(items) { - document.addEventListener('ImprovedTubeAnalyzer', function() { - if (items.analyzer_activation === true) { - if (document.querySelector('ytd-channel-name a') && chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-analyzer', - value: document.querySelector('ytd-channel-name a').innerText - }); - } - } - }); -}); - -/*----------------------------------------------------------------------------- ->>> APPEARANCE -------------------------------------------------------------------------------- -1.0 Player - 1.1 Forced theater mode - 1.2 HD thumbnail -2.0 Details -3.0 Comments -4.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Player ------------------------------------------------------------------------------*/ - -ImprovedTube.fitToWindow = function() { - if (ImprovedTube.storage.player_size === 'fit_to_window' && !document.documentElement.hasAttribute('embed') && window.self !== window.top && document.querySelector('#movie_player video')) { - var video = document.querySelector('#movie_player video'), - header = document.documentElement.getAttribute('it-header-position'), - header_height = header == 'hidden' || header == 'hidden_on_video_page' || header == 'hover' || header == 'hover_on_video_page' ? 0 : 50, - videoW = video.videoWidth / 100, - videoH = video.videoHeight / 100, - windowW = window.innerWidth / 100, - windowH = window.innerHeight / 100, - videoWdif = ((video.videoWidth - window.innerWidth) / video.videoWidth * -100) + 100, - videoHdif = ((video.videoHeight - window.innerHeight + header_height) / video.videoHeight * -100) + 100, - style = document.querySelector('#it-fit-to-window') || document.createElement('style'); - - style.id = 'it-fit-to-window'; - - if (videoW && videoH && videoHdif && videoH * videoWdif > window.innerHeight - header_height) { - style.innerText = 'html[it-player-size="fit_to_window"] div#page.watch-wide .html5-video-player:not(.ytp-fullscreen) video{max-width:' + videoW * videoHdif + 'px !important;max-height' + videoH * videoHdif + 'px !important}'; - } else if (videoW && videoH && videoWdif) { - style.innerText = 'html[it-player-size="fit_to_window"] div#page.watch-wide .html5-video-player:not(.ytp-fullscreen) video{max-width:' + videoW * videoWdif + 'px !important;max-height' + videoH * videoWdif + 'px !important}'; - } - - if (!document.querySelector('#it-fit-to-window')) { - document.documentElement.appendChild(style); - } - } -}; - -/*----------------------------------------------------------------------------- -1.1 Forced theater mode ------------------------------------------------------------------------------*/ - -ImprovedTube.forced_theater_mode = function() { - if (window.self === window.top && (this.storage.forced_theater_mode === true || ImprovedTube.storage.player_size === 'fit_to_window')) { - var is_applied = false; - - if (/wide\=1/.test(document.cookie)) { - is_applied = true; - } - - this.setCookie('wide', '1'); - - setTimeout(function() { - if (is_applied === false) { - location.reload(); - } - }); - } -}; - -/*----------------------------------------------------------------------------- -1.2 HD thumbnail ------------------------------------------------------------------------------*/ - -ImprovedTube.player_hd_thumbnail_wait = false; - -ImprovedTube.player_hd_thumbnail = function() { - if (this.storage.player_hd_thumbnail === true) { - if (this.player_hd_thumbnail_wait !== false) { - clearInterval(ImprovedTube.player_hd_thumbnail_wait); - - ImprovedTube.player_hd_thumbnail_wait = false; - } - - this.player_hd_thumbnail_wait = setInterval(function() { - var thumbnail = document.querySelector('.ytp-cued-thumbnail-overlay-image'); - - if (thumbnail && thumbnail.style.backgroundImage) { - var style = document.getElementById('it-hd-thumbnail') || document.createElement('style'); - - style.textContent = '.ytp-cued-thumbnail-overlay-image{background-image:' + thumbnail.style.backgroundImage.replace('/hqdefault.jpg', '/maxresdefault.jpg') + ' !important}'; - - if (!document.getElementById('it-hd-thumbnail')) { - style.id = 'it-hd-thumbnail'; - thumbnail.parentNode.insertBefore(style, thumbnail); - } - } - }, 250); - } -}; - -/*----------------------------------------------------------------------------- -1.3 Always show progress bar ------------------------------------------------------------------------------*/ - -// TODO: FIX NIGHTLY UGLY ALGO - -ImprovedTube.always_show_progress_bar = function() { - if (ImprovedTube.always_show_progress_bar_interval) { - clearInterval(ImprovedTube.always_show_progress_bar_interval); - } - - if (this.storage.always_show_progress_bar === true) { - ImprovedTube.always_show_progress_bar_interval = setInterval(function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.classList.contains('ytp-autohide')) { - var played = player.getCurrentTime() * 100 / player.getDuration(), - loaded = player.getVideoBytesLoaded() * 100, - play_bars = player.querySelectorAll('.ytp-play-progress'), - load_bars = player.querySelectorAll('.ytp-load-progress'), - width = 0, - progress_play = 0, - progress_load = 0; - - for (var i = 0, l = play_bars.length; i < l; i++) { - width += play_bars[i].offsetWidth; - } - - var width_percent = width / 100; - - for (var i = 0, l = play_bars.length; i < l; i++) { - var a = play_bars[i].offsetWidth / width_percent, - b = 0, - c = 0; - - if (played - progress_play >= a) { - b = 100; - } else if (played > progress_play && played < a + progress_play) { - b = 100 * ((played - progress_play) * width_percent) / play_bars[i].offsetWidth; - } - - play_bars[i].style.transform = 'scaleX(' + b / 100 + ')'; - - if (loaded - progress_load >= a) { - c = 100; - } else if (loaded > progress_load && loaded < a + progress_load) { - c = 100 * ((loaded - progress_load) * width_percent) / play_bars[i].offsetWidth; - } - - load_bars[i].style.transform = 'scaleX(' + c / 100 + ')'; - - progress_play += a; - progress_load += a; - } - } - }, 100); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Details ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 How long ago the video was uploaded ------------------------------------------------------------------------------*/ - -ImprovedTube.how_long_ago_the_video_was_uploaded = function() { - if (ImprovedTube.storage.how_long_ago_the_video_was_uploaded === true) { - function timeSince(date) { - var seconds = Math.floor((new Date() - new Date(date)) / 1000), - interval = Math.floor(seconds / 31536000); - - if (interval > 1) { - return interval + ' years ago'; - } - interval = Math.floor(seconds / 2592000); - if (interval > 1) { - return interval + ' months ago'; - } - interval = Math.floor(seconds / 86400); - if (interval > 1) { - return interval + ' days ago'; - } - interval = Math.floor(seconds / 3600); - if (interval > 1) { - return interval + ' hours ago'; - } - interval = Math.floor(seconds / 60); - if (interval > 1) { - return interval + ' minutes ago'; - } - - return Math.floor(seconds) + ' seconds ago'; - } - - var waiting_channel_link = setInterval(function() { - var youtube_version = document.documentElement.getAttribute('it-youtube-version') === 'new'; - - if (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info a')) { - clearInterval(waiting_channel_link); - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - var response = JSON.parse(this.responseText), - element = document.querySelector('.itx-channel-video-uploaded') || document.createElement(youtube_version ? 'yt-formatted-string' : 'a'); - - if (ImprovedTube.isset(response.items) && ImprovedTube.isset(response.items[0])) { - element.innerHTML = (youtube_version ? ' · ' + timeSince(response.items[0].snippet.publishedAt) + ' ' : timeSince(response.items[0].snippet.publishedAt) + ''); - - var date = new Date(response.items[0].snippet.publishedAt); - - element.title = ((date.getMonth() > 8) ? (date.getMonth() + 1) : ('0' + (date.getMonth() + 1))) + '/' + ((date.getDate() > 9) ? date.getDate() : ('0' + date.getDate())) + '/' + date.getFullYear(); - } - - if (!youtube_version) { - element.href = document.querySelector('#watch7-user-header a').href.indexOf('/videos') === -1 ? document.querySelector('#watch7-user-header a').href + '/videos' : document.querySelector('#watch7-user-header a').href; - } - - if (!document.querySelector('.itx-channel-video-uploaded') && document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info')) { - element.style.marginLeft = '8px'; - element.className = (youtube_version ? 'style-scope ytd-video-owner-renderer itx-channel-video-uploaded' : 'yt-uix-sessionlink spf-link itx-channel-video-uploaded'); - - document.querySelector(youtube_version ? '#info #info-text #date' : '.yt-user-info').appendChild(element); - } - }); - - xhr.open('GET', 'https://www.googleapis.com/youtube/v3/videos?id=' + ImprovedTube.getParam(location.href.slice(location.href.indexOf('?') + 1), 'v') + '&key=AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA&part=snippet', true); - xhr.send(); - } - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -2.2 Show channel videos count ------------------------------------------------------------------------------*/ - -ImprovedTube.channel_videos_count = function() { - if (ImprovedTube.storage.channel_videos_count === true) { - var waiting_channel_link = setInterval(function() { - var youtube_version = document.documentElement.getAttribute('it-youtube-version') === 'new'; - - if (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a')) { - clearInterval(waiting_channel_link); - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - var response = JSON.parse(this.responseText), - element = document.querySelector('.itx-channel-videos-count') || document.createElement(youtube_version ? 'yt-formatted-string' : 'a'); - - if (ImprovedTube.isset(response.items) && ImprovedTube.isset(response.items[0])) { - element.innerHTML = (youtube_version ? '' + response.items[0].statistics.videoCount + ' videos' : response.items[0].statistics.videoCount + ' videos'); - } - - if (!youtube_version) { - element.href = document.querySelector('#watch7-user-header a').href.indexOf('/videos') === -1 ? document.querySelector('#watch7-user-header a').href + '/videos' : document.querySelector('#watch7-user-header a').href; - } - - if (!document.querySelector('.itx-channel-videos-count') && document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info')) { - element.style.marginLeft = '8px'; - element.className = (youtube_version ? 'style-scope ytd-video-owner-renderer itx-channel-videos-count' : 'yt-uix-sessionlink spf-link itx-channel-videos-count'); - - document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info').appendChild(element); - } - }); - - xhr.open('GET', 'https://www.googleapis.com/youtube/v3/channels?id=' + (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a').getAttribute('it-origin') || document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a').href).replace('https://www.youtube.com/channel/', '') + '&key=AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA&part=statistics', true); - xhr.send(); - } - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Comments ------------------------------------------------------------------------------*/ - -ImprovedTube.comments_wait = false; - -ImprovedTube.comments = function() { - if (this.storage.comments === 'collapsed') { - if (this.comments_wait === false) { - this.comments_wait = setInterval(function() { - if ( - document.getElementById('comment-section-renderer-items') || - document.querySelector('#comments #sections #contents') - ) { - clearInterval(this.comments_wait); - - this.comments_wait = false; - - if (!document.getElementById('improvedtube-collapsed-comments')) { - var button = document.createElement('button'), - parent = document.getElementById('comment-section-renderer') || document.querySelector('#comments #sections'), - reference = document.getElementById('comment-section-renderer-items') || document.querySelector('#comments #sections #contents'); - - button.id = 'improvedtube-collapsed-comments'; - button.className = 'yt-uix-button yt-uix-button-size-default yt-uix-button-default comment-section-renderer-paginator yt-uix-sessionlink'; - button.innerHTML = 'Show moreShow less'; - - button.onclick = function() { - document.documentElement.classList.toggle('comments-collapsed'); - }; - - document.documentElement.classList.toggle('comments-collapsed'); - parent.insertBefore(button, reference); - } - } - }, 250); - } - } else { - clearInterval(this.comments_wait); - - this.comments_wait = false; - - setTimeout(function() { - if (document.getElementById('improvedtube-collapsed-comments')) { - document.getElementById('improvedtube-collapsed-comments').remove(); - } - }, 260); - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -4.1 Live chat ------------------------------------------------------------------------------*/ - -ImprovedTube.livechat_wait = false; -ImprovedTube.livechat_url = false; - -ImprovedTube.livechat = function() { - if ( - document.documentElement.getAttribute('it-page-type') === 'video' && - this.storage.livechat === 'collapsed' && - this.livechat_wait === false - ) { - this.livechat_wait = setInterval(function() { - var button = document.querySelector('#chat:not([collapsed]) #show-hide-button paper-button'), - expander = document.querySelector('#watch-sidebar-live-chat .yt-uix-expander'); - - if (document.documentElement.getAttribute('it-page-type') !== 'video' || button || expander) { - clearInterval(ImprovedTube.livechat_wait); - - ImprovedTube.livechat_wait = false; - } - - if (button) { - function click() { - ImprovedTube.livechat_url = location.href; - } - - button.addEventListener('mousedown', click); - button.addEventListener('touchdown', click); - - setTimeout(function() { - if (ImprovedTube.livechat_url !== location.href) { - button.click(); - } - }, 500); - } else if (expander) { - expander.classList.add('yt-uix-expander-collapsed'); - } - }, 100); - } -}; - -/*----------------------------------------------------------------------------- -# Live chat type ------------------------------------------------------------------------------*/ - -ImprovedTube.livechat_type_wait = false; - -ImprovedTube.livechat_type = function() { - return false; - - if ( - document.documentElement.getAttribute('it-page-type') === 'video' && - ImprovedTube.storage.livechat_type === 'live' && - ImprovedTube.livechat_type_wait === false - ) { - this.livechat_type_wait = setInterval(function() { - if (document.querySelectorAll('#chat-messages #dropdown a')[1]) { - clearInterval(ImprovedTube.livechat_type_wait); - - ImprovedTube.livechat_type_wait = false; - - document.querySelectorAll('#chat-messages #dropdown a')[1].click(); - } - }, 250); - } else if (this.livechat_type_wait !== false) { - clearInterval(this.livechat_type_wait); - - ImprovedTube.livechat_type_wait = false; - } -}; - - -/*----------------------------------------------------------------------------- -4.2 Related videos ------------------------------------------------------------------------------*/ - -ImprovedTube.related_videos_wait = false; - -ImprovedTube.related_videos = function() { - if (this.storage.related_videos === 'collapsed') { - if (!this.related_videos_wait) { - this.related_videos_wait = setInterval(function() { - if ( - document.querySelector('#related.ytd-watch-flexy') || - document.querySelector('#watch7-sidebar-contents') - ) { - clearInterval(this.related_videos_wait); - - this.related_videos_wait = false; - - if (!document.getElementById('improvedtube-collapsed-related-videos')) { - var button = document.createElement('button'), - parent = document.querySelector('#related.ytd-watch-flexy') || document.querySelector('#watch7-sidebar-contents'), - reference = document.querySelector('#related > *') || document.querySelector('#watch7-sidebar-contents > *'); - - button.id = 'improvedtube-collapsed-related-videos'; - button.className = 'yt-uix-button yt-uix-button-size-default yt-uix-button-default comment-section-renderer-paginator yt-uix-sessionlink'; - button.innerHTML = 'Show moreShow less'; - - button.onclick = function() { - document.documentElement.classList.toggle('related-videos-collapsed'); - }; - - document.documentElement.classList.toggle('related-videos-collapsed'); - parent.insertBefore(button, reference); - } - } - }, 250); - } - } else { - clearInterval(this.related_videos_wait); - - this.related_videos_wait = false; - - setTimeout(function() { - if (document.getElementById('improvedtube-collapsed-related-videos')) { - document.getElementById('improvedtube-collapsed-related-videos').remove(); - } - }, 260); - } -}; - -// TODO: HIGH CPU USAGE - -document.addEventListener('ImprovedTubeBlacklist', function(event) { - console.log('Blacklist event'); - - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-blacklist', - data: { - type: event.detail.type, - id: event.detail.id, - title: event.detail.title, - preview: event.detail.preview - } - }); - } -}); - -ImprovedTube.blacklist = function() { - if (ImprovedTube.storage.blacklist_activate !== true) { - return false; - } - - if (typeof ImprovedTube.storage.blacklist === 'boolean' || !ImprovedTube.storage.blacklist) { - ImprovedTube.storage.blacklist = {}; - } - - // channel button - if ( - !ImprovedTube.isset(ImprovedTube.storage.blacklist.channels) || - (ImprovedTube.storage.blacklist.channels && - Object.keys(ImprovedTube.storage.blacklist.channels).indexOf(location.href.replace(/https:\/\/www.youtube.com\/(channel|user|c)\//g, '').replace(/\/(.)+/g, '')) === -1) - ) { - let channel_items = document.querySelectorAll('#inner-header-container #subscribe-button, .primary-header-upper-section .yt-uix-subscription-button'); - - for (let i = 0, l = channel_items.length; i < l; i++) { - if (!channel_items[i].parentNode.querySelector('.improvedtube-add-to-blacklist')) { - let button = document.createElement('div'); - - button.addEventListener('click', function(event) { - let video_id; - - event.preventDefault(); - event.stopPropagation(); - - try { - video_id = location.href.replace(/https:\/\/www.youtube.com\/(channel|user)\//g, '').replace(/\/(.)+/g, ''); - - document.dispatchEvent(new CustomEvent('ImprovedTubeBlacklist', { - detail: { - type: 'channel', - id: video_id, - title: document.querySelector('#channel-container yt-formatted-string.ytd-channel-name, a.branded-page-header-title-link').innerText, - preview: document.querySelector('#channel-container #avatar #img, .channel-header-profile-image').src - } - })); - - if (!ImprovedTube.storage.blacklist || typeof ImprovedTube.storage.blacklist !== 'object') { - ImprovedTube.storage.blacklist = {}; - } - - if (!ImprovedTube.storage.blacklist.channels) { - ImprovedTube.storage.blacklist.channels = {}; - } - - ImprovedTube.storage.blacklist.channels[video_id] = { - title: document.querySelector('yt-formatted-string.ytd-channel-name, a.branded-page-header-title-link').innerText, - preview: document.querySelector('#channel-container #avatar #img, .channel-header-profile-image').src - }; - - ImprovedTube.blacklist(); - - location.reload(); - } catch (err) {} - }, true); - - button.className = 'improvedtube-add-to-blacklist'; - button.innerText = 'Add to blacklist'; - button.style.position = 'static'; - button.style.transform = 'unset'; - button.style.opacity = '1'; - button.style.visibility = 'visible'; - button.style.pointerEvents = 'all'; - button.style.width = 'auto'; - button.style.fontSize = '16px'; - button.style.lineHeight = '28px'; - button.style.height = 'auto'; - button.style.padding = '6px 12px'; - button.style.borderRadius = '2px'; - button.style.boxSizing = 'border-box'; - button.style.background = '#bb1a1a'; - - channel_items[i].parentNode.insertBefore(button, channel_items[i]); - } - } - } - - // video button - let video_items = document.querySelectorAll('a#thumbnail.ytd-thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = video_items.length; i < l; i++) { - if (!video_items[i].querySelector('.improvedtube-add-to-blacklist')) { - let button = document.createElement('div'); - - button.addEventListener('click', function(event) { - let video_id; - - event.preventDefault(); - event.stopPropagation(); - - try { - video_id = ImprovedTube.getParam(new URL(this.parentNode.href).search.substr(1), 'v'); - - let item = this.parentNode; - - while ( - item.nodeName && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - document.dispatchEvent(new CustomEvent('ImprovedTubeBlacklist', { - detail: { - type: 'video', - id: video_id, - title: item.querySelector('#video-title').innerText - } - })); - - if (!ImprovedTube.storage.blacklist || typeof ImprovedTube.storage.blacklist !== 'object') { - ImprovedTube.storage.blacklist = {}; - } - - if (!ImprovedTube.storage.blacklist.videos) { - ImprovedTube.storage.blacklist.videos = {}; - } - - ImprovedTube.storage.blacklist.videos[video_id] = { - title: item.querySelector('#video-title').innerText - }; - - ImprovedTube.blacklist(); - } catch (err) {} - }, true); - button.className = 'improvedtube-add-to-blacklist'; - button.innerText = 'x'; - - video_items[i].appendChild(button); - } - } - - // remove channels - if (ImprovedTube.storage.blacklist && ImprovedTube.storage.blacklist.channels) { - let videos = document.querySelectorAll('a#thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = videos.length; i < l; i++) { - let item = videos[i]; - - while ( - item.nodeName && - item.nodeName !== 'YTD-VIDEO-RENDERER' && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - if (item.querySelector('.ytd-channel-name a, a.spf-link[href*="/user/"], a.spf-link[href*="/channel/"]')) { - let channel_href = item.querySelector('.ytd-channel-name a, a.spf-link[href*="/user/"], a.spf-link[href*="/channel/"]').href; - - for (var key in ImprovedTube.storage.blacklist.channels) { - if (item.style && channel_href.indexOf(key) !== -1) { - item.style.display = 'none'; - } - } - } - } - } - - // remove videos - if (ImprovedTube.storage.blacklist && ImprovedTube.storage.blacklist.videos) { - let videos = document.querySelectorAll('a#thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = videos.length; i < l; i++) { - if (videos[i].href && videos[i].href != '' && ImprovedTube.getParam(new URL(videos[i].href).search.substr(1), 'v') in ImprovedTube.storage.blacklist.videos) { - let item = videos[i]; - - while ( - item.nodeName && - item.nodeName !== 'YTD-VIDEO-RENDERER' && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - item.style.display = 'none'; - } - } - } -}; - -/*----------------------------------------------------------------------------- ->>> CHANNEL -------------------------------------------------------------------------------- -1.0 Channel tab ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Channel tab ------------------------------------------------------------------------------*/ - -ImprovedTube.channel_default_tab = function() { - if (this.storage.channel_default_tab && this.storage.channel_default_tab !== '/') { - var value = this.storage.channel_default_tab, - node_list = document.querySelectorAll('*:not(#contenteditable-root) > a[href*="user"], ' + - '*:not(#contenteditable-root) > a[href*="channel"], ' + - '*:not(#contenteditable-root) > a[href*="/c/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - var node = node_list[i]; - - if (!node.getAttribute('it-origin') || - node.hasAttribute('it-origin') && - node.getAttribute('it-origin').replace(/\/(home|videos|playlists)+$/g, '') != node.href.replace(/\/(home|videos|playlists)+$/g, '') - ) { - node.setAttribute('it-origin', node.href); - } - - var pathname = new URL(node.getAttribute('it-origin')).pathname; - - node.href = node.getAttribute('it-origin') + value; - - function click() { - if ( - this.data && - this.data.commandMetadata && - this.data.commandMetadata.webCommandMetadata && - this.data.commandMetadata.webCommandMetadata.url - ) { - this.data.commandMetadata.webCommandMetadata.url = (this.querySelector('a') || this).href.replace('https://www.youtube.com', ''); - } - } - - node.addEventListener('click', click, true); - node.parentNode.addEventListener('click', click, true); - node.parentNode.parentNode.addEventListener('click', click, true); - } - } else if (this.storage.channel_default_tab) { - var node_list = document.querySelectorAll('a[href*="user"], a[href*="channel"], a[href*="/c/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - node_list[i].href = node_list[i].getAttribute('it-origin'); - } - } -}; - -/*----------------------------------------------------------------------------- ->>> GENERAL -------------------------------------------------------------------------------- -1.0 YouTube Home Page -2.0 Add «Scroll to top» -3.0 HD thumbnails -4.0 Confirmation before closing -5.0 Collapse of subscription sections -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 YouTube Home Page ------------------------------------------------------------------------------*/ - -ImprovedTube.youtube_home_page = function() { - if ( - this.storage.youtube_home_page && - this.storage.youtube_home_page !== '/' && - this.storage.youtube_home_page !== 'search' - ) { - var value = this.storage.youtube_home_page, - node_list = document.querySelectorAll('a[href="/"]:not([role="tablist"]), a[href="//www.youtube.com"]:not([role="tablist"]), a[href="//www.youtube.com/"]:not([role="tablist"]), a[href="https://www.youtube.com"]:not([role="tablist"]), a[href="https://www.youtube.com/"]:not([role="tablist"]), a[it-origin="/"]:not([role="tablist"]), a[it-origin="//www.youtube.com"]:not([role="tablist"]), a[it-origin="//www.youtube.com/"]:not([role="tablist"]), a[it-origin="https://www.youtube.com"]:not([role="tablist"]), a[it-origin="https://www.youtube.com/"]:not([role="tablist"])'); - - for (var i = 0, l = node_list.length; i < l; i++) { - var node = node_list[i], - pathname = new URL((node.getAttribute('it-origin') || node.href)).pathname; - - if (pathname === '/') { - if (!node.getAttribute('it-origin')) { - node.setAttribute('it-origin', node.href); - } - } - - node.href = value; - node.outerHTML = String(node.outerHTML); - node.addEventListener('click', function() { - if ( - this.data && - this.data.commandMetadata && - this.data.commandMetadata.webCommandMetadata && - this.data.commandMetadata.webCommandMetadata.url - ) { - this.data.commandMetadata.webCommandMetadata.url = value; - } - }, true); - } - } else if (this.storage.youtube_home_page) { - var node_list = document.querySelectorAll('a[href="/"], a[href="//www.youtube.com"], a[href="//www.youtube.com/"], a[href="https://www.youtube.com"], a[href="https://www.youtube.com/"], a[it-origin="/"], a[it-origin="//www.youtube.com"], a[it-origin="//www.youtube.com/"], a[it-origin="https://www.youtube.com"], a[it-origin="https://www.youtube.com/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - node_list[i].href = node_list[i].getAttribute('it-origin') || '/'; - node_list[i].outerHTML = String(node.node_list[i].outerHTML); - } - } -}; - -function youtubeHomePage__documentStart(option) { - if (option && option !== '/' && option !== 'search' && location.hostname === 'www.youtube.com' && location.pathname === '/') { - location.replace(option); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Add «Scroll to top» ------------------------------------------------------------------------------*/ - -ImprovedTube.scroll = function() { - if (window.scrollY > window.innerHeight / 2) { - document.documentElement.setAttribute('it-show-scroll-to-top', true); - } else { - document.documentElement.setAttribute('it-show-scroll-to-top', false); - } -}; - -ImprovedTube.add_scroll_to_top = function(is_update) { - if (this.storage.add_scroll_to_top === true) { - var button = document.createElement('div'); - - button.id = 'it-scroll-to-top'; - button.innerHTML = ''; - - button.addEventListener('click', function() { - window.scrollTo(0, 0); - }); - - document.documentElement.appendChild(button); - - window.addEventListener('scroll', ImprovedTube.scroll); - } else { - window.removeEventListener('scroll', ImprovedTube.scroll); - - if (document.querySelector('#it-scroll-to-top')) { - document.querySelector('#it-scroll-to-top').remove(); - } - } -}; - - -/*----------------------------------------------------------------------------- -3.0 HD thumbnails ------------------------------------------------------------------------------*/ - -ImprovedTube.hd_thumbnails = function() { - if (this.storage.hd_thumbnails === true) { - var images = document.querySelectorAll('img'); - - for (var i = 0, l = images.length; i < l; i++) { - if (/(hqdefault\.jpg|hq720.jpg)+/.test(images[i].src) && !images[i].dataset.defaultSrc) { - images[i].dataset.defaultSrc = images[i].src; - - images[i].onload = function() { - if (this.naturalHeight <= 90) { - this.src = this.dataset.defaultSrc; - } - }; - - images[i].src = images[i].src.replace(/(hqdefault\.jpg|hq720.jpg)+/, 'maxresdefault.jpg'); - } - } - } else { - var images = document.querySelectorAll('img'); - - for (var i = 0, l = images.length; i < l; i++) { - if (images[i].dataset.defaultSrc) { - images[i].src = images[i].dataset.defaultSrc; - } - } - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Confirmation before closing ------------------------------------------------------------------------------*/ - -ImprovedTube.confirmation_before_closing = function() { - window.onbeforeunload = function() { - if (ImprovedTube.storage.confirmation_before_closing === true) { - return 'You have attempted to leave this page. Are you sure?'; - } - }; -}; - - -/*----------------------------------------------------------------------------- -5.0 Collapse of subscription sections ------------------------------------------------------------------------------*/ - -ImprovedTube.collapse_of_subscription_sections = function() { - if (/\/feed\/subscriptions/.test(location.href)) { - if (ImprovedTube.storage.collapse_of_subscription_sections === true) { - var sections = document.querySelectorAll('ytd-page-manager ytd-section-list-renderer ytd-item-section-renderer, #browse-items-primary .section-list > li'); - - for (var i = 0, l = sections.length; i < l; i++) { - if (!sections[i].querySelector('.it-section-collapse')) { - var section_title = sections[i].querySelector('h2'), - button = document.createElement('div'); - - button.className = 'it-section-collapse'; - button.innerHTML = ''; - button.section = sections[i]; - button.addEventListener('click', function() { - var section = this.section, - content = section.querySelector('.grid-subheader + #contents, .shelf-title-table + .multirow-shelf'); - - if (section.classList.contains('it-section-collapsed') === false) { - content.style.height = content.offsetHeight + 'px'; - content.style.transition = 'height 150ms'; - } - - setTimeout(function() { - section.classList.toggle('it-section-collapsed'); - }); - }); - - if (!sections[i].querySelector('.shelf-title-cell')) { - section_title.parentNode.insertBefore(button, section_title.nextSibling); - } else { - section_title.appendChild(button); - } - } - } - } else { - var sections = document.querySelectorAll('ytd-page-manager ytd-section-list-renderer ytd-item-section-renderer'), - buttons = document.querySelectorAll('.it-section-collapse'); - - for (var i = 0, l = sections.length; i < l; i++) { - sections[i].classList.remove('it-section-collapsed'); - sections[i].style.height = ''; - sections[i].style.transition = ''; - } - - for (var i = 0, l = buttons.length; i < l; i++) { - buttons[i].remove(); - } - } - } -}; - - -/*----------------------------------------------------------------------------- -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -document.addEventListener('ImprovedTubeWatched', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-watched', - data: { - action: event.detail.action, - id: event.detail.id, - title: event.detail.title - } - }); - } -}); - -ImprovedTube.mark_watched_videos = function() { - if (ImprovedTube.storage.mark_watched_videos === true) { - var video_items = document.querySelectorAll('a#thumbnail.ytd-thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = video_items.length; i < l; i++) { - if (!video_items[i].querySelector('.it-mark-watched')) { - var button = document.createElement('div'); - - button.className = 'it-mark-watched' + (ImprovedTube.storage.watched && ImprovedTube.storage.watched[ImprovedTube.getParam(new URL(video_items[i].href || 'https://www.youtube.com/').search.substr(1), 'v')] ? ' watched' : ''); - button.innerHTML = ''; - button.addEventListener('click', function(event) { - var watched = this.classList.contains('watched') ? false : true; - - event.preventDefault(); - event.stopPropagation(); - - this.classList.toggle('watched'); - - try { - var video_id = ImprovedTube.getParam(new URL(this.parentNode.href).search.substr(1), 'v'), - item = this.parentNode; - - while ( - item.nodeName && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - if (!ImprovedTube.storage.watched || typeof ImprovedTube.storage.watched !== 'object') { - ImprovedTube.storage.watched = {}; - } - - if (watched === true) { - ImprovedTube.storage.watched[video_id] = { - title: item.querySelector('a#video-title, .title, .yt-lockup-title > a').innerText - }; - - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'set', - id: video_id, - title: item.querySelector('a#video-title, .title, .yt-lockup-title > a').innerText - } - })); - } else if (ImprovedTube.storage.watched[video_id]) { - delete ImprovedTube.storage.watched[video_id]; - - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'remove', - id: video_id - } - })); - } - } catch (err) {} - }); - - video_items[i].appendChild(button); - } - } - } -}; - -/*----------------------------------------------------------------------------- ->>> PLAYER -------------------------------------------------------------------------------- -1.0 Quality -2.0 Volume -3.0 Playback speed -4.0 Autoplay -5.0 Allow 60fps -6.0 Codec h.264 -7.0 Subtitles -8.0 Loudness normalization -9.0 Up next autoplay -10.0 Mini player -11.0 Ads -12.0 Autopause -13.0 Auto-fullscreen -14.0 Custom plyaer buttons - 14.1 Repeat - 14.2 Screenshot - 14.3 Rotate - 14.4 Popup player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Quality ------------------------------------------------------------------------------*/ - -ImprovedTube.player_quality = function(node) { - var quality = ImprovedTube.storage.player_quality; - - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (node.getAvailableQualityLevels) { - var available_quality_levels = node.getAvailableQualityLevels(); - - if (quality && quality !== 'auto') { - if (available_quality_levels.indexOf(quality) === -1) { - quality = available_quality_levels[0]; - } - - node.setPlaybackQualityRange(quality); - node.setPlaybackQuality(quality); - } - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Volume ------------------------------------------------------------------------------*/ - -ImprovedTube.player_volume = function(node) { - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (node && ImprovedTube.storage.player_forced_volume === true) { - var volume = Number(ImprovedTube.storage.player_volume); - - if (!ImprovedTube.isset(volume) || !volume) { - volume = 1; - } - - node.setVolume(volume); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Playback speed ------------------------------------------------------------------------------*/ - -ImprovedTube.player_playback_speed = function(node) { - var playback_speed = Number(ImprovedTube.storage.player_playback_speed); - - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (ImprovedTube.isset(ImprovedTube.storage.player_playback_speed) && ImprovedTube.storage.player_forced_playback_speed === true) { - node.querySelector('video').playbackRate = playback_speed; - - try { if (window.location.href.indexOf("music") < 0){ //quickfix to keep running on music.youtube.com - node.setPlaybackRate(playback_speed); - } - } catch (err) {} - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.autoplay = function() { - if ( - (/\/watch\?/.test(location.href) && !/list=/.test(location.href) && this.storage.player_autoplay === false) || - (/\/watch\?/.test(location.href) && /list=/.test(location.href) /*&& /index=/.test(location.href)*/ && this.storage.playlist_autoplay === false) || - (/\/(channel|user)\//.test(location.href) && this.storage.channel_trailer_autoplay === false) - ) { - return false; - } - - return true; -}; - - -/*----------------------------------------------------------------------------- -5.0 Allow 60fps ------------------------------------------------------------------------------*/ - -ImprovedTube.player_60fps = function() { - if (this.storage.player_60fps === false) { - var canPlayType = HTMLMediaElement.prototype.canPlayType; - - function overwrite(self, callback, mime) { - var match = /framerate=(\d+)/.exec(mime); - - if (match && match[1] > 30) { - return ''; - } else { - return callback.call(self, mime); - } - } - - if (window.MediaSource) { - var isTypeSupported = window.MediaSource.isTypeSupported; - - window.MediaSource.isTypeSupported = function(mime) { - return overwrite(this, isTypeSupported, mime); - }; - } - - HTMLMediaElement.prototype.canPlayType = function(mime) { - var status = overwrite(this, canPlayType, mime); - - if (!status) { - return ''; - } else { - return status; - } - }; - } -}; - - -/*----------------------------------------------------------------------------- -6.0 Video codec ------------------------------------------------------------------------------*/ - -ImprovedTube.player_h264 = function() { - if (this.storage.player_h264 === true) { - var canPlayType = HTMLMediaElement.prototype.canPlayType; - - function overwrite(self, callback, mime) { - if (/webm|vp8|vp9/.test(mime)) { - return false; - } else { - return callback.call(self, mime); - } - } - - if (window.MediaSource) { - var isTypeSupported = window.MediaSource.isTypeSupported; - - window.MediaSource.isTypeSupported = function(mime) { - return overwrite(this, isTypeSupported, mime); - }; - } - - HTMLMediaElement.prototype.canPlayType = function(mime) { - var status = overwrite(this, canPlayType, mime); - - if (!status) { - return ''; - } else { - return status; - } - }; - } -}; - - -/*----------------------------------------------------------------------------- -9.0 Up next autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.up_next_autoplay = function() { - if (this.isset(this.storage.up_next_autoplay)) { - var wait = setInterval(function() { - if ( - document.querySelector('#related #head.ytd-compact-autoplay-renderer #toggle') || - document.querySelector('#autoplay-checkbox') - ) { - clearInterval(wait); - - var option = ImprovedTube.storage.up_next_autoplay, - new_youtube_toggle = document.querySelector('#related #head.ytd-compact-autoplay-renderer #toggle'), - old_youtube_toggle = document.querySelector('#autoplay-checkbox'); - - if (new_youtube_toggle && (option === true && !new_youtube_toggle.hasAttribute('checked') || option === false && new_youtube_toggle.hasAttribute('checked'))) { - new_youtube_toggle.click(); - } else if (old_youtube_toggle && (option === true && !old_youtube_toggle.hasAttribute('checked') || option === false && old_youtube_toggle.hasAttribute('checked'))) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -10.0 Mini player (todo) ------------------------------------------------------------------------------*/ - -ImprovedTube.mini_player__mode = false; -ImprovedTube.mini_player__move = false; -ImprovedTube.mini_player__cursor = '""'; -ImprovedTube.mini_player__x = 0; -ImprovedTube.mini_player__y = 0; -ImprovedTube.mini_player__max_x = 0; -ImprovedTube.mini_player__max_y = 0; -ImprovedTube.mini_player__original_width = 0; -ImprovedTube.mini_player__original_height = 0; -ImprovedTube.mini_player__width = 200; -ImprovedTube.mini_player__height = 160; -ImprovedTube.mini_player__mousedown_x = 0; -ImprovedTube.mini_player__mousedown_y = 0; -ImprovedTube.mini_player__player_offset_x = 0; -ImprovedTube.mini_player__player_offset_y = 0; -ImprovedTube.mini_player__resize_offset = 16; - - -ImprovedTube.mini_player__setPosition = function(x, y) { - ImprovedTube.mini_player__element.style.transform = 'translate3d(' + x + 'px, ' + y + 'px, 0)'; -}; - -ImprovedTube.mini_player__setSize = function(width, height) { - ImprovedTube.mini_player__element.style.width = width + 'px'; - ImprovedTube.mini_player__element.style.height = height + 'px'; -}; - -ImprovedTube.mini_player__scroll = function () { - if (window.scrollY >= 256 && ImprovedTube.mini_player__mode === false && ImprovedTube.mini_player__element.classList.contains('ytp-player-minimized') === false) { - ImprovedTube.mini_player__mode = true; - - ImprovedTube.mini_player__original_width = ImprovedTube.mini_player__element.offsetWidth; - ImprovedTube.mini_player__original_height = ImprovedTube.mini_player__element.offsetHeight; - - ImprovedTube.mini_player__element.classList.add('it-mini-player'); - - ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); - ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, ImprovedTube.mini_player__y); - - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height); - - window.addEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } else if (window.scrollY < 256 && ImprovedTube.mini_player__mode === true || ImprovedTube.mini_player__element.classList.contains('ytp-player-minimized') === true) { - ImprovedTube.mini_player__mode = false; - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - ImprovedTube.mini_player__move = false; - ImprovedTube.mini_player__setPosition(0, 0); - ImprovedTube.mini_player__element.style.width = ''; - ImprovedTube.mini_player__element.style.height = ''; - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - window.removeEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } -}; - -ImprovedTube.mini_player__mousedown = function (event) { - if (event.button !== 0) { - return false; - } - - if (ImprovedTube.mini_player__resize() === true) { - return false; - } - - var is_player = false; - - for (var i = 0, l = event.path.length; i < l; i++) { - if ((event.path[i].classList && event.path[i].classList.contains('it-mini-player')) === true) { - is_player = true; - } - } - - if (is_player === false) { - return false; - } - - event.preventDefault(); - - var bcr = ImprovedTube.mini_player__element.getBoundingClientRect(); - - ImprovedTube.mini_player__mousedown_x = event.clientX; - ImprovedTube.mini_player__mousedown_y = event.clientY; - ImprovedTube.mini_player__width = bcr.width; - ImprovedTube.mini_player__height = bcr.height; - - ImprovedTube.mini_player__player_offset_x = event.clientX - bcr.x; - ImprovedTube.mini_player__player_offset_y = event.clientY - bcr.y; - - ImprovedTube.mini_player__max_x = document.body.offsetWidth - ImprovedTube.mini_player__width; - ImprovedTube.mini_player__max_y = window.innerHeight - ImprovedTube.mini_player__height; - - window.addEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.addEventListener('mousemove', ImprovedTube.mini_player__mousemove); -}; - -ImprovedTube.mini_player__mouseup = function () { - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - strg.x = ImprovedTube.mini_player__x; - strg.y = ImprovedTube.mini_player__y; - - localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); - - window.removeEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.removeEventListener('mousemove', ImprovedTube.mini_player__mousemove); - - ImprovedTube.mini_player__move = false; - - setTimeout(function(){ - window.removeEventListener('click', ImprovedTube.mini_player__click, true); - }); -}; - -ImprovedTube.mini_player__click = function (event) { - event.stopPropagation(); - event.preventDefault(); -}; - -ImprovedTube.mini_player__mousemove = function (event) { - if ( - event.clientX < ImprovedTube.mini_player__mousedown_x - 5 || - event.clientY < ImprovedTube.mini_player__mousedown_y - 5 || - event.clientX > ImprovedTube.mini_player__mousedown_x + 5 || - event.clientY > ImprovedTube.mini_player__mousedown_y + 5 - ) { - var x = event.clientX - ImprovedTube.mini_player__player_offset_x, - y = event.clientY - ImprovedTube.mini_player__player_offset_y; - - if (ImprovedTube.mini_player__move === false) { - ImprovedTube.mini_player__move = true; - - window.addEventListener('click', ImprovedTube.mini_player__click, true); - } - - if (x < 0) { - x = 0; - } - - if (y < 0) { - y = 0; - } - - if (x > ImprovedTube.mini_player__max_x) { - x = ImprovedTube.mini_player__max_x; - } - - if (y > ImprovedTube.mini_player__max_y) { - y = ImprovedTube.mini_player__max_y; - } - - ImprovedTube.mini_player__x = x; - ImprovedTube.mini_player__y = y; - - ImprovedTube.mini_player__setPosition(x, y); - } -}; - -ImprovedTube.mini_player__cursorUpdate = function (event) { - var x = event.clientX, - y = event.clientY, - c = ImprovedTube.mini_player__cursor; - - if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'ne-resize'; - } else if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'se-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'sw-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'nw-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'n-resize'; - } else if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'e-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 's-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'w-resize'; - } else { - c = ''; - } - - if (ImprovedTube.mini_player__cursor !== c) { - ImprovedTube.mini_player__cursor = c; - - document.documentElement.setAttribute('it-mini-player-cursor', ImprovedTube.mini_player__cursor); - } -}; - -ImprovedTube.mini_player__resize = function (event) { - if (ImprovedTube.mini_player__cursor !== '') { - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - window.addEventListener('mouseup', ImprovedTube.mini_player__resize_mouseUp); - window.addEventListener('mousemove', ImprovedTube.mini_player__resize_mouseMove); - - return true; - } -}; - -ImprovedTube.mini_player__resize_mouseMove = function(event) { - if (ImprovedTube.mini_player__cursor === 'n-resize') { - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, event.clientY); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } else if (ImprovedTube.mini_player__cursor === 'e-resize') { - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__height); - } else if (ImprovedTube.mini_player__cursor === 's-resize') { - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'w-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, ImprovedTube.mini_player__y); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__height); - } else if (ImprovedTube.mini_player__cursor === 'ne-resize') { - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, event.clientY); - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } else if (ImprovedTube.mini_player__cursor === 'se-resize') { - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'sw-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, ImprovedTube.mini_player__y); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'nw-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, event.clientY); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } -}; - -ImprovedTube.mini_player__resize_mouseUp = function(event) { - var bcr = ImprovedTube.mini_player__element.getBoundingClientRect(); - - ImprovedTube.mini_player__x = bcr.left; - ImprovedTube.mini_player__y = bcr.top; - ImprovedTube.mini_player__width = bcr.width; - ImprovedTube.mini_player__height = bcr.height; - - window.dispatchEvent(new Event('resize')); - - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - strg.width = ImprovedTube.mini_player__width; - strg.height = ImprovedTube.mini_player__height; - - localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); - - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - window.removeEventListener('mouseup', ImprovedTube.mini_player__resize_mouseUp); - window.removeEventListener('mousemove', ImprovedTube.mini_player__resize_mouseMove); -}; - -ImprovedTube.mini_player = function() { - ImprovedTube.mini_player__element = document.querySelector('.html5-video-player'); - - if (ImprovedTube.storage.mini_player === true) { - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - ImprovedTube.mini_player__x = ImprovedTube.isset(strg.x) ? strg.x : 16; - ImprovedTube.mini_player__y = ImprovedTube.isset(strg.y) ? strg.y : 16; - ImprovedTube.mini_player__width = strg.width || 200; - ImprovedTube.mini_player__height = strg.height || 150; - - window.addEventListener('scroll', ImprovedTube.mini_player__scroll); - } else { - ImprovedTube.mini_player__mode = false; - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - ImprovedTube.mini_player__move = false; - ImprovedTube.mini_player__setPosition(0, 0); - ImprovedTube.mini_player__element.style.width = ''; - ImprovedTube.mini_player__element.style.height = ''; - - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - window.dispatchEvent(new Event('resize')); - - window.removeEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.removeEventListener('mousemove', ImprovedTube.mini_player__mousemove); - window.removeEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.removeEventListener('click', ImprovedTube.mini_player__click); - window.removeEventListener('scroll', ImprovedTube.mini_player__scroll); - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - } -}; - - -/*----------------------------------------------------------------------------- -12.0 Autopause ------------------------------------------------------------------------------*/ - -ImprovedTube.player_autopause_when_switching_tabs = function() { - window.addEventListener('blur', function() { - ImprovedTube.focused = false; - - if ( - ImprovedTube.storage.player_autopause_when_switching_tabs === true && - /\/watch/.test(location.href) && - document.querySelector('.html5-video-player video') - ) { - document.querySelector('.html5-video-player video').pause(); - } - }); - - window.addEventListener('focus', function() { - ImprovedTube.focused = true; - - if ( - ImprovedTube.storage.player_autopause_when_switching_tabs === true && - /\/watch/.test(location.href) && - document.querySelector('.html5-video-player video') - ) { - document.querySelector('.html5-video-player video').play(); - } - }); -}; - - -/*----------------------------------------------------------------------------- -13.0 Auto-fullscreen ------------------------------------------------------------------------------*/ - -ImprovedTube.player_autofullscreen = function(node) { - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if ( - this.storage.player_autofullscreen === true && - !document.fullscreenElement && - document.documentElement.getAttribute('it-page-type') === 'video' && - node.toggleFullscreen - ) { - node.toggleFullscreen(); - } -}; - - -/*----------------------------------------------------------------------------- -14.0 Custom buttons ------------------------------------------------------------------------------*/ - -ImprovedTube.createPlayerButton = function(node, options) { - var button = document.createElement('button'); - - var wait = setInterval(function() { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - if (node && node.querySelector('.ytp-left-controls')) { - clearInterval(wait); - - button.className = 'ytp-button it-player-button'; - - button.dataset.title = options.title; - - if (options.id) { - if (node.querySelector('#' + options.id)) { - node.querySelector('#' + options.id).remove(); - } - - button.id = options.id; - } - - if (options.html) { - button.innerHTML = options.html; - } - - button.style.opacity = options.opacity || '.5'; - - if (options.onclick) { - button.onclick = options.onclick; - } - - node.querySelector('.ytp-left-controls').insertBefore(button, node.querySelector('.ytp-left-controls').childNodes[3]); - } - }); -}; - - -/*----------------------------------------------------------------------------- -14.1 Repeat ------------------------------------------------------------------------------*/ - -ImprovedTube.player_repeat_button = function(node) { - if (this.storage.player_repeat_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-repeat-button', - html: '', - onclick: function() { - if (node.querySelector('video').hasAttribute('loop')) { - node.querySelector('video').removeAttribute('loop'); - this.style.opacity = '.5'; - } else if (!/ad-showing/.test(player.className)) { - node.querySelector('video').setAttribute('loop', ''); - this.style.opacity = '1'; - } - }, - title: 'Repeat' - }); - - if (this.storage.player_always_repeat === true) { - setTimeout(function() { - node.querySelector('video').setAttribute('loop', ''); - node.querySelector('#it-repeat-button').style.opacity = '1'; - }, 100); - } - } else if (document.querySelector('.it-repeat-button')) { - document.querySelector('.it-repeat-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.2 Screenshot ------------------------------------------------------------------------------*/ - -ImprovedTube.screenshot = function() { - document.body.style.opacity = '0'; - - var video = document.querySelector('.html5-video-player video'), - cvs = document.createElement('canvas'), - ctx = cvs.getContext('2d'), - old_w = video.offsetWidth, - old_h = video.offsetHeight; - - video.style.width = video.videoWidth + 'px'; - video.style.height = video.videoHeight + 'px'; - - setTimeout(function() { - cvs.width = video.videoWidth; - cvs.height = video.videoHeight; - - ctx.drawImage(video, 0, 0, cvs.width, cvs.height); - - cvs.toBlob(function(blob) { - if (ImprovedTube.storage.player_screenshot_save_as !== 'clipboard') { - var a = document.createElement('a'); - - a.href = URL.createObjectURL(blob); - - a.download = location.href.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '-' + new Date(document.querySelector('video').getCurrentTime() * 1000).toISOString().substr(11, 8).replace(/:/g, '-') + '.png'; - - a.click(); - } else { - try { - navigator.clipboard.write([ - new ClipboardItem({ - 'image/png': blob - }) - ]); - } catch (error) { - console.error(error); - } - } - - setTimeout(function() { - video.style.width = old_w + 'px'; - video.style.height = old_h + 'px'; - - document.body.style.opacity = '1'; - }, 100); - }); - }, 100); -}; - -ImprovedTube.player_screenshot_button = function() { - if (this.storage.player_screenshot_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-screenshot-button', - html: '', - opacity: 1, - onclick: ImprovedTube.screenshot, - title: 'Screenshot' - }); - } else if (document.querySelector('.it-screenshot-button')) { - document.querySelector('.it-screenshot-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.3 Rotate ------------------------------------------------------------------------------*/ - -ImprovedTube.player_rotate_button = function() { - if (this.storage.player_rotate_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-rotate-button', - html: '', - opacity: 1, - onclick: function() { - var video = document.querySelector('.html5-video-player video'), - transform = '', - rotate = (document.querySelector('.it-rotate-styles') && document.querySelector('.it-rotate-styles').textContent.match(/rotate\([0-9.]+deg\)/g) || [''])[0]; - - rotate = Number((rotate.match(/[0-9.]+/g) || [])[0]) || 0; - - if (rotate < 270 && rotate % 90 == 0) { - rotate = rotate + 90; - } else { - rotate = 0; - } - - transform += 'rotate(' + rotate + 'deg)'; - - if (rotate == 90 || rotate == 270) { - transform += ' scale(' + video.offsetHeight / video.offsetWidth + ')'; - } - - //video.style.transform = transform; - - if (!document.querySelector('.it-rotate-styles')) { - var styles = document.createElement('style'); - - styles.className = 'it-rotate-styles'; - - document.body.appendChild(styles); - } - - document.querySelector('.it-rotate-styles').textContent = '.html5-video-player:not(it-mini-player) video {transform:' + transform + '}'; - }, - title: 'Rotate' - }); - } else if (document.querySelector('.it-rotate-button')) { - document.querySelector('.it-rotate-button').remove(); - document.querySelector('.it-rotate-styles').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.4 Popup ------------------------------------------------------------------------------*/ - -ImprovedTube.player_popup_button = function() { - if (this.storage.player_popup_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-popup-player-button', - html: '', - opacity: 1, - onclick: function() { - node.pauseVideo(); - - window.open('//www.youtube.com/embed/' + location.href.match(/watch\?v=([A-Za-z0-9\-\_]+)/g)[0].slice(8) + '?start=' + parseInt(node.getCurrentTime()) + '&autoplay=' + (ImprovedTube.storage.player_autoplay == false ? '0' : '1'), '_blank', 'location=0,menubar=0,status=0,titlebar=0,width=' + node.offsetWidth + ',height=' + node.offsetHeight); - }, - title: 'Popup' - }); - } else if (document.querySelector('.it-popup-player-button')) { - document.querySelector('.it-popup-player-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -# LOUDNESS NORMALIZATION ------------------------------------------------------------------------------*/ - -ImprovedTube.player_loudness_normalization = function() { - if (document.querySelector('video')) { - document.querySelector('video').onvolumechange = function(event) { - if (document.querySelector('.ytp-volume-panel') && ImprovedTube.storage.player_loudness_normalization === false) { - var volume = Number(document.querySelector('.ytp-volume-panel').getAttribute('aria-valuenow')); - - document.querySelector('video').volume = volume / 100; - } - }; - } - - if (ImprovedTube.storage.player_loudness_normalization === false) { - try { - var local_storage = localStorage['yt-player-volume']; - - if (ImprovedTube.isset(Number(ImprovedTube.storage.player_volume)) && ImprovedTube.storage.player_forced_volume === true) { - - } else if (local_storage) { - local_storage = JSON.parse(JSON.parse(local_storage).data); - local_storage = Number(local_storage.volume); - - document.querySelector('video').volume = local_storage / 100; - } else { - document.querySelector('video').volume = 100; - } - } catch (err) { - console.log(err); - } - } -}; - -/*----------------------------------------------------------------------------- ->>> PLAYLIST -------------------------------------------------------------------------------- -1.0 Reverse -2.0 Repeat -3.0 Shuffle ------------------------------------------------------------------------------*/ - - -/*----------------------------------------------------------------------------- -1.0 Reverse (todo) ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_reverse_wait = false; - -ImprovedTube.playlist_reverse_activated = false; - -ImprovedTube.playlist_reverse = function() { - if (this.storage.playlist_reverse === true) { - ImprovedTube.playlist_reverse_wait = setInterval(function() { - if ( - ( - document.querySelector('.playlist-nav-controls') || - document.querySelector('ytd-watch-flexy ytd-playlist-panel-renderer #header-contents #playlist-actions ytd-menu-renderer #top-level-buttons') - ) && - (document.querySelector('.playlist-nav-controls .toggle-loop') || document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[0]) && - !document.querySelector('#it-playlist-reverse') - ) { - clearInterval(ImprovedTube.playlist_reverse_wait); - - ImprovedTube.playlist_reverse_wait = false; - - var button = document.createElement('div'); - - button.id = 'it-playlist-reverse'; - button.innerHTML = ''; - button.onclick = function() { - if (this.classList.contains('yt-uix-button-toggled')) { - ImprovedTube.playlist_reverse_activated = false; - - this.classList.remove('yt-uix-button-toggled'); - } else { - ImprovedTube.playlist_reverse_activated = true; - - this.classList.add('yt-uix-button-toggled'); - } - - ImprovedTube.newPlaylistReverse(); - }; - - (document.querySelector('ytd-watch-flexy ytd-playlist-panel-renderer #header-contents #playlist-actions ytd-menu-renderer #top-level-buttons') || document.querySelector('.playlist-nav-controls')).appendChild(button); - - if ((ImprovedTube.playlist_reverse_activated === true || location.href.indexOf('it-playlist-reverse=true') !== -1) && document.querySelector('#it-playlist-reverse')) { - ImprovedTube.playlist_reverse_activated = true; - - document.querySelector('#it-playlist-reverse').classList.add('yt-uix-button-toggled'); - - ImprovedTube.newPlaylistReverse(); - } - } - }, 250); - } -}; - -ImprovedTube.newPlaylistReverse = function() { - var list = document.querySelector('#items.playlist-items'), - videos = document.querySelectorAll('#items.playlist-items > *'), - clones = [], - titles = [], - channels = [], - hrefs = []; - - if (videos) { - for (var i = videos.length - 1; i >= 0; i--) { - titles.push(videos[i].querySelector('#video-title').innerText); - channels.push(videos[i].querySelector('#byline').innerText); - hrefs.push(videos[i].querySelector('a').href + '&it-playlist-reverse=true'); - clones.push(videos[i].cloneNode(true)); - } - - list.innerHTML = ''; - - for (var i = 0, l = clones.length; i < l; i++) { - var clone = clones[i].cloneNode(true); - - list.appendChild(clone); - } - - function next(event) { - if ( - ImprovedTube.playlist_reverse_activated === true && - ( - (document.querySelector('#items.playlist-items > [selected]').nextElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || - document.querySelector('#items.playlist-items > * a') - ) - ) { - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i] === document.querySelector('.html5-video-player .ytp-next-button')) { - event.preventDefault(); - event.stopPropagation(); - - location.replace(((document.querySelector('#items.playlist-items > [selected]').nextElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || document.querySelector('#items.playlist-items > * a')).href); - - return false; - } - } - } - } - - window.removeEventListener('click', next); - window.addEventListener('click', next); - - function prev(event) { - if ( - ImprovedTube.playlist_reverse_activated === true && - ( - (document.querySelector('#items.playlist-items > [selected]').previousElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || - document.querySelector('#items.playlist-items > *:last-child a') - ) - ) { - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i] === document.querySelector('.html5-video-player .ytp-prev-button')) { - event.preventDefault(); - event.stopPropagation(); - - location.replace(((document.querySelector('#items.playlist-items > [selected]').previousElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || document.querySelector('#items.playlist-items > *:last-child a')).href); - - return false; - } - } - } - } - - window.removeEventListener('click', prev); - window.addEventListener('click', prev); - - setTimeout(function() { - var items = document.querySelectorAll('#items.playlist-items > *'); - - for (var i = 0, l = clones.length; i < l; i++) { - var item = items[i]; - - item.querySelector('a').href = hrefs[i]; - // index - item.querySelector('#index').innerHTML = clones[i].querySelector('#index').innerHTML; - // thumbnail - item.querySelector('#thumbnail-container').style.background = 'url(https://i.ytimg.com/vi/' + hrefs[i].match(/v=[^&]*/g)[0].substr(2) + '/hqdefault.jpg) no-repeat center'; - item.querySelector('#thumbnail-container').style.backgroundSize = 'cover'; - item.querySelector('yt-img-shadow').classList.remove('empty'); - // title - item.querySelector('#video-title').innerText = titles[i]; - // channel - item.querySelector('#byline').innerText = channels[i]; - } - - //document.querySelector('.html5-video-player .ytp-next-button').parentNode.replaceChild(document.querySelector('.html5-video-player .ytp-next-button').cloneNode.true, document.querySelector('.html5-video-player .ytp-next-button')); - - document.querySelector('#playlist .playlist-items').scrollTo(0, document.querySelector('ytd-playlist-panel-video-renderer[selected]').offsetTop - document.querySelector('ytd-playlist-panel-video-renderer[selected]').parentNode.offsetTop); - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Repeat ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_repeat_wait = false; - -ImprovedTube.playlist_repeat = function() { - if (this.isset(this.storage.playlist_repeat) && /\/watch\?/.test(location.href) && /list=/.test(location.href)) { - ImprovedTube.playlist_repeat_wait = setInterval(function() { - if ( - document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[0] || - document.querySelector('.playlist-nav-controls .toggle-loop') - ) { - clearInterval(ImprovedTube.playlist_repeat_wait); - - ImprovedTube.playlist_repeat_wait = false; - - var option = ImprovedTube.storage.playlist_repeat, - new_youtube_toggle = document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer'), - old_youtube_toggle = document.querySelector('.playlist-nav-controls .toggle-loop'); - - if (new_youtube_toggle[0] && (option === true && new_youtube_toggle[0].className.search('style-default-active') === -1 || option === 'disabled' && new_youtube_toggle[0].className.search('style-default-active') !== -1)) { - new_youtube_toggle[0].click(); - } else if (old_youtube_toggle && (option === true && old_youtube_toggle.className.search('yt-uix-button-toggled') === -1 || option === 'disabled' && old_youtube_toggle.className.search('yt-uix-button-toggled') !== -1)) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Shuffle ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_shuffle_wait = false; - -ImprovedTube.playlist_shuffle = function() { - if (this.isset(this.storage.playlist_shuffle) && /\/watch\?/.test(location.href) && /list=/.test(location.href)) { - ImprovedTube.playlist_shuffle_wait = setInterval(function() { - if ( - document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[1] || - document.querySelector('.playlist-nav-controls .shuffle-playlist') - ) { - clearInterval(ImprovedTube.playlist_shuffle_wait); - - ImprovedTube.playlist_shuffle_wait = false; - - var option = ImprovedTube.storage.playlist_shuffle, - new_youtube_toggle = document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer'), - old_youtube_toggle = document.querySelector('.playlist-nav-controls .shuffle-playlist'); - - if (new_youtube_toggle[1] && (option === true && new_youtube_toggle[1].className.search('style-default-active') === -1 || option === 'disabled' && new_youtube_toggle[1].className.search('style-default-active') !== -1)) { - new_youtube_toggle[1].click(); - } else if (old_youtube_toggle && (option === true && old_youtube_toggle.className.search('yt-uix-button-toggled') === -1 || option === 'disabled' && old_youtube_toggle.className.search('yt-uix-button-toggled') !== -1)) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Up next autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_up_next_autoplay_f = function(event) { - if ( - ImprovedTube.getParam(location.href, 'list') && - ImprovedTube.storage.playlist_up_next_autoplay === false && - this.currentTime >= this.duration - 1 - ) { - this.pause(); - } -}; - -ImprovedTube.playlist_up_next_autoplay = function(player) { - player.querySelector('video').removeEventListener('timeupdate', ImprovedTube.playlist_up_next_autoplay_f, true); - player.querySelector('video').addEventListener('timeupdate', ImprovedTube.playlist_up_next_autoplay_f, true); -}; - -/*----------------------------------------------------------------------------- ->>> SETTINGS -------------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube -2.0 Delete YouTube cookies -3.0 YouTube Language ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -ImprovedTube.improvedtube_youtube_icon_wait = false; - -ImprovedTube.improvedtube_youtube_icon_resize = function() { - var iframe = document.querySelector('.it-btn__iframe'), - icon = document.querySelector('.it-btn__icon'); - - if (iframe && icon) { - var x = icon.getBoundingClientRect().x, - y = icon.getBoundingClientRect().y; - - if (x < window.innerWidth / 2) { - iframe.style.right = 'auto'; - iframe.style.left = '0px'; - } else { - iframe.style.right = '0px'; - iframe.style.left = 'auto'; - } - - if (y < window.innerHeight / 2) { - iframe.style.top = '50px'; - iframe.style.bottom = 'auto'; - - iframe.style.height = Math.min(500, window.innerHeight - Math.max(0, iframe.getBoundingClientRect().top) - 16) + 'px'; - } else { - iframe.style.top = 'auto'; - iframe.style.bottom = '50px'; - - iframe.style.height = Math.min(500, window.innerHeight - Math.max(0, window.innerHeight - iframe.getBoundingClientRect().y - iframe.getBoundingClientRect().height) - 16) + 'px'; - } - } -}; - -ImprovedTube.improvedtube_youtube_icon = function() { - if (window.self !== window.top) { - return false; - } - - if ( - ImprovedTube.storage.improvedtube_youtube_icon === 'disabled' && - document.querySelector('.it-btn') - ) { - document.querySelector('.it-btn').remove(); - } - - if (this.improvedtube_youtube_icon_wait === false) { - this.improvedtube_youtube_icon_wait = setInterval(function() { - var option = ImprovedTube.storage.improvedtube_youtube_icon, - parentNode, - referenceNode; - - if (option === 'header_left') { - parentNode = document.querySelector('ytd-masthead #start'); - referenceNode = document.querySelector('ytd-masthead #start #guide-button'); - } else if (option === 'header_right') { - parentNode = ( - document.querySelector('#end #buttons') || - document.querySelector('#yt-masthead-user') - ); - } else if (option === 'draggable') { - parentNode = document.body || document.querySelector('body'); - } else if (option === 'below_player') { - parentNode = ( - document.querySelector('.title.ytd-video-primary-info-renderer') || - document.querySelector('#watch-headline-title') - ); - } - - if (document.querySelector('.it-btn')) { - if (!parentNode.querySelector(':scope > .it-btn')) { - document.querySelector('.it-btn').remove(); - } else { - clearInterval(ImprovedTube.improvedtube_youtube_icon_wait); - - ImprovedTube.improvedtube_youtube_icon_wait = false; - - return false; - } - } - - if ( - ImprovedTube.isset(option) && - option !== 'disabled' && - parentNode && (option === 'header_left' ? referenceNode : true) - ) { - clearInterval(ImprovedTube.improvedtube_youtube_icon_wait); - - ImprovedTube.improvedtube_youtube_icon_wait = false; - - var button = document.createElement('div'); - - button.className = 'it-btn'; - button.innerHTML = '
'; - button.addEventListener('click', function() { - event.preventDefault(); - event.stopPropagation(); - - this.classList.toggle('it-btn--active'); - ImprovedTube.improvedtube_youtube_icon_resize(); - - return false; - }, true); - - if (option === 'draggable') { - var position = localStorage.getItem('IT_ICON'); - - if (ImprovedTube.isset(position)) { - position = JSON.parse(position); - - button.style.left = position.x + 'px'; - button.style.top = position.y + 'px'; - } - - function move(event) { - button.classList.add('it-btn--dragging'); - - if (event.clientX < window.innerWidth / 2) { - if (event.clientX - Number(button.dataset.x) >= 16) { - button.style.left = event.clientX - Number(button.dataset.x) + 'px'; - } else { - button.style.left = '16px'; - } - } else { - if (event.clientX + (48 + window.innerWidth - document.querySelector('body').offsetWidth) - Number(button.dataset.x) <= window.innerWidth) { - button.style.left = event.clientX - Number(button.dataset.x) + 'px'; - } else { - button.style.left = 'calc(100vw - ' + (48 + window.innerWidth - document.querySelector('body').offsetWidth) + 'px)'; - } - } - - if (event.clientY < window.innerHeight / 2) { - if (event.clientY - Number(button.dataset.y) >= 16) { - button.style.top = event.clientY - Number(button.dataset.y) + 'px'; - } else { - button.style.top = '16px'; - } - } else { - if (event.clientY + 48 - Number(button.dataset.y) <= window.innerHeight) { - button.style.top = event.clientY - Number(button.dataset.y) + 'px'; - } else { - button.style.top = 'calc(100vh - 48px)'; - } - } - - ImprovedTube.improvedtube_youtube_icon_resize(); - } - - button.addEventListener('mousedown', function(event) { - this.dataset.x = event.layerX; - this.dataset.y = event.layerY; - - window.addEventListener('mousemove', move); - }); - - window.addEventListener('mouseup', function() { - button.classList.remove('it-btn--dragging'); - - window.removeEventListener('mousemove', move); - - localStorage.setItem('IT_ICON', JSON.stringify({ - x: button.offsetLeft, - y: button.offsetTop - })); - - setTimeout(function() { - button.style.pointerEvents = ''; - }); - }); - } - - if (option === 'header_left') { - parentNode.insertBefore(button, referenceNode); - } else { - parentNode.appendChild(button); - } - - ImprovedTube.improvedtube_youtube_icon_resize(); - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Delete YouTube cookies ------------------------------------------------------------------------------*/ - -ImprovedTube.delete_youtube_cookies = function() { - var cookies = document.cookie.split(';'); - - for (var i = 0, l = cookies.length; i < l; i++) { - var cookie = cookies[i], - eqPos = cookie.indexOf('='), - name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; - - document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; - } - - setTimeout(function() { - location.reload(); - }, 100); -}; - - -/*----------------------------------------------------------------------------- -3.0 YouTube Language ------------------------------------------------------------------------------*/ - -ImprovedTube.youtube_language = function() { - var pref = ImprovedTube.getCookieValueByName('PREF'), - hl = ImprovedTube.getParam(pref, 'hl'); - - if (hl) { - ImprovedTube.setCookie('PREF', pref.replace('hl=' + hl, 'hl=' + ImprovedTube.storage.youtube_language)); - } else { - ImprovedTube.setCookie('PREF', pref + '&hl=' + ImprovedTube.storage.youtube_language); - } - - setTimeout(function() { - location.reload(); - }, 100); -}; - -/*----------------------------------------------------------------------------- ->>> SHORTCUTS -------------------------------------------------------------------------------- -1.0 Keyboard -2.0 Mouse ------------------------------------------------------------------------------*/ - -ImprovedTube.shortcuts = function() { - var self = this, - keys = {}, - wheel = 0, - hover = false, - status_timer; - - function showStatus(player, volume) { - if (!player.querySelector('#it-status')) { - var element = document.createElement('div'); - - element.id = 'it-status'; - element.innerHTML = volume; - - document.querySelector('.html5-video-container').appendChild(element); - } else { - player.querySelector('#it-status').innerHTML = volume; - } - - if (status_timer) { - clearTimeout(status_timer); - } - - status_timer = setTimeout(function() { - if (player.querySelector('#it-status')) { - player.querySelector('#it-status').remove(); - } - }, 500); - } - - function start(type = 'keys') { - if (document.activeElement && ['EMBED', 'INPUT', 'OBJECT', 'TEXTAREA', 'IFRAME'].indexOf(document.activeElement.tagName) !== -1 || event.target.isContentEditable) { - return false; - } - - var features = { - shortcut_240p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('small'); - player.setPlaybackQuality('small'); - } - }, - shortcut_360p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('medium'); - player.setPlaybackQuality('medium'); - } - }, - shortcut_480p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('large'); - player.setPlaybackQuality('large'); - } - }, - shortcut_720p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd720'); - player.setPlaybackQuality('hd720'); - } - }, - shortcut_1080p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd1080'); - player.setPlaybackQuality('hd1080'); - } - }, - shortcut_1440p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd1440'); - player.setPlaybackQuality('hd1440'); - } - }, - shortcut_2160p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd2160'); - player.setPlaybackQuality('hd2160'); - } - }, - shortcut_2880p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd2880'); - player.setPlaybackQuality('hd2880'); - } - }, - shortcut_4320p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('highres'); - player.setPlaybackQuality('highres'); - } - }, - shortcut_picture_in_picture: function() { - var video = document.querySelector('#movie_player video'); - - if (video) { - video.requestPictureInPicture(); - } - }, - shortcut_play_pause: function() { - var video = document.querySelector('#movie_player video'); - - if (video) { - if (video.paused) { - video.play(); - } else { - video.pause(); - } - } - }, - shortcut_stop: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.stopVideo(); - } - }, - shortcut_next_video: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.nextVideo) { - player.nextVideo(); - } - }, - shortcut_prev_video: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.previousVideo) { - player.previousVideo(); - } - }, - shortcut_seek_backward: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.seekBy) { - player.seekBy(-10); - } - }, - shortcut_seek_forward: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.seekBy) { - player.seekBy(10); - } - }, - shortcut_increase_volume: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - player.setVolume(player.getVolume() + (Number(ImprovedTube.storage.shortcut_volume_step) || 5)); - } - - showStatus(player, player.getVolume()); - }, - shortcut_decrease_volume: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - player.setVolume(player.getVolume() - (Number(ImprovedTube.storage.shortcut_volume_step) || 5)); - } - - showStatus(player, player.getVolume()); - }, - shortcut_screenshot: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - ImprovedTube.screenshot(); - } - }, - shortcut_increase_playback_speed: function() { - var video = document.querySelector('#movie_player video'); - - if (video && video.playbackRate) { - video.playbackRate = Math.max(Number((video.playbackRate + Number(ImprovedTube.storage.shortcut_playback_speed_step)).toFixed(2)), .1); - - showStatus(document.querySelector('#movie_player'), video.playbackRate); - } - }, - shortcut_decrease_playback_speed: function() { - var video = document.querySelector('#movie_player video'); - - if (video && video.playbackRate) { - video.playbackRate = Math.max(Number((video.playbackRate - Number(ImprovedTube.storage.shortcut_playback_speed_step)).toFixed(2)), .1); - - showStatus(document.querySelector('#movie_player'), video.playbackRate); - } - }, - shortcut_go_to_search_box: function() { - var search = document.querySelector('#search'); - - if (search && search.focus) { - search.focus(); - } - }, - shortcut_activate_fullscreen: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.toggleFullscreen) { - player.toggleFullscreen(); - } - }, - shortcut_activate_captions: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.querySelector('.ytp-subtitles-button')) { - player.querySelector('.ytp-subtitles-button').click(); - } - }, - shortcut_like_shortcut: function() { - var like = (document.querySelectorAll('.like-button-renderer-like-button')[0] || document.querySelectorAll('#menu #top-level-buttons ytd-toggle-button-renderer')[0]); - - if (like) { - like.click(); - } - }, - shortcut_dislike_shortcut: function() { - var like = (document.querySelectorAll('.like-button-renderer-dislike-button')[0] || document.querySelectorAll('#menu #top-level-buttons ytd-toggle-button-renderer')[1]); - - if (like) { - like.click(); - } - }, - shortcut_dark_theme: function() { - if (document.documentElement.hasAttribute('dark')) { - document.documentElement.removeAttribute('dark'); - document.documentElement.removeAttribute('it-theme'); - } else { - document.documentElement.setAttribute('dark', ''); - document.documentElement.setAttribute('it-theme', 'true'); - } - }, - shortcut_custom_mini_player: function() { - ImprovedTube.storage.mini_player = !ImprovedTube.storage.mini_player; - - ImprovedTube.mini_player(); - - if (ImprovedTube.storage.mini_player === true) { - ImprovedTube.mini_player__mode = true; - - ImprovedTube.mini_player__original_width = ImprovedTube.mini_player__element.offsetWidth; - ImprovedTube.mini_player__original_height = ImprovedTube.mini_player__element.offsetHeight; - - ImprovedTube.mini_player__element.classList.add('it-mini-player'); - - ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); - ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, ImprovedTube.mini_player__y); - - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height); - - window.addEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } - }, - shortcut_stats_for_nerds: function() { - var player = document.querySelector('#movie_player'); - - if(player) { - if(player.querySelector('.html5-video-info-panel')) { - var statsForNerdsPanel = player.querySelector('.html5-video-info-panel'); - var displayType = statsForNerdsPanel.style.display; - - if(displayType != 'none') { - statsForNerdsPanel.querySelector('.html5-video-info-panel-close').click(); - } else { - var rightClickMenu = document.querySelector('.ytp-popup.ytp-contextmenu .ytp-panel .ytp-panel-menu'); - - if(rightClickMenu && rightClickMenu.querySelector('div:nth-child(7)')) { - rightClickMenu.querySelector('div:nth-child(7) .ytp-menuitem-content').click(); - } - } - } else { - if(document.createEvent) { - var rightClickEvent = document.createEvent('HTMLEvents'); - rightClickEvent.initEvent('contextmenu', true, false); - player.dispatchEvent(rightClickEvent); - } - var rightClickMenu = document.querySelector('.ytp-popup.ytp-contextmenu .ytp-panel .ytp-panel-menu'); - - if(rightClickMenu && rightClickMenu.querySelector('div:nth-child(7)')) { - rightClickMenu.querySelector('div:nth-child(7) .ytp-menuitem-content').click(); - } - } - } - }, - shortcut_toggle_cards: function() { - const html = document.getElementsByTagName("html")[0]; - if(html.getAttribute("it-player-hide-cards") === "true") { - html.setAttribute("it-player-hide-cards", "false"); - } else { - html.setAttribute("it-player-hide-cards", true); - } - } - }; - - for (var i in features) { - if (self.isset(self.storage[i])) { - var data = JSON.parse(self.storage[i]) || {}; - - if ( - (data.key === keys.key || !self.isset(data.key)) && - (data.shiftKey === keys.shiftKey || !self.isset(data.shiftKey)) && - (data.ctrlKey === keys.ctrlKey || !self.isset(data.ctrlKey)) && - (data.altKey === keys.altKey || !self.isset(data.altKey)) && - ((data.wheel > 0) === (wheel > 0) || !self.isset(data.wheel)) && - (((data.on_top_of_player === true ? hover === true : true) && (data.wheel > 0) === (wheel > 0) && Object.keys(keys).length === 0 && keys.constructor === Object) || (self.isset(data.key) || self.isset(data.altKey) || self.isset(data.ctrlKey))) - ) { - if (type === 'wheel' && self.isset(data.wheel) || type === 'keys') { - event.preventDefault(); - event.stopPropagation(); - } - - features[i](); - - if (type === 'wheel' && self.isset(data.wheel) || type === 'keys') { - return false; - } - } - } - } - } - - - /*------------------------------------------------------------------------- - 1.0 Keyboard - -------------------------------------------------------------------------*/ - - window.addEventListener('keydown', function(event) { - keys = { - key: event.key, - keyCode: event.keyCode, - shiftKey: event.shiftKey, - ctrlKey: event.ctrlKey, - altKey: event.altKey - }; - - start(); - }, true); - - window.addEventListener('keyup', function(event) { - keys = {}; - }, true); - - - /*------------------------------------------------------------------------- - 2.0 Mouse - -------------------------------------------------------------------------*/ - - window.addEventListener('mousemove', function(event) { - hover = false; - - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i].classList && event.path[i].classList.contains('html5-video-player')) { - hover = true; - } - } - }, { - passive: false, - capture: true - }); - - window.addEventListener('wheel', function(event) { - wheel = event.deltaY; - - start('wheel'); - }, { - passive: false, - capture: true - }); -}; - -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Bluelight -2.0 Dim -3.0 Themes ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Bluelight ------------------------------------------------------------------------------*/ - -ImprovedTube.bluelight = function() { - var value = this.storage.bluelight, - times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - } - - if ( - this.isset(value) && value !== 0 && value !== '0' && - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) - ) { - if (!document.querySelector('#it-bluelight')) { - var container = document.createElement('div'); - - container.id = 'it-bluelight'; - container.innerHTML = ''; - - document.documentElement.appendChild(container); - } else { - document.querySelector('#it-bluelight-filter feColorMatrix').setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 ' + (1 - parseFloat(value) / 100) + ' 0 0 0 0 0 1 0'); - } - } else if (document.querySelector('#it-bluelight')) { - document.querySelector('#it-bluelight').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Dim ------------------------------------------------------------------------------*/ - -ImprovedTube.dim = function() { - var value = this.storage.dim, - times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - }; - - if ( - this.isset(value) && value !== 0 && value !== '0' && - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) - ) { - if (!document.querySelector('#it-dim')) { - var container = document.createElement('div'); - - container.id = 'it-dim'; - container.style.opacity = parseInt(Number(value)) / 100 || 0; - - document.documentElement.appendChild(container); - } else { - document.querySelector('#it-dim').style.opacity = parseInt(Number(value)) / 100 || 0; - } - - if (!document.querySelector('#it-dim-player')) { - var container = document.createElement('div'); - - container.id = 'it-dim-player'; - container.style.opacity = parseInt(Number(value)) / 100 || 0; - - if (document.querySelector('.html5-video-player')) { - document.querySelector('.html5-video-player').appendChild(container); - } - } else { - document.querySelector('#it-dim-player').style.opacity = parseInt(Number(value)) / 100 || 0; - } - } else { - if (document.querySelector('#it-dim')) { - document.querySelector('#it-dim').remove(); - } - - if (document.querySelector('#it-dim-player')) { - document.querySelector('#it-dim-player').remove(); - } - } -}; - - -ImprovedTube.font = function() { - if (this.storage.font) { - if(this.storage.font != 'Default') { - if (!document.querySelector('.it-font-family')) { - var link = document.createElement('link'); - - link.rel = 'stylesheet'; - - document.documentElement.appendChild(link); - } else { - var link = document.querySelector('.it-font-family'); - } - - link.href = '//fonts.googleapis.com/css2?family=' + this.storage.font; - - document.documentElement.style.fontFamily = this.storage.font.replace(/\+/g, ' '); - } - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Themes ------------------------------------------------------------------------------*/ - -ImprovedTube.theme = function() { - var times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - } - - if ( - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) && - ( - this.isset(ImprovedTube.storage.default_dark_theme) && ImprovedTube.storage.default_dark_theme !== false - || - this.isset(ImprovedTube.storage.night_theme) && ImprovedTube.storage.night_theme !== false - || - this.isset(ImprovedTube.storage.dawn_theme) && ImprovedTube.storage.dawn_theme !== false - || - this.isset(ImprovedTube.storage.sunset_theme) && ImprovedTube.storage.sunset_theme !== false - || - this.isset(ImprovedTube.storage.desert_theme) && ImprovedTube.storage.desert_theme !== false - || - this.isset(ImprovedTube.storage.plain_theme) && ImprovedTube.storage.plain_theme !== false - || - this.isset(ImprovedTube.storage.black_theme) && ImprovedTube.storage.black_theme !== false - ) - ) { - var PREF_OLD = this.getParams(this.getCookieValueByName('PREF')), - PREF = this.getParams(this.getCookieValueByName('PREF')), - result = ''; - - if (!this.isset(PREF.f6) || this.isset(PREF.f6) && PREF.f6.length !== 3) { - PREF.f6 = '400'; - } else if (PREF.f6.length === 3) { - PREF.f6 = '4' + PREF.f6.substr(1); - } - - for (var i in PREF) { - result += i + '=' + PREF[i] + '&'; - } - - this.setCookie('PREF', result.slice(0, -1)); - - document.documentElement.setAttribute('it-theme', 'true'); - } else { - document.documentElement.removeAttribute('it-theme'); - } -}; - - -ImprovedTube.themeEditor = function() { - if (this.storage.theme_my_colors !== true) { - if (document.querySelector('.it-theme-editor')) { - document.querySelector('.it-theme-editor').remove(); - } - - return false; - } - - var style = document.querySelector('.it-theme-editor') || document.createElement('style'); - - style.className = 'it-theme-editor'; - style.innerText = 'html{' + - '--yt-swatch-textbox-bg:rgba(19,19,19,1)!important;' + - '--yt-swatch-icon-color:rgba(136,136,136,1)!important;' + - '--yt-spec-brand-background-primary:rgba(0,0,0, 0.1) !important;' + - '--yt-spec-brand-background-secondary:rgba(0,0,0, 0.1) !important;' + - '--yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important;' + - '--yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important;' + - '--yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important;' + - '--yt-spec-brand-button-background:rgba(136,136,136,1) !important;' + - '--yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important;' + - '--yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important;' + - '--yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important;' + - '--yt-spec-10-percent-layer:rgba(136,136,136,1) !important;' + - '--yt-swatch-primary:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-swatch-primary-darker:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-brand-background-solid:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-a:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-b:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-c:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-touch-response:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-swatch-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-important-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-input-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-logo-override: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-spec-text-primary:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-primary-inverse:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-secondary:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-disabled:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-active-other:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-inactive:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-disabled:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-filled-button-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-call-to-action-inverse:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-icon-active:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-icon-inactive:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-link-text:' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-spec-brand-subscribe-button-background:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-wordmark-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-selected-nav-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '}'; - - document.documentElement.appendChild(style); -} - -/*----------------------------------------------------------------------------- ->>> VOLUME MIXER -------------------------------------------------------------------------------- -1.0 Inject ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Inject ------------------------------------------------------------------------------*/ - -ImprovedTube.volumeMixer = function() {}; -/*----------------------------------------------------------------------------- ->>> FUNCTIONS -------------------------------------------------------------------------------- -1.0 ------------------------------------------------------------------------------*/ - -function injectScript(string) { - var script = document.createElement('script'); - - script.textContent = string; - - document.documentElement.appendChild(script); - - script.remove(); -} - -function injectStyle(string, id) { - var style = document.getElementById(id) || document.createElement('style'); - - style.textContent = string; - - document.documentElement.appendChild(style); -} - -ImprovedTube.isset = function(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -}; - -ImprovedTube.getCookieValueByName = function(name) { - var match = document.cookie.match(new RegExp('([; ]' + name + '|^' + name + ')([^\\s;]*)', 'g')); - - if (match) { - var cookie = match[0]; - - return cookie.replace(name + '=', '').replace(' ', ''); - } else - return ''; -}; - -ImprovedTube.getParam = function(query, name) { - var params = query.split('&'), - param = false; - - for (var i = 0; i < params.length; i++) { - params[i] = params[i].split('='); - - if (params[i][0] == name) { - param = params[i][1]; - } - } - - if (param) { - return param; - } else { - return false; - } -}; - -ImprovedTube.getParams = function(query) { - var params = query.split('&'), - result = {}; - - for (var i = 0, l = params.length; i < l; i++) { - params[i] = params[i].split('='); - - result[params[i][0]] = params[i][1]; - } - - return result; -}; - -ImprovedTube.setCookie = function(name, value) { - var date = new Date(); - - date.setTime(date.getTime() + 3.154e+10); - - document.cookie = name + '=' + value + '; path=/; domain=.youtube.com; expires=' + date.toGMTString(); -}; - -ImprovedTube.pageType = function() { - var href = location.href, - type = ''; - - if (location.pathname == '/') { - type = 'home'; - } else if (/\/watch\?/.test(href)) { - type = 'video'; - } else if (/\/channel|user\//.test(href)) { - type = 'channel'; - } - - document.documentElement.setAttribute('it-page-type', type); -}; - - -chrome.runtime.sendMessage({ - enabled: true -}); -/*----------------------------------------------------------------------------- ->>> INJECTION -------------------------------------------------------------------------------- -1.0 Initialization -2.0 Storage listener -3.0 Message listener ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Initialization ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - var content = 'var ImprovedTube={'; - - if (typeof items.player_volume === 'string') { - items.player_volume = Number(items.player_volume); - } - - if (!items.hasOwnProperty('header_position')) { - items.header_position = 'normal'; - } - - if (!items.hasOwnProperty('player_size')) { - items.player_size = 'do_not_change'; - } - - if (items.bluelight === '0') { - items.bluelight = 0; - } - - if (items.dim === '0') { - items.dim = 0; - } - - if (items.custom_js && items.custom_js.length > 0) { - injectScript('try{' + items.custom_js + '} catch (err) { console.error(err); }'); - } - - if (items.custom_css && items.custom_css.length > 0) { - injectStyle(items.custom_css, 'it-custom-css'); - } - - withoutInjection(items); - - content += 'storage:' + JSON.stringify(items); - - for (var key in items) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), items[key]); - } - - for (var key in ImprovedTube) { - content += ',' + key + ':' + ImprovedTube[key]; - } - - content += '};ImprovedTube.init();'; - - injectScript(content); -}); - - -/*----------------------------------------------------------------------------- -2.0 Storage listener ------------------------------------------------------------------------------*/ - -chrome.storage.onChanged.addListener(function(changes) { - for (var key in changes) { - var value = changes[key].newValue; - - if (['watched'].indexOf(key) === -1) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), value); - - injectScript('ImprovedTube.storage[\'' + key + '\']=' + (typeof value === 'boolean' ? value : '\'' + value + '\'') + ';'); - - if (typeof ImprovedTube[key] === 'function') { - injectScript('ImprovedTube.' + key + '();'); - } - - if (key === 'schedule' || key === 'schedule_time_from' || key === 'schedule_time_to') { - injectScript('ImprovedTube.bluelight();'); - injectScript('ImprovedTube.dim();'); - injectScript('ImprovedTube.theme();'); - } - - if (key.indexOf('theme') !== -1){ - injectScript('ImprovedTube.theme();'); - } - - if (key === 'theme_primary_color' || key === 'theme_text_color') { - injectScript('ImprovedTube.themeEditor();'); - } - - if (['custom_css'].indexOf(key) !== -1 && value.length > 0) { - injectStyle(value, 'it-custom-css'); - } else if (document.querySelector('#it-custom-css')) { - document.querySelector('#it-custom-css').remove(); - } - } - } -}); - - -/*----------------------------------------------------------------------------- -3.0 Message listener ------------------------------------------------------------------------------*/ - -chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { - var name = request.name || '', - value = request.value; - - if (name === 'improvedtube-play') { - if (request.id && request.id !== new URL(location.href).searchParams.get('v')) { - injectScript(['if (document.querySelector(".html5-video-player") && !ImprovedTube.focused && ImprovedTube.storage.only_one_player_instance_playing) { document.querySelector(".html5-video-player").pauseVideo();}']); - } - } else if (name == 'request_volume' && document.querySelector('video')) { - sendResponse({ - value: document.querySelector('video').volume * 100 - }); - } else if (name == 'change_volume') { - injectScript(['if(document.querySelector(".html5-video-player")){document.querySelector(".html5-video-player").setVolume(' + request.volume + ');}'], 'improvedtube-mixer-data'); - } else if (name == 'request_playback_speed' && document.querySelector('video')) { - sendResponse({ - value: document.querySelector('video').playbackRate - }); - } else if (name == 'change_playback_speed') { - injectScript(['if(document.querySelector(".html5-video-player video")){document.querySelector(".html5-video-player video").playbackRate = ' + request.playback_speed + ';}'], 'improvedtube-mixer-data'); - } else if (name === 'delete_youtube_cookies') { - var cookies = document.cookie.split(';'); - - for (var i = 0; i < cookies.length; i++) { - var cookie = cookies[i], - eqPos = cookie.indexOf('='), - name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; - - document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; - } - - setTimeout(function() { - location.reload(); - }, 250); - } -}); - -/*----------------------------------------------------------------------------- ->>> MIGRATION -------------------------------------------------------------------------------- -1.0 General - 1.1 Legacy YouTube - 1.2 YouTube Home Page - 1.3 Add «Scroll to top» - 1.4 Hide animated thumbnails - 1.5 Confirmation before closing -2.0 Appearance - 2.1 Header - 2.1.1 Header style - 2.1.2 Improve logo - 2.2 Player - 2.2.1 Annotations - 2.2.2 Cards - 2.2.3 Player size - 2.3 Footer - 2.3.5 Hide footer -3.0 Themes -4.0 Player - 4.1 Quality - 4.2 Volume - 4.3 Playback speed - 4.4 Autoplay - 4.5 Allow 60fps - 4.6 Codec h.264 - 4.7 Subtitles - 4.8 Loudness normalization - 4.9 Mini player - 4.10 Ads - 4.11 Autopause - 4.12 Auto-fullscreen - 4.13 Repeat button - 4.14 Screenshot button - 4.15 Rotate button - 4.16 Popup button -5.0 Playlist - 5.1 Repeat - 5.2 Shuffle -6.0 Channel - 6.1 Default tab - 6.2 Trailer autoplay - 6.3 Hide featured content ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(object) { - if (object.migrated !== true) { - for (var key in object) { - var value = object[key]; - - if (value === 'true') { - object[key] = true; - } else if (value === 'false') { - object[key] = false; - } - - /*--------------------------------------------------------------------- - 1.0 General - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 1.1 Legacy YouTube - ---------------------------------------------------------------------*/ - - if (key === 'youtube_version') { - if (value === 'old') { - object.legacy_youtube = true; - } else { - object.legacy_youtube = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.2 YouTube Home Page - ---------------------------------------------------------------------*/ - else if (key === 'youtube_home_page') { - if (value === 'normal') { - object[key] = '/'; - } else if (value === 'trending') { - object[key] = '/feed/trending'; - } else if (value === 'subscriptions') { - object[key] = '/feed/subscriptions'; - } else if (value === 'history') { - object[key] = '/feed/history'; - } else if (value === 'watch_later') { - object[key] = '/playlist?list=WL'; - } - } - - - /*--------------------------------------------------------------------- - 1.3 Add «Scroll to top» - ---------------------------------------------------------------------*/ - else if (key === 'scroll_to_top') { - if (value === 'true') { - object.add_scroll_to_top = true; - } else { - object.add_scroll_to_top = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.4 Hide animated thumbnails - ---------------------------------------------------------------------*/ - else if (key === 'play_videos_by_hovering_the_thumbnails') { - if (value === 'false') { - object.hide_animated_thumbnails = true; - } else { - object.hide_animated_thumbnails = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.5 Confirmation before closing - ---------------------------------------------------------------------*/ - else if (key === 'youtube_prevent_closure') { - if (value === 'true') { - object.confirmation_before_closing = true; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.0 Appearance - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.1 Header - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.1.1 Header style - ---------------------------------------------------------------------*/ - else if (key === 'header') { - if (value === 'top_of_page') { - object.header_position = 'static'; - } else { - object.header_position = value; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.1.2 Improve logo - ---------------------------------------------------------------------*/ - else if (key === 'improve_youtube_logo') { - object.header_improve_logo = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.2 Player - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.2.1 Annotations - ---------------------------------------------------------------------*/ - else if (key === 'annotations') { - object.player_hide_annotations = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.2 Cards - ---------------------------------------------------------------------*/ - else if (key === 'cards') { - object.player_hide_cards = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.3 Transparent background - ---------------------------------------------------------------------*/ - else if (key === 'transparent_background') { - object.player_transparent_background = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.4 Endscreen - ---------------------------------------------------------------------*/ - else if (key === 'endscreen') { - object.player_hide_endscreen = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.3 Footer - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.3.5 Hide footer - ---------------------------------------------------------------------*/ - else if (key === 'footer') { - object.hide_footer = value === 'hidden' ? true : false; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 3.0 Themes - ---------------------------------------------------------------------*/ - else if (key === 'it_theme') { - object.theme = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.0 Player - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 4.1 Quality - ---------------------------------------------------------------------*/ - else if (key === 'video_quality') { - object.player_quality = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.2 Volume - ---------------------------------------------------------------------*/ - else if (key === 'video_volume') { - object.player_volume = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.3 Playback speed - ---------------------------------------------------------------------*/ - else if (key === 'video_playback_speed') { - object.player_playback_speed = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.4 Autoplay - ---------------------------------------------------------------------*/ - else if (key === 'video_autoplay') { - object.player_autoplay = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.5 Allow 60fps - ---------------------------------------------------------------------*/ - else if (key === 'allow_60fps') { - object.player_60fps = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.6 Video codec h.264 - ---------------------------------------------------------------------*/ - else if (key === 'video_encode') { - object.player_h264 = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.7 Allow subtitles - ---------------------------------------------------------------------*/ - else if (key === 'allow_subtitles') { - object.player_subtitles = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.8 Loudness normalization - ---------------------------------------------------------------------*/ - else if (key === 'allow_loudness') { - object.player_loudness_normalization = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.8 Mini player - ---------------------------------------------------------------------*/ - else if (key === 'mini_player_b') { - object.mini_player = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.9 Ads - ---------------------------------------------------------------------*/ - else if (key === 'allow_video_ads') { - object.player_ads = 'all_videos'; - - delete object[key]; - } else if (key === 'subscribed_channel_player_ads' && value === true) { - object.player_ads = 'subscribed_channels'; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.10 Autopause - ---------------------------------------------------------------------*/ - else if (key === 'video_autopause') { - object.player_autopause = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.11 Auto-fullscreen - ---------------------------------------------------------------------*/ - else if (key === 'video_autofullscreen') { - object.player_autofullscreen = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.12 Repeat button - ---------------------------------------------------------------------*/ - else if (key === 'video_repeat_button') { - object.player_repeat_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.13 Screenshot button - ---------------------------------------------------------------------*/ - else if (key === 'screenshot_button') { - object.player_screenshot_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.14 Rotate button - ---------------------------------------------------------------------*/ - else if (key === 'video_rotate_button') { - object.player_rotate_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.15 Popup button - ---------------------------------------------------------------------*/ - else if (key === 'popup_player_button') { - object.player_popup_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 5.0 Playlist - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 5.1 Repeat - ---------------------------------------------------------------------*/ - else if (key === 'playlist_repeat') { - if (value === 'enabled') { - object.playlist_repeat = true; - } else if (value === 'disabled') { - object.playlist_repeat = false; - } - } - - /*--------------------------------------------------------------------- - 5.2 Shuffle - ---------------------------------------------------------------------*/ - else if (key === 'playlist_shuffle') { - if (value === 'enabled') { - object.playlist_repeat = true; - } else if (value === 'disabled') { - object.playlist_repeat = false; - } - } - - - /*--------------------------------------------------------------------- - 6.0 Channel - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 6.1 Default tab - ---------------------------------------------------------------------*/ - else if (key === 'channel_default_page') { - if (value === 'normal') { - object.channel_default_tab = '/'; - } else { - object.channel_default_tab = '/' + value; - } - } - - /*--------------------------------------------------------------------- - 6.2 Trailer autoplay - ---------------------------------------------------------------------*/ - else if (key === 'channel_autoplay') { - object.channel_trailer_autoplay = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 6.3 Hide featured content - ---------------------------------------------------------------------*/ - else if (key === 'channel_featured_content') { - object.channel_hide_featured_content = value; - - delete object[key]; - } - } - - object.migrated = true; - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - } - - if (object.bluelight_removed !== true && (object.bluelight || object.bluelight === 0)) { - object.bluelight_removed = true; - - delete object.bluelight; - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.player_size_migrated !== true && object.player_size) { - object.player_size_migrated = true; - - if ( - [ - 'do_not_change', - 'full_window', - 'fit_to_window', - '240p', - '360p', - '480p', - '576p', - '720p', - '1080p', - '1440p', - '2160p' - ].indexOf(object.player_size) === -1 - ) { - if (object.player_size === 'fit_window') { - object.player_size = 'fit_to_window'; - } else { - object.player_size = 'do_not_change'; - } - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.hasOwnProperty('legacy_youtube') && object.legacy_youtube_migration !== true) { - object.legacy_youtube_migration = true; - - if (object.legacy_youtube === true) { - object.legacy_youtube = 'enabled'; - } else if (object.legacy_youtube === false) { - object.legacy_youtube = 'disabled'; - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.hasOwnProperty('legacy_youtube') && object.legacy_youtube_migration2 !== true) { - object.legacy_youtube_migration2 = true; - - if (object.legacy_youtube === 'enabled' || object.legacy_youtube === 'enabledForced') { - object.legacy_youtube = true; - } else if (object.legacy_youtube === 'disabled') { - object.legacy_youtube = false; - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } -}); -/*----------------------------------------------------------------------------- ->>> MUTATIONS -------------------------------------------------------------------------------- -1.0 Mutations - 1.1 JSON.parse - 1.2 HTMLMediaElement.play -3.0 Player vars -4.0 ytPlayerApplicationCreateMod ------------------------------------------------------------------------------*/ - -document.addEventListener('ImprovedTubePlayVideo', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-play', - id: new URL(location.href).searchParams.get('v') - }); - } -}); - -/*----------------------------------------------------------------------------- -1.0 Mutations ------------------------------------------------------------------------------*/ - -ImprovedTube.mutations = function() { - /*------------------------------------------------------------------------- - 1.1 JSON.parse - -------------------------------------------------------------------------*/ - JSON.parse = (function(original) { - return function(text, reviver, bypass) { - var temp = original.apply(this, arguments); - - if (!bypass && temp && temp.player && temp.player.args) { - temp.player.args = ImprovedTube.changeArgs(temp.player.args); - } - - return temp; - }; - }(JSON.parse)); - - /*------------------------------------------------------------------------- - 1.2 HTMLMediaElement.play - -------------------------------------------------------------------------*/ - HTMLMediaElement.prototype.play = (function(original) { - return function() { - var self = this; - - if (ImprovedTube.videoUrl !== location.href) { - ImprovedTube.allow_autoplay = false; - } - - if ( - ImprovedTube.autoplay() === false && - ImprovedTube.allow_autoplay === false && - this.parentNode.parentNode.classList.contains('ad-showing') === false - ) { - setTimeout(function() { - self.parentNode.parentNode.pauseVideo(); - }); - - return; - } else if (self.paused === true && ImprovedTube.videoUrl !== location.href) { - ImprovedTube.playerUpdate(self.parentNode.parentNode, true); - } - - if (ImprovedTube.videoUrl !== location.href) { - ImprovedTube.videoUrl = location.href; - } - - ImprovedTube.player_loudness_normalization(); - - return original.apply(this, arguments); - } - })(HTMLMediaElement.prototype.play); -}; - - -/*----------------------------------------------------------------------------- -1.0 Change args ------------------------------------------------------------------------------*/ - -ImprovedTube.changeArgs = function(args) { - if (ImprovedTube.isset(args)) { - // Ads - if ( - ImprovedTube.storage.player_ads === 'block_all' || - ImprovedTube.storage.player_ads === 'subscribed_channels' && (args.player_response || '').indexOf('subscribed=1') === -1 - ) { - delete args.ad3_module; - - if (args.player_response) { - var player_response = JSON.parse(args.player_response); - - if (player_response && player_response.adPlacements) { - delete player_response.adPlacements; - delete player_response.playerAds; - - args.player_response = JSON.stringify(player_response); - } - } - } - - // 60 fps - if (ImprovedTube.storage.player_60fps === false && args.adaptive_fmts) { - var key_type = args.adaptive_fmts.indexOf(',') > -1 ? ',' : '%2C', - list = args.adaptive_fmts.split(key_type); - - for (var i = 0; i < list.length; i++) { - var fps = list[i].split(/fps(?:=|%3D)([0-9]{2})/); - - fps = fps && fps[1]; - - if (fps > 30) - list.splice(i--, 1); - } - - args.adaptive_fmts = list.join(key_type); - } - - // SUBTITLES - if (ImprovedTube.storage.player_subtitles === false && args.caption_audio_tracks) { - args.caption_audio_tracks = args.caption_audio_tracks.split(/&d=[0-9]|d=[0-9]&/).join(''); - } - } - - return args; -}; - - -/*----------------------------------------------------------------------------- -3.0 Player vars ------------------------------------------------------------------------------*/ - -ImprovedTube.playerVars = function(original) { - var context = this; - - return function(args) { - var temp; - - args = ImprovedTube.changeArgs(args); - - temp = original.apply(this, arguments); - - return temp; - }; -}; - - -/*----------------------------------------------------------------------------- -4.0 ytPlayerApplicationCreateMod ------------------------------------------------------------------------------*/ - -ImprovedTube.ytPlayerApplicationCreateMod = function(original) { - return function(api_name, config) { - config.args = ImprovedTube.changeArgs(config.args); - - return original.apply(this, arguments); - }; -}; diff --git a/unstable/index.html b/unstable/index.html deleted file mode 100644 index 6942082dd..000000000 --- a/unstable/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - ImprovedTube - - - - - - - - - diff --git a/unstable/locale.py b/unstable/locale.py deleted file mode 100644 index d9cf64789..000000000 --- a/unstable/locale.py +++ /dev/null @@ -1,71 +0,0 @@ -# TODO: reduce script length - -import json -import os -import pathlib -import re - -def lowerCamelCase(string): - string = re.sub(r"(-|_)+", " ", string).title().replace(" ", "") - - return string[0].lower() + string[1:] - -def getListOfFiles(dirName): - allFiles = list() - - for entry in os.listdir(dirName): - fullPath = os.path.join(dirName, entry) - - if not os.path.isdir(fullPath): - allFiles.append(fullPath) - - for entry in os.listdir(dirName): - fullPath = os.path.join(dirName, entry) - - if os.path.isdir(fullPath): - allFiles = allFiles + getListOfFiles(fullPath) - - return allFiles - -def addItem(allFiles): - message = input("Enter your message: ") - - for keyFile in allFiles: - with open(keyFile, "r+") as json_file: - data = json.load(json_file) - - data[re.sub(r"[^a-zA-Z0-9]", "", lowerCamelCase(message))] = { - "message": message - } - - json_file.seek(0) - json.dump(data, json_file, indent=4) - json_file.truncate() - -def removeItem(allFiles): - key = input("Enter your key (lowerCamelCase): ") - - for keyFile in allFiles: - with open(keyFile, "r+") as json_file: - data = json.load(json_file) - - if data[key]: - del data[key] - - json_file.seek(0) - json.dump(data, json_file, indent=4) - json_file.truncate() - -allFiles = getListOfFiles("_locales/") - -operation = input("""-------------------------------- -Add item: 1 -Remove item: 2 --------------------------------- - -Enter number: """) - -if operation == "1": - addItem(allFiles) -elif operation == "2" : - removeItem(allFiles) diff --git a/unstable/manifest.json b/unstable/manifest.json deleted file mode 100644 index 5b4a11727..000000000 --- a/unstable/manifest.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "manifest_version": 2, - "name": "Improve YouTube! (Open-Source for YouTube)", - "short_name" : "ImprovedTube", - "description": "Make YouTube tidy & powerful! YouTube Player Size Theme Quality Auto HD Colors Playback Speed Style ad block Playlist Channel H.264", - "version": "3.300", - "version_name": "3.300-unstable", - - "default_locale": "en", - - "icons": { - "16": "assets/icons/16.png", - "32": "assets/icons/32.png", - "48": "assets/icons/48.png", - "128": "assets/icons/128.png" - }, - - "browser_action": { - "default_icon": { - "16": "assets/icons/16g.png", - "32": "assets/icons/32g.png", - "48": "assets/icons/48g.png", - "128": "assets/icons/128g.png" - }, - "default_popup": "index.html" - }, - - "options_page": "options.html", - - "content_scripts": [{ - "all_frames": true, - "css": [ - "content-scripts.css" - ], - "js": [ - "content-scripts.js" - ], - "matches": [ - "https://www.youtube.com/*" - ], - "exclude_matches": [ - "https://www.youtube.com/improvedtube", - "https://www.youtube.com/tv*", - "https://www.youtube.com/audiolibrary/*", - "http://studio.youtube.com/*" - ], - "run_at": "document_start" - }, { - "all_frames": true, - "css": [ - "satus.css", - "popup.css" - ], - "js": [ - "satus.js", - "popup.js" - ], - "matches": [ - "https://www.youtube.com/improvedtube" - ], - "run_at": "document_end" - }, { - "all_frames": true, - "js": [ - "page.js" - ], - "matches": [ - "https://www.youtube.com/improvedtube" - ], - "run_at": "document_start" - }], - - "background": { - "persistent": false, - "scripts": [ - "background.js" - ] - }, - - "optional_permissions": [ - "downloads", - "https://*.youtube.com/*" - ], - - "permissions": [ - "https://www.youtube.com/", - "contextMenus", - "storage" - ], - - "offline_enabled": true, - - "update_url": "https://clients2.google.com/service/update2/crx", - "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'" -} diff --git a/unstable/options.html b/unstable/options.html deleted file mode 100644 index 034dd3683..000000000 --- a/unstable/options.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - ImprovedTube - - - - - - - - diff --git a/unstable/page.js b/unstable/page.js deleted file mode 100644 index 1e2cc1621..000000000 --- a/unstable/page.js +++ /dev/null @@ -1,16 +0,0 @@ -document.documentElement.innerHTML = ` - - - - - - ImprovedTube - - - - - - - - -`; diff --git a/unstable/popup.css b/unstable/popup.css deleted file mode 100644 index 2ca3067b5..000000000 --- a/unstable/popup.css +++ /dev/null @@ -1,1651 +0,0 @@ - -/*--------------------------------------------------------------- ->>> THEMES ------------------------------------------------------------------ -# Default -# Red -# Dark -# Night -# Dawn -# Sunset -# Desert -# Plain -# Black -# Red ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# DEFAULT ----------------------------------------------------------------*/ - -html -{ - --satus-theme-primary: #f6b465; -} - - -/*--------------------------------------------------------------- -# RED ----------------------------------------------------------------*/ - -html[stable-version] -{ - --satus-theme-primary: #ED213A; -} - -html:not([it-improvedtube-home='list'])[stable-version] .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg -{ - background: linear-gradient(135deg, #ED213A, #93291E); - box-shadow: 0 2px 1px 1px rgba(147, 41, 30, 0.7), 0 3px 5px rgba(0,0,0,.35); -} - - -/*--------------------------------------------------------------- -# DARK ----------------------------------------------------------------*/ - -html[theme="dark"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #2c2b2c; - --satus-theme-dialog-text: #b5b5b5; - - --satus-theme-header: #343334; - --satus-theme-header-text: #b5b5b5; - - --satus-theme-main: #2c2b2c; - --satus-theme-main-text: #b5b5b5; - - --satus-theme-section: #343334; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - -/*--------------------------------------------------------------- -# NIGHT ----------------------------------------------------------------*/ - -html[theme="night"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #61a7f5; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #61a7f5; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #3a48b4; - --satus-theme-main-text: #fafafa; - - --satus-theme-section: #61a7f5; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# DAWN ----------------------------------------------------------------*/ - -html[theme="dawn"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #ffba99; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #ffba99; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #ed74a9; - --satus-theme-main-text: #eee; - - --satus-theme-section: #ffba99; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# SUNSET ----------------------------------------------------------------*/ - -html[theme="sunset"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #a96165; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #a96165; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #2f3364; - --satus-theme-main-text: #eee; - - --satus-theme-section: #a96165; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# DESERT ----------------------------------------------------------------*/ - -html[theme="desert"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #9dc2ee; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #9dc2ee; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #ffe498; - --satus-theme-main-text: #eee; - - --satus-theme-section: #9dc2ee; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# PLAIN ----------------------------------------------------------------*/ - -html[theme="plain"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #abceb8; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #abceb8; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #dea975; - --satus-theme-main-text: #eee; - - --satus-theme-section: #abceb8; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# BLACK ----------------------------------------------------------------*/ - -html[theme="black"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #222; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #222; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #111; - --satus-theme-main-text: #eee; - - --satus-theme-section: #222; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} -/*--------------------------------------------------------------- ->>> INDEX ------------------------------------------------------------------ -# Fonts -# Basic ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# FONTS ----------------------------------------------------------------*/ - -@font-face -{ - font-family: 'Open Sans'; - - src: url('assets/fonts/OpenSans-Regular.ttf'); -} - -@font-face -{ - font-family: 'Open Sans'; - font-weight: 600; - - src: url('assets/fonts/OpenSans-SemiBold.ttf'); -} - -@font-face -{ - font-family: 'Xanh Mono'; - - src: url('assets/fonts/XanhMono-Regular.ttf'); -} - - -/*--------------------------------------------------------------- -# BASIC ----------------------------------------------------------------*/ - -body -{ - font-family: 'Open Sans', sans-serif; - font-size: 14px; - - display: flex; - overflow: hidden; - flex-direction: column; - - margin: 0; - - background-color: var(--satus-theme-main); -} - -body.improvedtube-page -{ - width: 100vw; - height: 100vh; -} - -/*--------------------------------------------------------------- ->>> HEADER: ------------------------------------------------------------------ -1.0 Title -3.0 Right section -4.0 Search ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -2.0 TITLE ----------------------------------------------------------------*/ - -html[it-title-version='true'] body[data-appearance='home'] .satus-text--title::after -{ - font: 700 10px sans-serif; - - margin: 0 0 0 4px; - - content: attr(data-version); - - opacity: .6; - color: var(--satus-theme-header-text); -} - - -/*--------------------------------------------------------------- -3.0 RIGHT SECTION ----------------------------------------------------------------*/ - -.satus-section--align-end -{ - justify-content: flex-end; -} - -.satus-section--align-end .satus-button + .satus-button -{ - margin-left: 8px; -} - - -/*--------------------------------------------------------------- -4.0 SEARCH ----------------------------------------------------------------*/ - -.satus-dialog--search -{ - pointer-events: none; -} - -.satus-dialog--search .satus-dialog__scrim -{ - display: none; -} - -.satus-dialog--search .satus-dialog__surface -{ - position: fixed; - top: 11px; - right: 8px; - - visibility: unset; - - width: calc(100% - 62px); - min-width: unset; - max-width: unset; - height: 34px; - padding: 0; - - transform: unset; - animation: unset; - pointer-events: all; - - opacity: unset; - border: 1px solid rgba(0,0,0,.05); - box-shadow: unset; -} - -.satus-dialog--search .satus-dialog__surface .satus-text-field -{ - height: 34px; -} - -.satus-dialog--search .satus-dialog__surface .satus-button -{ - position: absolute; - top: 3px; - right: 3px; - - overflow: hidden; - - width: 32px; - height: 32px; - - border-radius: 50%; -} - -.satus-dialog--search .satus-dialog__surface .satus-button svg -{ - fill: unset; - stroke: currentColor; -} - -body[data-appearance='search'] .satus-switch--red, -body[data-appearance='search'] .satus-switch--dark, -body[data-appearance='search'] .satus-switch--night, -body[data-appearance='search'] .satus-switch--dawn, -body[data-appearance='search'] .satus-switch--sunset, -body[data-appearance='search'] .satus-switch--desert, -body[data-appearance='search'] .satus-switch--plain, -body[data-appearance='search'] .satus-switch--black -{ - width: calc(100% - 16px); - margin: 4px 8px; - - border-radius: 6px; -} - -body[data-appearance='search'] .satus-switch--red .satus-switch__label, -body[data-appearance='search'] .satus-switch--dark .satus-switch__label, -body[data-appearance='search'] .satus-switch--night .satus-switch__label, -body[data-appearance='search'] .satus-switch--dawn .satus-switch__label, -body[data-appearance='search'] .satus-switch--sunset .satus-switch__label, -body[data-appearance='search'] .satus-switch--black .satus-switch__label -{ - color: #fff; -} - -body[data-appearance='search'] .satus-switch--plain .satus-switch__label, -body[data-appearance='search'] .satus-switch--desert .satus-switch__label -{ - color: #222; -} - -/*--------------------------------------------------------------- ->>> MAIN ------------------------------------------------------------------ -# Ad ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# AD ----------------------------------------------------------------*/ - -.satus-main .satus-button.satus-button--ad -{ - position: absolute; - z-index: 99; - bottom: 16px; - left: 16px; - - overflow: hidden; - - width: 268px; - height: 38px; - height: 80px; - padding: 8px 16px; - - color: var(--satus-theme-main-text); - border-radius: 8px; - background: #0f1911; - box-shadow: 0 0 3px rgba(0,0,0,.1); - - align-items: center; - justify-content: space-between; -} - -.satus-button--ad .satus-button__label -{ - font-family: 'Xanh Mono', monospace; - font-size: 22px; - - letter-spacing: 1px; - - color: rgba(255,255,255,.9); - text-shadow: 2px 1px 2px rgba(0,0,0,.6); -} - -@keyframes satusSwitchDark -{ - 0% - { - transform: translate(0, 0); - } - 33% - { - transform: translate(20px, 10px); - } - 66% - { - transform: translate(10px, -10px); - } - 100% - { - transform: translate(0, 0); - } -} - -.satus-button--ad::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - animation-name: satusSwitchDark; - animation-duration: 8s; - animation-timing-function: linear; - animation-iteration-count: infinite; - pointer-events: none; - - background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; - background-repeat: no-repeat !important; - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; - background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; - - filter: blur(8px); -} - -html[it-improvedtube-home='list'] .satus-main .satus-button.satus-button--ad -{ - position: relative; - top: 0; - left: 0; - - margin: 16px; -} - -.satus-button--ad:after -{ - position: absolute; - top: 0; - left: -100%; - - width: 100%; - height: 100%; - - content: ''; - transition: .5s; - transition-delay: .2s; - - background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); -} - -.satus-button--ad:hover:after -{ - left: 100%; -} - -/*--------------------------------------------------------------- ->>> HOME ------------------------------------------------------------------ -1.0 ----------------------------------------------------------------*/ - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-section -{ - display: flex; - - width: 100%; - margin-top: 16px; - padding: 0; - - border: none; - border-radius: 0; - background-color: transparent; - - flex-wrap: wrap; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) -{ - position: relative; - - flex-direction: column; - - width: 64px; - height: 86px; - margin: 0 18px 14px; - padding: 0; - - cursor: default; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad):focus, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad):hover -{ - background-color: transparent; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button__label -{ - margin-left: 0; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--shortcut__icon -{ - display: block; - overflow: visible; - - width: 28px; - height: 28px; - margin: 0 0 5px 0; - padding: 16px; - - cursor: pointer; - transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; - - opacity: .95; - border-radius: 50%; - background: linear-gradient(135deg, #f8d266, #f17953); - box-shadow: 0 2px 1px 1px rgba(230, 109, 70, .7), 0 3px 5px rgba(0,0,0,.35); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg:focus, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg:hover -{ - transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; - transform: translateY(4px) scale(.975); - - box-shadow: 0 1px 1px 0 rgba(230, 109, 70, .7), 0 1px 2px rgba(0,0,0,.35); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--general svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--appearance svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--themes svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--player svg -{ - width: 26px; - height: 26px; - padding: 19px 15px 15px 19px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--playlist svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--channel svg -{ - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--shortcut svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--mixer svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--blacklist svg -{ - width: 26px; - height: 26px; - padding: 18px 17px 16px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--analyzer svg -{ - width: 26px; - height: 26px; - padding: 18px 17px 16px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html[it-improvedtube-home='list'] .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg -{ - fill: transparent; - stroke: var(--satus-theme-primary); -} - - - -html[it-it-general='false'] .satus-button--general, -html[it-it-appearance='false'] .satus-button--appearance, -html[it-it-themes='false'] .satus-button--themes, -html[it-it-player='false'] .satus-button--player, -html[it-it-playlist='false'] .satus-button--playlist, -html[it-it-channel='false'] .satus-button--channel, -html[it-it-shortcuts='false'] .satus-button--shortcut, -html[it-it-blacklist='false'] .satus-button--blacklist, -html[it-it-analyzer='false'] .satus-button--analyzer -{ - display: none; -} - -/*--------------------------------------------------------------- ->>> APPEARANCE ----------------------------------------------------------------*/ - -.satus-main__container[data-appearance='appearance'] .satus-button -{ - position: absolute; - - box-sizing: border-box; - padding: 0; - - transition-duration: .5s; - transition-property: transform, box-shadow; - transform: scale(1); - text-align: center; - - border: 1px solid var(--main-appearance-shadow, #dfdfdf); - border-radius: 6px; - box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0); - - background: var(--satus-theme-section); - - justify-content: center; - align-items: center; -} - -.satus-main__container[data-appearance='appearance'] .satus-button:hover -{ - z-index: 9; - - transition-duration: .25s; - transform: scale(1.03) translate(-8px, -4px); - - box-shadow: 1px 1px 0 0 var(--main-appearance-shadow, #dfdfdf), 2px 2px 0 0 var(--main-appearance-shadow, #dfdfdf), 3px 3px 0 0 var(--main-appearance-shadow, #dfdfdf), 4px 4px 0 0 var(--main-appearance-shadow, #dfdfdf), 5px 6px 4px 0 rgba(0, 0, 0, .1); -} - -.satus-main__container[data-appearance='appearance'] .satus-button--header -{ - top: 16px; - left: 16px; - - width: calc(100% - 32px); - height: 40px; - min-height: auto; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--header:hover -{ - transform: scale(1.03) translate(-9px, -4px); -} - -.satus-main__container[data-appearance='appearance'] .satus-button--player -{ - top: 64px; - left: 16px; - - width: calc(70% - 32px); - height: 96px; - min-height: auto; - - color: #eee; - border-color: #333; - background-color: #444; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--player .label -{ - color: #fff; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--player:hover -{ - transform: scale(1.03) translate(-7px, -4px); - - box-shadow: 1px 1px 0 0 #333, 2px 2px 0 0 #333, 3px 3px 0 0 #333, 4px 4px 0 0 #333, 5px 6px 4px 0 rgba(0, 0, 0, .1); -} - -.satus-main__container[data-appearance='appearance'] .satus-button--details -{ - top: 168px; - left: 16px; - - width: calc(70% - 32px); - height: 56px; - min-height: auto; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--description -{ - top: 13.5rem; - left: 1rem; - - width: calc(70% - 2rem); - height: 3.5rem; - min-height: 3.5rem; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--comments -{ - top: 232px; - left: 16px; - - width: calc(70% - 32px); - height: 80px; - min-height: auto; - - background: var(--satus-theme-section) -} - -.satus-main__container[data-appearance='appearance'] .satus-button--footer -{ - top: 320px; - left: 16px; - - width: calc(70% - 32px); - height: 64px; - min-height: auto; - - background: var(--satus-theme-section) -} - -.satus-main__container[data-appearance='appearance'] .satus-button--sidebar -{ - top: 64px; - left: calc(70% - 8px); - - width: calc(30% - 8px); - height: 160px; -} - -/*----------------------------------------------------------------------------- -# THEMES CATEGORY ------------------------------------------------------------------------------*/ - -.satus-main__container[data-appearance='themes'] .satus-switch:first-child -{ - margin-top: 16px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch:last-child -{ - margin-bottom: 16px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch -{ - width: calc(100% - 16px); - max-width: 900px; - height: 80px; - margin: 8px auto; - - border-radius: 8px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch__label -{ - font-size: 15px; - font-weight: 500; - - color: #eee; - text-shadow: 0 1px 3px rgba(0, 0, 0, .7); -} - -.satus-switch--dark -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#0d1216, #353d46) !important; -} - -.satus-switch--dark::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - animation-name: satus-switch--dark; - animation-duration: 4s; - animation-timing-function: ease-in-out; - animation-iteration-count: infinite; - pointer-events: none; - - background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; - background-repeat: no-repeat !important; - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; - background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; - - filter: blur(8px); -} - -@keyframes satus-switch--dark -{ - 0% - { - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; - } - - 50% - { - background-position: 20px 20px, 230px -20px, 0 -40px, 160px 10px; - } - - 100% - { - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; - } -} - -.satus-switch--night -{ - position: relative; - - overflow: hidden; - - animation-name: satus-switch--night; - animation-duration: .75s; - animation-iteration-count: infinite; - - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5) !important; - background-repeat: no-repeat !important; - background-position: 75% 80%, 35% 65%, 30% 10%, 50% 40%, 10% 80%, 90% 10%, 0 0 !important; - background-size: 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, auto !important; -} - -@keyframes satus-switch--night -{ - 0% - { - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 25% - { - background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 50% - { - background-image: radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .9) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 75% - { - background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 100% - { - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } -} - -.satus-switch--dawn -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#ed74a9, #ffba99) !important; -} - -.satus-switch--dawn::before -{ - position: absolute; - right: 1rem; - bottom: -5rem; - - width: 10rem; - height: 10rem; - - content: ''; - animation-name: satus-switch--dawn; - animation-duration: .75s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -@keyframes satus-switch--dawn -{ - 0% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } - - 50% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .30) 20%, - rgba(255, 255, 231, .30) 35%, - rgba(255, 255, 231, .20) 35%, - rgba(255, 255, 231, .20) 55%, - rgba(255, 255, 231, .10) 55%, - rgba(255, 255, 231, .10) 75%, transparent 75%); - } - - 100% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } -} - -.satus-switch--sunset -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#2f3364, #a96165) !important; -} - -.satus-switch--sunset::before -{ - position: absolute; - top: -1rem; - left: 50%; - - overflow: hidden; - - width: 8rem; - height: 8rem; - - content: ''; - transform: translate(-50%, 0%); - pointer-events: none; - - border-radius: 50%; - background: linear-gradient(#fa7965, #f56264, transparent) !important; -} - -.satus-switch--desert -{ - position: relative; - - overflow: hidden; - - background-image: radial-gradient(#ffe498 50%, transparent 50%), - linear-gradient(#9dc2ee, #f5fdff) !important; - background-repeat: no-repeat !important; - background-position: -120px 36px, 0 !important; - background-size: 240%, 100% !important; -} - -.satus-switch--desert::before -{ - position: absolute; - top: -100%; - left: 40%; - - width: 10rem; - height: 10rem; - - content: ''; - animation-name: satus-switch--desert; - animation-duration: .75s; - animation-delay: .5s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -@keyframes satus-switch--desert -{ - 0% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } - - 50% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .30) 20%, - rgba(255, 255, 231, .30) 35%, - rgba(255, 255, 231, .20) 35%, - rgba(255, 255, 231, .20) 55%, - rgba(255, 255, 231, .10) 55%, - rgba(255, 255, 231, .1) 75%, transparent 75%); - } - - 100% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } -} - -.satus-switch--plain -{ - position: relative; - - overflow: hidden; - - background-image: radial-gradient(#dea975 50%, transparent 50%), - radial-gradient(#e8b887 50%, transparent 50%), - radial-gradient(#f1cc9f 50%, transparent 50%), - radial-gradient(#f3ddb8 50%, transparent 50%), - linear-gradient(#abceb8, #e7ede1) !important; - background-repeat: no-repeat !important; - background-position: -50px 50px, -370px 40px, 0 36px, -360px 26px, 0 !important; - background-size: 240%, 240%, 240%, 240%, 100% !important; -} - -.satus-switch--plain::before -{ - position: absolute; - top: -70%; - left: 10%; - - width: 7rem; - height: 7rem; - - content: ''; - animation-name: satus-switch--plain; - animation-duration: .75s; - animation-delay: .2s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(#fff 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -.satus-switch--black -{ - background: #000 !important; -} - -/*--------------------------------------------------------------- ->>> PLAYER ----------------------------------------------------------------*/ - -#forced-playback-speed + *, -#forced-volume + * -{ - pointer-events: none; - - opacity: .5; -} - -[it-player-forced-playback-speed=true] #forced-playback-speed + *, -[it-player-forced-volume=true] #forced-volume + * -{ - pointer-events: all; - - opacity: 1; -} - -/*----------------------------------------------------------------------------- -# BLACKLIST CATEGORY ------------------------------------------------------------------------------*/ - -.satus-section.satus-section--blacklist -{ - position: relative; - - overflow: hidden; - flex-direction: column; - - width: calc(100% - 32px); - height: 116px; - margin: 8px 16px 0; - - transition: opacity .25s; - - opacity: 1; - border-radius: 10px; - background-color: #000; - background-position: center; - background-size: cover; - - flex: unset; - align-items: flex-start; -} - -.satus-section.satus-section--blacklist.removing -{ - opacity: 0; -} - -.satus-section.satus-section--blacklist::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - margin: 0; - - content: ''; - - background: rgba(0, 0, 0, .5); -} - -.satus-section.satus-section--blacklist > .label -{ - font-size: 16px; - font-weight: 700; - - position: absolute; - z-index: 1; - bottom: 28px; - - text-transform: uppercase; - - opacity: 1; - color: #fff; -} - -.satus-section.satus-section--blacklist::after -{ - position: absolute; - z-index: 1; - bottom: 16px; - left: 16px; - - content: attr(data-label); - - color: rgba(255, 255, 255, .5); -} - -.satus-section.satus-section--blacklist > .satus-section -{ - position: absolute; - z-index: 999; - bottom: 0; - - visibility: hidden; - - width: 100%; - margin: 0; - padding: 0; - - transition: .15s; - - opacity: 0; - border: none; - border-radius: 0; - background: rgba(255, 255, 255, .95); - - justify-content: center; -} - -.satus-section.satus-section--blacklist:hover > .satus-section -{ - visibility: visible; - - opacity: 1; -} -/*----------------------------------------------------------------------------- -# ANALYZER CATEGORY ------------------------------------------------------------------------------*/ - -.analyzer-top-text -{ - font-size: 13px; - - display: flex; - - box-sizing: border-box; - margin: 16px 0 0; - padding: 0 16px; - - background: transparent !important; - - justify-content: space-between; -} - -.analyzer-watch-time -{ - text-transform: uppercase; -} - -.analyzer-today-at -{ - box-sizing: border-box; -} - -.analyzer-container -{ - box-sizing: border-box; - margin: 8px 0 16px; - padding: 16px; - - background: var(--background-0) !important; - box-shadow: 0 0 2px rgba(0, 0, 0, .2); -} - -.analyzer-all-time -{ - font-size: 24px; - font-weight: 400; - - margin-bottom: 8px; - - color: #4c4c4c; -} - -.analyzer-chart -{ - position: relative; - - display: flex; - overflow: hidden; - - box-sizing: border-box; - height: 140px; - margin: 8px 0; - - border-bottom: 1px solid #ccc; - - justify-content: space-between; -} - -.analyzer-chart::before -{ - position: absolute; - top: -78%; - left: -15%; - - width: 125%; - height: 250%; - - content: ''; - transform: rotate(-45deg); - - background: linear-gradient(transparent 50%, rgba(0, 0, 0, .05) 50%); - background-size: 4px 4px; -} - -.analyzer-column -{ - z-index: 1; - - display: flex; - - border-right: 1px solid #ccc; - - flex: 1; -} - -.analyzer-column:first-child -{ - border-left: 1px solid #ccc; -} - -.analyzer-data-column -{ - display: flex; - flex-direction: column; - - justify-content: flex-end; - flex: 1; -} - -.analyzer-data -{ - height: 20px; - margin: 0 1px; - - background-color: #c5c5c5; -} - -.analyzer-data.first -{ - background-color: #1c00db; - - order: 3; -} - -.analyzer-data.second -{ - background-color: #4dd0e1; - - order: 2; -} - -.analyzer-data.third -{ - background-color: #ff9800; - - order: 1; -} - -/*.analyzer-data:first-child -{ - border-top-left-radius: 4px; - border-top-right-radius: 4px; -}*/ -.analyzer-bottom -{ - display: flex; - - margin: 14px 0 0; - - justify-content: space-between; -} - -.analyzer-bottom > div .label -{ - margin: 0 0 2px; -} - -.analyzer-bottom > div:first-child .label -{ - color: #1c00db; -} - -.analyzer-bottom > div:nth-child(2) .label -{ - color: #4dd0e1; -} - -.analyzer-bottom > div:nth-child(3) .label -{ - color: #ff9800; -} - -/*----------------------------------------------------------------------------- -# MIXER CATEGORY ------------------------------------------------------------------------------*/ - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer -{ - position: relative; - - overflow: hidden; - flex-direction: column; - - width: calc(100% - 32px); - height: 128px; - margin: 8px 16px 0; - - border: unset; - border-radius: 10px; - - flex: unset; - align-items: flex-start; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - - background: rgba(0, 0, 0, .5); -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer > .satus-section -{ - position: absolute; - bottom: 0; - - visibility: hidden; - - width: 100%; - margin: 0; - padding: 0; - - transition: 200ms; - transform: translateY(32px); - - opacity: 0; - border: unset; - border-radius: unset; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer:hover > .satus-section -{ - visibility: visible; - - transform: translateY(0); - - opacity: 1; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer.noconnection > .satus-section > div -{ - visibility: hidden; - - pointer-events: none; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer.noconnection > .satus-section::after -{ - font-size: 18px; - font-weight: 500; - - position: absolute; - top: 50%; - - width: 100%; - - content: attr(data-no-connection-label); - transform: translateY(-50%); - text-align: center; - - opacity: .8; -} -.satus-main__container[data-appearance='about'] .satus-text -{ - display: flex; - - box-sizing: border-box; - width: 100%; - min-height: 48px; - padding: 0 16px; - - justify-content: space-between; - align-items: center; -} - -.satus-main__container[data-appearance='about'] .satus-text__value -{ - text-align: right; - - opacity: .7; -} diff --git a/unstable/popup.js b/unstable/popup.js deleted file mode 100644 index bf6ab8dc8..000000000 --- a/unstable/popup.js +++ /dev/null @@ -1,3100 +0,0 @@ - -var Menu = { - header: { - type: 'header', - - section_start: { - type: 'section', - class: 'satus-section--align-start', - - button_back: { - type: 'button', - class: 'satus-button--back', - before: '', - onclick: function() { - if (document.querySelector('.satus-dialog__scrim')) { - document.querySelector('.satus-dialog__scrim').click(); - } else { - document.querySelector('.satus-main').back(); - } - } - }, - title: { - type: 'text', - class: 'satus-text--title', - innerText: 'ImprovedTube', - dataset: { - version: chrome && chrome.runtime && chrome.runtime.getManifest ? chrome.runtime.getManifest().version : '' - } - } - }, - section_end: { - type: 'section', - class: 'satus-section--align-end', - - button_search: { - type: 'button', - before: '', - onclick: function() { - document.querySelector('.satus-main').open({ - appearanceKey: 'search' - }, function() { - satus.render({ - type: 'dialog', - class: 'satus-dialog--search', - onclose: function() { - document.querySelector('.satus-main').back(); - }, - - input: { - type: 'text-field', - placeholder: 'search', - oninput: function() { - if (this.value.length > 0) { - satus.search(this.value, Menu, function(results) { - var sorted_results = []; - - document.querySelector('.satus-main__container').innerHTML = ''; - - for (var key in results) { - results[key].type = 'section'; - results[key].variant = 'card'; - - sorted_results.push({ - type: 'text', - label: key, - variant: 'section-label' - }); - sorted_results.push(results[key]); - } - - var scroll = satus.components.scrollbar(document.querySelector('.satus-main__container')); - - satus.render(sorted_results, scroll); - }, true); - } else { - document.querySelector('.satus-main__container').innerHTML = ''; - - satus.render({}, document.querySelector('.satus-main__container')); - } - } - } - }); - }); - } - }, - button_vert: { - type: 'button', - before: '', - onclick: { - type: 'dialog', - class: 'satus-dialog--vertical-menu', - - email: { - type: 'button', - variant: 'list-item', - label: 'Email', - title: 'bugs@improvedtube.com', - before: '', - onclick: function() { - window.open('mailto:bugs@improvedtube.com', '_blank'); - } - }, - github: { - type: 'button', - variant: 'list-item', - label: 'GitHub', - title: '/ImprovedTube/ImprovedTube', - before: '', - onclick: function() { - window.open('https://github.com/ImprovedTube/ImprovedTube/', '_blank'); - } - }, - website: { - type: 'button', - variant: 'list-item', - label: 'Website', - title: 'improvedtube.com', - before: '', - onclick: function() { - window.open('http://www.improvedtube.com/', '_blank'); - } - } - } - } - } - } -}; - -Menu.main = { - type: 'main', - appearanceKey: 'home', - onchange: function() { - document.querySelector('.satus-text--title').innerText = satus.locale.getMessage(this.history[this.history.length - 1].label) || 'ImprovedTube'; - }, - - section: { - type: 'section', - variant: 'card' - }, - - footer: { - type: 'button', - class: 'satus-button--ad', - label: 'DARK MODE', - title: 'Dark Mode', - onclick: function() { - window.open('https://chrome.google.com/webstore/detail/dark-mode/declgfomkjdohhjbcfemjklfebflhefl', '_blank'); - } - } -}; - -Menu.header.section_end.button_vert.onclick.active_features = { - type: 'button', - variant: 'list-item', - before: '', - label: 'activeFeatures', - onclick: function() { - document.querySelector('.satus-dialog__scrim').click(); - }, - - section: { - type: 'section', - onrender: function() { - var component = this, - new_menu = {}, - storage = satus.storage; - - function search(string, object) { - var result = []; - - for (var i in object) { - if (object[i].type) { - if (/(button|select|shortcut|slider|switch)/.test(object[i].type)) { - if (i.indexOf(string) !== -1 || (object[i].tags && object[i].tags.indexOf(string) !== -1)) { - if (object[i].type.indexOf('button') === -1 || !object[i].label) { - new_menu[i] = object[i]; - } - } - } else { - var response = search(string, object[i]); - - if (response.length > 0) { - for (var j = 0, l = response.length; j < l; j++) { - result.push(response[i]); - } - } - } - } - } - - return result; - } - - for (var key in storage) { - search(key, Menu) - } - - setTimeout(function() { - if (Object.keys(new_menu).length > 0) { - satus.render(new_menu, component); - } else { - satus.render({ - text: { - type: 'text', - label: 'noActiveFeatures' - } - }, component); - } - }); - } - } -}; - -Menu.header.section_end.button_vert.onclick.mixer = { - type: 'button', - variant: 'list-item', - before: '', - label: 'mixer', - class: 'satus-button--mixer', - appearanceKey: 'mixer', - onopen: function() { - var self = this; - - if (chrome && chrome.tabs) { - chrome.tabs.query({}, function(tabs) { - var mixer = {}; - - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - var tab = tabs[i]; - - if (/(\?|\&)v=/.test(tab.url)) { - mixer[i] = { - type: 'section', - class: 'satus-section--mixer', - style: { - 'background': 'url(https://img.youtube.com/vi/' + tab.url.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '/0.jpg) center center / cover no-repeat #000', - }, - - section: { - type: 'section', - dataset: { - 'noConnectionLabel': satus.locale.getMessage('tryToReloadThePage') || 'tryToReloadThePage' - }, - - mixer_volume: { - type: 'slider', - label: 'volume', - dataset: { - id: tab.id, - element: 'audio' - }, - max: 100, - onrender: function() { - var self = this; - - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'request_volume' - }, function(response) { - if (response) { - document.querySelector('div[data-element="audio"][data-id="' + Number(self.dataset.id) + '"]').change(response.value); - } else { - self.parentNode.parentNode.classList.add('noconnection'); - } - }); - }, - onchange: function(value) { - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'change_volume', - volume: value - }); - } - }, - mixer_playback_speed: { - type: 'slider', - label: 'playbackSpeed', - dataset: { - id: tab.id, - element: 'playback_speed' - }, - min: .1, - max: 8, - step: .05, - onrender: function() { - var self = this; - - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'request_playback_speed' - }, function(response) { - if (response) { - document.querySelector('div[data-element="playback_speed"][data-id="' + Number(self.dataset.id) + '"]').change(Number(response.value)); - } else { - self.parentNode.parentNode.classList.add('noconnection'); - } - }); - }, - onchange: function(value) { - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'change_playback_speed', - playback_speed: value - }); - } - } - } - }; - } - } - } - - if (Object.entries(mixer).length === 0) { - mixer.section = { - type: 'section', - - message: { - type: 'text', - class: 'satus-section--message', - label: 'noOpenVideoTabs' - } - }; - } - - document.querySelector('.satus-dialog__scrim').click(); - - satus.render(mixer, self); - }); - } - } -}; - -Menu.header.section_end.button_vert.onclick.settings = { - type: 'button', - variant: 'list-item', - before: '', - label: 'settings', - parent: '.satus-main__container', - onclick: function() { - document.querySelector('.satus-dialog__scrim').click(); - }, - - section: { - type: 'section', - variant: 'card', - - developer_options: { - type: 'button', - variant: 'list-item', - before: '', - label: 'developerOptions', - - custom_js_section_label: { - type: 'text', - variant: 'section-label', - label: 'customJs' - }, - - custom_js_section: { - type: 'section', - variant: 'card', - - custom_js: { - type: 'text-field', - onrender: function() { - this.value = satus.storage.get('custom_js') || ''; - }, - oninput: function() { - satus.storage.set('custom_js', this.value); - } - } - }, - - custom_css_section_label: { - type: 'text', - variant: 'section-label', - label: 'customCss' - }, - - custom_css_section: { - type: 'section', - variant: 'card', - - custom_css: { - type: 'text-field', - onrender: function() { - this.value = satus.storage.get('custom_css') || ''; - }, - oninput: function() { - satus.storage.set('custom_css', this.value); - } - } - } - }, - }, - - section0: { - type: 'section', - variant: 'card', - - appearance: { - type: 'button', - variant: 'list-item', - before: '', - label: 'appearance', - - general: { - type: 'section', - variant: 'card', - label: 'general', - - header: { - type: 'button', - variant: 'list-item', - label: 'header', - - section: { - type: 'section', - variant: 'card', - - title_version: { - type: 'switch', - label: 'version' - } - } - }, - home: { - type: 'button', - variant: 'list-item', - label: 'home', - - section: { - type: 'section', - variant: 'card', - - improvedtube_home: { - type: 'select', - label: 'style', - options: [{ - label: 'bubbles', - value: 'bubbles' - }, { - label: 'list', - value: 'list' - }] - } - }, - - categories: { - type: 'section', - variant: 'card', - label: 'categories', - - it_general: { - type: 'switch', - label: 'general', - value: true - }, - it_appearance: { - type: 'switch', - label: 'appearance', - value: true - }, - it_themes: { - type: 'switch', - label: 'themes', - value: true - }, - it_player: { - type: 'switch', - label: 'player', - value: true - }, - it_playlist: { - type: 'switch', - label: 'playlist', - value: true - }, - it_channel: { - type: 'switch', - label: 'channel', - value: true - }, - it_shortcuts: { - type: 'switch', - label: 'shortcuts', - value: true - }, - it_mixer: { - type: 'switch', - label: 'mixer', - value: true - }, - it_analyzer: { - type: 'switch', - label: 'analyzer', - value: true - }, - it_blacklist: { - type: 'switch', - label: 'blacklist', - value: true - } - } - } - }, - icons: { - type: 'section', - variant: 'card', - label: 'icons', - - improvedtube_youtube_icon: { - label: 'improvedtubeIconOnYoutube', - type: 'select', - options: [{ - label: 'disabled', - value: 'disabled' - }, { - label: 'youtubeHeaderLeft', - value: 'header_left' - }, { - label: 'youtubeHeaderRight', - value: 'header_right' - }, { - label: 'draggable', - value: 'draggable' - }, { - label: 'belowPlayer', - value: 'below_player' - }] - }, - improvedtube_browser_icon: { - label: 'improvedtubeIconInBrowser', - type: 'select', - - options: [{ - label: 'onlyActiveOnYoutube', - value: 'youtube' - }, { - label: 'alwaysActive', - value: 'always' - }] - } - } - }, - languages: { - type: 'button', - variant: 'list-item', - before: '', - label: 'languages', - - section: { - type: 'section', - variant: 'card', - - language: { - label: 'improvedtubeLanguage', - type: 'select', - onchange: function(name, value) { - satus.locale.messages = {}; - - satus.locale.import(function() { - document.querySelector('.satus-main__container').innerHTML = ''; - - document.querySelector('.satus-header__title').innerText = satus.locale.getMessage('languages'); - document.querySelector('#search').placeholder = satus.locale.getMessage('search'); - - satus.render(document.querySelector('.satus-main__container'), Menu.main.section.settings.section.languages); - }); - }, - options: [{ - value: 'en', - label: 'English' - }, { - value: 'ar', - label: 'العربية' - }, { - value: 'de', - label: 'Deutsch' - }, { - value: 'es', - label: 'Español' - }, { - value: 'fr', - label: 'Français' - }, { - value: 'id', - label: 'Bahasa Indonesia' - }, { - value: 'it', - label: 'Italiano' - }, { - value: 'ja', - label: '日本語' - }, { - value: 'nl', - label: 'Dutch' - }, { - value: 'no', - label: 'Norwegian Bokmål' - }, { - value: 'pt_BR', - label: 'Português (Brasil)' - }, { - value: 'ru', - label: 'Русский' - }, { - value: 'tr', - label: 'Türkçe' - }, { - value: 'zh_CN', - label: '中文 (简体)' - }, { - value: 'zh_TW', - label: '中文 (繁體)' - }] - }, - youtube_language: { - label: 'youtubeLanguage', - type: 'select', - options: [{ - value: "en", - label: "English" - }, { - value: "es", - label: "Español (España)" - }, { - value: "es-419", - label: "Español (Latinoamérica)" - }, { - value: "es-US", - label: "Español (US)" - }, { - value: "ru", - label: "Русский" - }, { - value: "de", - label: "Deutsch" - }, { - value: "pt-PT", - label: "Português" - }, { - value: "pt", - label: "Português (Brasil)" - }, { - value: "fr", - label: "Français" - }, { - value: "pl", - label: "Polski" - }, { - value: "ja", - label: "日本語" - }, { - value: "af", - label: "Afrikaans" - }, { - value: "az", - label: "Azərbaycan" - }, { - value: "id", - label: "Bahasa Indonesia" - }, { - value: "ms", - label: "Bahasa Malaysia" - }, { - value: "bs", - label: "Bosanski" - }, { - value: "ca", - label: "Català" - }, { - value: "cs", - label: "Čeština" - }, { - value: "da", - label: "Dansk" - }, { - value: "et", - label: "Eesti" - }, { - value: "eu", - label: "Euskara" - }, { - value: "fil", - label: "Filipino" - }, { - value: "fr-CA", - label: "Français (Canada)" - }, { - value: "gl", - label: "Galego" - }, { - value: "hr", - label: "Hrvatski" - }, { - value: "zu", - label: "IsiZulu" - }, { - value: "is", - label: "Íslenska" - }, { - value: "it", - label: "Italiano" - }, { - value: "sw", - label: "Kiswahili" - }, { - value: "lv", - label: "Latviešu valoda" - }, { - value: "lt", - label: "Lietuvių" - }, { - value: "hu", - label: "Magyar" - }, { - value: "nl", - label: "Nederlands" - }, { - value: "no", - label: "Norsk" - }, { - value: "uz", - label: "O‘zbek" - }, { - value: "ro", - label: "Română" - }, { - value: "sq", - label: "Shqip" - }, { - value: "sk", - label: "Slovenčina" - }, { - value: "sl", - label: "Slovenščina" - }, { - value: "sr-Latn", - label: "Srpski" - }, { - value: "fi", - label: "Suomi" - }, { - value: "sv", - label: "Svenska" - }, { - value: "vi", - label: "Tiếng Việt" - }, { - value: "tr", - label: "Türkçe" - }, { - value: "be", - label: "Беларуская" - }, { - value: "bg", - label: "Български" - }, { - value: "ky", - label: "Кыргызча" - }, { - value: "kk", - label: "Қазақ Тілі" - }, { - value: "mk", - label: "Македонски" - }, { - value: "mn", - label: "Монгол" - }, { - value: "sr", - label: "Српски" - }, { - value: "uk", - label: "Українська" - }, { - value: "el", - label: "Ελληνικά" - }, { - value: "hy", - label: "Հայերեն" - }, { - value: "iw", - label: "עברית" - }, { - value: "ur", - label: "اردو" - }, { - value: "ar", - label: "العربية" - }, { - value: "fa", - label: "فارسی" - }, { - value: "ne", - label: "नेपाली" - }, { - value: "mr", - label: "मराठी" - }, { - value: "hi", - label: "हिन्दी" - }, { - value: "bn", - label: "বাংলা" - }, { - value: "pa", - label: "ਪੰਜਾਬੀ" - }, { - value: "gu", - label: "ગુજરાતી" - }, { - value: "ta", - label: "தமிழ்" - }, { - value: "te", - label: "తెలుగు" - }, { - value: "kn", - label: "ಕನ್ನಡ" - }, { - value: "ml", - label: "മലയാളം" - }, { - value: "si", - label: "සිංහල" - }, { - value: "th", - label: "ภาษาไทย" - }, { - value: "lo", - label: "ລາວ" - }, { - value: "my", - label: "ဗမာ" - }, { - value: "ka", - label: "ქართული" - }, { - value: "am", - label: "አማርኛ" - }, { - value: "km", - label: "ខ្មែរ" - }, { - value: "zh-CN", - label: "中文 (简体)" - }, { - value: "zh-TW", - label: "中文 (繁體)" - }, { - value: "zh-HK", - label: "中文 (香港)" - }, { - value: "ko", - label: "한국어" - }] - } - } - }, - backup_and_reset: { - type: 'button', - variant: 'list-item', - label: 'backupAndReset', - before: '', - - section: { - type: 'section', - variant: 'card', - import_settings: { - type: 'button', - variant: 'list-item', - label: 'importSettings', - - onclick: function() { - try { - var input = document.createElement('input'); - - input.type = 'file'; - - input.addEventListener('change', function() { - var file_reader = new FileReader(); - - file_reader.onload = function() { - var data = JSON.parse(this.result); - - for (var i in data) { - satus.storage.set(i, data[i]); - } - - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'successfullyImportedSettings' - }, - section: { - type: 'section', - variant: 'card', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - label: 'OK', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - }; - - file_reader.readAsText(this.files[0]); - }); - - input.click(); - } catch (err) { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: err - }); - } - } - }, - export_settings: { - type: 'button', - variant: 'list-item', - label: 'exportSettings', - - onclick: function() { - chrome.runtime.sendMessage({ - name: 'download', - filename: 'improvedtube-settings.json', - value: satus.storage - }); - } - }, - reset_all_settings: { - type: 'button', - variant: 'list-item', - label: 'resetAllSettings', - - onclick: function() { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'thisWillResetAllSettings' - }, - section: { - type: 'section', - variant: 'card', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - accept: { - type: 'button', - label: 'accept', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - satus.storage.clear(); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - }, - delete_youtube_cookies: { - type: 'button', - variant: 'list-item', - label: 'deleteYoutubeCookies', - - onclick: function() { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'thisWillRemoveAllYouTubeCookies', - style: { - 'width': '100%', - 'opacity': '.8' - } - }, - section: { - type: 'section', - variant: 'card', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - accept: { - type: 'button', - label: 'accept', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'delete_youtube_cookies' - }); - } - } - }); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - } - }, - date_and_time: { - type: 'button', - variant: 'list-item', - label: 'dateAndTime', - before: '', - - section: { - type: 'section', - variant: 'card', - - use_24_hour_format: { - type: 'switch', - label: 'use24HourFormat', - value: true - } - } - }, - about: { - type: 'button', - variant: 'list-item', - before: '', - label: 'about', - appearanceKey: 'about', - - section: { - type: 'section', - variant: 'card', - onrender: function() { - var component = this, - manifest = chrome.runtime.getManifest(), - user = satus.user(), - object = { - extension_section: { - type: 'section', - variant: 'card', - label: 'extension', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - version: { - type: 'text', - label: 'version', - value: manifest.version - }, - permissions: { - type: 'text', - label: 'permissions', - value: manifest.permissions.join(', ').replace('https://www.youtube.com/', 'YouTube') - }, - }, - browser_section: { - type: 'section', - variant: 'card', - label: 'browser', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - name: { - type: 'text', - label: 'name', - value: user.browser.name - }, - version: { - type: 'text', - label: 'version', - value: user.browser.version - }, - platform: { - type: 'text', - label: 'platform', - value: user.browser.platform - }, - video_formats: { - type: 'text', - label: 'videoFormats', - value: user.browser.video - }, - audio_formats: { - type: 'text', - label: 'audioFormats', - value: user.browser.audio - }, - flash: { - type: 'text', - label: 'flash', - value: user.browser.flash ? true : false - } - }, - os_section: { - type: 'section', - variant: 'card', - label: 'os', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - os_name: { - type: 'text', - label: 'name', - value: user.os.name - }, - - os_type: { - type: 'text', - label: 'type', - value: user.os.type - } - }, - device_section: { - type: 'section', - variant: 'card', - label: 'device', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - screen: { - type: 'text', - label: 'screen', - value: user.device.screen - }, - cores: { - type: 'text', - label: 'cores', - value: user.device.cores - }, - gpu: { - type: 'text', - label: 'gpu', - value: user.device.gpu - }, - ram: { - type: 'text', - label: 'ram', - value: user.device.ram - } - } - }; - - setTimeout(function() { - satus.render(object, component.parentNode); - - component.remove(); - }); - } - } - } - } -}; -Menu.main.section.general = { - type: 'button', - before: '', - label: 'general', - class: 'satus-button--general', - appearanceKey: 'general', - - section: { - type: 'section', - variant: 'card', - - youtube_home_page: { - type: 'select', - label: 'youtubeHomePage', - options: [{ - label: 'home', - value: '/' - }, { - label: 'trending', - value: '/feed/trending' - }, { - label: 'subscriptions', - value: '/feed/subscriptions' - }, { - label: 'history', - value: '/feed/history' - }, { - label: 'watchLater', - value: '/playlist?list=WL' - }, { - label: 'search', - value: 'search' - }], - tags: 'trending,subscriptions,history,watch,search' - }, - collapse_of_subscription_sections: { - type: 'switch', - label: 'collapseOfSubscriptionSections' - }, - add_scroll_to_top: { - type: 'switch', - label: 'addScrollToTop', - tags: 'up' - }, - remove_related_search_results: { - type: 'switch', - label: 'removeRelatedSearchResults' - }, - confirmation_before_closing: { - type: 'switch', - label: 'confirmationBeforeClosing', - tags: 'random prevent close exit' - }, - mark_watched_videos: { - type: 'switch', - label: 'markWatchedVideos' - }, - only_one_player_instance_playing: { - type: 'switch', - label: 'onlyOnePlayerInstancePlaying' - } - }, - - section_label__thumbnails: { - type: 'text', - variant: 'section-label', - label: 'thumbnails' - }, - - thumbnails_section: { - type: 'section', - variant: 'card', - - squared_user_images: { - type: 'switch', - label: 'squaredUserImages', - tags: 'avatar' - }, - hd_thumbnails: { - type: 'switch', - label: 'hdThumbnails', - tags: 'preview quality' - }, - hide_animated_thumbnails: { - type: 'switch', - label: 'hideAnimatedThumbnails', - tags: 'preview' - } - } -}; - -Menu.main.section.appearance = { - type: 'button', - before: '', - label: 'appearance', - class: 'satus-button--appearance', - appearanceKey: 'appearance', - - header: { - type: 'button', - label: 'header', - class: 'satus-button--header', - - section: { - type: 'section', - variant: 'card', - - header_position: { - type: 'select', - label: 'position', - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'hidden', - value: 'hidden' - }, { - label: 'hover', - value: 'hover' - }, { - label: 'hiddenOnVideoPage', - value: 'hidden_on_video_page' - }, { - label: 'hoverOnVideoPage', - value: 'hover_on_video_page' - }, { - label: 'static', - value: 'static' - }], - tags: 'hide,hover,static,top' - }, - header_improve_logo: { - type: 'switch', - label: 'improveLogo', - tags: 'youtube' - }, - header_hide_right_buttons: { - type: 'switch', - label: 'hideRightButtons', - tags: 'user' - } - } - }, - player: { - type: 'button', - label: 'player', - class: 'satus-button--player', - - section: { - type: 'section', - variant: 'card', - - player_hide_annotations: { - type: 'switch', - label: 'hideAnnotations', - tags: 'hide,remove,elements' - }, - player_hide_cards: { - type: 'switch', - label: 'hideCards', - tags: 'hide,remove,elements' - }, - player_show_cards_on_mouse_hover: { - type: 'switch', - label: 'showCardsOnMouseHover', - tags: 'hide,remove,elements' - }, - player_size: { - type: 'select', - label: 'playerSize', - options: [{ - label: 'doNotChange', - value: 'do_not_change' - }, { - label: 'fullWindow', - value: 'full_window' - }, { - label: 'fitToWindow', - value: 'fit_to_window' - }, { - label: '240p', - value: '240p' - }, { - label: '360p', - value: '360p' - }, { - label: '480p', - value: '480p' - }, { - label: '576p', - value: '576p' - }, { - label: '720p', - value: '720p' - }, { - label: '1080p', - value: '1080p' - }, { - label: '1440p', - value: '1440p' - }, { - label: '2160p', - value: '2160p' - }] - }, - forced_theater_mode: { - type: 'switch', - label: 'forcedTheaterMode', - tags: 'wide' - }, - player_color: { - label: 'playerColor', - type: 'select', - options: [{ - label: 'red', - value: 'red' - }, { - label: 'pink', - value: 'pink' - }, { - label: 'purple', - value: 'purple' - }, { - label: 'deepPurple', - value: 'deep_purple' - }, { - label: 'indigo', - value: 'indigo' - }, { - label: 'blue', - value: 'blue' - }, { - label: 'lightBlue', - value: 'light_blue' - }, { - label: 'cyan', - value: 'cyan' - }, { - label: 'teal', - value: 'teal' - }, { - label: 'green', - value: 'green' - }, { - label: 'lightGreen', - value: 'light_green' - }, { - label: 'lime', - value: 'lime' - }, { - label: 'yellow', - value: 'yellow' - }, { - label: 'amber', - value: 'amber' - }, { - label: 'orange', - value: 'orange' - }, { - label: 'deepOrange', - value: 'deep_orange' - }, { - label: 'brown', - value: 'brown' - }, { - label: 'blueGray', - value: 'blue_gray' - }, { - label: 'white', - value: 'white' - }], - tags: 'style' - }, - player_transparent_background: { - type: 'switch', - label: 'transparentBackground' - }, - player_hide_endscreen: { - type: 'switch', - label: 'hideEndscreen' - }, - player_hd_thumbnail: { - type: 'switch', - label: 'hdThumbnail', - tags: 'preview' - }, - hide_scroll_for_details: { - type: 'switch', - label: 'hideScrollForDetails', - tags: 'remove,hide' - }, - always_show_progress_bar: { - type: 'switch', - label: 'alwaysShowProgressBar' - }, - hide_gradient_bottom: { - type: 'switch', - label: 'hideGradientBottom' - } - } - }, - details: { - type: 'button', - label: 'details', - class: 'satus-button--details', - - section: { - type: 'section', - variant: 'card', - - hide_details: { - type: 'switch', - label: 'hideDetails', - tags: 'hide,remove' - }, - description: { - type: 'select', - label: 'description', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'expanded', - value: 'expanded' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'hide,remove' - }, - hide_views_count: { - type: 'switch', - label: 'hideViewsCount', - tags: 'hide,remove' - }, - likes: { - type: 'select', - label: 'likes', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'iconsOnly', - value: 'icons_only' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'hide,remove' - }, - how_long_ago_the_video_was_uploaded: { - type: 'switch', - label: 'howLongAgoTheVideoWasUploaded' - }, - channel_videos_count: { - type: 'switch', - label: 'showChannelVideosCount' - }, - red_dislike_button: { - type: 'switch', - label: 'redDislikeButton' - } - } - }, - sidebar: { - type: 'button', - label: 'sidebar', - class: 'satus-button--sidebar', - - section: { - type: 'section', - variant: 'card', - - sidebar_left: { - type: 'switch', - label: 'Sidebar on the Left' - }, - thumbnails_right: { - type: 'switch', - label: 'Thumbnails on the Right' - }, - related_videos: { - type: 'select', - label: 'relatedVideos', - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'right' - }, - - livechat: { - type: 'select', - label: 'liveChat', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }] - }, - hide_playlist: { - type: 'switch', - label: 'hidePlaylist' - } - } - }, - comments: { - type: 'button', - label: 'comments', - class: 'satus-button--comments', - - section: { - type: 'section', - variant: 'card', - - comments: { - type: 'select', - label: 'comments', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }] - } - } - }, - footer: { - type: 'button', - label: 'footer', - class: 'satus-button--footer', - - section: { - type: 'section', - variant: 'card', - - hide_footer: { - type: 'switch', - label: 'hideFooter', - tags: 'bottom' - } - } - } -}; - -function themePopupChange() { - if (satus.storage.get('red_popup_theme') === true) { - document.documentElement.setAttribute('popup-theme', 'red'); - } else { - document.documentElement.removeAttribute('popup-theme'); - } -} - -function themeChange(event) { - if (event.target.checked) { - var themes = document.querySelectorAll('.satus-switch > input:checked:not([data-storage-key="red_popup_theme"])'); - - for (var i = 0, l = themes.length; i < l; i++) { - if (themes[i] !== event.target) { - themes[i].click(); - } - } - } - - if (satus.storage.get('default_dark_theme') === true) { - document.documentElement.setAttribute('theme', 'dark'); - } else if (satus.storage.get('night_theme') === true) { - document.documentElement.setAttribute('theme', 'night'); - } else if (satus.storage.get('dawn_theme') === true) { - document.documentElement.setAttribute('theme', 'dawn'); - } else if (satus.storage.get('sunset_theme') === true) { - document.documentElement.setAttribute('theme', 'sunset'); - } else if (satus.storage.get('desert_theme') === true) { - document.documentElement.setAttribute('theme', 'desert'); - } else if (satus.storage.get('plain_theme') === true) { - document.documentElement.setAttribute('theme', 'plain'); - } else if (satus.storage.get('black_theme') === true) { - document.documentElement.setAttribute('theme', 'black'); - } else { - document.documentElement.removeAttribute('theme'); - } -} - -Menu.main.section.themes = { - type: 'button', - before: '', - label: 'themes', - class: 'satus-button--themes', - appearanceKey: 'themes', - - section: { - type: 'section', - variant: 'card', - - my_colors: { - type: 'button', - variant: 'list-item', - label: 'myColors', - - section: { - type: 'section', - variant: 'card', - - theme_my_colors: { - type: 'switch', - label: 'activate' - } - }, - - section2: { - type: 'section', - variant: 'card', - - theme_primary_color: { - type: 'color-picker', - label: 'primaryColor', - variant: 'list-item', - value: 'rgba(200,200,200)' - }, - theme_text_color: { - type: 'color-picker', - label: 'textColor', - variant: 'list-item', - value: 'rgba(25,25,25)' - } - } - }, - filters: { - type: 'button', - variant: 'list-item', - label: 'filters', - - section: { - type: 'section', - variant: 'card', - - bluelight: { - type: 'slider', - label: 'bluelight', - step: 1, - max: 90, - value: 0 - }, - dim: { - type: 'slider', - label: 'dim', - step: 1, - max: 90, - value: 0 - } - } - }, - schedule: { - type: 'button', - variant: 'list-item', - label: 'schedule', - - section: { - type: 'section', - variant: 'card', - - schedule: { - type: 'select', - label: 'schedule', - - options: [{ - label: 'disabled', - value: 'disabled' - }, { - label: 'sunsetToSunrise', - value: 'sunset_to_sunrise' - }, { - label: 'systemPeferenceDark', - value: 'system_peference_dark' - }, { - label: 'systemPeferenceLight', - value: 'system_peference_light' - }] - }, - schedule_time_from: { - type: 'select', - label: 'timeFrom', - options: [{ - label: '00:00', - value: '00:00' - }, { - label: '01:00', - value: '01:00' - }, { - label: '02:00', - value: '02:00' - }, { - label: '03:00', - value: '03:00' - }, { - label: '04:00', - value: '04:00' - }, { - label: '05:00', - value: '05:00' - }, { - label: '06:00', - value: '06:00' - }, { - label: '07:00', - value: '07:00' - }, { - label: '08:00', - value: '08:00' - }, { - label: '09:00', - value: '09:00' - }, { - label: '10:00', - value: '10:00' - }, { - label: '11:00', - value: '11:00' - }, { - label: '12:00', - value: '12:00' - }, { - label: '13:00', - value: '13:00' - }, { - label: '14:00', - value: '14:00' - }, { - label: '15:00', - value: '15:00' - }, { - label: '16:00', - value: '16:00' - }, { - label: '17:00', - value: '17:00' - }, { - label: '18:00', - value: '18:00' - }, { - label: '19:00', - value: '19:00' - }, { - label: '20:00', - value: '20:00' - }, { - label: '21:00', - value: '21:00' - }, { - label: '22:00', - value: '22:00' - }, { - label: '23:00', - value: '23:00' - }] - }, - schedule_time_to: { - type: 'select', - label: 'timeTo', - options: [{ - label: '00:00', - value: '00:00' - }, { - label: '01:00', - value: '01:00' - }, { - label: '02:00', - value: '02:00' - }, { - label: '03:00', - value: '03:00' - }, { - label: '04:00', - value: '04:00' - }, { - label: '05:00', - value: '05:00' - }, { - label: '06:00', - value: '06:00' - }, { - label: '07:00', - value: '07:00' - }, { - label: '08:00', - value: '08:00' - }, { - label: '09:00', - value: '09:00' - }, { - label: '10:00', - value: '10:00' - }, { - label: '11:00', - value: '11:00' - }, { - label: '12:00', - value: '12:00' - }, { - label: '13:00', - value: '13:00' - }, { - label: '14:00', - value: '14:00' - }, { - label: '15:00', - value: '15:00' - }, { - label: '16:00', - value: '16:00' - }, { - label: '17:00', - value: '17:00' - }, { - label: '18:00', - value: '18:00' - }, { - label: '19:00', - value: '19:00' - }, { - label: '20:00', - value: '20:00' - }, { - label: '21:00', - value: '21:00' - }, { - label: '22:00', - value: '22:00' - }, { - label: '23:00', - value: '23:00' - }] - } - } - }, - font: { - type: 'select', - label: 'font', - options: [{ - label: 'Default', - value: 'Default' - }, { - label: 'Roboto', - value: 'Roboto' - }, { - label: 'Open Sans', - value: 'Open+Sans' - }, { - label: 'Lato', - value: 'Lato' - }, { - label: 'Montserrat', - value: 'Montserrat' - }, { - label: 'Source Sans Pro', - value: 'Source+Sans+Pro' - }, { - label: 'Roboto Condensed', - value: 'Roboto+Condensed' - }, { - label: 'Oswald', - value: 'Oswald' - }, { - label: 'Comfortaa', - value: 'Comfortaa' - }, { - label: 'Roboto Mono', - value: 'Roboto+Mono' - }, { - label: 'Raleway', - value: 'Raleway' - }, { - label: 'Poppins', - value: 'Poppins' - }, { - label: 'Noto Sans', - value: 'Noto+Sans' - }, { - label: 'Roboto Slab', - value: 'Roboto+Slab' - }, { - label: 'Marriweather', - value: 'Marriweather' - }, { - label: 'PT Sans', - value: 'PT+Sans' - }] - } - }, - - default_dark_theme: { - type: 'switch', - label: 'dark', - class: 'satus-switch--dark', - - onchange: themeChange - }, - night_theme: { - type: 'switch', - label: 'night', - class: 'satus-switch--night', - - onchange: themeChange - }, - dawn_theme: { - type: 'switch', - label: 'dawn', - class: 'satus-switch--dawn', - - onchange: themeChange - }, - sunset_theme: { - type: 'switch', - label: 'sunset', - class: 'satus-switch--sunset', - - onchange: themeChange - }, - desert_theme: { - type: 'switch', - label: 'desert', - class: 'satus-switch--desert', - - onchange: themeChange - }, - plain_theme: { - type: 'switch', - label: 'plain', - class: 'satus-switch--plain', - - onchange: themeChange - }, - black_theme: { - type: 'switch', - label: 'black', - class: 'satus-switch--black', - - onchange: themeChange - } -}; - -Menu.main.section.player = { - type: 'button', - before: '', - label: 'player', - class: 'satus-button--player', - appearanceKey: 'player', - - general: { - type: 'section', - variant: 'card', - - player_autoplay: { - type: 'switch', - label: 'autoplay', - value: true - }, - player_autopause_when_switching_tabs: { - type: 'switch', - label: 'autopauseWhenSwitchingTabs' - }, - player_forced_playback_speed: { - type: 'switch', - label: 'forcedPlaybackSpeed', - id: 'forced-playback-speed', - onrender: function() { - this.dataset.value = satus.storage.player_forced_playback_speed; - }, - onchange: function() { - this.dataset.value = satus.storage.player_forced_playback_speed; - } - }, - player_playback_speed: { - type: 'slider', - label: 'playbackSpeed', - textarea: true, - value: 1, - min: .1, - max: 8, - step: .05 - }, - player_subtitles: { - type: 'switch', - label: 'subtitles', - value: true - }, - player_crop_chapter_titles: { - type: 'switch', - label: 'cropChapterTitles', - value: true - }, - up_next_autoplay: { - type: 'switch', - label: 'upNextAutoplay', - value: true - }, - player_ads: { - label: 'ads', - type: 'select', - options: [{ - label: 'onAllVideos', - value: 'all_videos', - default: 'true' - }, { - label: 'onSubscribedChannels', - value: 'subscribed_channels' - }, { - label: 'blockAll', - value: 'block_all' - }] - }, - mini_player: { - type: 'switch', - label: 'customMiniPlayer' - }, - player_autofullscreen: { - type: 'switch', - label: 'autoFullscreen' - } - }, - - section_label__videos: { - type: 'text', - variant: 'section-label', - label: 'videos' - }, - - video: { - type: 'section', - variant: 'card', - - player_quality: { - type: 'select', - label: 'quality', - options: [{ - label: 'auto', - value: 'auto' - }, { - label: '144p', - value: 'tiny' - }, { - label: '240p', - value: 'small' - }, { - label: '360p', - value: 'medium' - }, { - label: '480p', - value: 'large' - }, { - label: '720p', - value: 'hd720' - }, { - label: '1080p', - value: 'hd1080' - }, { - label: '1440p', - value: 'hd1440' - }, { - label: '2160p', - value: 'hd2160' - }, { - label: '2880p', - value: 'hd2880' - }, { - label: '4320p', - value: 'highres' - }] - }, - player_h264: { - type: 'switch', - label: 'codecH264', - onclick: function() { - if (this.querySelector('input').checked === true) { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - class: 'satus-dialog__message', - label: 'youtubeLimitsVideoQualityTo1080pForH264Codec' - }, - section: { - type: 'section', - class: 'satus-section--actions', - - cancel: { - type: 'button', - variant: 'text', - label: 'cancel', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - variant: 'text', - label: 'OK', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - }, - player_60fps: { - type: 'switch', - label: 'allow60fps', - value: true, - onclick: function() { - if (this.querySelector('input').checked === true) { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - class: 'satus-dialog__message', - label: 'youtubeLimitsVideoQualityTo1080pForH264Codec' - }, - section: { - type: 'section', - class: 'satus-section--actions', - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - label: 'OK', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - }, - }, - - section_label__audio: { - type: 'text', - variant: 'section-label', - label: 'audio' - }, - - audio: { - type: 'section', - variant: 'card', - label: 'audio', - - player_forced_volume: { - type: 'switch', - label: 'forcedVolume', - id: 'forced-volume', - onrender: function() { - this.dataset.value = satus.storage.player_forced_volume; - }, - onchange: function() { - this.dataset.value = satus.storage.player_forced_volume; - } - }, - player_volume: { - type: 'slider', - label: 'volume', - step: 1, - max: 100, - value: 100 - }, - player_loudness_normalization: { - type: 'switch', - label: 'loudnessNormalization', - value: true - } - }, - - section_label__buttons: { - type: 'text', - variant: 'section-label', - label: 'buttons' - }, - - buttons: { - type: 'section', - variant: 'card', - - player_screenshot: { - type: 'button', - variant: 'list-item', - label: 'screenshot', - - section: { - type: 'section', - variant: 'card', - - player_screenshot_button: { - type: 'switch', - label: 'activate' - }, - player_screenshot_save_as: { - type: 'select', - label: 'saveAs', - options: [{ - label: 'file', - value: 'file' - }, { - label: 'clipboard', - value: 'clipboard' - }] - } - } - }, - player_repeat: { - type: 'button', - variant: 'list-item', - label: 'repeat', - - section: { - type: 'section', - variant: 'card', - - player_repeat_button: { - type: 'switch', - label: 'activate' - }, - player_always_repeat: { - type: 'switch', - label: 'alwaysActive' - } - } - }, - player_rotate_button: { - type: 'switch', - label: 'rotate' - }, - player_popup_button: { - type: 'switch', - label: 'popupPlayer' - } - } -}; -Menu.main.section.playlist = { - type: 'button', - before: '', - label: 'playlist', - class: 'satus-button--playlist', - appearanceKey: 'playlist', - - section: { - type: 'section', - variant: 'card', - - playlist_autoplay: { - type: 'switch', - label: 'autoplay', - value: true - }, - playlist_up_next_autoplay: { - type: 'switch', - label: 'upNextAutoplay', - value: true - }, - playlist_reverse: { - type: 'switch', - label: 'reverse' - } - }, - - section2: { - type: 'section', - variant: 'card', - - playlist_repeat: { - type: 'switch', - label: 'repeat' - }, - playlist_shuffle: { - type: 'switch', - label: 'shuffle' - } - } -}; - -Menu.main.section.channel = { - type: 'button', - before: '', - label: 'channel', - class: 'satus-button--channel', - appearanceKey: 'channel', - - section: { - type: 'section', - variant: 'card', - - channel_default_tab: { - type: 'select', - label: 'defaultChannelTab', - options: [{ - label: 'home', - value: '/home' - }, { - label: 'videos', - value: '/videos' - }, { - label: 'playlists', - value: '/playlists' - }] - }, - channel_trailer_autoplay: { - type: 'switch', - label: 'trailerAutoplay', - value: true - }, - channel_hide_featured_content: { - type: 'switch', - label: 'hideFeaturedContent' - } - } -}; - -Menu.main.section.shortcuts = { - type: 'button', - before: '', - label: 'shortcuts', - class: 'satus-button--shortcut', - appearanceKey: 'shortcuts', - - player_section_label: { - type: 'text', - variant: 'section-label', - label: 'player' - }, - - player_section: { - type: 'section', - variant: 'card', - - shortcut_picture_in_picture: { - type: 'shortcut', - label: 'pictureInPicture' - }, - shortcut_play_pause: { - type: 'shortcut', - label: 'playPause', - value: { - key: ' ' - } - }, - shortcut_stop: { - type: 'shortcut', - label: 'stop' - }, - shortcut_next_video: { - type: 'shortcut', - label: 'nextVideo', - value: { - key: 'N', - shiftKey: true - } - }, - shortcut_prev_video: { - type: 'shortcut', - label: 'previousVideo', - value: { - key: 'P', - shiftKey: true - } - }, - shortcut_seek_backward: { - type: 'shortcut', - label: 'seekBackward10Seconds', - value: { - key: 'J' - } - }, - shortcut_seek_forward: { - type: 'shortcut', - label: 'seekForward10Seconds', - value: { - key: 'I' - } - }, - shortcut_volume: { - type: 'button', - label: 'volume', - - section_step: { - type: 'section', - variant: 'card', - - shortcut_volume_step: { - type: 'slider', - label: 'step', - min: 1, - max: 10, - step: 1, - value: 5 - } - }, - - section: { - type: 'section', - variant: 'card', - - shortcut_increase_volume: { - type: 'shortcut', - label: 'increaseVolume', - custom_data: { - on_top_of_player: { - type: 'switch', - label: 'onTopOfPlayer', - storage: false - } - } - }, - shortcut_decrease_volume: { - type: 'shortcut', - label: 'decreaseVolume', - custom_data: { - on_top_of_player: { - type: 'switch', - label: 'onTopOfPlayer', - storage: false - } - } - } - } - }, - shortcut_playback_speed: { - type: 'button', - label: 'playbackSpeed', - - section_step: { - type: 'section', - variant: 'card', - - shortcut_playback_speed_step: { - type: 'slider', - label: 'step', - min: .05, - max: .5, - step: .05, - value: .05 - } - }, - - section: { - type: 'section', - variant: 'card', - - shortcut_increase_playback_speed: { - type: 'shortcut', - label: 'increasePlaybackSpeed' - }, - shortcut_decrease_playback_speed: { - type: 'shortcut', - label: 'decreasePlaybackSpeed' - } - } - }, - shortcut_activate_fullscreen: { - type: 'shortcut', - label: 'activateFullscreen', - value: { - key: 'F' - } - }, - shortcut_activate_captions: { - type: 'shortcut', - label: 'activateCaptions', - value: { - key: 'C' - } - }, - shortcut_quality: { - type: 'button', - label: 'quality', - - section: { - type: 'section', - variant: 'card', - - shortcut_240p: { - type: 'shortcut', - label: '240p' - }, - shortcut_360p: { - type: 'shortcut', - label: '360p' - }, - shortcut_480p: { - type: 'shortcut', - label: '480p' - }, - shortcut_720p: { - type: 'shortcut', - label: '720p' - }, - shortcut_1080p: { - type: 'shortcut', - label: '1080p' - }, - shortcut_1440p: { - type: 'shortcut', - label: '1440p' - }, - shortcut_2160p: { - type: 'shortcut', - label: '2160p' - }, - shortcut_2880p: { - type: 'shortcut', - label: '2880p' - }, - shortcut_4320p: { - type: 'shortcut', - label: '4320p' - } - } - }, - shortcut_custom_mini_player: { - type: 'shortcut', - label: 'customMiniPlayer' - }, - shortcut_screenshot: { - type: 'shortcut', - label: 'screenshot' - }, - shortcut_stats_for_nerds: { - type: 'shortcut', - label: 'statsForNerds' - }, - shortcut_toggle_cards: { - type: 'shortcut', - label: 'toggleCards' - } - }, - - appearance_section_label: { - type: 'text', - variant: 'section-label', - label: 'appearance' - }, - - appearance_section: { - type: 'section', - variant: 'card', - - shortcut_go_to_search_box: { - type: 'shortcut', - label: 'goToSearchBox', - value: { - key: '/' - } - }, - shortcut_like_shortcut: { - type: 'shortcut', - label: 'like' - }, - shortcut_dislike_shortcut: { - type: 'shortcut', - label: 'dislike' - }, - shortcut_dark_theme: { - type: 'shortcut', - label: 'darkTheme' - } - } -}; - -Menu.main.section.blacklist = { - type: 'button', - before: '', - label: 'blacklist', - class: 'satus-button--blacklist', - appearanceKey: 'blacklist', - - section_activate: { - type: 'section', - variant: 'card', - - blacklist_activate: { - type: 'switch', - label: 'activate' - } - }, - - section: { - type: 'section', - variant: 'card', - - channels: { - type: 'button', - variant: 'list-item', - label: 'channels', - onopen: function() { - var self = this; - - if (satus.storage.data.blacklist && satus.storage.data.blacklist.channels) { - var list = {}; - - for (var item in satus.storage.data.blacklist.channels) { - if (satus.storage.data.blacklist.channels[item] !== false) { - var title = satus.storage.data.blacklist.channels[item].title || ''; - - list[item] = { - type: 'section', - variant: 'card', - label: title.length > 20 ? title.substr(0, 20) + '...' : title, - class: 'satus-section--blacklist', - style: { - 'background-image': 'url(' + satus.storage.data.blacklist.channels[item].preview + ')', - 'background-color': '#000' - }, - - section: { - type: 'section', - variant: 'card', - - delete: { - type: 'button', - before: '', - onclick: function() { - delete satus.storage.data.blacklist.channels[item]; - - satus.storage.set('blacklist', satus.storage.data.blacklist); - - this.classList.add('removing'); - - setTimeout(function() { - self.remove(); - }, 250); - } - } - } - }; - } - } - - if (Object.keys(list).length === 0) { - list.section = { - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }; - } - - satus.render(list, this); - } else { - satus.render({ - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }, this); - } - } - }, - videos: { - type: 'button', - variant: 'list-item', - label: 'videos', - onopen: function() { - var self = this; - - if (satus.storage.data.blacklist && satus.storage.data.blacklist.videos) { - let list = {}; - - for (let item in satus.storage.data.blacklist.videos) { - if (satus.storage.data.blacklist.videos[item] !== false) { - let title = satus.storage.data.blacklist.videos[item].title || ''; - - list[item] = { - type: 'section', - variant: 'card', - label: title.length > 20 ? title.substr(0, 20) + '...' : title, - class: 'satus-section--blacklist', - style: { - 'background-image': 'url(https://img.youtube.com/vi/' + item + '/0.jpg)' - }, - - section: { - type: 'section', - - delete: { - type: 'button', - before: '', - onclick: function() { - delete satus.storage.data.blacklist.videos[item]; - - satus.storage.set('blacklist', satus.storage.data.blacklist); - this.parentNode.parentNode.classList.add('removing'); - - setTimeout(function() { - self.parentNode.parentNode.remove(); - }, 250); - } - } - } - }; - } - } - - if (Object.keys(list).length === 0) { - list.section = { - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }; - } - - satus.render(list, this); - } else { - satus.render({ - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }, this); - } - } - } - } -}; - -Menu.main.section.analyzer = { - type: 'button', - before: '', - label: 'analyzer', - class: 'satus-button--analyzer', - appearanceKey: 'analyzer', - - activ_section: { - type: 'section', - variant: 'card', - - analyzer_activation: { - type: 'switch', - label: 'activate' - } - }, - - section: { - type: 'section', - variant: 'card', - style: { - 'flex-direction': 'column', - 'align-items': 'flex-start' - }, - onrender: function() { - var data = satus.storage.get('analyzer') || {}, - all_data = {}, - all_data_sort = [], - all_time_value = 0, - current_date = new Date().toDateString(), - container = document.createElement('div'), - top_text_container = document.createElement('div'), - today_at = document.createElement('div'), - watch_time = document.createElement('div'), - all_time = document.createElement('div'), - chart = document.createElement('div'), - bottom_text_container = document.createElement('div'); - - container.className = 'analyzer-container'; - top_text_container.className = 'analyzer-top-text'; - watch_time.className = 'analyzer-watch-time'; - today_at.className = 'analyzer-today-at'; - all_time.className = 'analyzer-all-time'; - chart.className = 'analyzer-chart'; - bottom_text_container.className = 'analyzer-bottom'; - - if (data[current_date]) { - for (let i in data[current_date]) { - if (data[current_date][i]) { - for (let j in data[current_date][i]) { - if (!all_data[j]) { - all_data[j] = 0; - } - - all_data[j] += data[current_date][i][j]; - } - } - } - } - - for (let i in all_data) { - all_data_sort.push([i, all_data[i]]); - all_time_value += all_data[i]; - } - - all_data_sort.sort(function(a, b) { - return b[1] - a[1]; - }); - - var now_minutes = new Date().getMinutes(); - - watch_time.innerText = satus.locale.getMessage('watchTime') || 'watchTime'; - today_at.innerText = satus.locale.getMessage('todayAt') + ' ' + (new Date().getHours() + ':' + (now_minutes < 10 ? '0' + now_minutes : now_minutes)) || 'todayAt'; - all_time.innerText = Math.floor(all_time_value / 60) + 'h ' + (all_time_value - Math.floor(all_time_value / 60) * 60) + 'm'; - - let h = 0; - - for (let i = 0; i < 4; i++) { - let column = document.createElement('div'); - - column.className = 'analyzer-column'; - - for (let j = 0; j < 6; j++) { - let hours = h + ':00'; - - h++; - - let data_column = document.createElement('div'); - - data_column.className = 'analyzer-data-column'; - - if (data[current_date] && data[current_date][hours]) { - for (let k in data[current_date][hours]) { - let block = document.createElement('div'); - - block.className = 'analyzer-data'; - - let height = data[current_date][hours][k] * 100 / 60; - - block.title = k; - block.style.height = height + '%'; - - if (k === all_data_sort[0][0]) { - block.className += ' first'; - } else if (k === all_data_sort[1][0]) { - block.className += ' second'; - } else if (k === all_data_sort[2][0]) { - block.className += ' third'; - } - - data_column.appendChild(block); - } - } - - column.appendChild(data_column); - } - - chart.appendChild(column); - } - - - for (let i = 0; i < 3; i++) { - if (all_data_sort[i]) { - let cont = document.createElement('div'), - label = document.createElement('div'), - value = document.createElement('div'); - - label.className = 'label'; - - label.innerText = all_data_sort[i][0]; - value.innerText = Math.floor(all_data_sort[i][1] / 60) + 'h ' + (all_data_sort[i][1] - Math.floor(all_data_sort[i][1] / 60) * 60) + 'm'; - - cont.appendChild(label); - cont.appendChild(value); - bottom_text_container.appendChild(cont); - } - } - - container.appendChild(all_time); - container.appendChild(chart); - this.appendChild(top_text_container); - top_text_container.appendChild(watch_time); - top_text_container.appendChild(today_at); - container.appendChild(bottom_text_container); - this.appendChild(container); - } - } -}; -/*------------------------------------------------------ ->>> INDEX --------------------------------------------------------- -# Import -# On changed -------------------------------------------------------*/ - -/*------------------------------------------------------ -# IMPORT -------------------------------------------------------*/ - -satus.storage.import(function(items) { - var html = document.documentElement; - - if ( - chrome && - chrome.runtime && - chrome.runtime.getManifest().version_name.indexOf('beta') === -1 - ) { - html.setAttribute('stable-version', ''); - } - - for (var key in items) { - html.setAttribute('it-' + key.replace(/_/g, '-'), items[key]); - } - - if (items.default_dark_theme === true) { - html.setAttribute('theme', 'dark'); - } else if (items.night_theme === true) { - html.setAttribute('theme', 'night'); - } else if (items.dawn_theme === true) { - html.setAttribute('theme', 'dawn'); - } else if (items.sunset_theme === true) { - html.setAttribute('theme', 'sunset'); - } else if (items.desert_theme === true) { - html.setAttribute('theme', 'desert'); - } else if (items.plain_theme === true) { - html.setAttribute('theme', 'plain'); - } else if (items.black_theme === true) { - html.setAttribute('theme', 'black'); - } - - satus.locale.import(items.language, function() { - satus.updateStorageKeys(Menu, function() { - satus.render(Menu, document.body); - }); - }); -}); - - -/*------------------------------------------------------ -# ON CHANGED -------------------------------------------------------*/ - -satus.storage.onChanged(function(items) { - for (var key in items) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), items[key].newValue); - } -}); \ No newline at end of file diff --git a/unstable/satus.css b/unstable/satus.css deleted file mode 100644 index 58fd58a80..000000000 --- a/unstable/satus.css +++ /dev/null @@ -1,2067 +0,0 @@ - -/*--------------------------------------------------------------- ->>> ANIMATIONS ----------------------------------------------------------------*/ - -.satus-animation--fade-in -{ - animation: fadeIn 250ms; -} - -.satus-animation--fade-out -{ - animation: fadeOut 250ms; -} - -.satus-animation--fade-in-left -{ - animation: fadeInLeft 250ms; -} - -.satus-animation--fade-in-right -{ - animation: fadeInRight 250ms; -} - -.satus-animation--fade-out-left -{ - animation: fadeOutLeft 250ms; -} - -.satus-animation--fade-out-right -{ - animation: fadeOutRight 250ms; -} - -.satus-animation--zoom-in -{ - animation: zoomIn 250ms; -} - -.satus-animation--zoom-out -{ - animation: zoomOut 250ms; -} - -@keyframes fadeIn -{ - from - { - opacity: 0; - } - to - { - opacity: 1; - } -} - -@keyframes fadeOut -{ - from - { - opacity: 1; - } - to - { - opacity: 0; - } -} - -@keyframes fadeInLeft -{ - from - { - transform: translateX(-10%); - - opacity: 0; - } - to - { - transform: translateX(0%); - - opacity: 1; - } -} - -@keyframes fadeInRight -{ - from - { - transform: translateX(10%); - - opacity: 0; - } - to - { - transform: translateX(0%); - - opacity: 1; - } -} - -@keyframes fadeOutLeft -{ - from - { - transform: translateX(0%); - - opacity: 1; - } - to - { - transform: translateX(-10%); - - opacity: 0; - } -} - -@keyframes fadeOutRight -{ - from - { - transform: translateX(0%); - - opacity: 1; - } - to - { - transform: translateX(10%); - - opacity: 0; - } -} - -@keyframes zoomIn -{ - from - { - transform: scale(.8); - - opacity: 0; - } - to - { - transform: scale(1); - - opacity: 1; - } -} - -@keyframes zoomOut -{ - from - { - transform: scale(1); - - opacity: 1; - } - to - { - transform: scale(.8); - - opacity: 0; - } -} - -/*--------------------------------------------------------------- ->>> CUSTOM ----------------------------------------------------------------*/ - -html, -body -{ - display: flex; - overflow: hidden; - flex-direction: column; - - width: 100vw; - height: 100vh; - margin: 0; - - background: var(--satus-theme-main); -} - -/*--------------------------------------------------------------- ->>> THEMES ------------------------------------------------------------------ -1.0 Default ----------------------------------------------------------------*/ - -html -{ - --satus-theme-primary: #ffbe46; - --satus-theme-on-primary: #fff; - --satus-theme-dialog: #f7f7f6; - --satus-theme-dialog-backdrop: rgba(25,25,25,.2); - --satus-theme-dialog-shadow: inset 0 -1px 1px 1px rgba(0,0,0,.1), 0 2px 6px rgba(0, 0, 0, .15); - --satus-theme-dialog-text: #777; - --satus-theme-header: #fff; - --satus-theme-header-text: #777; - --satus-theme-main: #f7f7f6; - --satus-theme-main-text: #777; - --satus-theme-section: #fff; - --satus-theme-on-button: transparent; - --satus-theme-button: transparent; - --satus-theme-scrollbar: rgba(0, 0, 0, .2); - --satus-theme-scrollbar-focus: rgba(0, 0, 0, .4); - --satus-theme-tooltip: rgba(0, 0, 0, .4); - --satus-theme-hover: rgba(0, 0, 0, .04); - --satus-theme-shortcut: #fff; - --satus-theme-tabs-background: #efefef; - --satus-theme-tabs-border: #dfdfdf; -} -/*--------------------------------------------------------------- ->>> BUTTON ------------------------------------------------------------------ -# Basis - # Background - -# Variants - # Text - # List item - # Raised - # Unelevated - -# Before -# Afte - -# SVG - -# Attributes ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# BASIS ----------------------------------------------------------------*/ - -.satus-button -{ - font: inherit; - font-weight: 500; - line-height: inherit; - - position: relative; - - display: inline-flex; - - height: 40px; - padding: 0 16px; - - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - - color: inherit; - border: none; - outline: none; - background: transparent; - - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - align-items: center; - -webkit-tap-highlight-color: transparent; - -webkit-appearance: none; -} - -.satus-button:hover -{ - cursor: pointer; -} - - -/*--------------------------------------------------------------- -# BACKGROUND ----------------------------------------------------------------*/ - -.satus-button--text, -.satus-button--raised, -.satus-button--unelevated -{ - margin: 4px; -} - -.satus-button--text > *, -.satus-button--raised > *, -.satus-button--unelevated > * -{ - position: relative; - z-index: 1; -} - -.satus-button--text::before, -.satus-button--raised::before, -.satus-button--unelevated::before -{ - position: absolute; - top: 0; - left: 0; - - box-sizing: border-box; - width: 100%; - height: 100%; - - content: ''; - transition: box-shadow .2s, transform .4s cubic-bezier(.175, .885, .32, 1.275), background .2s; - - border-radius: 8px; - background: transparent; -} - -.satus-button--text:active::before, -.satus-button--raised:active::before, -.satus-button--unelevated:active::before -{ - transform: scale(.95); -} - - -/*--------------------------------------------------------------- -# VARIANTS ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# TEXT ----------------------------------------------------------------*/ - -.satus-button--text:hover::before -{ - background: var(--satus-theme-hover); -} - - -/*--------------------------------------------------------------- -# LIST ITEM ----------------------------------------------------------------*/ - -.satus-button--list-item -{ - width: 100%; - height: 48px; - margin: 0; - padding: 0 16px; - - text-align: left; - - border-radius: 0; - - justify-content: flex-start; -} - -.satus-button--list-item:hover -{ - background: var(--satus-theme-hover); -} - - -/*--------------------------------------------------------------- -# RAISED ----------------------------------------------------------------*/ - -.satus-button--raised -{ - color: var(--satus-theme-on-primary); -} - -.satus-button--raised::before -{ - background: var(--satus-theme-primary); - box-shadow: 0 2px 3px rgba(0, 0, 0, .15); -} - -.satus-button--raised:hover::before -{ - background: var(--satus-theme-primary); -} - -.satus-button--raised:not([disabled]):active::before -{ - box-shadow: 0 1px 2px rgba(0, 0, 0, .15); -} - - -/*--------------------------------------------------------------- -# UNELEVATED ----------------------------------------------------------------*/ - -.satus-button--unelevated -{ - color: var(--satus-theme-on-primary); -} - -.satus-button--unelevated::before -{ - background: var(--satus-theme-primary); -} - -.satus-button--unelevated:hover::before -{ - background: var(--satus-theme-primary); -} - - -/*--------------------------------------------------------------- -# BEFORE ----------------------------------------------------------------*/ - -.satus-button > * + .satus-button__label -{ - margin: 0 0 0 8px; -} - - -/*--------------------------------------------------------------- -# AFTER ----------------------------------------------------------------*/ - -.satus-button > .satus-button__label + * -{ - margin: 0 0 0 8px; -} - - -/*--------------------------------------------------------------- -# SVG ----------------------------------------------------------------*/ - -.satus-button svg -{ - width: 24px; - height: 24px; -} - - -/*--------------------------------------------------------------- -# ATTRIBUTES ----------------------------------------------------------------*/ - -.satus-button[disabled] -{ - opacity: .7; -} - -.satus-button[disabled]:hover -{ - cursor: default; -} - -.satus-button[disabled]:active::before -{ - transform: none; -} - -/*--------------------------------------------------------------- ->>> COLOR PICKER ----------------------------------------------------------------*/ - -.satus-color-picker -{ - display: flex; - flex-direction: column; - - justify-content: center; - align-items: center; -} - -.satus-color-picker__wheel -{ - position: relative; - margin: 16px 0 0; - border-radius: 50%; - overflow: hidden; - width: 256px; - height: 256px; -} - -.satus-color-picker__wheel canvas -{ - border-radius: 50%; -} - -.satus-color-picker__shader -{ - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - pointer-events: none; - background: #000; - opacity: 0; -} - -.satus-color-picker__cursor -{ - position: absolute; - top: 128px; - left: 128px; - - width: 12px; - height: 12px; - - transform: translate(-50%, -50%); - pointer-events: none; - - border: 2px solid rgba(0,0,0,.4); - border-radius: 50%; -} - -.satus-color-picker__cursor.invert -{ - border-color: rgba(255,255,255,.4) -} - -.satus-color-picker__slider -{ - width: calc(100% - 32px); - height: 16px; - border: 1px solid rgba(0,0,0,.2); - border-radius: 4px; - box-sizing: border-box; - margin: 24px 16px 16px; - position: relative; -} - -.satus-color-picker__slider::after -{ - content: ''; - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - background: linear-gradient(90deg, transparent, #000); -} - -.satus-color-picker__thumb -{ - position: absolute; - left: 0px; - top: 10px; - width: 12px; - height: 10px; - background: #fff; - box-shadow: 0 1px 1px rgba(0,0,0,.2); - z-index: 1; - transform: translateX(-50%); -} - -.satus-color-picker__thumb::before -{ - content: ''; - position: absolute; - width: 0; - height: 0; - left: 0; - top: -6px; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - pointer-events: none; -} - -.satus-color-picker__value -{ - width: 28px; - height: 28px; - margin: 0 8px 0 0; - - border: 2px solid #dcdcdc; - border-radius: 4px; -} - -/*--------------------------------------------------------------- ->>> DIALOG ------------------------------------------------------------------ -1.0 General -2.0 Other -3.0 Actions ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -1.0 GENERAL ----------------------------------------------------------------*/ - -.satus-dialog -{ - position: absolute; - z-index: 100; - top: 0; - left: 0; - - display: flex; - - width: 100vw; - height: 100vh; - - justify-content: center; - align-items: center; -} - -.satus-dialog__scrim -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - animation: fadeIn 150ms linear forwards; - - opacity: 0; - background: var(--satus-theme-dialog-backdrop); - - backdrop-filter: blur(8px); -} - -.satus-dialog__surface -{ - font-size: 14px; - - display: flex; - flex-direction: column; - - width: 95%; - min-width: 240px; - max-width: 560px; - max-height: 80%; - padding: 8px 0; - - transform: scale(.8); - animation: zoomIn 150ms linear forwards; - animation-delay: 20ms; - - opacity: 0; - color: var(--satus-theme-dialog-text); - border-radius: 6px; - background-color: var(--satus-theme-dialog); - box-shadow: var(--satus-theme-dialog-shadow); -} - -.satus-dialog--closing .satus-dialog__scrim -{ - animation: fadeOut 70ms linear forwards; -} - -.satus-dialog--closing .satus-dialog__surface -{ - animation: zoomOut 70ms linear forwards; -} - - -/*--------------------------------------------------------------- -2.0 OTHER ----------------------------------------------------------------*/ - -.satus-dialog .satus-button -{ - justify-content: flex-start; -} - -.satus-dialog__message -{ - width: calc(100% - 32px); - margin: 0 16px; -} - - -/*--------------------------------------------------------------- -3.0 ACTIONS ----------------------------------------------------------------*/ - -.satus-section--actions -{ - width: calc(100% - 24px); - margin: 0 20px; - - justify-content: flex-end; -} - -.satus-section--actions .satus-button -{ - font-weight: 600; - - color: var(--satus-theme-primary); -} - -/*--------------------------------------------------------------- ->>> HEADER ------------------------------------------------------------------ -1.0 Basic -2.0 Buttons - 2.1 Back -3.0 Title -4.0 Vertical menu ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -1.0 BASIC ----------------------------------------------------------------*/ - -.satus-header -{ - position: relative; - z-index: 1; - - display: flex; - - box-sizing: border-box; - width: 100%; - min-height: 56px; - padding: 0 8px; - - color: var(--satus-theme-header-text); - background-color: var(--satus-theme-header); - box-shadow: 0 0 3px rgba(0,0,0,.1); - - fill: var(--satus-theme-header-text); -} - - -/*--------------------------------------------------------------- -2.0 BUTTONS ----------------------------------------------------------------*/ - -.satus-header .satus-button -{ - width: 36px; - height: 36px; - padding: 6px; - - border-radius: 50%; -} - - -/*--------------------------------------------------------------- -3.0 BACK BUTTON ----------------------------------------------------------------*/ - -.satus-button--back -{ - position: absolute; -} - -body[data-appearance='home'] .satus-button--back -{ - visibility: hidden; -} - - -/*--------------------------------------------------------------- -3.0 TITLE ----------------------------------------------------------------*/ - -.satus-header .satus-text--title -{ - font-size: 15px; - font-weight: 400; - - position: absolute; - left: 56px; - - overflow: hidden; - - max-width: calc(100% - 148px); - - white-space: nowrap; - text-overflow: ellipsis; -} - -body[data-appearance='home'] .satus-text--title -{ - left: 14px; -} - - -/*--------------------------------------------------------------- -4.0 VERTICAL MENU ----------------------------------------------------------------*/ - -.satus-dialog--vertical-menu .satus-dialog__surface -{ - position: absolute; - top: 8px; - right: 8px; - left: auto; - - min-width: 180px; - max-width: 220px; - - transform-origin: right top; -} - -.satus-dialog--vertical-menu .satus-button, -.satus-dialog--vertical-menu .satus-folder, -.satus-dialog--vertical-menu .satus-switch -{ - width: 100%; - height: 36px; - padding: 0 16px; - - text-align: left; -} - -.satus-dialog--vertical-menu svg -{ - width: 20px !important; - height: 20px !important; - - opacity: .75; -} - -/*--------------------------------------------------------------- ->>> LIST ----------------------------------------------------------------*/ - -.satus-list--compact, -.satus-list--compact li -{ - margin: 0; - padding: 0; - - list-style: none; -} - -/*--------------------------------------------------------------- ->>> MAIN ------------------------------------------------------------------ -# BASIC ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# BASIC ----------------------------------------------------------------*/ - -.satus-main -{ - position: relative; - - overflow: hidden; - - width: 100%; - height: 100%; - - color: var(--satus-theme-main-text); - background-color: var(--satus-theme-main); - - flex: 1; -} - -.satus-main__container -{ - position: absolute; - top: 0; - left: 0; - - overflow: auto; - - box-sizing: border-box; - width: 100%; - height: 100%; - - transition: 250ms; - - background-color: var(--satus-theme-main); -} - -/*--------------------------------------------------------------- ->>> RADIO GROUP ----------------------------------------------------------------*/ - -.satus-button--radio -{ - flex-direction: column; - - height: auto; - padding: 16px 8px; -} - -.satus-button--radio .satus-button__label -{ - margin: 0; -} - -.satus-scrollbar -{ - position: relative; - - overflow: hidden; - - width: 100%; - height: 100%; -} - -.satus-scrollbar__wrapper -{ - overflow-y: scroll; - - width: 150%; - height: 100%; -} - -.satus-scrollbar__content -{ - display: inline-block; -} - -.satus-scrollbar__thumb -{ - position: absolute; - z-index: 999; - top: 0; - right: 0; - - min-height: 32px; - padding: 0 2px; - - transition: background-color 200ms, opacity 300ms; - - opacity: 0; -} - -.satus-scrollbar__thumb::after -{ - display: block; - - width: 3px; - height: 100%; - - content: ''; - - background-color: var(--satus-theme-scrollbar); -} - -.satus-scrollbar__thumb:hover::after -{ - width: 8px; - - background-color: var(--satus-theme-scrollbar-focus); -} - -.satus-scrollbar.active .satus-scrollbar__thumb, -.satus-scrollbar__thumb:hover -{ - transition: background-color 200ms, opacity 100ms; - - opacity: 1; -} - -/*--------------------------------------------------------------- ->>> SECTION ------------------------------------------------------------------ -# Basic -# Variants - # Card ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# BASIC ----------------------------------------------------------------*/ - -.satus-section -{ - display: inline-flex; - - box-sizing: border-box; - - align-items: center; - flex: 1; -} - - -/*--------------------------------------------------------------- -# VARIANTS ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# CARD ----------------------------------------------------------------*/ - -.satus-section--card -{ - display: block; - - width: calc(100% - 16px); - max-width: 900px; - margin: 8px auto; - padding: 8px 0; - - border: 1px solid rgba(0,0,0,.1); - border-radius: 8px; - background-color: var(--satus-theme-section); -} - -/*--------------------------------------------------------------- ->>> SELECT ----------------------------------------------------------------*/ - -.satus-select > svg -{ - width: 20px; -} - -.satus-select > svg + .satus-select__label -{ - margin: 0 0 0 8px; -} - -.satus-select__value -{ - font-size: 12px; - - text-align: right; - - opacity: .7; - - flex: 1; -} - - -.satus-dialog--select-component .satus-dialog__surface -{ - position: absolute; - - max-width: unset; - - transform: unset; - animation: unset; - - opacity: 1; -} - -.satus-dialog--select-component .satus-section -{ - top: 48px; - - flex-direction: column; - - transform: translateY(-16px); - animation: listIn 50ms linear forwards; - animation-delay: 20ms; - - opacity: .5; -} - -.satus-dialog--select-component .satus-button -{ - width: 100%; - height: 48px; - padding: 0 16px; -} - -@keyframes listIn -{ - from - { - transform: translateY(-16px); - - opacity: .5; - } - - to - { - transform: translateY(0); - - opacity: 1; - } -} - -.satus-section--align-end -{ - justify-content: flex-end; -} - - -.satus-button--select -{ - justify-content: space-between; -} - -/*--------------------------------------------------------------- ->>> SHORTCUT ------------------------------------------------------------------ -# Canvas -# Popup ----------------------------------------------------------------*/ - -.satus-shortcut -{ - position: relative; - - display: flex; - overflow: hidden; - - box-sizing: border-box; - width: 100%; - height: 48px; - min-height: 48px; - padding: 0 16px; - - cursor: pointer; - - justify-content: space-between; - align-items: center; -} - -.satus-shortcut:hover -{ - background-color: var(--satus-theme-ripple); -} - -.satus-shortcut .satus-shortcut__label -{ - flex: 1; -} - -.satus-shortcut .satus-shortcut__value -{ - flex: 0; -} - -.satus-shortcut .satus-shortcut__label + .satus-shortcut__value -{ - justify-content: flex-end; -} - - -/*--------------------------------------------------------------- -# CANVAS ----------------------------------------------------------------*/ - -.satus-shortcut__value -{ - display: flex; - - box-sizing: border-box; - width: 100%; - height: 48px; - - align-items: center; -} - - -.satus-shortcut__key -{ - font-size: 12px; - line-height: 12px; - - display: flex; - - box-sizing: border-box; - min-width: 28px; - height: 28px; - padding: 4px 8px; - - white-space: nowrap; - - border: 1px solid rgba(0,0,0,.1); - border-radius: 4px; - background: var(--satus-theme-shortcut); - box-shadow: 0 1px 1px rgba(0,0,0,.1), inset 0 -1px 0 rgba(0,0,0,.1); - - align-items: center; - justify-content: center; -} - -.satus-shortcut__plus -{ - position: relative; - - width: 10px; - height: 10px; - margin: 8px 6px; -} - -.satus-shortcut__plus::before -{ - position: absolute; - top: 0; - left: 4px; - - width: 2px; - height: 10px; - - content: ''; - - background-color: #ccc; -} - -.satus-shortcut__plus::after -{ - position: absolute; - top: 4px; - left: 0; - - width: 10px; - height: 2px; - - content: ''; - - background-color: #ccc; -} - -.satus-shortcut__mouse -{ - position: relative; - - display: flex; - - width: 24px; - height: 32px; - - border-radius: 50%; - border-top-left-radius: 12px; - border-top-right-radius: 12px; - background: #fff; - box-shadow: 0 1px 3px rgba(0,0,0,.15), inset 0 -3px 0 rgba(0,0,0,.1); -} - -.satus-shortcut__mouse > div -{ - position: absolute; - top: 0; - left: 11px; - - width: 2px; - height: 10px; - - border-radius: 2px; - background: #ccc; -} - -.satus-shortcut__mouse::before -{ - position: absolute; - top: 0; - left: 18px; - - width: 2px; - height: 14px; - - content: ''; - - background: #f96754; -} - -.satus-shortcut__mouse.false::after -{ - position: absolute; - top: -5px; - left: 15px; - - width: 0; - height: 0; - - content: ''; - - border-right: 4px solid transparent; - border-bottom: 6px solid #f96754; - border-left: 4px solid transparent; -} - -.satus-shortcut__mouse.true::after -{ - position: absolute; - top: 13px; - left: 15px; - - width: 0; - height: 0; - - content: ''; - - border-top: 6px solid #f96754; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} - -.satus-shortcut__mouse.click::before -{ - position: absolute; - top: 0; - left: -1px; - - width: 10px; - height: 10px; - - content: ''; - - border-radius: 50%; - background: #f96754; -} - -.satus-shortcut__mouse.context::before -{ - position: absolute; - top: 0; - left: 15px; - - width: 10px; - height: 10px; - - content: ''; - - border-radius: 50%; - background: #f96754; -} - - -/*--------------------------------------------------------------- -# POPUP ----------------------------------------------------------------*/ - -.satus-shortcut-dialog-label -{ - font-size: 16px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 4px 0 10px; - padding: 0 16px; -} - -.satus-shortcut__canvas -{ - display: flex; - - box-sizing: border-box; - width: 100%; - height: 68px; - padding: 16px; - - background: #dedede; - - align-items: center; -} - -.satus-section_shortcut -{ - width: 100%; - margin: 8px 0 0; - - justify-content: flex-end; -} - -.satus-button_shortcut -{ - font-weight: 500; - - overflow: hidden; - - height: 28px; - min-height: 28px; - margin-right: 2px; - padding: 4px 8px; - - text-transform: uppercase; - - color: #f96754; - border-radius: 4px; -} - -/*--------------------------------------------------------------- ->>> SLIDER ------------------------------------------------------------------ -# Basic - # Label - # Track ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# BASIC ----------------------------------------------------------------*/ - -.satus-slider -{ - position: relative; - - display: flex; - flex-direction: column; - - box-sizing: border-box; - width: 100%; - min-height: 64px; - padding: 0 16px; - - -webkit-user-select: none; - -moz-user-select: -moz-none; - user-select: none; - - outline: none; - - align-items: flex-start; - justify-content: center; -} - -.satus-slider::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - - opacity: 0; - background-color: var(--satus-theme-button); -} - -.satus-slider:hover::before -{ - opacity: 1; -} - - -/*--------------------------------------------------------------- -# LABEL ----------------------------------------------------------------*/ - -.satus-slider__label -{ - cursor: default; -} - - -.satus-slider__range -{ - position: absolute; - z-index: 1; - top: 0; - left: 0; - - box-sizing: border-box; - width: 100%; - height: 100%; - margin: 0; - padding: 0; - - opacity: 0; -} - - -/*--------------------------------------------------------------- -# TRACK ----------------------------------------------------------------*/ - -.satus-slider__container -{ - position: relative; - - width: 100%; - height: 12px; - margin: 8px 0 0; -} - -.satus-slider__track-container -{ - position: absolute; - top: calc(50% - 1px); - - width: 100%; - height: 2px; - - pointer-events: none; -} - -.satus-slider__track-container::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 2px; - - content: ''; - - opacity: .26; - background-color: var(--satus-theme-primary); -} - -.satus-slider__track -{ - position: relative; - - width: 0; - height: 100%; - - background-color: var(--satus-theme-primary); - - will-change: width; -} - -.satus-slider:not(.satus-slider--dragging) .satus-slider__track -{ - transition: width 100ms ease-out; -} - -.satus-slider__thumb -{ - position: absolute; - top: -5px; - right: -12px; - - width: 12px; - height: 12px; - - border-radius: 50%; - background-color: var(--satus-theme-primary); - box-shadow: 0 1px 5px rgba(0, 0, 0, .15); -} - -.satus-slider .satus-slider__thumb::before -{ - font-size: 13px; - - position: absolute; - top: -34px; - left: 50%; - - visibility: hidden; - - box-sizing: border-box; - min-width: 28px; - padding: 4px 4px; - - content: attr(data-value); - transform: translateX(-50%); - text-align: center; - pointer-events: none; - - color: #fff; - border-radius: 4px; - background: var(--satus-theme-tooltip); -} - -.satus-slider:hover .satus-slider__thumb::before, -.satus-slider__range:focus .satus-slider__container .satus-slider__thumb::before -{ - visibility: visible; -} - -.satus-slider__ring -{ - position: absolute; - top: -11px; - right: -18px; - - width: 24px; - height: 24px; - - transition: 100ms; - transform: scale(0); - - opacity: 0; - border-radius: 50%; - background-color: var(--satus-theme-primary); -} - -.satus-slider__range:focus + .satus-slider__container .satus-slider__ring -{ - transform: scale(1); - - opacity: .25; -} - -/*--------------------------------------------------------------- ->>> SWITCH ----------------------------------------------------------------*/ - -.satus-switch -{ - position: relative; - - display: flex; - - box-sizing: border-box; - width: 100%; - height: 48px; - padding: 0 16px; - - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: -moz-none; - user-select: none; - - background-color: transparent; - - align-items: center; - justify-content: flex-start; -} - -.satus-switch:hover -{ - background-color: var(--satus-theme-hover); -} - -.satus-switch__input -{ - position: absolute; - z-index: 1; - top: 0; - left: 0; - - width: 100%; - height: 100%; - margin: 0; - padding: 0; - - opacity: 0; - outline: none; - - -webkit-appearance: none; -} - - -/* LABEL */ - -.satus-switch > * + .satus-switch__label { - margin: 0 0 0 8px; -} - -.satus-switch__label -{ - padding: 0 16px 0 0; -} - - -/* TRACK*/ - -.satus-switch__value -{ - display: inline-flex; - justify-content: flex-end; - align-items: center; - flex: 1; -} - -.satus-switch__track -{ - position: relative; - - width: 32px; - min-width: 32px; - height: 18px; - - border-radius: 18px; - background: #bdbdbd; -} - -.satus-switch__track::before -{ - position: absolute; - top: -7px; - left: -7px; - - width: 32px; - height: 32px; - - content: ''; - transition: left .1s cubic-bezier(.4, 0, .2, 1), transform 200ms, background-color 200ms; - transform: scale(0); - - opacity: 0; - border-radius: 50%; - background-color: #000; - - will-change: left, transform, background-color; -} - -.satus-switch__input:checked + .satus-switch__value .satus-switch__track::before -{ - left: 8px; - - background-color: var(--satus-theme-primary, #54d2a3); -} - -.satus-switch__input:focus + .satus-switch__value .satus-switch__track::before -{ - transform: scale(1); - - opacity: .08; -} - -.satus-switch__input:checked:focus + .satus-switch__value .satus-switch__track::before -{ - opacity: .25; -} - -.satus-switch__track::after -{ - position: absolute; - - width: 14px; - height: 14px; - - content: ''; - transition: transform .1s cubic-bezier(.4, 0, .2, 1); - transform: translate(2px, 2px); - - border-radius: 50%; - background-color: #fff; - - will-change: transform; -} - -.satus-switch__input:checked + .satus-switch__value .satus-switch__track -{ - background: var(--satus-theme-primary, #54d2a3); -} - -.satus-switch__input:checked + .satus-switch__value .satus-switch__track::after -{ - transform: translate(16px, 2px); -} - -/*--------------------------------------------------------------- ->>> TABLE ------------------------------------------------------------------ -# Head - # Sort -# Body - # Row - # Cell -# Paging ----------------------------------------------------------------*/ - -.satus-table -{ - font-size: 14px; - - position: relative; - - overflow: hidden; - - box-sizing: border-box; - - border: 1px solid #ececec; - border-radius: 6px; -} - - -/*--------------------------------------------------------------- -# HEAD ----------------------------------------------------------------*/ - -.satus-table__head -{ - position: relative; - z-index: 1; - - display: flex; - - box-sizing: border-box; - width: 100%; - height: 44px; - padding: 0 8px; - - background: #fff; - box-shadow: 0 2px 4px rgba(0, 0, 0, .1); -} - -.satus-table__head > div -{ - font-weight: 600; - - display: inline-flex; - - box-sizing: border-box; - padding: 0 8px 0 0; - - opacity: .7; - - flex-shrink: 0; - align-items: center; -} - -.satus-table__head > div:last-child -{ - padding: 0; -} - -.satus-table__head > div:hover -{ - cursor: pointer; - - opacity: 1; -} - -.satus-table__head > div[data-sorting=false]:hover -{ - cursor: default; -} - -.satus-table__head > div > span -{ - overflow: hidden; - - white-space: nowrap; - text-overflow: ellipsis; - - flex: 1; -} - - -/*--------------------------------------------------------------- -# SORT ----------------------------------------------------------------*/ - -.satus-table__head > div[data-sorting=asc]::after -{ - content: ''; - - border-right: 4px solid transparent; - border-bottom: 5px solid currentColor; - border-left: 4px solid transparent; -} - -.satus-table__head > div[data-sorting=desc]::after -{ - content: ''; - - border-top: 5px solid currentColor; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} - - -/*--------------------------------------------------------------- -# BODY ----------------------------------------------------------------*/ - -.satus-table__body -{ - overflow: hidden; - - width: 100%; - height: calc(100% - 39px); - - background: #fff; - - flex: 1; -} - - -/*--------------------------------------------------------------- -# ROW ----------------------------------------------------------------*/ - -.satus-table__row -{ - padding: 0 8px; - - border-bottom: 1px solid rgba(0, 0, 0, .1); -} - -.satus-table__row:nth-child(2n) -{ - background: rgba(0,0,0,.03); -} - - -/*--------------------------------------------------------------- -# CELL ----------------------------------------------------------------*/ - -.satus-table__cell -{ - display: inline-block; - overflow: hidden; - - box-sizing: border-box; - padding: 8px 8px 8px 0; - - white-space: nowrap; - text-overflow: ellipsis; - word-wrap: break-word; - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - - overflow-wrap: break-word; -} - -.satus-table__cell:last-child -{ - padding-right: 0; -} - -.satus-table__cell input -{ - box-sizing: border-box; - width: 100%; - height: calc(100% - 10px); - margin: 5px 0; - padding: 1px 2px; - - border: 1px solid #d2d2d2; - border-radius: 4px; - outline: none; -} - - -/*--------------------------------------------------------------- -# PAGING ----------------------------------------------------------------*/ - -.satus-table__paging > button -{ - min-width: 32px; - height: 32px; - padding: 0 8px; - - cursor: pointer; - - color: var(--satus-theme-on-surface, #555); - border: none; - background: transparent; -} - -.satus-table__paging > button.active -{ - color: #2979ff; -} - -/*--------------------------------------------------------------- ->>> TABS ----------------------------------------------------------------*/ - -.satus-tabs__bar -{ - position: relative; - - display: flex; - overflow: hidden; - - box-sizing: border-box; - width: calc(100% - 16px); - margin: 16px 8px 4px; - - border: 1px solid var(--satus-theme-tabs-border); - border-radius: 18px; - background-color: var(--satus-theme-tabs-background); -} - -.satus-tabs__bar > div:not(.satus-tabs__bar--select) -{ - z-index: 1; - - display: flex; - - height: 32px; - - cursor: pointer; - transition: opacity .25s; - - opacity: .5; - - flex: 1; - align-items: center; - justify-content: center; -} - -.satus-tabs__bar > div.active -{ - opacity: 1; -} - -.satus-tabs__bar--select -{ - position: absolute; - z-index: 0; - left: 0; - - width: 50%; - height: 32px; - - transition: left .25s; - - border-radius: 18px; - background: var(--satus-theme-header); - box-shadow: 1px 0 4px rgba(0,0,0,.075); -} - -.satus-tabs__main -{ - position: relative -} - -.satus-tabs__main > div -{ - display: inline-block; - width: 100%; - min-height: 100%; -} - -.satus-tabs__main > .old -{ - position: absolute; - left: 0; - top: 0; -} - -.satus-tabs__tab.satus-animation--fade-out-left:not(.old) -{ - z-index: 1 -} - -/*--------------------------------------------------------------- ->>> TEXT ------------------------------------------------------------------ -# Basic -# Variants - # Section label ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# BASIC ----------------------------------------------------------------*/ - -.satus-text -{ - display: block; -} - - -/*--------------------------------------------------------------- -# VARIANTS ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# SECTION LABEL ----------------------------------------------------------------*/ - -.satus-text--section-label -{ - font-size: 17px; - - display: block; - - width: calc(100% - 16px); - max-width: 900px; - margin: 16px auto 8px; -} - -/*--------------------------------------------------------------- ->>> TEXT ----------------------------------------------------------------*/ - -.satus-text-field -{ - font: inherit; - - box-sizing: border-box; - width: 100%; - margin: 0; - padding: 0; - padding: 0 8px; - - color: inherit; - border: none; - outline: none; - background: unset; -} diff --git a/unstable/satus.js b/unstable/satus.js deleted file mode 100644 index af0eb3bb5..000000000 --- a/unstable/satus.js +++ /dev/null @@ -1,2963 +0,0 @@ - -/*--------------------------------------------------------------- ->>> TABLE OF CONTENTS: ------------------------------------------------------------------ -# Events -# Render -# Camelize -# Animation duration ----------------------------------------------------------------*/ - -var satus = {}; - - -/*--------------------------------------------------------------- -# EVENTS ----------------------------------------------------------------*/ - -satus.events = {}; - -satus.on = function(event, handler) { - if (!this.isset(this.events[event])) { - this.events[event] = []; - } - - this.events[event].push(handler); -}; - - -/*--------------------------------------------------------------- -# COMPONENTS ----------------------------------------------------------------*/ - -satus.components = {}; - - -/*--------------------------------------------------------------- -# ISSET ----------------------------------------------------------------*/ - -satus.isset = function(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -}; - - -/*--------------------------------------------------------------- -# CAMELIZE ----------------------------------------------------------------*/ - -satus.camelize = function(string) { - return string.replace(/-[a-z]/g, function(match) { - return match[1].toUpperCase(); - }); -}; - - -/*--------------------------------------------------------------- -# ANIMATION DURATION ----------------------------------------------------------------*/ - -satus.getAnimationDuration = function(element) { - return Number(window.getComputedStyle(element).getPropertyValue('animation-duration').replace(/[^0-9.]/g, '')) * 1000; -}; -/*--------------------------------------------------------------- ->>> BUTTON ----------------------------------------------------------------*/ - -satus.components.button = function(element) { - var button = document.createElement('button'), - is_folder_type = false; - - if (satus.isset(element.label)) { - var label = document.createElement('span'); - - label.className = 'satus-button__label'; - label.innerText = satus.locale.getMessage(element.label); - - button.appendChild(label); - } - - for (var key in element) { - if (element[key] && element[key].type && key !== 'onclick') { - is_folder_type = true; - } - } - - if (is_folder_type === true) { - button.addEventListener('click', function() { - var parent = document.querySelector(button.skelet.parent) || document.querySelector('.satus-main'); - - if (!button.skelet.parent || !parent.classList.contains('satus-main')) { - while (!parent.classList.contains('satus-main')) { - parent = parent.parentNode; - } - } - - parent.open(this.skelet, this.skelet.onopen); - }); - } - - return button; -}; -/*--------------------------------------------------------------- ->>> COLOR PICKER ------------------------------------------------------------------ -# Wheel -# Slider ----------------------------------------------------------------*/ - -satus.components.colorPicker = function(element) { - var component = satus.render({ - type: 'button', - label: element.label, - onclick: { - type: 'dialog', - onrender: function() { - var component = document.createElement('div'); - - component.className = 'satus-color-picker'; - - component.data = satus.storage.get(element.storage_key) || { - color: [255, 255, 255, 1], - x: 128, - y: 128 - }; - - component.update = function() { - var rgba = this.data.color; - - this.slider.style.backgroundColor = 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')'; - }; - - - /*-------------------------------------------------- - # WHEEL - --------------------------------------------------*/ - - var wheel = document.createElement('div'), - cvs = document.createElement('canvas'), - ctx = cvs.getContext('2d'), - cursor = document.createElement('div'), - shader = document.createElement('div'); - - component.canvas = cvs; - component.wheel_shader = shader; - - wheel.className = 'satus-color-picker__wheel'; - cursor.className = 'satus-color-picker__cursor'; - shader.className = 'satus-color-picker__shader'; - - cvs.width = 256; - cvs.height = 256; - - var rgb = [255, 0, 0]; - - for (var i = 0, j = 0; i < 360; i++) { - var gradient = ctx.createRadialGradient( - 128, - 128, - 0, - 128, - 128, - 128 - ), - k = (j + 3 - 1) % 3; - - if (rgb[j] < 255) { - rgb[j] = Math.min(rgb[j] + 4.322, 255); - } else if (rgb[k] > 0) { - rgb[k] = Math.max(rgb[k] - 4.322, 0); - } else if (rgb[j] >= 255) { - rgb[j] = 255; - - j = (j + 1) % 3 - } - - gradient.addColorStop(0, '#fff'); - gradient.addColorStop( - 1, - 'rgb(' + - rgb[0] + ',' + - rgb[1] + ',' + - rgb[2] + - ')' - ); - ctx.fillStyle = gradient; - ctx.beginPath(); - ctx.moveTo(128, 128); - ctx.arc( - 128, - 128, - 128, - satus.math.degToRad(i), - satus.math.degToRad(360) - ); - ctx.closePath(); - ctx.fill(); - } - - cursor.style.left = component.data.x + 'px'; - cursor.style.top = component.data.y + 'px'; - - cvs.cursor = cursor; - cvs.ctx = cvs.getContext('2d'); - cvs.move = function(event) { - //console.log(event); - - var component = this.parentNode.parentNode, - x = event.offsetX, - y = event.offsetY, - rgba = this.ctx.getImageData(x, y, 1, 1).data; - - console.log(component, component.data); - - this.cursor.style.left = x + 'px'; - this.cursor.style.top = y + 'px'; - - component.data.x = x; - component.data.y = y; - component.data.color = [ - rgba[0], - rgba[1], - rgba[2] - ]; - - component.update(); - }; - - function start(event) { - var self = this; - - function end() { - self.removeEventListener('mousemove', self.move); - window.removeEventListener('mouseup', end); - self.removeEventListener('touchmove', self.move); - window.removeEventListener('touchend', end); - } - - this.addEventListener('mousemove', this.move); - window.addEventListener('mouseup', end); - this.addEventListener('touchmove', this.move); - window.addEventListener('touchend', end); - - this.move(event); - } - - cvs.addEventListener('mousedown', start); - cvs.addEventListener('touchstart', start); - - wheel.appendChild(cvs); - wheel.appendChild(shader); - wheel.appendChild(cursor); - component.appendChild(wheel); - - - /*-------------------------------------------------- - # SLIDER - --------------------------------------------------*/ - - var slider = document.createElement('div'), - thumb = document.createElement('div'); - - component.slider = slider; - - slider.className = 'satus-color-picker__slider'; - thumb.className = 'satus-color-picker__thumb'; - - slider.thumb = thumb; - - function startSlider(event) { - var self = this; - - event.preventDefault(); - - function move(event) { - event.preventDefault(); - - var x = event.clientX - self.getBoundingClientRect().left - 1, - maxWidth = self.offsetWidth - 2, - value = (x / (maxWidth / 100)) / 100; - - if (x < 1) { - x = 1; - } else if (x > maxWidth) { - x = maxWidth; - } - - self.parentNode.wheel_shader.style.opacity = value; - - if (value > .5) { - self.parentNode.canvas.cursor.classList.add('invert'); - } else { - self.parentNode.canvas.cursor.classList.remove('invert'); - } - - self.thumb.style.left = x + 'px'; - } - - function end() { - window.removeEventListener('mousemove', move); - window.removeEventListener('mouseup', end); - window.removeEventListener('touchmove', move); - window.removeEventListener('touchend', end); - } - - window.addEventListener('mousemove', move); - window.addEventListener('mouseup', end); - window.addEventListener('touchmove', move); - window.addEventListener('touchend', end); - - move(event); - } - - slider.addEventListener('mousedown', startSlider); - slider.addEventListener('touchstart', startSlider); - - slider.appendChild(thumb); - component.appendChild(slider); - - - /*-------------------------------------------------- - # ACTIONS - --------------------------------------------------*/ - - var section = document.createElement('div'), - cancel = document.createElement('button'), - save = document.createElement('button'); - - section.className = 'satus-section satus-section--actions'; - cancel.className = 'satus-button'; - save.className = 'satus-button'; - - cancel.innerText = satus.locale.getMessage('cancel'); - save.innerText = satus.locale.getMessage('save'); - - cancel.onclick = function() { - var component = this.parentNode.parentNode; - - - }; - - save.onclick = function() { - var component = this.parentNode.parentNode; - - satus.storage.set(component.storage_key, component.data); - }; - - section.appendChild(cancel); - section.appendChild(save); - component.appendChild(section); - - component.update(); - - this.surface.querySelector('.satus-scrollbar__content').appendChild(component); - } - } - }), - value = document.createElement('span'); - - component.data = satus.storage.get(element.storage_key) || { - color: [255, 255, 255], - x: 128, - y: 128 - }; - - component.className = 'satus-button ' + (element.variant ? 'satus-button--' + element.variant : '') + ' satus-button--color-picker'; - - value.className = 'satus-button__value'; - value.style.background = 'rgb(' + component.data[0] + ',' + component.data[1] + ',' + component.data[2] + ')'; - - component.appendChild(value); - - return component; -}; -/*--------------------------------------------------------------- ->>> DIALOG ----------------------------------------------------------------*/ - -satus.components.dialog = function(element) { - var component = document.createElement('div'), - component_scrim = document.createElement('div'), - component_surface = document.createElement('div'), - component_scrollbar = satus.components.scrollbar(component_surface), - options = element.options || {}; - - component_scrim.className = 'satus-dialog__scrim'; - component_surface.className = 'satus-dialog__surface'; - - for (var key in element) { - satus.render(element[key], component_scrollbar); - } - - function close() { - window.removeEventListener('keydown', keydown); - - component.classList.add('satus-dialog--closing'); - - if (typeof element.onclose === 'function') { - element.onclose(); - } - - setTimeout(function() { - component.remove(); - }, satus.getAnimationDuration(component_surface)); - } - - function keydown(event) { - if (event.keyCode === 27) { - if (element.clickclose === false) { - return false; - } - - if (typeof element.onclickclose === 'function') { - element.onclickclose(); - } - - event.preventDefault(); - - close(); - } else if (event.keyCode === 9) { - var elements = component_surface.querySelectorAll('button, input'), - focused = false; - - event.preventDefault(); - - for (var i = 0, l = elements.length; i < l; i++) { - if (elements[i] === document.activeElement && elements[i + 1]) { - elements[i + 1].focus(); - - focused = true; - - i = l; - } - } - - if (focused === false) { - elements[0].focus(); - } - } - } - - component_scrim.addEventListener('click', function() { - if (element.clickclose === false) { - return false; - } - - if (typeof element.onclickclose === 'function') { - element.onclickclose(); - } - - close(); - }); - window.addEventListener('keydown', function(event) { - keydown(event); - }); - - component.appendChild(component_scrim); - component.appendChild(component_surface); - - component.close = close; - component.scrim = component_scrim; - component.surface = component_surface; - - // OPTIONS - - if (options.left) { - component_surface.style.left = options.left + 'px'; - } - - if (options.top) { - component_surface.style.top = options.top + 'px'; - } - - if (options.width) { - component_surface.style.width = options.width + 'px'; - } - - if (options.height) { - component_surface.style.height = options.height + 'px'; - } - - // END OPTIONS - - return component; -}; - -/*--------------------------------------------------------------- ->>> DIV ----------------------------------------------------------------*/ - -satus.components.div = function(object) { - var component = document.createElement('div'); - - for (var key in object) { - satus.render(object[key], component); - } - - return component; -}; - -/*-------------------------------------------------------------- ->>> HEADER ---------------------------------------------------------------*/ - -satus.components.header = function(object) { - var component = document.createElement('header'); - - for (var key in object) { - satus.render(object[key], component); - } - - return component; -}; -/*--------------------------------------------------------------- ->>> LIST ----------------------------------------------------------------*/ - -satus.components.list = function(object) { - var ul = document.createElement('ul'); - - if (object.compact === true) { - ul.classList.add('satus-list'); - ul.classList.add('satus-list--compact'); - } - - for (var key in object) { - if (satus.isset(object[key].type)) { - var li = document.createElement('li'); - - if (object.sortable === true) { - function mousedown(event) { - if (event.button === 0) { - var self = this, - dragging = false, - clone = false, - current_index = Array.from(self.parentNode.children).indexOf(self), - bounding = this.getBoundingClientRect(), - first_x = event.clientX, - first_y = event.clientY, - offset_x = event.clientX - bounding.left, - offset_y = event.clientY - bounding.top; - - function mousemove(event) { - if (Math.abs(first_y - event.clientY) <= 5) { - return false; - } - - if (dragging === false) { - clone = satus.clone(self); - - clone.style.position = 'fixed'; - clone.style.pointerEvents = 'none'; - clone.style.backgroundColor = '#fff'; - self.style.visibility = 'hidden'; - - document.body.appendChild(clone); - - dragging = true; - } - - var x = bounding.left, //event.clientX - offset_x - y = event.clientY - offset_y, - index = Math.floor(y / self.offsetHeight) - 1; - - clone.style.left = x + 'px'; - clone.style.top = y + 'px'; - - if (index !== current_index) { - var new_clone = self.cloneNode(true); - - index = Math.max(Math.min(index, self.parentNode.children.length - 1), 0); - - if (index > 0) { - if (index > current_index) { - self.parentNode.insertBefore(new_clone, self.parentNode.children[index].nextSibling); - } else { - self.parentNode.insertBefore(new_clone, self.parentNode.children[index]); - } - } else { - self.parentNode.insertBefore(new_clone, self.parentNode.children[index]); - } - - self.remove(); - - self = new_clone; - - self.addEventListener('mousedown', mousedown); - - if (typeof object.onchange === 'function') { - object.onchange(current_index, index); - } - - current_index = index; - } - } - - function mouseup(event) { - if (clone) { - clone.remove(); - self.style.visibility = ''; - } - - if (typeof object.onend === 'function') { - object.onend(); - } - - window.removeEventListener('mousemove', mousemove); - window.removeEventListener('mouseup', mouseup); - } - - window.addEventListener('mousemove', mousemove); - window.addEventListener('mouseup', mouseup); - } - } - - li.addEventListener('mousedown', mousedown); - } - - satus.render(object[key], li); - - ul.appendChild(li); - } - } - - return ul; -}; -/*--------------------------------------------------------------- ->>> MAIN ----------------------------------------------------------------*/ - -satus.components.main = function(object) { - var component = document.createElement('main'); - - component.history = [object]; - - function create(self, animation, callback) { - var container = self.querySelector('.satus-main__container'), - component_container = document.createElement('div'), - component_scrollbar = satus.components.scrollbar(component_container), - object = self.history[self.history.length - 1]; - - component_container.className = 'satus-main__container'; - - if (animation === 2) { - container.classList.add('satus-animation--fade-out-left'); - component_container.className = 'satus-main__container satus-animation--fade-in-right'; - } else if (animation === 1) { - self.history.pop(); - - object = self.history[self.history.length - 1]; - - container.classList.add('satus-animation--fade-out-right'); - component_container.className = 'satus-main__container satus-animation--fade-in-left'; - } - - document.body.dataset.appearance = object.appearanceKey; - component_container.dataset.appearance = object.appearanceKey; - - for (var key in object) { - satus.render(object[key], object.scrollbar === false ? component : component_scrollbar); - } - - if (object.scrollbar !== false) { - self.appendChild(component_container); - } - - if (self.historyListener) { - self.historyListener(component_container); - } - - if (object.onopen || callback) { - component_scrollbar.onopen = object.onopen || callback; - - component_scrollbar.onopen(); - } - - if (container) { - setTimeout(function() { - container.remove(); - }, satus.getAnimationDuration(container)); - } - } - - create(component, 0); - - component.back = function() { - create(this, 1); - }; - - component.open = function(element, callback) { - this.history.push(element); - - create(this, 2, callback); - }; - - if (object.on && object.on.change || object.onchange) { - component.historyListener = object.on && object.on.change || object.onchange; - - component.historyListener(component.querySelector('.satus-main__container')); - } - - return component; -}; -/*--------------------------------------------------------------- ->>> RADIO GROUP ----------------------------------------------------------------*/ - -satus.components.radioGroup = function(element) { - var element = Object.assign({}, element), - component = document.createElement('div'); - - for (var key in element.radios) { - var item = element.radios[key]; - - item.type = 'button'; - item.variant = 'radio'; - - component.appendChild(satus.render(item)); - } - - return component; -}; -/*----------------------------------------------------------------------------- ->>> SCROLL BAR ------------------------------------------------------------------------------*/ - -satus.components.scrollbar = function(parent, enabled) { - if (enabled === false) { - return parent; - } - - var component = document.createElement('div'), - component_wrapper = document.createElement('div'), - component_content = document.createElement('div'), - component_thumb = document.createElement('div'); - - component.className = 'satus-scrollbar'; - component_wrapper.className = 'satus-scrollbar__wrapper'; - component_content.className = 'satus-scrollbar__content'; - component_thumb.className = 'satus-scrollbar__thumb'; - - - // RESIZE - - function resize() { - component_content.style.width = component.offsetWidth + 'px'; - component_wrapper.style.height = component.offsetHeight + 'px'; - - if (component_wrapper.scrollHeight > component_wrapper.offsetHeight) { - component_thumb.style.height = component_wrapper.offsetHeight / component_wrapper.scrollHeight * component_wrapper.offsetHeight + 'px'; - } - } - - window.addEventListener('resize', resize); - - new MutationObserver(resize).observe(component_content, { - subtree: true, - childList: true - }); - - - // HOVER - - component.timeout = false; - - function active() { - if (component.timeout) { - clearTimeout(component.timeout); - - component.timeout = false; - } - - component.classList.add('active'); - - component.timeout = setTimeout(function() { - component.classList.remove('active'); - - component.timeout = false; - }, 1000); - } - - component.addEventListener('mousemove', active); - - - // SCROLL - - component_wrapper.addEventListener('scroll', function(event) { - active(); - - component_thumb.style.top = Math.floor(component_wrapper.scrollTop * (component_wrapper.offsetHeight - component_thumb.offsetHeight) / (component_wrapper.scrollHeight - component_wrapper.offsetHeight)) + 'px'; - - if (this.parentNode.parentNode.parentNode.skelet.onscroll) { - this.parentNode.parentNode.parentNode.skelet.onscroll(event); - } - }); - - component_thumb.addEventListener('mousedown', function(event) { - var offsetY = event.layerY; - - if (event.button !== 0) { - return false; - } - - function mousemove(event) { - var offset = 100 / ((component.offsetHeight - component_thumb.offsetHeight) / (event.clientY - offsetY - component.getBoundingClientRect().top)), - scroll = component_wrapper.scrollHeight - component.offsetHeight; - - component_wrapper.scrollTop = scroll / 100 * offset; - - event.preventDefault(); - - return false; - } - - function mouseup() { - window.removeEventListener('mouseup', mouseup); - window.removeEventListener('mousemove', mousemove); - } - - window.addEventListener('mouseup', mouseup); - window.addEventListener('mousemove', mousemove); - }); - - component_wrapper.appendChild(component_content); - component.appendChild(component_wrapper); - component.appendChild(component_thumb); - - parent.appendChild(component); - - return component_content; -}; -/*--------------------------------------------------------------- ->>> SECTION ----------------------------------------------------------------*/ - -satus.components.section = function(element) { - var component = document.createElement('section'); - - for (var key in element) { - satus.render(element[key], component); - } - - return component; -}; - -/*--------------------------------------------------------------- ->>> SELECT ----------------------------------------------------------------*/ - -satus.components.select = function(element) { - var skelet = { - type: 'button', - label: element.label, - onclick: { - type: 'dialog' - } - }, - value = document.createElement('span'); - - value.className = 'satus-button__value'; - - for (var key in element.options) { - skelet.onclick[key] = element.options[key]; - - skelet.onclick[key].type = 'button'; - skelet.onclick[key].variant = 'list-item'; - skelet.onclick[key].parentValue = value; - skelet.onclick[key].dataset = { - key: element.options[key].label, - value: element.options[key].value - }; - skelet.onclick[key].onclick = function() { - this.parentValue.parentNode.querySelector('.satus-button__value').innerText = satus.locale.getMessage(this.dataset.key); - - satus.storage.set(component.dataset.storageKey, this.dataset.value); - - if (typeof element.onchange === 'function') { - element.onchange(this.dataset.key, this.dataset.value); - } - - var parent = this.parentNode; - - while (!parent.classList.contains('satus-dialog')) { - parent = parent.parentNode; - } - - parent.querySelector('.satus-dialog__scrim').click(); - }; - } - - var component = satus.render(skelet); - - component.className = 'satus-button ' + (element.variant ? 'satus-button--' + element.variant : '') + ' satus-button--select'; - - if (element.storage_key) { - var storage_value = satus.storage.get(element.storage_key); - - component.dataset.storageKey = element.storage_key; - - for (var i = 0, l = element.options.length; i < l; i++) { - if (storage_value === element.options[i].value) { - storage_value = element.options[i].label; - } - } - - value.innerText = satus.locale.getMessage(storage_value || element.options[0].label); - } - - component.appendChild(value); - - return component; -}; -/*--------------------------------------------------------------- ->>> SHORTCUT ----------------------------------------------------------------*/ - -satus.components.shortcut = function(object) { - var component = document.createElement('div'), - value, - options = object.options || {}, - mousewheel_timeout = false, - mousewheel_only = false; - - try { - value = JSON.parse(satus.storage.get(object.storage_key)); - } catch (err) { - value = object.value || {}; - } - - function renderValue() { - var keys_value = []; - - if (value.altKey === true) { - keys_value.push('
Alt
'); - } - - if (value.ctrlKey === true) { - keys_value.push('
Ctrl
'); - } - - if (value.shiftKey === true) { - keys_value.push('
Shift
'); - } - - if (value.key === ' ') { - keys_value.push('
Space bar
'); - - } else if (typeof value.key === 'string' && ['Shift', 'Control', 'Alt'].indexOf(value.key) === -1) { - if (value.key === 'ArrowUp') { - keys_value.push('
'); - } else if (value.key === 'ArrowRight') { - keys_value.push('
'); - } else if (value.key === 'ArrowDown') { - keys_value.push('
'); - } else if (value.key === 'ArrowLeft') { - keys_value.push('
'); - } else { - keys_value.push('
' + value.key.toUpperCase() + '
'); - } - } - - if (value.wheel) { - keys_value.push('
'); - } - - if (value.click) { - keys_value.push('
'); - } - - if (value.context) { - keys_value.push('
'); - } - - return keys_value.join('
'); - } - - if (satus.isset(object.label)) { - var label = document.createElement('div'); - - label.className = 'satus-shortcut__label'; - - label.innerText = satus.locale.getMessage(object.label); - - component.appendChild(label); - } - - if (options.hide_value !== true) { - var component_value = document.createElement('div'); - - component_value.className = 'satus-shortcut__value'; - - component_value.innerHTML = renderValue(); - - component.appendChild(component_value); - } - - component.addEventListener('click', function() { - var component_dialog = document.createElement('div'), - component_scrim = document.createElement('div'), - component_surface = document.createElement('div'), - component_canvas = document.createElement('div'), - component_section = document.createElement('section'), - button_reset = document.createElement('button'), - button_cancel = document.createElement('button'), - button_save = document.createElement('button'); - - component_dialog.className = 'satus-dialog satus-dialog_open'; - component_scrim.className = 'satus-dialog__scrim'; - component_surface.className = 'satus-dialog__surface satus-dialog__surface_shortcut'; - component_canvas.className = 'satus-shortcut__canvas'; - component_section.className = 'satus-section satus-section--actions'; - button_reset.className = 'satus-button'; - button_cancel.className = 'satus-button'; - button_save.className = 'satus-button'; - - button_reset.innerText = satus.locale.getMessage('reset'); - button_cancel.innerText = satus.locale.getMessage('cancel'); - button_save.innerText = satus.locale.getMessage('save'); - - component_canvas.innerHTML = renderValue(); - - function keydown(event) { - event.preventDefault(); - event.stopPropagation(); - - mousewheel_only = false; - clearTimeout(mousewheel_timeout); - - value = { - key: event.key, - keyCode: event.keyCode, - shiftKey: event.shiftKey, - ctrlKey: event.ctrlKey, - altKey: event.altKey, - click: false, - context: false, - wheel: false - }; - - component_canvas.innerHTML = renderValue(); - - return false; - } - - function mousewheel(event) { - event.stopPropagation(); - - if (mousewheel_only === true) { - delete value.shiftKey; - delete value.altKey; - delete value.ctrlKey; - delete value.keyCode; - delete value.key; - } - - value.click = false; - value.context = false; - - clearTimeout(mousewheel_timeout); - - mousewheel_timeout = setTimeout(function() { - mousewheel_only = true; - }, 300); - - value.wheel = event.deltaY; - - component_canvas.innerHTML = renderValue(); - - return false; - } - - component_canvas.addEventListener('click', function(event) { - event.stopPropagation(); - - if (mousewheel_only === true) { - delete value.shiftKey; - delete value.altKey; - delete value.ctrlKey; - delete value.keyCode; - delete value.key; - } - - value.wheel = false; - value.context = false; - - clearTimeout(mousewheel_timeout); - - mousewheel_timeout = setTimeout(function() { - mousewheel_only = true; - }, 300); - - value.click = true; - - component_canvas.innerHTML = renderValue(); - - return false; - }); - - component_canvas.addEventListener('contextmenu', function(event) { - event.stopPropagation(); - event.preventDefault(); - - if (mousewheel_only === true) { - delete value.shiftKey; - delete value.altKey; - delete value.ctrlKey; - delete value.keyCode; - delete value.key; - } - - value.wheel = false; - value.click = false; - - clearTimeout(mousewheel_timeout); - - mousewheel_timeout = setTimeout(function() { - mousewheel_only = true; - }, 300); - - value.context = true; - - component_canvas.innerHTML = renderValue(); - - return false; - }); - - window.addEventListener('keydown', keydown); - window.addEventListener('mousewheel', mousewheel); - - function close() { - window.removeEventListener('keydown', keydown); - window.removeEventListener('mousewheel', mousewheel); - - component_dialog.classList.remove('satus-dialog_open'); - - mousewheel_timeout = false; - mousewheel_only = false; - - setTimeout(function() { - component_dialog.remove(); - }, Number(document.defaultView.getComputedStyle(component_dialog, '').getPropertyValue('animation-duration').replace(/[^0-9.]/g, '') * 1000)); - } - - component_scrim.addEventListener('click', close); - - button_reset.addEventListener('click', function() { - satus.storage.set(object.storage_key, null); - value = (satus.storage.get(object.storage_key) ? JSON.parse(satus.storage.get(object.storage_key)) : false) || object.value || {}; - component_value.innerHTML = renderValue(); - close(); - }); - - button_cancel.addEventListener('click', function() { - value = (satus.storage.get(object.storage_key) ? JSON.parse(satus.storage.get(object.storage_key)) : false) || object.value || {}; - close(); - }); - - button_save.addEventListener('click', function() { - if (document.querySelector('.satus-shortcut__custom > *')) { - var items = document.querySelectorAll('.satus-shortcut__custom > *'); - - for (var i = 0, l = items.length; i < l; i++) { - value[items[i].storage_key] = items[i].value; - } - } - - satus.storage.set(object.storage_key, JSON.stringify(value)); - - if (typeof object.onchange === 'function') { - object.onchange(object, value); - } - - close(); - }); - - component_section.appendChild(button_reset); - component_section.appendChild(button_cancel); - component_section.appendChild(button_save); - - component_surface.appendChild(component_canvas); - - if (object.custom_data) { - var custom = document.createElement('section'); - - custom.className = 'satus-shortcut__custom'; - - satus.render(object.custom_data, custom); - - component_surface.appendChild(custom); - } - - component_surface.appendChild(component_section); - - component_dialog.appendChild(component_scrim); - component_dialog.appendChild(component_surface); - - document.body.appendChild(component_dialog); - }); - - return component; -}; - -/*--------------------------------------------------------------- ->>> SLIDER ----------------------------------------------------------------*/ - -satus.components.slider = function(element) { - var component = document.createElement('div'); - - // LABEL - if (satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-slider__label'; - component_label.innerText = satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - - // RANGE - var component_range = document.createElement('input'); - - component_range.type = 'range'; - component_range.className = 'satus-slider__range'; - component_range.min = element.min || 0; - component_range.max = element.max || 10; - component_range.step = element.step || 1; - - component_range.oninput = function() { - var track = this.parentNode.querySelector('.satus-slider__track'), - thumb = this.parentNode.querySelector('.satus-slider__thumb'), - min = Number(this.min) || 0, - max = Number(this.max) || 1, - step = Number(this.step) || 1, - value = Number(this.value) || 0, - offset = (value - min) / (max - min) * 100; - - track.style.width = 'calc(' + offset + '% - ' + Math.floor(offset * 12 / 100) + 'px)'; - - satus.storage.set(this.dataset.storageKey, Number(this.value)); - - component_thumb.dataset.value = this.value; - - if (component.onchange) { - component.onchange(Number(this.value)); - } - }; - - component.change = function(value) { - component_range.value = value; - - component_thumb.dataset.value = value; - - component_range.oninput(); - }; - - component.addEventListener('mousedown', function() { - function mousemove() { - component.classList.add('satus-slider--dragging'); - } - - function mouseup() { - component.classList.remove('satus-slider--dragging'); - - window.removeEventListener('mousemove', mousemove); - window.removeEventListener('mouseup', mouseup); - } - - window.addEventListener('mousemove', mousemove); - window.addEventListener('mouseup', mouseup); - }); - - if (element.onchange) { - component.onchange = element.onchange; - } - - component.appendChild(component_range); - - - // CONTAINER - var component_container = document.createElement('div'); - - component_container.className = 'satus-slider__container'; - - component.appendChild(component_container); - - - // TRACK - var component_track_container = document.createElement('div'), - component_track = document.createElement('div'); - - component_track_container.className = 'satus-slider__track-container'; - component_track.className = 'satus-slider__track'; - - component_track_container.appendChild(component_track); - component_container.appendChild(component_track_container); - - - // FOCUS RING - var component_ring = document.createElement('div'); - - component_ring.className = 'satus-slider__ring'; - - component_track.appendChild(component_ring); - - - // THUMB - var component_thumb = document.createElement('div'); - - component_thumb.className = 'satus-slider__thumb'; - - component_track.appendChild(component_thumb); - - if (element.storage_key) { - var value = satus.storage.get(element.storage_key) || element.value; - - component_range.dataset.storageKey = element.storage_key; - - if (value) { - component_range.value = value; - - if (!satus.isset(value)) { - value = element.value; - } - - var offset = (Number(component_range.value) - Number(component_range.min)) / (Number(component_range.max) - Number(component_range.min)) * 100; - - component_track.style.width = 'calc(' + offset + '% - ' + Math.floor(offset * 12 / 100) + 'px)'; - component_thumb.dataset.value = value; - } else { - component_range.value = 0; - component_thumb.dataset.value = 0; - } - } - - - return component; -}; -/*--------------------------------------------------------------- ->>> SWITCH ----------------------------------------------------------------*/ - -satus.components.switch = function(element) { - var component = document.createElement('div'); - - // LABEL - if (satus.isset(element.label)) { - var label = document.createElement('span'); - - label.className = 'satus-switch__label'; - label.innerText = satus.locale.getMessage(element.label); - - component.appendChild(label); - } - - - // INPUT - var component_input = document.createElement('input'); - - component_input.type = 'checkbox'; - component_input.className = 'satus-switch__input'; - - if (element.storage_key && element.storage !== false) { - component.value = satus.storage.get(element.storage_key); - - component_input.dataset.storageKey = element.storage_key; - } - - if (!satus.isset(component.value)) { - component.value = element.value; - } - - if (component.value && element.storage !== false) { - component_input.checked = component.value; - } - - component_input.addEventListener('change', function() { - component.value = this.checked; - - if (element.storage !== false) { - satus.storage.set(this.dataset.storageKey, this.checked); - } - }); - - component.appendChild(component_input); - - - // TRACK - var component_value = document.createElement('div'), - component_track = document.createElement('div'); - - component_value.className = 'satus-switch__value'; - component_track.className = 'satus-switch__track'; - - component_value.appendChild(component_track); - component.appendChild(component_value); - - - // MOUSE MOVE - component_track.addEventListener('mousedown', function(event) { - var prevent = false, - difference = 0; - - function click(event) { - event.preventDefault(); - event.stopPropagation(); - - component.removeEventListener('click', click); - - return false; - } - - function mousemove(event) { - var checkbox = component.querySelector('input'), - movement = event.movementX; - - if (movement * difference < 0) { - difference = 0; - } else { - difference += movement; - - if (prevent === false) { - prevent = true; - component.addEventListener('click', click); - } - } - - if (difference < -5) { - checkbox.checked = false; - } else if (difference > 5) { - checkbox.checked = true; - } - } - - function mouseup(event) { - window.removeEventListener('mousemove', mousemove); - window.removeEventListener('mouseup', mouseup); - } - - window.addEventListener('mousemove', mousemove); - window.addEventListener('mouseup', mouseup); - }); - - - // TOUCH MOVE - component_track.addEventListener('touchstart', function(event) { - var previous_x = 0, - difference = 0; - - function mousemove(event) { - var checkbox = component.querySelector('input'), - movement = event.touches[0].clientX - previous_x; - - previous_x = event.touches[0].clientX; - - if (movement * difference < 0) { - difference = 0; - } else { - difference += movement; - } - - if (difference < -5) { - checkbox.checked = false; - } else if (difference > 5) { - checkbox.checked = true; - } - } - - function mouseup(event) { - window.removeEventListener('touchmove', mousemove); - window.removeEventListener('touchend', mouseup); - } - - window.addEventListener('touchmove', mousemove); - window.addEventListener('touchend', mouseup); - }); - - - return component; -}; - -satus.components.table = function(item) { - var component = document.createElement('div'), - component_head = document.createElement('div'), - component_body = document.createElement('div'), - component_scrollbar = satus.components.scrollbar(component_body, item.scrollbar), - table = document.createElement('div'); - - table.className = 'satus-table__container'; - component_head.className = 'satus-table__head'; - component_body.className = 'satus-table__body'; - - function update(data) { - var pages = item.pages, - start = Math.max((component.pagingIndex - 1) * component.paging, 0), - end = component.pagingIndex * component.paging; - - if (end > data.length) { - end = data.length; - } else if (end === 0) { - end = component.paging; - } - - table.innerHTML = ''; - - if (data) { - for (var i = start, l = end; i < l; i++) { - if (data[i]) { - var tr = document.createElement('div'); - - tr.className = 'satus-table__row'; - - for (var j = 0, k = data[i].length; j < k; j++) { - var td = document.createElement('div'); - - - td.className = 'satus-table__cell'; - - if (data[i][j].html) { - td.innerHTML = data[i][j].html; - } else if (data[i][j].text) { - td.innerText = data[i][j].text; - } - - if (item.columns[j].onrender) { - td.onrender = item.columns[j].onrender; - - td.onrender(); - } - - tr.appendChild(td); - } - - table.appendChild(tr); - } - } - } - - component.pagingUpdate(); - } - - function sortArray(array, index, mode) { - if (array[0]) { - if (mode === 'asc') { - if (typeof array[0][index].text === 'number') { - sorted = array.sort(function(a, b) { - return a[index].text - b[index].text; - }); - } else { - sorted = array.sort(function(a, b) { - return a[index].text.localeCompare(b[index].text); - }); - } - } else { - if (typeof array[0][index].text === 'number') { - sorted = array.sort(function(a, b) { - return b[index].text - a[index].text; - }); - } else { - sorted = array.sort(function(a, b) { - return b[index].text.localeCompare(a[index].text); - }); - } - } - } - - return array; - } - - function sort() { - var mode = this.dataset.sorting, - index = Array.prototype.indexOf.call(this.parentElement.children, this), - sorted; - - if (component.data[0][index] && component.data[0][index].hasOwnProperty('text')) { - if (mode === 'none') { - mode = 'asc'; - } else if (mode === 'asc') { - mode = 'desc'; - } else if (mode === 'desc') { - mode = 'asc'; - } - - if (this.parentNode.querySelector('div[data-sorting=asc], div[data-sorting=desc]')) { - this.parentNode.querySelector('div[data-sorting=asc], div[data-sorting=desc]').dataset.sorting = 'none'; - } - - this.dataset.sorting = mode; - - sorted = sortArray(component.data, index, mode); - - update(sorted); - } else { - this.dataset.sorting = false; - } - } - - function resize() {} - - for (var i = 0, l = item.columns.length; i < l; i++) { - var column = document.createElement('div'); - - column.dataset.sorting = 'none'; - column.addEventListener('click', sort); - column.addEventListener('click', function() { - if (typeof item.beforeUpdate === 'function') { - item.beforeUpdate(item); - } - }); - column.innerHTML = '' + satus.locale.getMessage(item.columns[i].title) + ''; - - component_head.appendChild(column); - } - - component_scrollbar.appendChild(table); - - component.appendChild(component_head); - component.appendChild(component_body); - - component.data = item.data; - component.paging = item.paging; - component.pages = item.pages; - component.pagingIndex = 1; - - component.update = function(data, update_pages) { - if (satus.isset(data)) { - this.data = data; - } - - if (update_pages !== false) { - item.pages = Math.ceil(this.data.length / this.paging); - } - - if (this.querySelector('div[data-sorting=asc], div[data-sorting=desc]')) { - var mode = this.querySelector('div[data-sorting=asc], div[data-sorting=desc]').dataset.sorting, - index = Array.prototype.indexOf.call(this.querySelector('div[data-sorting=asc], div[data-sorting=desc]').parentElement.children, this.querySelector('div[data-sorting=asc], div[data-sorting=desc]')); - - update(sortArray(this.data, index, mode)); - } else { - for (var i = 0, l = item.columns.length; i < l; i++) { - if (item.columns[i].hasOwnProperty('sorting')) { - if (this.data[0][i].hasOwnProperty('text')) { - this.querySelectorAll('.satus-table__head > div')[i].dataset.sorting = item.columns[i].sorting; - } else { - this.querySelectorAll('.satus-table__head > div')[i].dataset.sorting = false; - } - - update(sortArray(this.data, i, item.columns[i].sorting)); - - i = l; - } - } - } - }; - - - // PAGING - function pagingButton(i, c) { - var button = document.createElement('button'); - - if (i === component.pagingIndex) { - button.className = 'active'; - } - - button.innerText = i; - button.parentComponent = component; - button.addEventListener('click', function() { - if (typeof item.beforeUpdate === 'function') { - item.beforeUpdate(item); - } - - this.parentComponent.pagingIndex = Number(this.innerText); - this.parentComponent.update(this.parentComponent.data); - this.parentComponent.pagingUpdate(); - }); - - c.appendChild(button); - } - - function pagingUpdate() { - if (typeof this.paging === 'number') { - var pages = item.pages, - c = this.querySelector('.satus-table__paging'); - - c.innerHTML = ''; - - if (pages > 1) { - pagingButton(1, c); - - if (component.pagingIndex - 2 > 2) { - var span = document.createElement('span'); - - span.innerText = '...'; - - c.appendChild(span); - } - - for (var i = component.pagingIndex - 2 < 2 ? 2 : component.pagingIndex - 2, l = component.pagingIndex + 2 > pages - 1 ? pages - 1 : component.pagingIndex + 2; i <= l; i++) { - pagingButton(i, c); - } - - if (component.pagingIndex + 2 < pages - 1) { - var span = document.createElement('span'); - - span.innerText = '...'; - - c.appendChild(span); - } - - pagingButton(pages, c); - } - } - - resize(); - } - - component.pagingUpdate = pagingUpdate; - - component_paging = document.createElement('div'); - - component_paging.className = 'satus-table__paging'; - - component_scrollbar.appendChild(component_paging); - - // END PAGING - - if (item.data) { - component.update(item.data, false); - } - - return component; -}; - -/*--------------------------------------------------------------- ->>> TABS ----------------------------------------------------------------*/ - -satus.components.tabs = function(object) { - var component = document.createElement('div'), - tabbar = document.createElement('div'), - tabbar_select = document.createElement('div'), - main = document.createElement('div'), - i = 0; - - tabbar.className = 'satus-tabs__bar'; - main.className = 'satus-tabs__main'; - tabbar_select.className = 'satus-tabs__bar--select'; - - tabbar.appendChild(tabbar_select); - - function update() { - var index = Number(this.dataset.key); - - tabbar_select.style.left = this.offsetLeft + 'px'; - - if (this.parentNode.querySelector('.active')) { - var prev_index = Number(this.parentNode.querySelector('.active').dataset.key); - - this.parentNode.querySelector('.active').classList.remove('active'); - } - - this.classList.add('active'); - - var container = document.createElement('div'); - - container.className = 'satus-tabs__tab'; - - satus.render(this.menu, container); - - if (main.children.length >= 1) { - container.classList.add(index > prev_index ? 'satus-animation--fade-in-right' : 'satus-animation--fade-in-left'); - - main.children[0].classList.add('old'); - main.children[0].classList.add(index > prev_index ? 'satus-animation--fade-out-left' : 'satus-animation--fade-out-right'); - - main.appendChild(container); - - setTimeout(function() { - main.children[0].remove(); - - container.classList.remove(index > prev_index ? 'satus-animation--fade-in-right' : 'satus-animation--fade-in-left'); - }, 250); - } else { - main.appendChild(container); - } - } - - for (var key in object) { - if (object[key].type === 'tab') { - var tab = document.createElement('div'); - - tab.innerText = satus.locale.getMessage(object[key].label); - tab.dataset.key = i; - tab.onclick = update; - tab.menu = Object.assign({}, object[key]); - - delete tab.menu.type; - - tabbar.appendChild(tab); - - i++; - } - } - - tabbar.children[1].click(); - - component.appendChild(tabbar); - component.appendChild(main); - - return component; -}; - -/*--------------------------------------------------------------- ->>> TEXT ----------------------------------------------------------------*/ - -satus.components.text = function(element) { - var component = document.createElement('span'); - - if (satus.isset(element.label)) { - var component_label = document.createElement('span'); - - component_label.className = 'satus-text__label'; - component_label.innerText = satus.locale.getMessage(element.label); - - component.appendChild(component_label); - } - - if (satus.isset(element.value)) { - var component_value = document.createElement('span'); - - component_value.className = 'satus-text__value'; - component_value.innerText = satus.locale.getMessage(element.value); - - component.appendChild(component_value); - } - - return component; -}; -/*--------------------------------------------------------------- ->>> TEXT FIELD ----------------------------------------------------------------*/ - -satus.components.textField = function(element) { - if (element.rows > 1) { - var component = document.createElement('textarea'); - } else { - var component = document.createElement('input'); - - component.type = 'text'; - } - - return component; -}; - -/*--------------------------------------------------------------- ->>> AES-CTR ------------------------------------------------------------------ -# Encryption -# Decryption ----------------------------------------------------------------*/ - -satus.aes = {}; - -/*--------------------------------------------------------------- -# ENCRYPTION ----------------------------------------------------------------*/ - -satus.aes.encrypt = async function(text, password) { - var iv = crypto.getRandomValues(new Uint8Array(12)), - algorithm = { - name: 'AES-GCM', - iv: iv - }; - - return Array.from(iv).map(b => ('00' + b.toString(16)).slice(-2)).join('') + btoa(Array.from(new Uint8Array(await crypto.subtle.encrypt( - algorithm, - await crypto.subtle.importKey('raw', await crypto.subtle.digest('SHA-256', new TextEncoder().encode(password)), algorithm, false, ['encrypt']), - new TextEncoder().encode(text) - ))).map(byte => String.fromCharCode(byte)).join('')); -}; - - -/*--------------------------------------------------------------- -# DECRYPTION ----------------------------------------------------------------*/ - -satus.aes.decrypt = async function(text, password) { - var iv = text.slice(0, 24).match(/.{2}/g).map(byte => parseInt(byte, 16)), - algorithm = { - name: 'AES-GCM', - iv: new Uint8Array(iv) - }; - - try { - var data = new TextDecoder().decode(await crypto.subtle.decrypt( - algorithm, - await crypto.subtle.importKey( - 'raw', - await crypto.subtle.digest('SHA-256', new TextEncoder().encode(password)), - algorithm, - false, - ['decrypt'] - ), - new Uint8Array(atob(text.slice(24)).match(/[\s\S]/g).map(ch => ch.charCodeAt(0))) - )); - } catch (err) { - return false; - } - - return data; -}; -/*--------------------------------------------------------------- -# CLONE ----------------------------------------------------------------*/ - -satus.clone = function(target) { - var node = target.cloneNode(true); - - function update(node, target) { - node.style.cssText = window.getComputedStyle(target, '').cssText; - - for (var i = 0, l = target.children.length; i < l; i++) { - update(node.children[i], target.children[i]); - } - } - - update(node, target); - - return node; -}; -/*--------------------------------------------------------------- ->>> COLOR ------------------------------------------------------------------ -# Keywords -# Convert RGB to HEX -# Convert RGB to HSL -# Convert HEX to RGB -# Convert HEX to HSL -# Convert HSL to RGB -# Convert HSL to HEX ----------------------------------------------------------------*/ - -satus.color = {}; - - -/*--------------------------------------------------------------- -# KEYWORDS ----------------------------------------------------------------*/ - -satus.color.keywords = { - aliceblue: 0xF0F8FF, - antiquewhite: 0xFAEBD7, - aqua: 0x00FFFF, - aquamarine: 0x7FFFD4, - azure: 0xF0FFFF, - beige: 0xF5F5DC, - bisque: 0xFFE4C4, - black: 0x000000, - blanchedalmond: 0xFFEBCD, - blue: 0x0000FF, - blueviolet: 0x8A2BE2, - brown: 0xA52A2A, - burlywood: 0xDEB887, - cadetblue: 0x5F9EA0, - chartreuse: 0x7FFF00, - chocolate: 0xD2691E, - coral: 0xFF7F50, - cornflowerblue: 0x6495ED, - cornsilk: 0xFFF8DC, - crimson: 0xDC143C, - cyan: 0x00FFFF, - darkblue: 0x00008B, - darkcyan: 0x008B8B, - darkgoldenrod: 0xB8860B, - darkgray: 0xA9A9A9, - darkgreen: 0x006400, - darkgrey: 0xA9A9A9, - darkkhaki: 0xBDB76B, - darkmagenta: 0x8B008B, - darkolivegreen: 0x556B2F, - darkorange: 0xFF8C00, - darkorchid: 0x9932CC, - darkred: 0x8B0000, - darksalmon: 0xE9967A, - darkseagreen: 0x8FBC8F, - darkslateblue: 0x483D8B, - darkslategray: 0x2F4F4F, - darkslategrey: 0x2F4F4F, - darkturquoise: 0x00CED1, - darkviolet: 0x9400D3, - deeppink: 0xFF1493, - deepskyblue: 0x00BFFF, - dimgray: 0x696969, - dimgrey: 0x696969, - dodgerblue: 0x1E90FF, - firebrick: 0xB22222, - floralwhite: 0xFFFAF0, - forestgreen: 0x228B22, - fuchsia: 0xFF00FF, - gainsboro: 0xDCDCDC, - ghostwhite: 0xF8F8FF, - gold: 0xFFD700, - goldenrod: 0xDAA520, - gray: 0x808080, - green: 0x008000, - greenyellow: 0xADFF2F, - grey: 0x808080, - honeydew: 0xF0FFF0, - hotpink: 0xFF69B4, - indianred: 0xCD5C5C, - indigo: 0x4B0082, - ivory: 0xFFFFF0, - khaki: 0xF0E68C, - lavender: 0xE6E6FA, - lavenderblush: 0xFFF0F5, - lawngreen: 0x7CFC00, - lemonchiffon: 0xFFFACD, - lightblue: 0xADD8E6, - lightcoral: 0xF08080, - lightcyan: 0xE0FFFF, - lightgoldenrodyellow: 0xFAFAD2, - lightgray: 0xD3D3D3, - lightgreen: 0x90EE90, - lightgrey: 0xD3D3D3, - lightpink: 0xFFB6C1, - lightsalmon: 0xFFA07A, - lightseagreen: 0x20B2AA, - lightskyblue: 0x87CEFA, - lightslategray: 0x778899, - lightslategrey: 0x778899, - lightsteelblue: 0xB0C4DE, - lightyellow: 0xFFFFE0, - lime: 0x00FF00, - limegreen: 0x32CD32, - linen: 0xFAF0E6, - magenta: 0xFF00FF, - maroon: 0x800000, - mediumaquamarine: 0x66CDAA, - mediumblue: 0x0000CD, - mediumorchid: 0xBA55D3, - mediumpurple: 0x9370DB, - mediumseagreen: 0x3CB371, - mediumslateblue: 0x7B68EE, - mediumspringgreen: 0x00FA9A, - mediumturquoise: 0x48D1CC, - mediumvioletred: 0xC71585, - midnightblue: 0x191970, - mintcream: 0xF5FFFA, - mistyrose: 0xFFE4E1, - moccasin: 0xFFE4B5, - navajowhite: 0xFFDEAD, - navy: 0x000080, - oldlace: 0xFDF5E6, - olive: 0x808000, - olivedrab: 0x6B8E23, - orange: 0xFFA500, - orangered: 0xFF4500, - orchid: 0xDA70D6, - palegoldenrod: 0xEEE8AA, - palegreen: 0x98FB98, - paleturquoise: 0xAFEEEE, - palevioletred: 0xDB7093, - papayawhip: 0xFFEFD5, - peachpuff: 0xFFDAB9, - peru: 0xCD853F, - pink: 0xFFC0CB, - plum: 0xDDA0DD, - powderblue: 0xB0E0E6, - purple: 0x800080, - rebeccapurple: 0x663399, - red: 0xFF0000, - rosybrown: 0xBC8F8F, - royalblue: 0x4169E1, - saddlebrown: 0x8B4513, - salmon: 0xFA8072, - sandybrown: 0xF4A460, - seagreen: 0x2E8B57, - seashell: 0xFFF5EE, - sienna: 0xA0522D, - silver: 0xC0C0C0, - skyblue: 0x87CEEB, - slateblue: 0x6A5ACD, - slategray: 0x708090, - slategrey: 0x708090, - snow: 0xFFFAFA, - springgreen: 0x00FF7F, - steelblue: 0x4682B4, - tan: 0xD2B48C, - teal: 0x008080, - thistle: 0xD8BFD8, - tomato: 0xFF6347, - turquoise: 0x40E0D0, - violet: 0xEE82EE, - wheat: 0xF5DEB3, - white: 0xFFFFFF, - whitesmoke: 0xF5F5F5, - yellow: 0xFFFF00, - yellowgreen: 0x9ACD32 -}; - - -/*--------------------------------------------------------------- -# CONVERT RGB TO HEX ----------------------------------------------------------------*/ - -/*satus.color.rgb = function(value) { - if (typeof value === 'number') { - return [ - value >> 16 & 255, - value >> 8 & 255, - value & 255 - ]; - } else if (typeof value === 'string') { - var match = /^((?:rgb|#|hsl)a?)\(?\s*([^\)]*)\)?/.exec(value), - name = match[1], - components = match[2]; - - if (name === '#') { - if (components.length <= 4) { - return [ - parseInt(components.charAt(0) + components.charAt(0), 16), - parseInt(components.charAt(1) + components.charAt(1), 16), - parseInt(components.charAt(2) + components.charAt(2), 16) - ]; - } else if (components.length <= 7) { - - } - - return [name, components]; - } else if (name === 'hsl' || name === 'hsla') { - return [name, components]; - } - } -};*/ - -satus.color.rgbToHex = function (value) { - if (true) { - - } -}; -/*--------------------------------------------------------------- ->>> LOCALE ------------------------------------------------------------------ -# Get message -# Import locale ----------------------------------------------------------------*/ - -satus.locale = { - messages: {} -}; - - -/*--------------------------------------------------------------- -# GET MESSAGE ----------------------------------------------------------------*/ - -satus.locale.getMessage = function(string) { - return this.messages[string] || string; -}; - -satus.locale.get = satus.locale.getMessage; - - -/*--------------------------------------------------------------- -# IMPORT LOCALE ----------------------------------------------------------------*/ - -satus.locale.import = function(language, callback) { - var xhr = new XMLHttpRequest(); - - if (typeof language === 'function') { - var callback = language; - } - - if (typeof language !== 'string') { - var language = chrome.i18n.getUILanguage(); - } - - xhr.onload = function() { - try { - var object = JSON.parse(this.responseText); - - for (var key in object) { - satus.locale.messages[key] = object[key].message; - } - - callback(language); - } catch (err) { - function listener(request) { - if (request !== null && typeof request === 'object') { - if (request.name === 'translation_response') { - var object = JSON.parse(request.value); - - chrome.runtime.onMessage.removeListener(listener); - - for (var key in object) { - satus.locale.messages[key] = object[key].message; - } - - callback(language); - } - } - } - - chrome.runtime.onMessage.addListener(listener); - - chrome.runtime.sendMessage({ - name: 'translation_request', - path: '_locales/' + language + '/messages.json' - }); - } - }; - - xhr.onerror = function() { - if (language === 'en') { - callback(); - } else { - satus.locale.import('en', callback); - } - }; - - xhr.open('GET', '_locales/' + language + '/messages.json', true); - xhr.send(); -}; -/*--------------------------------------------------------------- ->>> MATH ------------------------------------------------------------------ -# Converts degrees to radians -# Converts radians to degrees -# Random float -# Random integer ----------------------------------------------------------------*/ - -satus.math = { - deg: Math.PI / 180, - rad: 180 / Math.PI -}; - - -/*--------------------------------------------------------------- -# CONVERTS DEGREES TO RADIANS ----------------------------------------------------------------*/ - -satus.math.degToRad = function(deg) { - return deg * this.deg; -}; - - -/*--------------------------------------------------------------- -# CONVERTS RADIANS TO DEGREES ----------------------------------------------------------------*/ - -satus.math.radToDeg = function(rad) { - return rad * this.rad; -}; - - -/*--------------------------------------------------------------- -# RANDOM FLOAT ----------------------------------------------------------------*/ - -satus.math.randFloat = function(min, max) { - return low + Math.random() * (high - low); -}; - - -/*--------------------------------------------------------------- -# RANDOM INTEGER ----------------------------------------------------------------*/ - -satus.math.randInt = function(min, max) { - return low + Math.floor(Math.random() * (high - low + 1)); -}; -/*--------------------------------------------------------------- ->>> RENDER ----------------------------------------------------------------*/ - -satus.render = function(element, container, callback) { - if (typeof container === 'function') { - var callback = container; - - container = undefined; - } - - function convert(object) { - if (object && object.type) { - var type = satus.camelize(object.type), - component = satus.components[type](object), - excluded_properties = ['type', 'label', 'class', 'title', 'storage', 'onclick']; - - function applyProperties(object, target) { - for (var key in object) { - if ( - satus.isset(object[key]) && - typeof object[key] === 'object' && - !object[key].type && - !object.nodeName - ) { - if (typeof target[key] !== 'object') { - target[key] = {}; - } - - applyProperties(object[key], target[key]); - } else if (excluded_properties.indexOf(key) === -1) { - target[key] = object[key]; - } - } - } - - applyProperties(object, component); - - if (satus.isset(component.skelet) === false) { - component.skelet = object; - } - - if (component.className === '') { - component.classList.add('satus-' + object.type); - } - - if (object.class) { - var class_list = object.class.split(' '); - - for (var i = 0, l = class_list.length; i < l; i++) { - component.classList.add(class_list[i]); - } - } - - if (object.variant) { - component.classList.add('satus-' + type + '--' + object.variant); - } - - if (object.before) { - var component_before = document.createElement('span'); - - component_before.innerHTML = object.before; - - for (var i = component_before.children.length - 1; i > -1; i--) { - component.insertBefore(component_before.children[i], component.firstChild); - } - } - - if (object.after) { - var component_after = document.createElement('span'); - - component_after.innerHTML = object.after; - - for (var i = component_after.children.length - 1; i > -1; i--) { - component.appendChild(component_after.children[i]); - } - } - - //(container || document.body).appendChild(component); - - if (satus.isset(container) === true) { - container.appendChild(component) - } - - if (typeof object.onclick === 'object') { - component.addEventListener('click', function() { - satus.render(this.skelet.onclick, document.body); - }); - } else if (typeof object.onclick === 'function') { - component.onclick = object.onclick; - } - - if (satus.isset(satus.events.render)) { - for (var i = 0, l = satus.events.render.length; i < l; i++) { - satus.events.render[i](component, object); - } - } - - if (typeof component.onrender === 'function') { - component.onrender(object); - } - - if (callback) { - callback(); - } - - return component; - } - } - - if (element.type) { - return convert(element); - } else { - for (var key in element) { - convert(element[key]); - } - } -}; -/*----------------------------------------------------------------------------- ->>> «SEARCH» MODULE ------------------------------------------------------------------------------*/ - -satus.search = function(query, object, callback, categories) { - var threads = 0, - button = '', - results = {}; - - function parse(items) { - threads++; - - for (var key in items) { - var item = items[key]; - - if (categories === true && item.type === 'button' && button !== item.label) { - button = item.label; - } - - if (['switch', 'select', 'slider'].indexOf(item.type) !== -1 && key.indexOf(query) !== -1) { - if (categories === true) { - if (!results[button]) { - results[button] = {}; - } - - results[button][key] = item; - } else { - results[key] = item; - } - } - - if (typeof item === 'object') { - parse(item); - } - } - - threads--; - - if (threads === 0) { - callback(results); - } - } - - parse(object); -}; - -/*-------------------------------------------------------------- ->>> STORAGE KEYS ---------------------------------------------------------------*/ - -satus.updateStorageKeys = function(object, callback) { - var threads = 0; - - function parse(items) { - threads++; - - for (var key in items) { - var item = items[key]; - - - if (item.type) { - item.storage_key = key; - } - - if (typeof item === 'object') { - parse(item); - } - } - - threads--; - - if (threads === 0) { - if (callback) { - callback(); - } - } - } - - parse(object); -}; -/*--------------------------------------------------------------- ->>> CHROMIUM STORAGE ------------------------------------------------------------------ -# Get -# Set -# Import -# Clear -# On changed ----------------------------------------------------------------*/ - -satus.storage = { - data: {} -}; - - -/*--------------------------------------------------------------- -# GET ----------------------------------------------------------------*/ - -satus.storage.get = function(name) { - if (satus.isset(name)) { - var target = satus.storage.data; - - name = name.split('/').filter(function(value) { - return value != ''; - }); - - for (var i = 0, l = name.length; i < l; i++) { - if (satus.isset(target[name[i]])) { - target = target[name[i]]; - } else { - return undefined; - } - } - - return target; - } -}; - - -/*--------------------------------------------------------------- -# SET ----------------------------------------------------------------*/ - -satus.storage.set = function(name, value) { - var items = {}, - target = satus.storage.data; - - if (!satus.isset(name)) { - return false; - } - - name = name.split('/').filter(function(value) { - return value != ''; - }); - - for (var i = 0, l = name.length; i < l; i++) { - var item = name[i]; - - if (i < l - 1) { - - if (target[item]) { - target = target[item]; - } else { - target[item] = {}; - - target = target[item]; - } - } else { - target[item] = value; - } - } - - for (var key in satus.storage.data) { - items[key] = satus.storage.data[key]; - } - - chrome.storage.local.set(items); -}; - - -/*--------------------------------------------------------------- -# IMPORT ----------------------------------------------------------------*/ - -satus.storage.import = function(name, callback) { - if (typeof name === 'function') { - chrome.storage.local.get(function(items) { - satus.storage.data = items; - - if (name) { - name(items); - } - }); - } else { - chrome.storage.local.get(name, function(items) { - for (var key in items) { - satus.storage.data[key] = items[key]; - } - - if (callback) { - callback(items[name]); - } - }); - } -}; - - -/*--------------------------------------------------------------- -# CLEAR ----------------------------------------------------------------*/ - -satus.storage.clear = function() { - chrome.storage.local.clear(); - - delete satus.storage.data; -}; - - -/*------------------------------------------------------ -# ON CHANGED -------------------------------------------------------*/ - -satus.storage.onChanged = function(callback) { - chrome.storage.onChanged.addListener(callback); -}; - -/*----------------------------------------------------------------------------- ->>> «USER» MODULE -------------------------------------------------------------------------------- -1.0 Variables -2.0 Software - 2.1 OS - 2.2.1 Name - 2.2.2 Type - 2.2 Browser - 2.2.1 Name - 2.2.2 Version - 2.2.3 Platform - 2.2.4 Languages - 2.2.5 Cookies - 2.2.6 Flash - 2.2.8 Video formats - 2.2.9 Audio formats - 2.2.10 WebGL -3.0 Hardware - 3.1 Screen - 3.2 RAM - 3.3 GPU - 3.4 Cores - 3.5 Touch - 3.6 Connection -4.0 Clearing ------------------------------------------------------------------------------*/ - -satus.user = function() { - /*----------------------------------------------------------------------------- - 1.0 VARIABLES - -----------------------------------------------------------------------------*/ - - var user_agent = navigator.userAgent, - random_cookie = 'ta{t`nX6cMXK,Wsc', - video = document.createElement('video'), - video_formats = { - ogg: 'video/ogg; codecs="theora"', - h264: 'video/mp4; codecs="avc1.42E01E"', - webm: 'video/webm; codecs="vp8, vorbis"', - vp9: 'video/webm; codecs="vp9"', - hls: 'application/x-mpegURL; codecs="avc1.42E01E"' - }, - audio = document.createElement('audio'), - audio_formats = { - mp3: 'audio/mpeg', - mp4: 'audio/mp4', - aif: 'audio/x-aiff' - }, - cvs = document.createElement('canvas'), - ctx = cvs.getContext('webgl'), - data = { - browser: { - audio: null, - cookies: null, - flash: null, - java: null, - languages: null, - name: null, - platform: null, - version: null, - video: null, - webgl: null - }, - os: { - name: null, - type: null - }, - device: { - connection: { - type: null, - speed: null - }, - cores: null, - gpu: null, - max_touch_points: null, - ram: null, - screen: null, - touch: null - } - }; - - - /*----------------------------------------------------------------------------- - 2.0 SOFTWARE - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 2.1.0 OS - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 2.1.1 NAME - -----------------------------------------------------------------------------*/ - - if (navigator.appVersion.indexOf('Win') !== -1) { - if (navigator.appVersion.match(/(Windows 10.0|Windows NT 10.0)/)) { - data.os.name = 'Windows 10'; - } else if (navigator.appVersion.match(/(Windows 8.1|Windows NT 6.3)/)) { - data.os.name = 'Windows 8.1'; - } else if (navigator.appVersion.match(/(Windows 8|Windows NT 6.2)/)) { - data.os.name = 'Windows 8'; - } else if (navigator.appVersion.match(/(Windows 7|Windows NT 6.1)/)) { - data.os.name = 'Windows 7'; - } else if (navigator.appVersion.match(/(Windows NT 6.0)/)) { - data.os.name = 'Windows Vista'; - } else if (navigator.appVersion.match(/(Windows NT 5.1|Windows XP)/)) { - data.os.name = 'Windows XP'; - } else { - data.os.name = 'Windows'; - } - } else if (navigator.appVersion.indexOf('(iPhone|iPad|iPod)') !== -1) { - data.os.name = 'iOS'; - } else if (navigator.appVersion.indexOf('Mac') !== -1) { - data.os.name = 'macOS'; - } else if (navigator.appVersion.indexOf('Android') !== -1) { - data.os.name = 'Android'; - } else if (navigator.appVersion.indexOf('OpenBSD') !== -1) { - data.os.name = 'OpenBSD'; - } else if (navigator.appVersion.indexOf('SunOS') !== -1) { - data.os.name = 'SunOS'; - } else if (navigator.appVersion.indexOf('Linux') !== -1) { - data.os.name = 'Linux'; - } else if (navigator.appVersion.indexOf('X11') !== -1) { - data.os.name = 'UNIX'; - } - - /*----------------------------------------------------------------------------- - 2.1.2 TYPE - -----------------------------------------------------------------------------*/ - - if (navigator.appVersion.match(/(Win64|x64|x86_64|WOW64)/)) { - data.os.type = '64-bit'; - } else { - data.os.type = '32-bit'; - } - - - /*----------------------------------------------------------------------------- - 2.2.0 BROWSER - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 2.2.1 NAME - -----------------------------------------------------------------------------*/ - - if (user_agent.indexOf('Opera') !== -1) { - data.browser.name = 'Opera'; - } else if (user_agent.indexOf('Vivaldi') !== -1) { - data.browser.name = 'Vivaldi'; - } else if (user_agent.indexOf('Edge') !== -1) { - data.browser.name = 'Edge'; - } else if (user_agent.indexOf('Chrome') !== -1) { - data.browser.name = 'Chrome'; - } else if (user_agent.indexOf('Safari') !== -1) { - data.browser.name = 'Safari'; - } else if (user_agent.indexOf('Firefox') !== -1) { - data.browser.name = 'Firefox'; - } else if (user_agent.indexOf('MSIE') !== -1) { - data.browser.name = 'IE'; - } - - - /*----------------------------------------------------------------------------- - 2.2.2 VERSION - -----------------------------------------------------------------------------*/ - - var browser_version = user_agent.match(new RegExp(data.browser.name + '/([0-9.]+)')); - - if (browser_version[1]) { - data.browser.version = browser_version[1]; - } - - - /*----------------------------------------------------------------------------- - 2.2.3 PLATFORM - -----------------------------------------------------------------------------*/ - - data.browser.platform = navigator.platform || null; - - - /*----------------------------------------------------------------------------- - 2.2.4 LANGUAGES - -----------------------------------------------------------------------------*/ - - data.browser.languages = navigator.languages || null; - - - /*----------------------------------------------------------------------------- - 2.2.5 COOKIES - -----------------------------------------------------------------------------*/ - - if (document.cookie) { - document.cookie = random_cookie; - - if (document.cookie.indexOf(random_cookie) !== -1) { - data.browser.cookies = true; - } - } - - - /*----------------------------------------------------------------------------- - 2.2.6 FLASH - -----------------------------------------------------------------------------*/ - - try { - if (new ActiveXObject('ShockwaveFlash.ShockwaveFlash')) { - data.browser.flash = true; - } - } catch (e) { - if (navigator.mimeTypes['application/x-shockwave-flash']) { - data.browser.flash = true; - } - } - - - /*----------------------------------------------------------------------------- - 2.2.7 JAVA - -----------------------------------------------------------------------------*/ - - if (typeof navigator.javaEnabled === 'function' && navigator.javaEnabled()) { - data.browser.java = true; - } - - - /*----------------------------------------------------------------------------- - 2.2.8 VIDEO FORMATS - -----------------------------------------------------------------------------*/ - - if (typeof video.canPlayType === 'function') { - data.browser.video = {}; - - for (var i in video_formats) { - var can_play_type = video.canPlayType(video_formats[i]); - - if (can_play_type === '') { - data.browser.video[i] = false; - } else { - data.browser.video[i] = can_play_type; - } - } - } - - - /*----------------------------------------------------------------------------- - 2.2.9 AUDIO FORMATS - -----------------------------------------------------------------------------*/ - - if (typeof audio.canPlayType === 'function') { - data.browser.audio = {}; - - for (var i in audio_formats) { - var can_play_type = audio.canPlayType(audio_formats[i]); - - if (can_play_type == '') { - data.browser.audio[i] = false; - } else { - data.browser.audio[i] = can_play_type; - } - } - } - - - /*----------------------------------------------------------------------------- - 2.2.10 WEBGL - -----------------------------------------------------------------------------*/ - - if (ctx && ctx instanceof WebGLRenderingContext) { - data.browser.webgl = true; - } - - - /*----------------------------------------------------------------------------- - 3.0 HARDWARE - -----------------------------------------------------------------------------*/ - - /*----------------------------------------------------------------------------- - 3.1 SCREEN - -----------------------------------------------------------------------------*/ - - if (screen) { - data.device.screen = screen.width + 'x' + screen.height; - } - - - /*----------------------------------------------------------------------------- - 3.2 RAM - -----------------------------------------------------------------------------*/ - - if ('deviceMemory' in navigator) { - data.device.ram = navigator.deviceMemory + ' GB'; - } - - - /*----------------------------------------------------------------------------- - 3.3 GPU - -----------------------------------------------------------------------------*/ - - if ( - ctx && - ctx instanceof WebGLRenderingContext && - 'getParameter' in ctx && - 'getExtension' in ctx - ) { - var info = ctx.getExtension('WEBGL_debug_renderer_info'); - - if (info) { - data.device.gpu = ctx.getParameter(info.UNMASKED_RENDERER_WEBGL); - } - } - - - /*----------------------------------------------------------------------------- - 3.4 CORES - -----------------------------------------------------------------------------*/ - - if (navigator.hardwareConcurrency) { - data.device.cores = navigator.hardwareConcurrency; - } - - - /*----------------------------------------------------------------------------- - 3.5 TOUCH - -----------------------------------------------------------------------------*/ - - if ( - window.hasOwnProperty('ontouchstart') || - window.DocumentTouch && document instanceof window.DocumentTouch || - navigator.maxTouchPoints > 0 || - window.navigator.msMaxTouchPoints > 0 - ) { - data.device.touch = true; - data.device.max_touch_points = navigator.maxTouchPoints; - } - - - /*----------------------------------------------------------------------------- - 3.6 CONNECTION - -----------------------------------------------------------------------------*/ - - if (typeof navigator.connection === 'object') { - data.device.connection.type = navigator.connection.effectiveType || null; - - if (navigator.connection.downlink) { - data.device.connection.speed = navigator.connection.downlink + ' Mbps'; - } - } - - - /*----------------------------------------------------------------------------- - 4.0 CLEARING - -----------------------------------------------------------------------------*/ - - video.remove(); - audio.remove(); - cvs.remove(); - - - return data; -}; \ No newline at end of file diff --git a/unstable/src/template/css/header.css b/unstable/src/template/css/header.css deleted file mode 100644 index d86abbf45..000000000 --- a/unstable/src/template/css/header.css +++ /dev/null @@ -1,132 +0,0 @@ -/*--------------------------------------------------------------- ->>> HEADER: ------------------------------------------------------------------ -1.0 Title -3.0 Right section -4.0 Search ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -2.0 TITLE ----------------------------------------------------------------*/ - -html[it-title-version='true'] body[data-appearance='home'] .satus-text--title::after -{ - font: 700 10px sans-serif; - - margin: 0 0 0 4px; - - content: attr(data-version); - - opacity: .6; - color: var(--satus-theme-header-text); -} - - -/*--------------------------------------------------------------- -3.0 RIGHT SECTION ----------------------------------------------------------------*/ - -.satus-section--align-end -{ - justify-content: flex-end; -} - -.satus-section--align-end .satus-button + .satus-button -{ - margin-left: 8px; -} - - -/*--------------------------------------------------------------- -4.0 SEARCH ----------------------------------------------------------------*/ - -.satus-dialog--search -{ - pointer-events: none; -} - -.satus-dialog--search .satus-dialog__scrim -{ - display: none; -} - -.satus-dialog--search .satus-dialog__surface -{ - position: fixed; - top: 11px; - right: 8px; - - visibility: unset; - - width: calc(100% - 62px); - min-width: unset; - max-width: unset; - height: 34px; - padding: 0; - - transform: unset; - animation: unset; - pointer-events: all; - - opacity: unset; - border: 1px solid rgba(0,0,0,.05); - box-shadow: unset; -} - -.satus-dialog--search .satus-dialog__surface .satus-text-field -{ - height: 34px; -} - -.satus-dialog--search .satus-dialog__surface .satus-button -{ - position: absolute; - top: 3px; - right: 3px; - - overflow: hidden; - - width: 32px; - height: 32px; - - border-radius: 50%; -} - -.satus-dialog--search .satus-dialog__surface .satus-button svg -{ - fill: unset; - stroke: currentColor; -} - -body[data-appearance='search'] .satus-switch--red, -body[data-appearance='search'] .satus-switch--dark, -body[data-appearance='search'] .satus-switch--night, -body[data-appearance='search'] .satus-switch--dawn, -body[data-appearance='search'] .satus-switch--sunset, -body[data-appearance='search'] .satus-switch--desert, -body[data-appearance='search'] .satus-switch--plain, -body[data-appearance='search'] .satus-switch--black -{ - width: calc(100% - 16px); - margin: 4px 8px; - - border-radius: 6px; -} - -body[data-appearance='search'] .satus-switch--red .satus-switch__label, -body[data-appearance='search'] .satus-switch--dark .satus-switch__label, -body[data-appearance='search'] .satus-switch--night .satus-switch__label, -body[data-appearance='search'] .satus-switch--dawn .satus-switch__label, -body[data-appearance='search'] .satus-switch--sunset .satus-switch__label, -body[data-appearance='search'] .satus-switch--black .satus-switch__label -{ - color: #fff; -} - -body[data-appearance='search'] .satus-switch--plain .satus-switch__label, -body[data-appearance='search'] .satus-switch--desert .satus-switch__label -{ - color: #222; -} diff --git a/unstable/src/template/css/index.css b/unstable/src/template/css/index.css deleted file mode 100644 index d6a0561f6..000000000 --- a/unstable/src/template/css/index.css +++ /dev/null @@ -1,57 +0,0 @@ -/*--------------------------------------------------------------- ->>> INDEX ------------------------------------------------------------------ -# Fonts -# Basic ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# FONTS ----------------------------------------------------------------*/ - -@font-face -{ - font-family: 'Open Sans'; - - src: url('assets/fonts/OpenSans-Regular.ttf'); -} - -@font-face -{ - font-family: 'Open Sans'; - font-weight: 600; - - src: url('assets/fonts/OpenSans-SemiBold.ttf'); -} - -@font-face -{ - font-family: 'Xanh Mono'; - - src: url('assets/fonts/XanhMono-Regular.ttf'); -} - - -/*--------------------------------------------------------------- -# BASIC ----------------------------------------------------------------*/ - -body -{ - font-family: 'Open Sans', sans-serif; - font-size: 14px; - - display: flex; - overflow: hidden; - flex-direction: column; - - margin: 0; - - background-color: var(--satus-theme-main); -} - -body.improvedtube-page -{ - width: 100vw; - height: 100vh; -} diff --git a/unstable/src/template/css/main.css b/unstable/src/template/css/main.css deleted file mode 100644 index a10be2958..000000000 --- a/unstable/src/template/css/main.css +++ /dev/null @@ -1,117 +0,0 @@ -/*--------------------------------------------------------------- ->>> MAIN ------------------------------------------------------------------ -# Ad ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# AD ----------------------------------------------------------------*/ - -.satus-main .satus-button.satus-button--ad -{ - position: absolute; - z-index: 99; - bottom: 16px; - left: 16px; - - overflow: hidden; - - width: 268px; - height: 38px; - height: 80px; - padding: 8px 16px; - - color: var(--satus-theme-main-text); - border-radius: 8px; - background: #0f1911; - box-shadow: 0 0 3px rgba(0,0,0,.1); - - align-items: center; - justify-content: space-between; -} - -.satus-button--ad .satus-button__label -{ - font-family: 'Xanh Mono', monospace; - font-size: 22px; - - letter-spacing: 1px; - - color: rgba(255,255,255,.9); - text-shadow: 2px 1px 2px rgba(0,0,0,.6); -} - -@keyframes satusSwitchDark -{ - 0% - { - transform: translate(0, 0); - } - 33% - { - transform: translate(20px, 10px); - } - 66% - { - transform: translate(10px, -10px); - } - 100% - { - transform: translate(0, 0); - } -} - -.satus-button--ad::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - animation-name: satusSwitchDark; - animation-duration: 8s; - animation-timing-function: linear; - animation-iteration-count: infinite; - pointer-events: none; - - background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; - background-repeat: no-repeat !important; - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; - background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; - - filter: blur(8px); -} - -html[it-improvedtube-home='list'] .satus-main .satus-button.satus-button--ad -{ - position: relative; - top: 0; - left: 0; - - margin: 16px; -} - -.satus-button--ad:after -{ - position: absolute; - top: 0; - left: -100%; - - width: 100%; - height: 100%; - - content: ''; - transition: .5s; - transition-delay: .2s; - - background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); -} - -.satus-button--ad:hover:after -{ - left: 100%; -} diff --git a/unstable/src/template/css/template-parts/analyzer.css b/unstable/src/template/css/template-parts/analyzer.css deleted file mode 100644 index 915d08ac2..000000000 --- a/unstable/src/template/css/template-parts/analyzer.css +++ /dev/null @@ -1,168 +0,0 @@ -/*----------------------------------------------------------------------------- -# ANALYZER CATEGORY ------------------------------------------------------------------------------*/ - -.analyzer-top-text -{ - font-size: 13px; - - display: flex; - - box-sizing: border-box; - margin: 16px 0 0; - padding: 0 16px; - - background: transparent !important; - - justify-content: space-between; -} - -.analyzer-watch-time -{ - text-transform: uppercase; -} - -.analyzer-today-at -{ - box-sizing: border-box; -} - -.analyzer-container -{ - box-sizing: border-box; - margin: 8px 0 16px; - padding: 16px; - - background: var(--background-0) !important; - box-shadow: 0 0 2px rgba(0, 0, 0, .2); -} - -.analyzer-all-time -{ - font-size: 24px; - font-weight: 400; - - margin-bottom: 8px; - - color: #4c4c4c; -} - -.analyzer-chart -{ - position: relative; - - display: flex; - overflow: hidden; - - box-sizing: border-box; - height: 140px; - margin: 8px 0; - - border-bottom: 1px solid #ccc; - - justify-content: space-between; -} - -.analyzer-chart::before -{ - position: absolute; - top: -78%; - left: -15%; - - width: 125%; - height: 250%; - - content: ''; - transform: rotate(-45deg); - - background: linear-gradient(transparent 50%, rgba(0, 0, 0, .05) 50%); - background-size: 4px 4px; -} - -.analyzer-column -{ - z-index: 1; - - display: flex; - - border-right: 1px solid #ccc; - - flex: 1; -} - -.analyzer-column:first-child -{ - border-left: 1px solid #ccc; -} - -.analyzer-data-column -{ - display: flex; - flex-direction: column; - - justify-content: flex-end; - flex: 1; -} - -.analyzer-data -{ - height: 20px; - margin: 0 1px; - - background-color: #c5c5c5; -} - -.analyzer-data.first -{ - background-color: #1c00db; - - order: 3; -} - -.analyzer-data.second -{ - background-color: #4dd0e1; - - order: 2; -} - -.analyzer-data.third -{ - background-color: #ff9800; - - order: 1; -} - -/*.analyzer-data:first-child -{ - border-top-left-radius: 4px; - border-top-right-radius: 4px; -}*/ -.analyzer-bottom -{ - display: flex; - - margin: 14px 0 0; - - justify-content: space-between; -} - -.analyzer-bottom > div .label -{ - margin: 0 0 2px; -} - -.analyzer-bottom > div:first-child .label -{ - color: #1c00db; -} - -.analyzer-bottom > div:nth-child(2) .label -{ - color: #4dd0e1; -} - -.analyzer-bottom > div:nth-child(3) .label -{ - color: #ff9800; -} diff --git a/unstable/src/template/css/template-parts/appearance.css b/unstable/src/template/css/template-parts/appearance.css deleted file mode 100644 index 85ec76165..000000000 --- a/unstable/src/template/css/template-parts/appearance.css +++ /dev/null @@ -1,129 +0,0 @@ -/*--------------------------------------------------------------- ->>> APPEARANCE ----------------------------------------------------------------*/ - -.satus-main__container[data-appearance='appearance'] .satus-button -{ - position: absolute; - - box-sizing: border-box; - padding: 0; - - transition-duration: .5s; - transition-property: transform, box-shadow; - transform: scale(1); - text-align: center; - - border: 1px solid var(--main-appearance-shadow, #dfdfdf); - border-radius: 6px; - box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0); - - background: var(--satus-theme-section); - - justify-content: center; - align-items: center; -} - -.satus-main__container[data-appearance='appearance'] .satus-button:hover -{ - z-index: 9; - - transition-duration: .25s; - transform: scale(1.03) translate(-8px, -4px); - - box-shadow: 1px 1px 0 0 var(--main-appearance-shadow, #dfdfdf), 2px 2px 0 0 var(--main-appearance-shadow, #dfdfdf), 3px 3px 0 0 var(--main-appearance-shadow, #dfdfdf), 4px 4px 0 0 var(--main-appearance-shadow, #dfdfdf), 5px 6px 4px 0 rgba(0, 0, 0, .1); -} - -.satus-main__container[data-appearance='appearance'] .satus-button--header -{ - top: 16px; - left: 16px; - - width: calc(100% - 32px); - height: 40px; - min-height: auto; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--header:hover -{ - transform: scale(1.03) translate(-9px, -4px); -} - -.satus-main__container[data-appearance='appearance'] .satus-button--player -{ - top: 64px; - left: 16px; - - width: calc(70% - 32px); - height: 96px; - min-height: auto; - - color: #eee; - border-color: #333; - background-color: #444; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--player .label -{ - color: #fff; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--player:hover -{ - transform: scale(1.03) translate(-7px, -4px); - - box-shadow: 1px 1px 0 0 #333, 2px 2px 0 0 #333, 3px 3px 0 0 #333, 4px 4px 0 0 #333, 5px 6px 4px 0 rgba(0, 0, 0, .1); -} - -.satus-main__container[data-appearance='appearance'] .satus-button--details -{ - top: 168px; - left: 16px; - - width: calc(70% - 32px); - height: 56px; - min-height: auto; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--description -{ - top: 13.5rem; - left: 1rem; - - width: calc(70% - 2rem); - height: 3.5rem; - min-height: 3.5rem; -} - -.satus-main__container[data-appearance='appearance'] .satus-button--comments -{ - top: 232px; - left: 16px; - - width: calc(70% - 32px); - height: 80px; - min-height: auto; - - background: var(--satus-theme-section) -} - -.satus-main__container[data-appearance='appearance'] .satus-button--footer -{ - top: 320px; - left: 16px; - - width: calc(70% - 32px); - height: 64px; - min-height: auto; - - background: var(--satus-theme-section) -} - -.satus-main__container[data-appearance='appearance'] .satus-button--sidebar -{ - top: 64px; - left: calc(70% - 8px); - - width: calc(30% - 8px); - height: 160px; -} diff --git a/unstable/src/template/css/template-parts/blacklist.css b/unstable/src/template/css/template-parts/blacklist.css deleted file mode 100644 index 9c3e27515..000000000 --- a/unstable/src/template/css/template-parts/blacklist.css +++ /dev/null @@ -1,102 +0,0 @@ -/*----------------------------------------------------------------------------- -# BLACKLIST CATEGORY ------------------------------------------------------------------------------*/ - -.satus-section.satus-section--blacklist -{ - position: relative; - - overflow: hidden; - flex-direction: column; - - width: calc(100% - 32px); - height: 116px; - margin: 8px 16px 0; - - transition: opacity .25s; - - opacity: 1; - border-radius: 10px; - background-color: #000; - background-position: center; - background-size: cover; - - flex: unset; - align-items: flex-start; -} - -.satus-section.satus-section--blacklist.removing -{ - opacity: 0; -} - -.satus-section.satus-section--blacklist::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - margin: 0; - - content: ''; - - background: rgba(0, 0, 0, .5); -} - -.satus-section.satus-section--blacklist > .label -{ - font-size: 16px; - font-weight: 700; - - position: absolute; - z-index: 1; - bottom: 28px; - - text-transform: uppercase; - - opacity: 1; - color: #fff; -} - -.satus-section.satus-section--blacklist::after -{ - position: absolute; - z-index: 1; - bottom: 16px; - left: 16px; - - content: attr(data-label); - - color: rgba(255, 255, 255, .5); -} - -.satus-section.satus-section--blacklist > .satus-section -{ - position: absolute; - z-index: 999; - bottom: 0; - - visibility: hidden; - - width: 100%; - margin: 0; - padding: 0; - - transition: .15s; - - opacity: 0; - border: none; - border-radius: 0; - background: rgba(255, 255, 255, .95); - - justify-content: center; -} - -.satus-section.satus-section--blacklist:hover > .satus-section -{ - visibility: visible; - - opacity: 1; -} \ No newline at end of file diff --git a/unstable/src/template/css/template-parts/home.css b/unstable/src/template/css/template-parts/home.css deleted file mode 100644 index 84555a6cd..000000000 --- a/unstable/src/template/css/template-parts/home.css +++ /dev/null @@ -1,185 +0,0 @@ -/*--------------------------------------------------------------- ->>> HOME ------------------------------------------------------------------ -1.0 ----------------------------------------------------------------*/ - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-section -{ - display: flex; - - width: 100%; - margin-top: 16px; - padding: 0; - - border: none; - border-radius: 0; - background-color: transparent; - - flex-wrap: wrap; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) -{ - position: relative; - - flex-direction: column; - - width: 64px; - height: 86px; - margin: 0 18px 14px; - padding: 0; - - cursor: default; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad):focus, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad):hover -{ - background-color: transparent; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button__label -{ - margin-left: 0; -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--shortcut__icon -{ - display: block; - overflow: visible; - - width: 28px; - height: 28px; - margin: 0 0 5px 0; - padding: 16px; - - cursor: pointer; - transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; - - opacity: .95; - border-radius: 50%; - background: linear-gradient(135deg, #f8d266, #f17953); - box-shadow: 0 2px 1px 1px rgba(230, 109, 70, .7), 0 3px 5px rgba(0,0,0,.35); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg:focus, -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg:hover -{ - transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; - transform: translateY(4px) scale(.975); - - box-shadow: 0 1px 1px 0 rgba(230, 109, 70, .7), 0 1px 2px rgba(0,0,0,.35); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--general svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--appearance svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--themes svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--player svg -{ - width: 26px; - height: 26px; - padding: 19px 15px 15px 19px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--playlist svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--channel svg -{ - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--shortcut svg -{ - width: 26px; - height: 26px; - padding: 19px 17px 15px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--mixer svg -{ - padding: 17px 16px 15px 16px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--blacklist svg -{ - width: 26px; - height: 26px; - padding: 18px 17px 16px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html:not([it-improvedtube-home='list']) .satus-main__container[data-appearance='home'] .satus-button--analyzer svg -{ - width: 26px; - height: 26px; - padding: 18px 17px 16px 17px; - - fill: transparent; - stroke: rgba(255, 255, 255, .85); -} - -html[it-improvedtube-home='list'] .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg -{ - fill: transparent; - stroke: var(--satus-theme-primary); -} - - - -html[it-it-general='false'] .satus-button--general, -html[it-it-appearance='false'] .satus-button--appearance, -html[it-it-themes='false'] .satus-button--themes, -html[it-it-player='false'] .satus-button--player, -html[it-it-playlist='false'] .satus-button--playlist, -html[it-it-channel='false'] .satus-button--channel, -html[it-it-shortcuts='false'] .satus-button--shortcut, -html[it-it-blacklist='false'] .satus-button--blacklist, -html[it-it-analyzer='false'] .satus-button--analyzer -{ - display: none; -} diff --git a/unstable/src/template/css/template-parts/mixer.css b/unstable/src/template/css/template-parts/mixer.css deleted file mode 100644 index 0ceb89e9a..000000000 --- a/unstable/src/template/css/template-parts/mixer.css +++ /dev/null @@ -1,87 +0,0 @@ -/*----------------------------------------------------------------------------- -# MIXER CATEGORY ------------------------------------------------------------------------------*/ - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer -{ - position: relative; - - overflow: hidden; - flex-direction: column; - - width: calc(100% - 32px); - height: 128px; - margin: 8px 16px 0; - - border: unset; - border-radius: 10px; - - flex: unset; - align-items: flex-start; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - - background: rgba(0, 0, 0, .5); -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer > .satus-section -{ - position: absolute; - bottom: 0; - - visibility: hidden; - - width: 100%; - margin: 0; - padding: 0; - - transition: 200ms; - transform: translateY(32px); - - opacity: 0; - border: unset; - border-radius: unset; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer:hover > .satus-section -{ - visibility: visible; - - transform: translateY(0); - - opacity: 1; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer.noconnection > .satus-section > div -{ - visibility: hidden; - - pointer-events: none; -} - -.satus-main__container[data-appearance='mixer'] .satus-section--mixer.noconnection > .satus-section::after -{ - font-size: 18px; - font-weight: 500; - - position: absolute; - top: 50%; - - width: 100%; - - content: attr(data-no-connection-label); - transform: translateY(-50%); - text-align: center; - - opacity: .8; -} \ No newline at end of file diff --git a/unstable/src/template/css/template-parts/player.css b/unstable/src/template/css/template-parts/player.css deleted file mode 100644 index ea3b9a43c..000000000 --- a/unstable/src/template/css/template-parts/player.css +++ /dev/null @@ -1,19 +0,0 @@ -/*--------------------------------------------------------------- ->>> PLAYER ----------------------------------------------------------------*/ - -#forced-playback-speed + *, -#forced-volume + * -{ - pointer-events: none; - - opacity: .5; -} - -[it-player-forced-playback-speed=true] #forced-playback-speed + *, -[it-player-forced-volume=true] #forced-volume + * -{ - pointer-events: all; - - opacity: 1; -} diff --git a/unstable/src/template/css/template-parts/settings.css b/unstable/src/template/css/template-parts/settings.css deleted file mode 100644 index a46dab49a..000000000 --- a/unstable/src/template/css/template-parts/settings.css +++ /dev/null @@ -1,19 +0,0 @@ -.satus-main__container[data-appearance='about'] .satus-text -{ - display: flex; - - box-sizing: border-box; - width: 100%; - min-height: 48px; - padding: 0 16px; - - justify-content: space-between; - align-items: center; -} - -.satus-main__container[data-appearance='about'] .satus-text__value -{ - text-align: right; - - opacity: .7; -} diff --git a/unstable/src/template/css/template-parts/themes.css b/unstable/src/template/css/template-parts/themes.css deleted file mode 100644 index 32d1b89d0..000000000 --- a/unstable/src/template/css/template-parts/themes.css +++ /dev/null @@ -1,365 +0,0 @@ -/*----------------------------------------------------------------------------- -# THEMES CATEGORY ------------------------------------------------------------------------------*/ - -.satus-main__container[data-appearance='themes'] .satus-switch:first-child -{ - margin-top: 16px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch:last-child -{ - margin-bottom: 16px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch -{ - width: calc(100% - 16px); - max-width: 900px; - height: 80px; - margin: 8px auto; - - border-radius: 8px; -} - -.satus-main__container[data-appearance='themes'] .satus-switch__label -{ - font-size: 15px; - font-weight: 500; - - color: #eee; - text-shadow: 0 1px 3px rgba(0, 0, 0, .7); -} - -.satus-switch--dark -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#0d1216, #353d46) !important; -} - -.satus-switch--dark::before -{ - position: absolute; - top: 0; - left: 0; - - width: 100%; - height: 100%; - - content: ''; - animation-name: satus-switch--dark; - animation-duration: 4s; - animation-timing-function: ease-in-out; - animation-iteration-count: infinite; - pointer-events: none; - - background: radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%), radial-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2), transparent 60%) !important; - background-repeat: no-repeat !important; - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px !important; - background-size: 50px 50px, 50px 50px, 100px 100px, 75px 75px !important; - - filter: blur(8px); -} - -@keyframes satus-switch--dark -{ - 0% - { - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; - } - - 50% - { - background-position: 20px 20px, 230px -20px, 0 -40px, 160px 10px; - } - - 100% - { - background-position: -10px 40px, 200px 0, -30px -20px, 130px 30px; - } -} - -.satus-switch--night -{ - position: relative; - - overflow: hidden; - - animation-name: satus-switch--night; - animation-duration: .75s; - animation-iteration-count: infinite; - - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5) !important; - background-repeat: no-repeat !important; - background-position: 75% 80%, 35% 65%, 30% 10%, 50% 40%, 10% 80%, 90% 10%, 0 0 !important; - background-size: 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, auto !important; -} - -@keyframes satus-switch--night -{ - 0% - { - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 25% - { - background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 50% - { - background-image: radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .9) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 75% - { - background-image: radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .45) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .7) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .3) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } - - 100% - { - background-image: radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .2) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .8) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .6) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .4) 50%, transparent 50%), - radial-gradient(rgba(255, 255, 255, .5) 50%, transparent 50%), - linear-gradient(#3a48b4, #61a7f5); - } -} - -.satus-switch--dawn -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#ed74a9, #ffba99) !important; -} - -.satus-switch--dawn::before -{ - position: absolute; - right: 1rem; - bottom: -5rem; - - width: 10rem; - height: 10rem; - - content: ''; - animation-name: satus-switch--dawn; - animation-duration: .75s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(rgba(255, 255, 231, .85) 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -@keyframes satus-switch--dawn -{ - 0% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } - - 50% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .30) 20%, - rgba(255, 255, 231, .30) 35%, - rgba(255, 255, 231, .20) 35%, - rgba(255, 255, 231, .20) 55%, - rgba(255, 255, 231, .10) 55%, - rgba(255, 255, 231, .10) 75%, transparent 75%); - } - - 100% - { - background: radial-gradient(rgba(255, 255, 231, .85) 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } -} - -.satus-switch--sunset -{ - position: relative; - - overflow: hidden; - - background: linear-gradient(#2f3364, #a96165) !important; -} - -.satus-switch--sunset::before -{ - position: absolute; - top: -1rem; - left: 50%; - - overflow: hidden; - - width: 8rem; - height: 8rem; - - content: ''; - transform: translate(-50%, 0%); - pointer-events: none; - - border-radius: 50%; - background: linear-gradient(#fa7965, #f56264, transparent) !important; -} - -.satus-switch--desert -{ - position: relative; - - overflow: hidden; - - background-image: radial-gradient(#ffe498 50%, transparent 50%), - linear-gradient(#9dc2ee, #f5fdff) !important; - background-repeat: no-repeat !important; - background-position: -120px 36px, 0 !important; - background-size: 240%, 100% !important; -} - -.satus-switch--desert::before -{ - position: absolute; - top: -100%; - left: 40%; - - width: 10rem; - height: 10rem; - - content: ''; - animation-name: satus-switch--desert; - animation-duration: .75s; - animation-delay: .5s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(#fefefe 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -@keyframes satus-switch--desert -{ - 0% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } - - 50% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .30) 20%, - rgba(255, 255, 231, .30) 35%, - rgba(255, 255, 231, .20) 35%, - rgba(255, 255, 231, .20) 55%, - rgba(255, 255, 231, .10) 55%, - rgba(255, 255, 231, .1) 75%, transparent 75%); - } - - 100% - { - background: radial-gradient(#fefefe 20%, - rgba(255, 255, 231, .25) 20%, - rgba(255, 255, 231, .25) 35%, - rgba(255, 255, 231, .15) 35%, - rgba(255, 255, 231, .15) 55%, - rgba(255, 255, 231, .05) 55%, - rgba(255, 255, 231, .05) 75%, transparent 75%); - } -} - -.satus-switch--plain -{ - position: relative; - - overflow: hidden; - - background-image: radial-gradient(#dea975 50%, transparent 50%), - radial-gradient(#e8b887 50%, transparent 50%), - radial-gradient(#f1cc9f 50%, transparent 50%), - radial-gradient(#f3ddb8 50%, transparent 50%), - linear-gradient(#abceb8, #e7ede1) !important; - background-repeat: no-repeat !important; - background-position: -50px 50px, -370px 40px, 0 36px, -360px 26px, 0 !important; - background-size: 240%, 240%, 240%, 240%, 100% !important; -} - -.satus-switch--plain::before -{ - position: absolute; - top: -70%; - left: 10%; - - width: 7rem; - height: 7rem; - - content: ''; - animation-name: satus-switch--plain; - animation-duration: .75s; - animation-delay: .2s; - animation-iteration-count: infinite; - pointer-events: none; - - border-radius: 50%; - background: radial-gradient(#fff 20%, rgba(255, 255, 231, .25) 20%, rgba(255, 255, 231, .25) 35%, rgba(255, 255, 231, .15) 35%, rgba(255, 255, 231, .15) 55%, rgba(255, 255, 231, .05) 55%, rgba(255, 255, 231, .05) 75%, transparent 75%) !important; -} - -.satus-switch--black -{ - background: #000 !important; -} diff --git a/unstable/src/template/css/themes.css b/unstable/src/template/css/themes.css deleted file mode 100644 index a9f931fbe..000000000 --- a/unstable/src/template/css/themes.css +++ /dev/null @@ -1,262 +0,0 @@ -/*--------------------------------------------------------------- ->>> THEMES ------------------------------------------------------------------ -# Default -# Red -# Dark -# Night -# Dawn -# Sunset -# Desert -# Plain -# Black -# Red ----------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -# DEFAULT ----------------------------------------------------------------*/ - -html -{ - --satus-theme-primary: #f6b465; -} - - -/*--------------------------------------------------------------- -# RED ----------------------------------------------------------------*/ - -html[stable-version] -{ - --satus-theme-primary: #ED213A; -} - -html:not([it-improvedtube-home='list'])[stable-version] .satus-main__container[data-appearance='home'] .satus-button:not(.satus-button--ad) svg -{ - background: linear-gradient(135deg, #ED213A, #93291E); - box-shadow: 0 2px 1px 1px rgba(147, 41, 30, 0.7), 0 3px 5px rgba(0,0,0,.35); -} - - -/*--------------------------------------------------------------- -# DARK ----------------------------------------------------------------*/ - -html[theme="dark"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #2c2b2c; - --satus-theme-dialog-text: #b5b5b5; - - --satus-theme-header: #343334; - --satus-theme-header-text: #b5b5b5; - - --satus-theme-main: #2c2b2c; - --satus-theme-main-text: #b5b5b5; - - --satus-theme-section: #343334; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - -/*--------------------------------------------------------------- -# NIGHT ----------------------------------------------------------------*/ - -html[theme="night"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #61a7f5; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #61a7f5; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #3a48b4; - --satus-theme-main-text: #fafafa; - - --satus-theme-section: #61a7f5; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# DAWN ----------------------------------------------------------------*/ - -html[theme="dawn"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #ffba99; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #ffba99; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #ed74a9; - --satus-theme-main-text: #eee; - - --satus-theme-section: #ffba99; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# SUNSET ----------------------------------------------------------------*/ - -html[theme="sunset"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #a96165; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #a96165; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #2f3364; - --satus-theme-main-text: #eee; - - --satus-theme-section: #a96165; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# DESERT ----------------------------------------------------------------*/ - -html[theme="desert"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #9dc2ee; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #9dc2ee; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #ffe498; - --satus-theme-main-text: #eee; - - --satus-theme-section: #9dc2ee; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# PLAIN ----------------------------------------------------------------*/ - -html[theme="plain"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #abceb8; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #abceb8; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #dea975; - --satus-theme-main-text: #eee; - - --satus-theme-section: #abceb8; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} - - -/*--------------------------------------------------------------- -# BLACK ----------------------------------------------------------------*/ - -html[theme="black"] -{ - --satus-theme-primary: #f6b465; - - --satus-theme-dialog: #222; - --satus-theme-dialog-text: #fafafa; - - --satus-theme-header: #222; - --satus-theme-header-text: #fafafa; - - --satus-theme-main: #111; - --satus-theme-main-text: #eee; - - --satus-theme-section: #222; - - --satus-theme-button: transparent; - - --satus-theme-scrollbar: rgba(255, 255, 255, .2); - --satus-theme-scrollbar-focus: rgba(255, 255, 255, .4); - - --satus-theme-shortcut: #444; - - --satus-theme-tooltip: rgba(10, 10, 10, .7); - - --satus-theme-ripple: rgba(255, 255, 255, .04); -} \ No newline at end of file diff --git a/unstable/src/template/js/header.js b/unstable/src/template/js/header.js deleted file mode 100644 index 6a71c25d6..000000000 --- a/unstable/src/template/js/header.js +++ /dev/null @@ -1,126 +0,0 @@ -var Menu = { - header: { - type: 'header', - - section_start: { - type: 'section', - class: 'satus-section--align-start', - - button_back: { - type: 'button', - class: 'satus-button--back', - before: '', - onclick: function() { - if (document.querySelector('.satus-dialog__scrim')) { - document.querySelector('.satus-dialog__scrim').click(); - } else { - document.querySelector('.satus-main').back(); - } - } - }, - title: { - type: 'text', - class: 'satus-text--title', - innerText: 'ImprovedTube', - dataset: { - version: chrome && chrome.runtime && chrome.runtime.getManifest ? chrome.runtime.getManifest().version : '' - } - } - }, - section_end: { - type: 'section', - class: 'satus-section--align-end', - - button_search: { - type: 'button', - before: '', - onclick: function() { - document.querySelector('.satus-main').open({ - appearanceKey: 'search' - }, function() { - satus.render({ - type: 'dialog', - class: 'satus-dialog--search', - onclose: function() { - document.querySelector('.satus-main').back(); - }, - - input: { - type: 'text-field', - placeholder: 'search', - oninput: function() { - if (this.value.length > 0) { - satus.search(this.value, Menu, function(results) { - var sorted_results = []; - - document.querySelector('.satus-main__container').innerHTML = ''; - - for (var key in results) { - results[key].type = 'section'; - results[key].variant = 'card'; - - sorted_results.push({ - type: 'text', - label: key, - variant: 'section-label' - }); - sorted_results.push(results[key]); - } - - var scroll = satus.components.scrollbar(document.querySelector('.satus-main__container')); - - satus.render(sorted_results, scroll); - }, true); - } else { - document.querySelector('.satus-main__container').innerHTML = ''; - - satus.render({}, document.querySelector('.satus-main__container')); - } - } - } - }); - }); - } - }, - button_vert: { - type: 'button', - before: '', - onclick: { - type: 'dialog', - class: 'satus-dialog--vertical-menu', - - email: { - type: 'button', - variant: 'list-item', - label: 'Email', - title: 'bugs@improvedtube.com', - before: '', - onclick: function() { - window.open('mailto:bugs@improvedtube.com', '_blank'); - } - }, - github: { - type: 'button', - variant: 'list-item', - label: 'GitHub', - title: '/ImprovedTube/ImprovedTube', - before: '', - onclick: function() { - window.open('https://github.com/ImprovedTube/ImprovedTube/', '_blank'); - } - }, - website: { - type: 'button', - variant: 'list-item', - label: 'Website', - title: 'improvedtube.com', - before: '', - onclick: function() { - window.open('http://www.improvedtube.com/', '_blank'); - } - } - } - } - } - } -}; diff --git a/unstable/src/template/js/index.js b/unstable/src/template/js/index.js deleted file mode 100644 index 793a4767b..000000000 --- a/unstable/src/template/js/index.js +++ /dev/null @@ -1,59 +0,0 @@ -/*------------------------------------------------------ ->>> INDEX --------------------------------------------------------- -# Import -# On changed -------------------------------------------------------*/ - -/*------------------------------------------------------ -# IMPORT -------------------------------------------------------*/ - -satus.storage.import(function(items) { - var html = document.documentElement; - - if ( - chrome && - chrome.runtime && - chrome.runtime.getManifest().version_name.indexOf('beta') === -1 - ) { - html.setAttribute('stable-version', ''); - } - - for (var key in items) { - html.setAttribute('it-' + key.replace(/_/g, '-'), items[key]); - } - - if (items.default_dark_theme === true) { - html.setAttribute('theme', 'dark'); - } else if (items.night_theme === true) { - html.setAttribute('theme', 'night'); - } else if (items.dawn_theme === true) { - html.setAttribute('theme', 'dawn'); - } else if (items.sunset_theme === true) { - html.setAttribute('theme', 'sunset'); - } else if (items.desert_theme === true) { - html.setAttribute('theme', 'desert'); - } else if (items.plain_theme === true) { - html.setAttribute('theme', 'plain'); - } else if (items.black_theme === true) { - html.setAttribute('theme', 'black'); - } - - satus.locale.import(items.language, function() { - satus.updateStorageKeys(Menu, function() { - satus.render(Menu, document.body); - }); - }); -}); - - -/*------------------------------------------------------ -# ON CHANGED -------------------------------------------------------*/ - -satus.storage.onChanged(function(items) { - for (var key in items) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), items[key].newValue); - } -}); \ No newline at end of file diff --git a/unstable/src/template/js/main.js b/unstable/src/template/js/main.js deleted file mode 100644 index 1753c4171..000000000 --- a/unstable/src/template/js/main.js +++ /dev/null @@ -1,22 +0,0 @@ -Menu.main = { - type: 'main', - appearanceKey: 'home', - onchange: function() { - document.querySelector('.satus-text--title').innerText = satus.locale.getMessage(this.history[this.history.length - 1].label) || 'ImprovedTube'; - }, - - section: { - type: 'section', - variant: 'card' - }, - - footer: { - type: 'button', - class: 'satus-button--ad', - label: 'DARK MODE', - title: 'Dark Mode', - onclick: function() { - window.open('https://chrome.google.com/webstore/detail/dark-mode/declgfomkjdohhjbcfemjklfebflhefl', '_blank'); - } - } -}; diff --git a/unstable/src/template/js/template-parts/analyzer.js b/unstable/src/template/js/template-parts/analyzer.js deleted file mode 100644 index c7ca00bd9..000000000 --- a/unstable/src/template/js/template-parts/analyzer.js +++ /dev/null @@ -1,148 +0,0 @@ -Menu.main.section.analyzer = { - type: 'button', - before: '', - label: 'analyzer', - class: 'satus-button--analyzer', - appearanceKey: 'analyzer', - - activ_section: { - type: 'section', - variant: 'card', - - analyzer_activation: { - type: 'switch', - label: 'activate' - } - }, - - section: { - type: 'section', - variant: 'card', - style: { - 'flex-direction': 'column', - 'align-items': 'flex-start' - }, - onrender: function() { - var data = satus.storage.get('analyzer') || {}, - all_data = {}, - all_data_sort = [], - all_time_value = 0, - current_date = new Date().toDateString(), - container = document.createElement('div'), - top_text_container = document.createElement('div'), - today_at = document.createElement('div'), - watch_time = document.createElement('div'), - all_time = document.createElement('div'), - chart = document.createElement('div'), - bottom_text_container = document.createElement('div'); - - container.className = 'analyzer-container'; - top_text_container.className = 'analyzer-top-text'; - watch_time.className = 'analyzer-watch-time'; - today_at.className = 'analyzer-today-at'; - all_time.className = 'analyzer-all-time'; - chart.className = 'analyzer-chart'; - bottom_text_container.className = 'analyzer-bottom'; - - if (data[current_date]) { - for (let i in data[current_date]) { - if (data[current_date][i]) { - for (let j in data[current_date][i]) { - if (!all_data[j]) { - all_data[j] = 0; - } - - all_data[j] += data[current_date][i][j]; - } - } - } - } - - for (let i in all_data) { - all_data_sort.push([i, all_data[i]]); - all_time_value += all_data[i]; - } - - all_data_sort.sort(function(a, b) { - return b[1] - a[1]; - }); - - var now_minutes = new Date().getMinutes(); - - watch_time.innerText = satus.locale.getMessage('watchTime') || 'watchTime'; - today_at.innerText = satus.locale.getMessage('todayAt') + ' ' + (new Date().getHours() + ':' + (now_minutes < 10 ? '0' + now_minutes : now_minutes)) || 'todayAt'; - all_time.innerText = Math.floor(all_time_value / 60) + 'h ' + (all_time_value - Math.floor(all_time_value / 60) * 60) + 'm'; - - let h = 0; - - for (let i = 0; i < 4; i++) { - let column = document.createElement('div'); - - column.className = 'analyzer-column'; - - for (let j = 0; j < 6; j++) { - let hours = h + ':00'; - - h++; - - let data_column = document.createElement('div'); - - data_column.className = 'analyzer-data-column'; - - if (data[current_date] && data[current_date][hours]) { - for (let k in data[current_date][hours]) { - let block = document.createElement('div'); - - block.className = 'analyzer-data'; - - let height = data[current_date][hours][k] * 100 / 60; - - block.title = k; - block.style.height = height + '%'; - - if (k === all_data_sort[0][0]) { - block.className += ' first'; - } else if (k === all_data_sort[1][0]) { - block.className += ' second'; - } else if (k === all_data_sort[2][0]) { - block.className += ' third'; - } - - data_column.appendChild(block); - } - } - - column.appendChild(data_column); - } - - chart.appendChild(column); - } - - - for (let i = 0; i < 3; i++) { - if (all_data_sort[i]) { - let cont = document.createElement('div'), - label = document.createElement('div'), - value = document.createElement('div'); - - label.className = 'label'; - - label.innerText = all_data_sort[i][0]; - value.innerText = Math.floor(all_data_sort[i][1] / 60) + 'h ' + (all_data_sort[i][1] - Math.floor(all_data_sort[i][1] / 60) * 60) + 'm'; - - cont.appendChild(label); - cont.appendChild(value); - bottom_text_container.appendChild(cont); - } - } - - container.appendChild(all_time); - container.appendChild(chart); - this.appendChild(top_text_container); - top_text_container.appendChild(watch_time); - top_text_container.appendChild(today_at); - container.appendChild(bottom_text_container); - this.appendChild(container); - } - } -}; \ No newline at end of file diff --git a/unstable/src/template/js/template-parts/appearance.js b/unstable/src/template/js/template-parts/appearance.js deleted file mode 100644 index d51357895..000000000 --- a/unstable/src/template/js/template-parts/appearance.js +++ /dev/null @@ -1,372 +0,0 @@ -Menu.main.section.appearance = { - type: 'button', - before: '', - label: 'appearance', - class: 'satus-button--appearance', - appearanceKey: 'appearance', - - header: { - type: 'button', - label: 'header', - class: 'satus-button--header', - - section: { - type: 'section', - variant: 'card', - - header_position: { - type: 'select', - label: 'position', - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'hidden', - value: 'hidden' - }, { - label: 'hover', - value: 'hover' - }, { - label: 'hiddenOnVideoPage', - value: 'hidden_on_video_page' - }, { - label: 'hoverOnVideoPage', - value: 'hover_on_video_page' - }, { - label: 'static', - value: 'static' - }], - tags: 'hide,hover,static,top' - }, - header_improve_logo: { - type: 'switch', - label: 'improveLogo', - tags: 'youtube' - }, - header_hide_right_buttons: { - type: 'switch', - label: 'hideRightButtons', - tags: 'user' - } - } - }, - player: { - type: 'button', - label: 'player', - class: 'satus-button--player', - - section: { - type: 'section', - variant: 'card', - - player_hide_annotations: { - type: 'switch', - label: 'hideAnnotations', - tags: 'hide,remove,elements' - }, - player_hide_cards: { - type: 'switch', - label: 'hideCards', - tags: 'hide,remove,elements' - }, - player_show_cards_on_mouse_hover: { - type: 'switch', - label: 'showCardsOnMouseHover', - tags: 'hide,remove,elements' - }, - player_size: { - type: 'select', - label: 'playerSize', - options: [{ - label: 'doNotChange', - value: 'do_not_change' - }, { - label: 'fullWindow', - value: 'full_window' - }, { - label: 'fitToWindow', - value: 'fit_to_window' - }, { - label: '240p', - value: '240p' - }, { - label: '360p', - value: '360p' - }, { - label: '480p', - value: '480p' - }, { - label: '576p', - value: '576p' - }, { - label: '720p', - value: '720p' - }, { - label: '1080p', - value: '1080p' - }, { - label: '1440p', - value: '1440p' - }, { - label: '2160p', - value: '2160p' - }] - }, - forced_theater_mode: { - type: 'switch', - label: 'forcedTheaterMode', - tags: 'wide' - }, - player_color: { - label: 'playerColor', - type: 'select', - options: [{ - label: 'red', - value: 'red' - }, { - label: 'pink', - value: 'pink' - }, { - label: 'purple', - value: 'purple' - }, { - label: 'deepPurple', - value: 'deep_purple' - }, { - label: 'indigo', - value: 'indigo' - }, { - label: 'blue', - value: 'blue' - }, { - label: 'lightBlue', - value: 'light_blue' - }, { - label: 'cyan', - value: 'cyan' - }, { - label: 'teal', - value: 'teal' - }, { - label: 'green', - value: 'green' - }, { - label: 'lightGreen', - value: 'light_green' - }, { - label: 'lime', - value: 'lime' - }, { - label: 'yellow', - value: 'yellow' - }, { - label: 'amber', - value: 'amber' - }, { - label: 'orange', - value: 'orange' - }, { - label: 'deepOrange', - value: 'deep_orange' - }, { - label: 'brown', - value: 'brown' - }, { - label: 'blueGray', - value: 'blue_gray' - }, { - label: 'white', - value: 'white' - }], - tags: 'style' - }, - player_transparent_background: { - type: 'switch', - label: 'transparentBackground' - }, - player_hide_endscreen: { - type: 'switch', - label: 'hideEndscreen' - }, - player_hd_thumbnail: { - type: 'switch', - label: 'hdThumbnail', - tags: 'preview' - }, - hide_scroll_for_details: { - type: 'switch', - label: 'hideScrollForDetails', - tags: 'remove,hide' - }, - always_show_progress_bar: { - type: 'switch', - label: 'alwaysShowProgressBar' - }, - hide_gradient_bottom: { - type: 'switch', - label: 'hideGradientBottom' - } - } - }, - details: { - type: 'button', - label: 'details', - class: 'satus-button--details', - - section: { - type: 'section', - variant: 'card', - - hide_details: { - type: 'switch', - label: 'hideDetails', - tags: 'hide,remove' - }, - description: { - type: 'select', - label: 'description', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'expanded', - value: 'expanded' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'hide,remove' - }, - hide_views_count: { - type: 'switch', - label: 'hideViewsCount', - tags: 'hide,remove' - }, - likes: { - type: 'select', - label: 'likes', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'iconsOnly', - value: 'icons_only' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'hide,remove' - }, - how_long_ago_the_video_was_uploaded: { - type: 'switch', - label: 'howLongAgoTheVideoWasUploaded' - }, - channel_videos_count: { - type: 'switch', - label: 'showChannelVideosCount' - }, - red_dislike_button: { - type: 'switch', - label: 'redDislikeButton' - } - } - }, - sidebar: { - type: 'button', - label: 'sidebar', - class: 'satus-button--sidebar', - - section: { - type: 'section', - variant: 'card', - - sidebar_left: { - type: 'switch', - label: 'Sidebar on the Left' - }, - thumbnails_right: { - type: 'switch', - label: 'Thumbnails on the Right' - }, - related_videos: { - type: 'select', - label: 'relatedVideos', - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }], - tags: 'right' - }, - - livechat: { - type: 'select', - label: 'liveChat', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }] - }, - hide_playlist: { - type: 'switch', - label: 'hidePlaylist' - } - } - }, - comments: { - type: 'button', - label: 'comments', - class: 'satus-button--comments', - - section: { - type: 'section', - variant: 'card', - - comments: { - type: 'select', - label: 'comments', - - options: [{ - label: 'normal', - value: 'normal' - }, { - label: 'collapsed', - value: 'collapsed' - }, { - label: 'hidden', - value: 'hidden' - }] - } - } - }, - footer: { - type: 'button', - label: 'footer', - class: 'satus-button--footer', - - section: { - type: 'section', - variant: 'card', - - hide_footer: { - type: 'switch', - label: 'hideFooter', - tags: 'bottom' - } - } - } -}; diff --git a/unstable/src/template/js/template-parts/blacklist.js b/unstable/src/template/js/template-parts/blacklist.js deleted file mode 100644 index a11d3f4c0..000000000 --- a/unstable/src/template/js/template-parts/blacklist.js +++ /dev/null @@ -1,172 +0,0 @@ -Menu.main.section.blacklist = { - type: 'button', - before: '', - label: 'blacklist', - class: 'satus-button--blacklist', - appearanceKey: 'blacklist', - - section_activate: { - type: 'section', - variant: 'card', - - blacklist_activate: { - type: 'switch', - label: 'activate' - } - }, - - section: { - type: 'section', - variant: 'card', - - channels: { - type: 'button', - variant: 'list-item', - label: 'channels', - onopen: function() { - var self = this; - - if (satus.storage.data.blacklist && satus.storage.data.blacklist.channels) { - var list = {}; - - for (var item in satus.storage.data.blacklist.channels) { - if (satus.storage.data.blacklist.channels[item] !== false) { - var title = satus.storage.data.blacklist.channels[item].title || ''; - - list[item] = { - type: 'section', - variant: 'card', - label: title.length > 20 ? title.substr(0, 20) + '...' : title, - class: 'satus-section--blacklist', - style: { - 'background-image': 'url(' + satus.storage.data.blacklist.channels[item].preview + ')', - 'background-color': '#000' - }, - - section: { - type: 'section', - variant: 'card', - - delete: { - type: 'button', - before: '', - onclick: function() { - delete satus.storage.data.blacklist.channels[item]; - - satus.storage.set('blacklist', satus.storage.data.blacklist); - - this.classList.add('removing'); - - setTimeout(function() { - self.remove(); - }, 250); - } - } - } - }; - } - } - - if (Object.keys(list).length === 0) { - list.section = { - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }; - } - - satus.render(list, this); - } else { - satus.render({ - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }, this); - } - } - }, - videos: { - type: 'button', - variant: 'list-item', - label: 'videos', - onopen: function() { - var self = this; - - if (satus.storage.data.blacklist && satus.storage.data.blacklist.videos) { - let list = {}; - - for (let item in satus.storage.data.blacklist.videos) { - if (satus.storage.data.blacklist.videos[item] !== false) { - let title = satus.storage.data.blacklist.videos[item].title || ''; - - list[item] = { - type: 'section', - variant: 'card', - label: title.length > 20 ? title.substr(0, 20) + '...' : title, - class: 'satus-section--blacklist', - style: { - 'background-image': 'url(https://img.youtube.com/vi/' + item + '/0.jpg)' - }, - - section: { - type: 'section', - - delete: { - type: 'button', - before: '', - onclick: function() { - delete satus.storage.data.blacklist.videos[item]; - - satus.storage.set('blacklist', satus.storage.data.blacklist); - this.parentNode.parentNode.classList.add('removing'); - - setTimeout(function() { - self.parentNode.parentNode.remove(); - }, 250); - } - } - } - }; - } - } - - if (Object.keys(list).length === 0) { - list.section = { - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }; - } - - satus.render(list, this); - } else { - satus.render({ - type: 'section', - variant: 'card', - class: 'satus-section--message', - - error: { - type: 'text', - label: 'empty' - } - }, this); - } - } - } - } -}; diff --git a/unstable/src/template/js/template-parts/channel.js b/unstable/src/template/js/template-parts/channel.js deleted file mode 100644 index 328e358cc..000000000 --- a/unstable/src/template/js/template-parts/channel.js +++ /dev/null @@ -1,36 +0,0 @@ -Menu.main.section.channel = { - type: 'button', - before: '', - label: 'channel', - class: 'satus-button--channel', - appearanceKey: 'channel', - - section: { - type: 'section', - variant: 'card', - - channel_default_tab: { - type: 'select', - label: 'defaultChannelTab', - options: [{ - label: 'home', - value: '/home' - }, { - label: 'videos', - value: '/videos' - }, { - label: 'playlists', - value: '/playlists' - }] - }, - channel_trailer_autoplay: { - type: 'switch', - label: 'trailerAutoplay', - value: true - }, - channel_hide_featured_content: { - type: 'switch', - label: 'hideFeaturedContent' - } - } -}; diff --git a/unstable/src/template/js/template-parts/general.js b/unstable/src/template/js/template-parts/general.js deleted file mode 100644 index 4d1ff2434..000000000 --- a/unstable/src/template/js/template-parts/general.js +++ /dev/null @@ -1,90 +0,0 @@ -Menu.main.section.general = { - type: 'button', - before: '', - label: 'general', - class: 'satus-button--general', - appearanceKey: 'general', - - section: { - type: 'section', - variant: 'card', - - youtube_home_page: { - type: 'select', - label: 'youtubeHomePage', - options: [{ - label: 'home', - value: '/' - }, { - label: 'trending', - value: '/feed/trending' - }, { - label: 'subscriptions', - value: '/feed/subscriptions' - }, { - label: 'history', - value: '/feed/history' - }, { - label: 'watchLater', - value: '/playlist?list=WL' - }, { - label: 'search', - value: 'search' - }], - tags: 'trending,subscriptions,history,watch,search' - }, - collapse_of_subscription_sections: { - type: 'switch', - label: 'collapseOfSubscriptionSections' - }, - add_scroll_to_top: { - type: 'switch', - label: 'addScrollToTop', - tags: 'up' - }, - remove_related_search_results: { - type: 'switch', - label: 'removeRelatedSearchResults' - }, - confirmation_before_closing: { - type: 'switch', - label: 'confirmationBeforeClosing', - tags: 'random prevent close exit' - }, - mark_watched_videos: { - type: 'switch', - label: 'markWatchedVideos' - }, - only_one_player_instance_playing: { - type: 'switch', - label: 'onlyOnePlayerInstancePlaying' - } - }, - - section_label__thumbnails: { - type: 'text', - variant: 'section-label', - label: 'thumbnails' - }, - - thumbnails_section: { - type: 'section', - variant: 'card', - - squared_user_images: { - type: 'switch', - label: 'squaredUserImages', - tags: 'avatar' - }, - hd_thumbnails: { - type: 'switch', - label: 'hdThumbnails', - tags: 'preview quality' - }, - hide_animated_thumbnails: { - type: 'switch', - label: 'hideAnimatedThumbnails', - tags: 'preview' - } - } -}; diff --git a/unstable/src/template/js/template-parts/header/active-features.js b/unstable/src/template/js/template-parts/header/active-features.js deleted file mode 100644 index f0b560db0..000000000 --- a/unstable/src/template/js/template-parts/header/active-features.js +++ /dev/null @@ -1,61 +0,0 @@ -Menu.header.section_end.button_vert.onclick.active_features = { - type: 'button', - variant: 'list-item', - before: '', - label: 'activeFeatures', - onclick: function() { - document.querySelector('.satus-dialog__scrim').click(); - }, - - section: { - type: 'section', - onrender: function() { - var component = this, - new_menu = {}, - storage = satus.storage; - - function search(string, object) { - var result = []; - - for (var i in object) { - if (object[i].type) { - if (/(button|select|shortcut|slider|switch)/.test(object[i].type)) { - if (i.indexOf(string) !== -1 || (object[i].tags && object[i].tags.indexOf(string) !== -1)) { - if (object[i].type.indexOf('button') === -1 || !object[i].label) { - new_menu[i] = object[i]; - } - } - } else { - var response = search(string, object[i]); - - if (response.length > 0) { - for (var j = 0, l = response.length; j < l; j++) { - result.push(response[i]); - } - } - } - } - } - - return result; - } - - for (var key in storage) { - search(key, Menu) - } - - setTimeout(function() { - if (Object.keys(new_menu).length > 0) { - satus.render(new_menu, component); - } else { - satus.render({ - text: { - type: 'text', - label: 'noActiveFeatures' - } - }, component); - } - }); - } - } -}; diff --git a/unstable/src/template/js/template-parts/header/mixer.js b/unstable/src/template/js/template-parts/header/mixer.js deleted file mode 100644 index 676e1b287..000000000 --- a/unstable/src/template/js/template-parts/header/mixer.js +++ /dev/null @@ -1,115 +0,0 @@ -Menu.header.section_end.button_vert.onclick.mixer = { - type: 'button', - variant: 'list-item', - before: '', - label: 'mixer', - class: 'satus-button--mixer', - appearanceKey: 'mixer', - onopen: function() { - var self = this; - - if (chrome && chrome.tabs) { - chrome.tabs.query({}, function(tabs) { - var mixer = {}; - - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - var tab = tabs[i]; - - if (/(\?|\&)v=/.test(tab.url)) { - mixer[i] = { - type: 'section', - class: 'satus-section--mixer', - style: { - 'background': 'url(https://img.youtube.com/vi/' + tab.url.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '/0.jpg) center center / cover no-repeat #000', - }, - - section: { - type: 'section', - dataset: { - 'noConnectionLabel': satus.locale.getMessage('tryToReloadThePage') || 'tryToReloadThePage' - }, - - mixer_volume: { - type: 'slider', - label: 'volume', - dataset: { - id: tab.id, - element: 'audio' - }, - max: 100, - onrender: function() { - var self = this; - - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'request_volume' - }, function(response) { - if (response) { - document.querySelector('div[data-element="audio"][data-id="' + Number(self.dataset.id) + '"]').change(response.value); - } else { - self.parentNode.parentNode.classList.add('noconnection'); - } - }); - }, - onchange: function(value) { - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'change_volume', - volume: value - }); - } - }, - mixer_playback_speed: { - type: 'slider', - label: 'playbackSpeed', - dataset: { - id: tab.id, - element: 'playback_speed' - }, - min: .1, - max: 8, - step: .05, - onrender: function() { - var self = this; - - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'request_playback_speed' - }, function(response) { - if (response) { - document.querySelector('div[data-element="playback_speed"][data-id="' + Number(self.dataset.id) + '"]').change(Number(response.value)); - } else { - self.parentNode.parentNode.classList.add('noconnection'); - } - }); - }, - onchange: function(value) { - chrome.tabs.sendMessage(Number(this.dataset.id), { - name: 'change_playback_speed', - playback_speed: value - }); - } - } - } - }; - } - } - } - - if (Object.entries(mixer).length === 0) { - mixer.section = { - type: 'section', - - message: { - type: 'text', - class: 'satus-section--message', - label: 'noOpenVideoTabs' - } - }; - } - - document.querySelector('.satus-dialog__scrim').click(); - - satus.render(mixer, self); - }); - } - } -}; diff --git a/unstable/src/template/js/template-parts/header/settings.js b/unstable/src/template/js/template-parts/header/settings.js deleted file mode 100644 index 1272c2a46..000000000 --- a/unstable/src/template/js/template-parts/header/settings.js +++ /dev/null @@ -1,886 +0,0 @@ -Menu.header.section_end.button_vert.onclick.settings = { - type: 'button', - variant: 'list-item', - before: '', - label: 'settings', - parent: '.satus-main__container', - onclick: function() { - document.querySelector('.satus-dialog__scrim').click(); - }, - - section: { - type: 'section', - variant: 'card', - - developer_options: { - type: 'button', - variant: 'list-item', - before: '', - label: 'developerOptions', - - custom_js_section_label: { - type: 'text', - variant: 'section-label', - label: 'customJs' - }, - - custom_js_section: { - type: 'section', - variant: 'card', - - custom_js: { - type: 'text-field', - onrender: function() { - this.value = satus.storage.get('custom_js') || ''; - }, - oninput: function() { - satus.storage.set('custom_js', this.value); - } - } - }, - - custom_css_section_label: { - type: 'text', - variant: 'section-label', - label: 'customCss' - }, - - custom_css_section: { - type: 'section', - variant: 'card', - - custom_css: { - type: 'text-field', - onrender: function() { - this.value = satus.storage.get('custom_css') || ''; - }, - oninput: function() { - satus.storage.set('custom_css', this.value); - } - } - } - }, - }, - - section0: { - type: 'section', - variant: 'card', - - appearance: { - type: 'button', - variant: 'list-item', - before: '', - label: 'appearance', - - general: { - type: 'section', - variant: 'card', - label: 'general', - - header: { - type: 'button', - variant: 'list-item', - label: 'header', - - section: { - type: 'section', - variant: 'card', - - title_version: { - type: 'switch', - label: 'version' - } - } - }, - home: { - type: 'button', - variant: 'list-item', - label: 'home', - - section: { - type: 'section', - variant: 'card', - - improvedtube_home: { - type: 'select', - label: 'style', - options: [{ - label: 'bubbles', - value: 'bubbles' - }, { - label: 'list', - value: 'list' - }] - } - }, - - categories: { - type: 'section', - variant: 'card', - label: 'categories', - - it_general: { - type: 'switch', - label: 'general', - value: true - }, - it_appearance: { - type: 'switch', - label: 'appearance', - value: true - }, - it_themes: { - type: 'switch', - label: 'themes', - value: true - }, - it_player: { - type: 'switch', - label: 'player', - value: true - }, - it_playlist: { - type: 'switch', - label: 'playlist', - value: true - }, - it_channel: { - type: 'switch', - label: 'channel', - value: true - }, - it_shortcuts: { - type: 'switch', - label: 'shortcuts', - value: true - }, - it_mixer: { - type: 'switch', - label: 'mixer', - value: true - }, - it_analyzer: { - type: 'switch', - label: 'analyzer', - value: true - }, - it_blacklist: { - type: 'switch', - label: 'blacklist', - value: true - } - } - } - }, - icons: { - type: 'section', - variant: 'card', - label: 'icons', - - improvedtube_youtube_icon: { - label: 'improvedtubeIconOnYoutube', - type: 'select', - options: [{ - label: 'disabled', - value: 'disabled' - }, { - label: 'youtubeHeaderLeft', - value: 'header_left' - }, { - label: 'youtubeHeaderRight', - value: 'header_right' - }, { - label: 'draggable', - value: 'draggable' - }, { - label: 'belowPlayer', - value: 'below_player' - }] - }, - improvedtube_browser_icon: { - label: 'improvedtubeIconInBrowser', - type: 'select', - - options: [{ - label: 'onlyActiveOnYoutube', - value: 'youtube' - }, { - label: 'alwaysActive', - value: 'always' - }] - } - } - }, - languages: { - type: 'button', - variant: 'list-item', - before: '', - label: 'languages', - - section: { - type: 'section', - variant: 'card', - - language: { - label: 'improvedtubeLanguage', - type: 'select', - onchange: function(name, value) { - satus.locale.messages = {}; - - satus.locale.import(function() { - document.querySelector('.satus-main__container').innerHTML = ''; - - document.querySelector('.satus-header__title').innerText = satus.locale.getMessage('languages'); - document.querySelector('#search').placeholder = satus.locale.getMessage('search'); - - satus.render(document.querySelector('.satus-main__container'), Menu.main.section.settings.section.languages); - }); - }, - options: [{ - value: 'en', - label: 'English' - }, { - value: 'ar', - label: 'العربية' - }, { - value: 'de', - label: 'Deutsch' - }, { - value: 'es', - label: 'Español' - }, { - value: 'fr', - label: 'Français' - }, { - value: 'id', - label: 'Bahasa Indonesia' - }, { - value: 'it', - label: 'Italiano' - }, { - value: 'ja', - label: '日本語' - }, { - value: 'nl', - label: 'Dutch' - }, { - value: 'no', - label: 'Norwegian Bokmål' - }, { - value: 'pt_BR', - label: 'Português (Brasil)' - }, { - value: 'ru', - label: 'Русский' - }, { - value: 'tr', - label: 'Türkçe' - }, { - value: 'zh_CN', - label: '中文 (简体)' - }, { - value: 'zh_TW', - label: '中文 (繁體)' - }] - }, - youtube_language: { - label: 'youtubeLanguage', - type: 'select', - options: [{ - value: "en", - label: "English" - }, { - value: "es", - label: "Español (España)" - }, { - value: "es-419", - label: "Español (Latinoamérica)" - }, { - value: "es-US", - label: "Español (US)" - }, { - value: "ru", - label: "Русский" - }, { - value: "de", - label: "Deutsch" - }, { - value: "pt-PT", - label: "Português" - }, { - value: "pt", - label: "Português (Brasil)" - }, { - value: "fr", - label: "Français" - }, { - value: "pl", - label: "Polski" - }, { - value: "ja", - label: "日本語" - }, { - value: "af", - label: "Afrikaans" - }, { - value: "az", - label: "Azərbaycan" - }, { - value: "id", - label: "Bahasa Indonesia" - }, { - value: "ms", - label: "Bahasa Malaysia" - }, { - value: "bs", - label: "Bosanski" - }, { - value: "ca", - label: "Català" - }, { - value: "cs", - label: "Čeština" - }, { - value: "da", - label: "Dansk" - }, { - value: "et", - label: "Eesti" - }, { - value: "eu", - label: "Euskara" - }, { - value: "fil", - label: "Filipino" - }, { - value: "fr-CA", - label: "Français (Canada)" - }, { - value: "gl", - label: "Galego" - }, { - value: "hr", - label: "Hrvatski" - }, { - value: "zu", - label: "IsiZulu" - }, { - value: "is", - label: "Íslenska" - }, { - value: "it", - label: "Italiano" - }, { - value: "sw", - label: "Kiswahili" - }, { - value: "lv", - label: "Latviešu valoda" - }, { - value: "lt", - label: "Lietuvių" - }, { - value: "hu", - label: "Magyar" - }, { - value: "nl", - label: "Nederlands" - }, { - value: "no", - label: "Norsk" - }, { - value: "uz", - label: "O‘zbek" - }, { - value: "ro", - label: "Română" - }, { - value: "sq", - label: "Shqip" - }, { - value: "sk", - label: "Slovenčina" - }, { - value: "sl", - label: "Slovenščina" - }, { - value: "sr-Latn", - label: "Srpski" - }, { - value: "fi", - label: "Suomi" - }, { - value: "sv", - label: "Svenska" - }, { - value: "vi", - label: "Tiếng Việt" - }, { - value: "tr", - label: "Türkçe" - }, { - value: "be", - label: "Беларуская" - }, { - value: "bg", - label: "Български" - }, { - value: "ky", - label: "Кыргызча" - }, { - value: "kk", - label: "Қазақ Тілі" - }, { - value: "mk", - label: "Македонски" - }, { - value: "mn", - label: "Монгол" - }, { - value: "sr", - label: "Српски" - }, { - value: "uk", - label: "Українська" - }, { - value: "el", - label: "Ελληνικά" - }, { - value: "hy", - label: "Հայերեն" - }, { - value: "iw", - label: "עברית" - }, { - value: "ur", - label: "اردو" - }, { - value: "ar", - label: "العربية" - }, { - value: "fa", - label: "فارسی" - }, { - value: "ne", - label: "नेपाली" - }, { - value: "mr", - label: "मराठी" - }, { - value: "hi", - label: "हिन्दी" - }, { - value: "bn", - label: "বাংলা" - }, { - value: "pa", - label: "ਪੰਜਾਬੀ" - }, { - value: "gu", - label: "ગુજરાતી" - }, { - value: "ta", - label: "தமிழ்" - }, { - value: "te", - label: "తెలుగు" - }, { - value: "kn", - label: "ಕನ್ನಡ" - }, { - value: "ml", - label: "മലയാളം" - }, { - value: "si", - label: "සිංහල" - }, { - value: "th", - label: "ภาษาไทย" - }, { - value: "lo", - label: "ລາວ" - }, { - value: "my", - label: "ဗမာ" - }, { - value: "ka", - label: "ქართული" - }, { - value: "am", - label: "አማርኛ" - }, { - value: "km", - label: "ខ្មែរ" - }, { - value: "zh-CN", - label: "中文 (简体)" - }, { - value: "zh-TW", - label: "中文 (繁體)" - }, { - value: "zh-HK", - label: "中文 (香港)" - }, { - value: "ko", - label: "한국어" - }] - } - } - }, - backup_and_reset: { - type: 'button', - variant: 'list-item', - label: 'backupAndReset', - before: '', - - section: { - type: 'section', - variant: 'card', - import_settings: { - type: 'button', - variant: 'list-item', - label: 'importSettings', - - onclick: function() { - try { - var input = document.createElement('input'); - - input.type = 'file'; - - input.addEventListener('change', function() { - var file_reader = new FileReader(); - - file_reader.onload = function() { - var data = JSON.parse(this.result); - - for (var i in data) { - satus.storage.set(i, data[i]); - } - - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'successfullyImportedSettings' - }, - section: { - type: 'section', - variant: 'card', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - label: 'OK', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - }; - - file_reader.readAsText(this.files[0]); - }); - - input.click(); - } catch (err) { - chrome.runtime.sendMessage({ - name: 'dialog-error', - value: err - }); - } - } - }, - export_settings: { - type: 'button', - variant: 'list-item', - label: 'exportSettings', - - onclick: function() { - chrome.runtime.sendMessage({ - name: 'download', - filename: 'improvedtube-settings.json', - value: satus.storage - }); - } - }, - reset_all_settings: { - type: 'button', - variant: 'list-item', - label: 'resetAllSettings', - - onclick: function() { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'thisWillResetAllSettings' - }, - section: { - type: 'section', - variant: 'card', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - accept: { - type: 'button', - label: 'accept', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - satus.storage.clear(); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - }, - delete_youtube_cookies: { - type: 'button', - variant: 'list-item', - label: 'deleteYoutubeCookies', - - onclick: function() { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - label: 'thisWillRemoveAllYouTubeCookies', - style: { - 'width': '100%', - 'opacity': '.8' - } - }, - section: { - type: 'section', - variant: 'card', - class: 'controls', - style: { - 'justify-content': 'flex-end', - 'display': 'flex' - }, - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - accept: { - type: 'button', - label: 'accept', - onclick: function() { - var scrim = document.querySelectorAll('.satus-dialog__scrim'); - - chrome.tabs.query({}, function(tabs) { - for (var i = 0, l = tabs.length; i < l; i++) { - if (tabs[i].hasOwnProperty('url')) { - chrome.tabs.sendMessage(tabs[i].id, { - name: 'delete_youtube_cookies' - }); - } - } - }); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - } - }, - date_and_time: { - type: 'button', - variant: 'list-item', - label: 'dateAndTime', - before: '', - - section: { - type: 'section', - variant: 'card', - - use_24_hour_format: { - type: 'switch', - label: 'use24HourFormat', - value: true - } - } - }, - about: { - type: 'button', - variant: 'list-item', - before: '', - label: 'about', - appearanceKey: 'about', - - section: { - type: 'section', - variant: 'card', - onrender: function() { - var component = this, - manifest = chrome.runtime.getManifest(), - user = satus.user(), - object = { - extension_section: { - type: 'section', - variant: 'card', - label: 'extension', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - version: { - type: 'text', - label: 'version', - value: manifest.version - }, - permissions: { - type: 'text', - label: 'permissions', - value: manifest.permissions.join(', ').replace('https://www.youtube.com/', 'YouTube') - }, - }, - browser_section: { - type: 'section', - variant: 'card', - label: 'browser', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - name: { - type: 'text', - label: 'name', - value: user.browser.name - }, - version: { - type: 'text', - label: 'version', - value: user.browser.version - }, - platform: { - type: 'text', - label: 'platform', - value: user.browser.platform - }, - video_formats: { - type: 'text', - label: 'videoFormats', - value: user.browser.video - }, - audio_formats: { - type: 'text', - label: 'audioFormats', - value: user.browser.audio - }, - flash: { - type: 'text', - label: 'flash', - value: user.browser.flash ? true : false - } - }, - os_section: { - type: 'section', - variant: 'card', - label: 'os', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - os_name: { - type: 'text', - label: 'name', - value: user.os.name - }, - - os_type: { - type: 'text', - label: 'type', - value: user.os.type - } - }, - device_section: { - type: 'section', - variant: 'card', - label: 'device', - style: { - 'flex-direction': 'column', - 'flex': '0' - }, - - screen: { - type: 'text', - label: 'screen', - value: user.device.screen - }, - cores: { - type: 'text', - label: 'cores', - value: user.device.cores - }, - gpu: { - type: 'text', - label: 'gpu', - value: user.device.gpu - }, - ram: { - type: 'text', - label: 'ram', - value: user.device.ram - } - } - }; - - setTimeout(function() { - satus.render(object, component.parentNode); - - component.remove(); - }); - } - } - } - } -}; \ No newline at end of file diff --git a/unstable/src/template/js/template-parts/player.js b/unstable/src/template/js/template-parts/player.js deleted file mode 100644 index f61f9bde2..000000000 --- a/unstable/src/template/js/template-parts/player.js +++ /dev/null @@ -1,316 +0,0 @@ -Menu.main.section.player = { - type: 'button', - before: '', - label: 'player', - class: 'satus-button--player', - appearanceKey: 'player', - - general: { - type: 'section', - variant: 'card', - - player_autoplay: { - type: 'switch', - label: 'autoplay', - value: true - }, - player_autopause_when_switching_tabs: { - type: 'switch', - label: 'autopauseWhenSwitchingTabs' - }, - player_forced_playback_speed: { - type: 'switch', - label: 'forcedPlaybackSpeed', - id: 'forced-playback-speed', - onrender: function() { - this.dataset.value = satus.storage.player_forced_playback_speed; - }, - onchange: function() { - this.dataset.value = satus.storage.player_forced_playback_speed; - } - }, - player_playback_speed: { - type: 'slider', - label: 'playbackSpeed', - textarea: true, - value: 1, - min: .1, - max: 8, - step: .05 - }, - player_subtitles: { - type: 'switch', - label: 'subtitles', - value: true - }, - player_crop_chapter_titles: { - type: 'switch', - label: 'cropChapterTitles', - value: true - }, - up_next_autoplay: { - type: 'switch', - label: 'upNextAutoplay', - value: true - }, - player_ads: { - label: 'ads', - type: 'select', - options: [{ - label: 'onAllVideos', - value: 'all_videos', - default: 'true' - }, { - label: 'onSubscribedChannels', - value: 'subscribed_channels' - }, { - label: 'blockAll', - value: 'block_all' - }] - }, - mini_player: { - type: 'switch', - label: 'customMiniPlayer' - }, - player_autofullscreen: { - type: 'switch', - label: 'autoFullscreen' - } - }, - - section_label__videos: { - type: 'text', - variant: 'section-label', - label: 'videos' - }, - - video: { - type: 'section', - variant: 'card', - - player_quality: { - type: 'select', - label: 'quality', - options: [{ - label: 'auto', - value: 'auto' - }, { - label: '144p', - value: 'tiny' - }, { - label: '240p', - value: 'small' - }, { - label: '360p', - value: 'medium' - }, { - label: '480p', - value: 'large' - }, { - label: '720p', - value: 'hd720' - }, { - label: '1080p', - value: 'hd1080' - }, { - label: '1440p', - value: 'hd1440' - }, { - label: '2160p', - value: 'hd2160' - }, { - label: '2880p', - value: 'hd2880' - }, { - label: '4320p', - value: 'highres' - }] - }, - player_h264: { - type: 'switch', - label: 'codecH264', - onclick: function() { - if (this.querySelector('input').checked === true) { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - class: 'satus-dialog__message', - label: 'youtubeLimitsVideoQualityTo1080pForH264Codec' - }, - section: { - type: 'section', - class: 'satus-section--actions', - - cancel: { - type: 'button', - variant: 'text', - label: 'cancel', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - variant: 'text', - label: 'OK', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - }, - player_60fps: { - type: 'switch', - label: 'allow60fps', - value: true, - onclick: function() { - if (this.querySelector('input').checked === true) { - satus.render({ - type: 'dialog', - class: 'satus-dialog--confirm', - - message: { - type: 'text', - class: 'satus-dialog__message', - label: 'youtubeLimitsVideoQualityTo1080pForH264Codec' - }, - section: { - type: 'section', - class: 'satus-section--actions', - - cancel: { - type: 'button', - label: 'cancel', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - }, - ok: { - type: 'button', - label: 'OK', - onclick: function() { - let scrim = document.querySelectorAll('.satus-dialog__scrim'); - - scrim[scrim.length - 1].click(); - } - } - } - }); - } - } - }, - }, - - section_label__audio: { - type: 'text', - variant: 'section-label', - label: 'audio' - }, - - audio: { - type: 'section', - variant: 'card', - label: 'audio', - - player_forced_volume: { - type: 'switch', - label: 'forcedVolume', - id: 'forced-volume', - onrender: function() { - this.dataset.value = satus.storage.player_forced_volume; - }, - onchange: function() { - this.dataset.value = satus.storage.player_forced_volume; - } - }, - player_volume: { - type: 'slider', - label: 'volume', - step: 1, - max: 100, - value: 100 - }, - player_loudness_normalization: { - type: 'switch', - label: 'loudnessNormalization', - value: true - } - }, - - section_label__buttons: { - type: 'text', - variant: 'section-label', - label: 'buttons' - }, - - buttons: { - type: 'section', - variant: 'card', - - player_screenshot: { - type: 'button', - variant: 'list-item', - label: 'screenshot', - - section: { - type: 'section', - variant: 'card', - - player_screenshot_button: { - type: 'switch', - label: 'activate' - }, - player_screenshot_save_as: { - type: 'select', - label: 'saveAs', - options: [{ - label: 'file', - value: 'file' - }, { - label: 'clipboard', - value: 'clipboard' - }] - } - } - }, - player_repeat: { - type: 'button', - variant: 'list-item', - label: 'repeat', - - section: { - type: 'section', - variant: 'card', - - player_repeat_button: { - type: 'switch', - label: 'activate' - }, - player_always_repeat: { - type: 'switch', - label: 'alwaysActive' - } - } - }, - player_rotate_button: { - type: 'switch', - label: 'rotate' - }, - player_popup_button: { - type: 'switch', - label: 'popupPlayer' - } - } -}; \ No newline at end of file diff --git a/unstable/src/template/js/template-parts/playlist.js b/unstable/src/template/js/template-parts/playlist.js deleted file mode 100644 index 899b9636c..000000000 --- a/unstable/src/template/js/template-parts/playlist.js +++ /dev/null @@ -1,41 +0,0 @@ -Menu.main.section.playlist = { - type: 'button', - before: '', - label: 'playlist', - class: 'satus-button--playlist', - appearanceKey: 'playlist', - - section: { - type: 'section', - variant: 'card', - - playlist_autoplay: { - type: 'switch', - label: 'autoplay', - value: true - }, - playlist_up_next_autoplay: { - type: 'switch', - label: 'upNextAutoplay', - value: true - }, - playlist_reverse: { - type: 'switch', - label: 'reverse' - } - }, - - section2: { - type: 'section', - variant: 'card', - - playlist_repeat: { - type: 'switch', - label: 'repeat' - }, - playlist_shuffle: { - type: 'switch', - label: 'shuffle' - } - } -}; diff --git a/unstable/src/template/js/template-parts/shortcuts.js b/unstable/src/template/js/template-parts/shortcuts.js deleted file mode 100644 index aa191bfc5..000000000 --- a/unstable/src/template/js/template-parts/shortcuts.js +++ /dev/null @@ -1,249 +0,0 @@ -Menu.main.section.shortcuts = { - type: 'button', - before: '', - label: 'shortcuts', - class: 'satus-button--shortcut', - appearanceKey: 'shortcuts', - - player_section_label: { - type: 'text', - variant: 'section-label', - label: 'player' - }, - - player_section: { - type: 'section', - variant: 'card', - - shortcut_picture_in_picture: { - type: 'shortcut', - label: 'pictureInPicture' - }, - shortcut_play_pause: { - type: 'shortcut', - label: 'playPause', - value: { - key: ' ' - } - }, - shortcut_stop: { - type: 'shortcut', - label: 'stop' - }, - shortcut_next_video: { - type: 'shortcut', - label: 'nextVideo', - value: { - key: 'N', - shiftKey: true - } - }, - shortcut_prev_video: { - type: 'shortcut', - label: 'previousVideo', - value: { - key: 'P', - shiftKey: true - } - }, - shortcut_seek_backward: { - type: 'shortcut', - label: 'seekBackward10Seconds', - value: { - key: 'J' - } - }, - shortcut_seek_forward: { - type: 'shortcut', - label: 'seekForward10Seconds', - value: { - key: 'I' - } - }, - shortcut_volume: { - type: 'button', - label: 'volume', - - section_step: { - type: 'section', - variant: 'card', - - shortcut_volume_step: { - type: 'slider', - label: 'step', - min: 1, - max: 10, - step: 1, - value: 5 - } - }, - - section: { - type: 'section', - variant: 'card', - - shortcut_increase_volume: { - type: 'shortcut', - label: 'increaseVolume', - custom_data: { - on_top_of_player: { - type: 'switch', - label: 'onTopOfPlayer', - storage: false - } - } - }, - shortcut_decrease_volume: { - type: 'shortcut', - label: 'decreaseVolume', - custom_data: { - on_top_of_player: { - type: 'switch', - label: 'onTopOfPlayer', - storage: false - } - } - } - } - }, - shortcut_playback_speed: { - type: 'button', - label: 'playbackSpeed', - - section_step: { - type: 'section', - variant: 'card', - - shortcut_playback_speed_step: { - type: 'slider', - label: 'step', - min: .05, - max: .5, - step: .05, - value: .05 - } - }, - - section: { - type: 'section', - variant: 'card', - - shortcut_increase_playback_speed: { - type: 'shortcut', - label: 'increasePlaybackSpeed' - }, - shortcut_decrease_playback_speed: { - type: 'shortcut', - label: 'decreasePlaybackSpeed' - } - } - }, - shortcut_activate_fullscreen: { - type: 'shortcut', - label: 'activateFullscreen', - value: { - key: 'F' - } - }, - shortcut_activate_captions: { - type: 'shortcut', - label: 'activateCaptions', - value: { - key: 'C' - } - }, - shortcut_quality: { - type: 'button', - label: 'quality', - - section: { - type: 'section', - variant: 'card', - - shortcut_240p: { - type: 'shortcut', - label: '240p' - }, - shortcut_360p: { - type: 'shortcut', - label: '360p' - }, - shortcut_480p: { - type: 'shortcut', - label: '480p' - }, - shortcut_720p: { - type: 'shortcut', - label: '720p' - }, - shortcut_1080p: { - type: 'shortcut', - label: '1080p' - }, - shortcut_1440p: { - type: 'shortcut', - label: '1440p' - }, - shortcut_2160p: { - type: 'shortcut', - label: '2160p' - }, - shortcut_2880p: { - type: 'shortcut', - label: '2880p' - }, - shortcut_4320p: { - type: 'shortcut', - label: '4320p' - } - } - }, - shortcut_custom_mini_player: { - type: 'shortcut', - label: 'customMiniPlayer' - }, - shortcut_screenshot: { - type: 'shortcut', - label: 'screenshot' - }, - shortcut_stats_for_nerds: { - type: 'shortcut', - label: 'statsForNerds' - }, - shortcut_toggle_cards: { - type: 'shortcut', - label: 'toggleCards' - } - }, - - appearance_section_label: { - type: 'text', - variant: 'section-label', - label: 'appearance' - }, - - appearance_section: { - type: 'section', - variant: 'card', - - shortcut_go_to_search_box: { - type: 'shortcut', - label: 'goToSearchBox', - value: { - key: '/' - } - }, - shortcut_like_shortcut: { - type: 'shortcut', - label: 'like' - }, - shortcut_dislike_shortcut: { - type: 'shortcut', - label: 'dislike' - }, - shortcut_dark_theme: { - type: 'shortcut', - label: 'darkTheme' - } - } -}; diff --git a/unstable/src/template/js/template-parts/themes.js b/unstable/src/template/js/template-parts/themes.js deleted file mode 100644 index efd6158cf..000000000 --- a/unstable/src/template/js/template-parts/themes.js +++ /dev/null @@ -1,395 +0,0 @@ -function themePopupChange() { - if (satus.storage.get('red_popup_theme') === true) { - document.documentElement.setAttribute('popup-theme', 'red'); - } else { - document.documentElement.removeAttribute('popup-theme'); - } -} - -function themeChange(event) { - if (event.target.checked) { - var themes = document.querySelectorAll('.satus-switch > input:checked:not([data-storage-key="red_popup_theme"])'); - - for (var i = 0, l = themes.length; i < l; i++) { - if (themes[i] !== event.target) { - themes[i].click(); - } - } - } - - if (satus.storage.get('default_dark_theme') === true) { - document.documentElement.setAttribute('theme', 'dark'); - } else if (satus.storage.get('night_theme') === true) { - document.documentElement.setAttribute('theme', 'night'); - } else if (satus.storage.get('dawn_theme') === true) { - document.documentElement.setAttribute('theme', 'dawn'); - } else if (satus.storage.get('sunset_theme') === true) { - document.documentElement.setAttribute('theme', 'sunset'); - } else if (satus.storage.get('desert_theme') === true) { - document.documentElement.setAttribute('theme', 'desert'); - } else if (satus.storage.get('plain_theme') === true) { - document.documentElement.setAttribute('theme', 'plain'); - } else if (satus.storage.get('black_theme') === true) { - document.documentElement.setAttribute('theme', 'black'); - } else { - document.documentElement.removeAttribute('theme'); - } -} - -Menu.main.section.themes = { - type: 'button', - before: '', - label: 'themes', - class: 'satus-button--themes', - appearanceKey: 'themes', - - section: { - type: 'section', - variant: 'card', - - my_colors: { - type: 'button', - variant: 'list-item', - label: 'myColors', - - section: { - type: 'section', - variant: 'card', - - theme_my_colors: { - type: 'switch', - label: 'activate' - } - }, - - section2: { - type: 'section', - variant: 'card', - - theme_primary_color: { - type: 'color-picker', - label: 'primaryColor', - variant: 'list-item', - value: 'rgba(200,200,200)' - }, - theme_text_color: { - type: 'color-picker', - label: 'textColor', - variant: 'list-item', - value: 'rgba(25,25,25)' - } - } - }, - filters: { - type: 'button', - variant: 'list-item', - label: 'filters', - - section: { - type: 'section', - variant: 'card', - - bluelight: { - type: 'slider', - label: 'bluelight', - step: 1, - max: 90, - value: 0 - }, - dim: { - type: 'slider', - label: 'dim', - step: 1, - max: 90, - value: 0 - } - } - }, - schedule: { - type: 'button', - variant: 'list-item', - label: 'schedule', - - section: { - type: 'section', - variant: 'card', - - schedule: { - type: 'select', - label: 'schedule', - - options: [{ - label: 'disabled', - value: 'disabled' - }, { - label: 'sunsetToSunrise', - value: 'sunset_to_sunrise' - }, { - label: 'systemPeferenceDark', - value: 'system_peference_dark' - }, { - label: 'systemPeferenceLight', - value: 'system_peference_light' - }] - }, - schedule_time_from: { - type: 'select', - label: 'timeFrom', - options: [{ - label: '00:00', - value: '00:00' - }, { - label: '01:00', - value: '01:00' - }, { - label: '02:00', - value: '02:00' - }, { - label: '03:00', - value: '03:00' - }, { - label: '04:00', - value: '04:00' - }, { - label: '05:00', - value: '05:00' - }, { - label: '06:00', - value: '06:00' - }, { - label: '07:00', - value: '07:00' - }, { - label: '08:00', - value: '08:00' - }, { - label: '09:00', - value: '09:00' - }, { - label: '10:00', - value: '10:00' - }, { - label: '11:00', - value: '11:00' - }, { - label: '12:00', - value: '12:00' - }, { - label: '13:00', - value: '13:00' - }, { - label: '14:00', - value: '14:00' - }, { - label: '15:00', - value: '15:00' - }, { - label: '16:00', - value: '16:00' - }, { - label: '17:00', - value: '17:00' - }, { - label: '18:00', - value: '18:00' - }, { - label: '19:00', - value: '19:00' - }, { - label: '20:00', - value: '20:00' - }, { - label: '21:00', - value: '21:00' - }, { - label: '22:00', - value: '22:00' - }, { - label: '23:00', - value: '23:00' - }] - }, - schedule_time_to: { - type: 'select', - label: 'timeTo', - options: [{ - label: '00:00', - value: '00:00' - }, { - label: '01:00', - value: '01:00' - }, { - label: '02:00', - value: '02:00' - }, { - label: '03:00', - value: '03:00' - }, { - label: '04:00', - value: '04:00' - }, { - label: '05:00', - value: '05:00' - }, { - label: '06:00', - value: '06:00' - }, { - label: '07:00', - value: '07:00' - }, { - label: '08:00', - value: '08:00' - }, { - label: '09:00', - value: '09:00' - }, { - label: '10:00', - value: '10:00' - }, { - label: '11:00', - value: '11:00' - }, { - label: '12:00', - value: '12:00' - }, { - label: '13:00', - value: '13:00' - }, { - label: '14:00', - value: '14:00' - }, { - label: '15:00', - value: '15:00' - }, { - label: '16:00', - value: '16:00' - }, { - label: '17:00', - value: '17:00' - }, { - label: '18:00', - value: '18:00' - }, { - label: '19:00', - value: '19:00' - }, { - label: '20:00', - value: '20:00' - }, { - label: '21:00', - value: '21:00' - }, { - label: '22:00', - value: '22:00' - }, { - label: '23:00', - value: '23:00' - }] - } - } - }, - font: { - type: 'select', - label: 'font', - options: [{ - label: 'Default', - value: 'Default' - }, { - label: 'Roboto', - value: 'Roboto' - }, { - label: 'Open Sans', - value: 'Open+Sans' - }, { - label: 'Lato', - value: 'Lato' - }, { - label: 'Montserrat', - value: 'Montserrat' - }, { - label: 'Source Sans Pro', - value: 'Source+Sans+Pro' - }, { - label: 'Roboto Condensed', - value: 'Roboto+Condensed' - }, { - label: 'Oswald', - value: 'Oswald' - }, { - label: 'Comfortaa', - value: 'Comfortaa' - }, { - label: 'Roboto Mono', - value: 'Roboto+Mono' - }, { - label: 'Raleway', - value: 'Raleway' - }, { - label: 'Poppins', - value: 'Poppins' - }, { - label: 'Noto Sans', - value: 'Noto+Sans' - }, { - label: 'Roboto Slab', - value: 'Roboto+Slab' - }, { - label: 'Marriweather', - value: 'Marriweather' - }, { - label: 'PT Sans', - value: 'PT+Sans' - }] - } - }, - - default_dark_theme: { - type: 'switch', - label: 'dark', - class: 'satus-switch--dark', - - onchange: themeChange - }, - night_theme: { - type: 'switch', - label: 'night', - class: 'satus-switch--night', - - onchange: themeChange - }, - dawn_theme: { - type: 'switch', - label: 'dawn', - class: 'satus-switch--dawn', - - onchange: themeChange - }, - sunset_theme: { - type: 'switch', - label: 'sunset', - class: 'satus-switch--sunset', - - onchange: themeChange - }, - desert_theme: { - type: 'switch', - label: 'desert', - class: 'satus-switch--desert', - - onchange: themeChange - }, - plain_theme: { - type: 'switch', - label: 'plain', - class: 'satus-switch--plain', - - onchange: themeChange - }, - black_theme: { - type: 'switch', - label: 'black', - class: 'satus-switch--black', - - onchange: themeChange - } -}; diff --git a/unstable/src/youtube/css/appearance.css b/unstable/src/youtube/css/appearance.css deleted file mode 100644 index ef6ec7f82..000000000 --- a/unstable/src/youtube/css/appearance.css +++ /dev/null @@ -1,776 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> APPEARANCE -------------------------------------------------------------------------------- -1.0 Header - 1.1 Position - 1.2 Logo - 1.3 Hide right buttons -2.0 Player - 2.1 Annotations - 2.2 Cards - 2.4 Color - 2.5 Transparent background - 2.6 Endscreen - 2.7 Sroll for details - 2.8 Always show progress bar - 2.9 Hide Gradient Bottom -3.0 Details - 3.1 Style - 3.2 Views count - 3.3 Likes -4.0 Description -5.0 Comments -6.0 Sidebar - 6.1 Live chat - 6.2 Playlist - 6.3 Related videos - 6.4 Sidebar and thumbnail position -7.0 Footer ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Header ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1 Position ------------------------------------------------------------------------------*/ - -html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-container, -html[it-header-position=hidden]:not([it-search-focus=true]) #masthead-positioner -{ - transform: translateY(-100%); -} - -html[it-header-position=hidden] app-drawer#guide #guide-spacer, -html[it-header-position=hidden] ytd-app > ytd-masthead, -html[it-header-position=hidden] #masthead-positioner-height-offset, -html[it-header-position=hover] app-drawer#guide #guide-spacer, -html[it-header-position=hover] #masthead-positioner-height-offset, -html[it-header-position=static] app-drawer#guide #guide-spacer, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-container, -html[it-header-position=hidden_on_video_page][it-page-type=video] app-drawer#guide #guide-spacer, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-positioner, -html[it-header-position=hidden_on_video_page][it-page-type=video] #masthead-positioner-height-offset, -html[it-header-position=hover_on_video_page][it-page-type=video] app-drawer#guide #guide-spacer, -html[it-header-position=hover_on_video_page][it-page-type=video] #masthead-positioner-height-offset, -html[it-header-position=static] #masthead-positioner-height-offset -{ - display: none !important; -} - -html[it-header-position=hover] ytd-app > ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app > ytd-masthead, -html[it-header-position=hover] #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-container, -html[it-header-position=hover] #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-positioner -{ - z-index: 2147483647 !important; -} - -html[it-header-position=hidden] ytd-page-manager#page-manager, -html[it-header-position=hidden] app-header#header, -html[it-header-position=hidden_on_video_page][it-page-type='video'] ytd-page-manager#page-manager, -html[it-header-position=hidden_on_video_page][it-page-type='video'] app-header#header, -html[it-header-position=hidden] #appbar-guide-menu, -html[it-header-position=hidden_on_video_page][it-page-type='video'] #appbar-guide-menu, -html[it-header-position=hover] ytd-page-manager#page-manager, -html[it-header-position=hover] app-header#header, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-page-manager#page-manager, -html[it-header-position=hover_on_video_page][it-page-type='video'] app-header#header, -html[it-header-position=hover] #appbar-guide-menu, -html[it-header-position=hover_on_video_page][it-page-type='video'] #appbar-guide-menu, -html[it-header-position=static] ytd-page-manager#page-manager, -html[it-header-position=static] #appbar-guide-menu -{ - margin-top: 0 !important; -} - -html[it-header-position=hover] ytd-app > ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) ytd-app > ytd-masthead, -html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) #masthead-container, -html[it-header-position=hover]:not([it-improvedtube-search=true]) #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video']:not([it-improvedtube-search=true]) #masthead-positioner -{ - transition: transform 250ms !important; - transform: translateY(-75%) !important; -} - -html[it-header-position=hover] #masthead-container:hover, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-container:hover, -html[it-header-position=hover] #masthead-positioner:hover, -html[it-header-position=hover_on_video_page][it-page-type='video'] #masthead-positioner:hover, -html[it-header-position=hover][it-search-focus=true] #masthead-container, -html[it-header-position=hover_on_video_page][it-page-type='video'][it-search-focus=true] #masthead-container, -html[it-header-position=hover][it-search-focus=true] #masthead-positioner, -html[it-header-position=hover_on_video_page][it-page-type='video'][it-search-focus=true] #masthead-positioner -{ - transform: translateY(0%) !important; -} - -html[it-header-position=static] #masthead-container, -html[it-header-position=static] #masthead-positioner -{ - position: relative !important; - z-index: 999999999999 !important; -} - -html[it-header-position=hover] ytd-app[masthead-hidden_] ytd-masthead, -html[it-header-position=hover] ytd-app[scrolling_] ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app[masthead-hidden_] ytd-masthead, -html[it-header-position=hover_on_video_page][it-page-type='video'] ytd-app[scrolling_] ytd-masthead -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -1.2 Logo ------------------------------------------------------------------------------*/ - -html[it-header-improve-logo=true] ytd-topbar-logo-renderer#logo, -html[it-header-improve-logo=true] #yt-masthead-logo-fragment, -html[it-header-improve-logo=true] #yt-masthead #logo-container .logo -{ - filter: grayscale(1); -} - -html[it-header-improve-logo=true][dark] #yt-masthead #logo-container .logo -{ - filter: grayscale(1) brightness(3); -} - -html[it-header-improve-logo=true] g.ytd-topbar-logo-renderer path[fill*='#FF0000'] -{ - fill: #282828; -} - -html[it-header-improve-logo=true][dark] g.ytd-topbar-logo-renderer path[fill*='#FF0000'] -{ - fill: #fff; -} - -html[it-header-improve-logo=true] g.ytd-topbar-logo-renderer polygon[fill*='#FFFFFF'] -{ - fill: #232323; -} - - -/*----------------------------------------------------------------------------- -1.3 Hide right buttons ------------------------------------------------------------------------------*/ - -html[it-header-hide-right-buttons=true] ytd-masthead#masthead #container #end -{ - visibility: hidden !important; - pointer-events: none !important; -} - - -/*----------------------------------------------------------------------------- -2.0 Player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 Annotations ------------------------------------------------------------------------------*/ - -html[it-player-hide-annotations=true] .annotation, -html[it-player-hide-annotations=true] .annotation-type-text, -html[it-player-hide-annotations=true] .annotation-shape -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.2 Cards ------------------------------------------------------------------------------*/ - -html[it-player-hide-cards=true] .ytp-ce-element, -html[it-player-hide-cards=true] .ytp-ce-video, -html[it-player-hide-cards=true] .ytp-cards-button, -html[it-player-hide-cards=true] .ytp-cards-teaser, -html[it-player-show-cards-on-mouse-hover=true] .ytp-cards-button -{ - display: none !important; -} - -html[it-player-show-cards-on-mouse-hover=true] .html5-video-player:hover .iv-drawer -{ - display: block !important; - transform: none; -} - -/*----------------------------------------------------------------------------- -2.4 Color ------------------------------------------------------------------------------*/ - -html[it-player-color='pink'] .ytp-play-progress, -html[it-player-color='pink'] .ytp-scrubber-button, -html[it-player-color='pink'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='pink'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #e91e63 !important; -} - -html[it-player-color='pink'] .ytp-swatch-color -{ - color: #e91e63 !important; -} - -html[it-player-color='purple'] .ytp-play-progress, -html[it-player-color='purple'] .ytp-scrubber-button, -html[it-player-color='purple'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='purple'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #9c27b0 !important; -} - -html[it-player-color='purple'] .ytp-swatch-color -{ - color: #9c27b0 !important; -} - -html[it-player-color='deep_purple'] .ytp-play-progress, -html[it-player-color='deep_purple'] .ytp-scrubber-button, -html[it-player-color='deep_purple'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='deep_purple'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #673ab7 !important; -} - -html[it-player-color='deep_purple'] .ytp-swatch-color -{ - color: #673ab7 !important; -} - -html[it-player-color='indigo'] .ytp-play-progress, -html[it-player-color='indigo'] .ytp-scrubber-button, -html[it-player-color='indigo'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='indigo'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #3f51b5 !important; -} - -html[it-player-color='indigo'] .ytp-swatch-color -{ - color: #3f51b5 !important; -} - -html[it-player-color='blue'] .ytp-play-progress, -html[it-player-color='blue'] .ytp-scrubber-button, -html[it-player-color='blue'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='blue'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #1e88e5 !important; -} - -html[it-player-color='blue'] .ytp-swatch-color -{ - color: #1e88e5 !important; -} - -html[it-player-color='light_blue'] .ytp-play-progress, -html[it-player-color='light_blue'] .ytp-scrubber-button, -html[it-player-color='light_blue'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='light_blue'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #03a9f4 !important; -} - -html[it-player-color='light_blue'] .ytp-swatch-color -{ - color: #03a9f4 !important; -} - -html[it-player-color='cyan'] .ytp-play-progress, -html[it-player-color='cyan'] .ytp-scrubber-button, -html[it-player-color='cyan'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='cyan'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #00bcd4 !important; -} - -html[it-player-color='cyan'] .ytp-swatch-color -{ - color: #00bcd4 !important; -} - -html[it-player-color='teal'] .ytp-play-progress, -html[it-player-color='teal'] .ytp-scrubber-button, -html[it-player-color='teal'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='teal'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #009688 !important; -} - -html[it-player-color='teal'] .ytp-swatch-color -{ - color: #009688 !important; -} - -html[it-player-color='green'] .ytp-play-progress, -html[it-player-color='green'] .ytp-scrubber-button, -html[it-player-color='green'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='green'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #4caf50 !important; -} - -html[it-player-color='green'] .ytp-swatch-color -{ - color: #4caf50 !important; -} - -html[it-player-color='light_green'] .ytp-play-progress, -html[it-player-color='light_green'] .ytp-scrubber-button, -html[it-player-color='light_green'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='light_green'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #8bc34a !important; -} - -html[it-player-color='light_green'] .ytp-swatch-color -{ - color: #8bc34a !important; -} - -html[it-player-color='lime'] .ytp-play-progress, -html[it-player-color='lime'] .ytp-scrubber-button, -html[it-player-color='lime'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='lime'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #cddc39 !important; -} - -html[it-player-color='lime'] .ytp-swatch-color -{ - color: #cddc39 !important; -} - -html[it-player-color='yellow'] .ytp-play-progress, -html[it-player-color='yellow'] .ytp-scrubber-button, -html[it-player-color='yellow'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='yellow'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ffeb3b !important; -} - -html[it-player-color='yellow'] .ytp-swatch-color -{ - color: #ffeb3b !important; -} - -html[it-player-color='amber'] .ytp-play-progress, -html[it-player-color='amber'] .ytp-scrubber-button, -html[it-player-color='amber'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='amber'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ffc107 !important; -} - -html[it-player-color='amber'] .ytp-swatch-color -{ - color: #ffc107 !important; -} - -html[it-player-color='orange'] .ytp-play-progress, -html[it-player-color='orange'] .ytp-scrubber-button, -html[it-player-color='orange'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='orange'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ff9800 !important; -} - -html[it-player-color='orange'] .ytp-swatch-color -{ - color: #ff9800 !important; -} - -html[it-player-color='deep_orange'] .ytp-play-progress, -html[it-player-color='deep_orange'] .ytp-scrubber-button, -html[it-player-color='deep_orange'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='deep_orange'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #ff5722 !important; -} - -html[it-player-color='deep_orange'] .ytp-swatch-color -{ - color: #ff5722 !important; -} - -html[it-player-color='brown'] .ytp-play-progress, -html[it-player-color='brown'] .ytp-scrubber-button, -html[it-player-color='brown'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='brown'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #795548 !important; -} - -html[it-player-color='brown'] .ytp-swatch-color -{ - color: #795548 !important; -} - -html[it-player-color='blue_gray'] .ytp-play-progress, -html[it-player-color='blue_gray'] .ytp-scrubber-button, -html[it-player-color='blue_gray'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='blue_gray'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #607d8b !important; -} - -html[it-player-color='blue_gray'] .ytp-swatch-color -{ - color: #607d8b !important; -} - -html[it-player-color='white'] .ytp-play-progress, -html[it-player-color='white'] .ytp-scrubber-button, -html[it-player-color='white'] .ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox, -html[it-player-color='white'] .ytp-settings-button.ytp-hd-quality-badge:after -{ - background-color: #fff !important; -} - -html[it-player-color='white'] .ytp-swatch-color -{ - color: #fff !important; -} - - -/*----------------------------------------------------------------------------- -2.5 Transparent background ------------------------------------------------------------------------------*/ - -[it-player-transparent-background=true] #player-theater-container, -[it-player-transparent-background=true] #theater-background, -[it-player-transparent-background=true] #player-api, -[it-player-transparent-background=true] .player-api, -[it-player-transparent-background=true] #movie_player, -[it-player-transparent-background=true] #player-container, -[it-player-transparent-background=true] #movie_player video -{ - background-color: transparent !important; -} - - -/*----------------------------------------------------------------------------- -2.6 Endscreen ------------------------------------------------------------------------------*/ - -html[it-player-hide-endscreen=true] .html5-endscreen -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.7 Scroll for details ------------------------------------------------------------------------------*/ - -html[it-hide-scroll-for-details=true] button.ytp-fullerscreen-edu-button -{ - display: none !important; -} - -html[it-hide-scroll-for-details=true] ytd-app[scrolling_] -{ - overflow: hidden !important; -} - - -/*----------------------------------------------------------------------------- -2.8 Always show progress bar ------------------------------------------------------------------------------*/ - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom -{ - opacity: 1 !important; -} - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-chrome-controls -{ - opacity: 0 !important; -} - -html[it-always-show-progress-bar=true] .html5-video-player:not(.it-mini-player).ytp-autohide .ytp-chrome-bottom .ytp-progress-bar-container -{ - bottom: 0 !important; -} - -/*----------------------------------------------------------------------------- -2.9 Hide Gradient Bottom ------------------------------------------------------------------------------*/ - -html[it-hide-gradient-bottom=true] .ytp-gradient-bottom -{ - display: none; -} - -/*----------------------------------------------------------------------------- -3.0 Details ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -3.1 Hide details ------------------------------------------------------------------------------*/ - -html[it-hide-details=true] #watch-header, -html[it-hide-details=true] #watch-action-panels, -html[it-hide-details=true] #action-panel-details, -html[it-hide-details=true] #primary-inner > #info, -html[it-hide-details=true] #primary-inner > #meta -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -3.2 Views count ------------------------------------------------------------------------------*/ - -html[it-hide-views-count=true] #count.ytd-video-primary-info-renderer, -html[it-hide-views-count=true] #watch7-views-info > .watch-view-count -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -3.3 Likes ------------------------------------------------------------------------------*/ - -[it-likes=hidden] #watch8-sentiment-actions > .like-button-renderer, -[it-likes=hidden] .video-extras-sparkbar-likes, -[it-likes=hidden] .video-extras-sparkbar-dislikes, -[it-likes=hidden] #info #top-level-buttons ytd-toggle-button-renderer:nth-child(1), -[it-likes=hidden] #info #top-level-buttons ytd-toggle-button-renderer:nth-child(2), -[it-likes=hidden] #sentiment.ytd-video-primary-info-renderer -{ - visibility: hidden !important; - - pointer-events: none !important; -} - -[it-likes=icons_only] #watch8-sentiment-actions > .like-button-renderer button > span, -[it-likes=icons_only] .video-extras-sparkbar-likes, -[it-likes=icons_only] .video-extras-sparkbar-dislikes, -[it-likes=icons_only] #top-level-buttons ytd-toggle-button-renderer:nth-child(1) yt-formatted-string, -[it-likes=icons_only] #top-level-buttons ytd-toggle-button-renderer:nth-child(2) yt-formatted-string, -[it-likes=icons_only] #sentiment.ytd-video-primary-info-renderer -{ - visibility: hidden !important; - - pointer-events: none !important; -} - -[it-likes=icons_only] #text.style-scope.ytd-toggle-button-renderer.style-text, -[it-likes=icons_only] #text.style-scope.ytd-toggle-button-renderer.style-default-active -{ - visibility: hidden !important; -} - -[it-likes=icons_only] .like-button-renderer-like-button, -[it-likes=icons_only] .like-button-renderer-dislike-button -{ - color: transparent !important; -} - -[it-red-dislike-button=true] #top-level-buttons > ytd-toggle-button-renderer.style-scope.ytd-menu-renderer.force-icon-button:nth-child(2).style-default-active > a -{ - color: #fc0000 !important; -} - - -/*----------------------------------------------------------------------------- -4.0 Description ------------------------------------------------------------------------------*/ - -html[it-description=hidden] ytd-video-secondary-info-renderer ytd-expander.ytd-video-secondary-info-renderer, -html[it-description=hidden] div#action-panel-details, -html[it-description=expanded] #meta-contents ytd-expander[collapsed] paper-button, -html[it-description=expanded] #action-panel-details button -{ - display: none !important; -} - -html[it-description=expanded] #meta-contents ytd-expander[collapsed] > #content.ytd-expander, -html[it-description=expanded] #watch-description-text -{ - max-height: unset !important; -} - -html[it-description=expanded] .yt-uix-expander .yt-uix-expander-collapsed-body, -html[it-description=expanded] .yt-uix-expander-collapsed .yt-uix-expander-body -{ - display: block !important; -} - - -/*----------------------------------------------------------------------------- -5.0 Comments ------------------------------------------------------------------------------*/ - -html[it-comments=hidden] ytd-comments#comments, -html[it-comments=hidden] div#watch-discussion, -html[it-comments=collapsed].comments-collapsed #comment-section-renderer-items + button, -html[it-comments=collapsed]:not(.comments-collapsed) #improvedtube-collapsed-comments .show-more-text, -html[it-comments=collapsed].comments-collapsed #improvedtube-collapsed-comments .show-less-text, -html[it-comments=collapsed].comments-collapsed #comments #spinner -{ - display: none !important; -} - -html[it-comments=collapsed].comments-collapsed #comment-section-renderer-items, -html[it-comments=collapsed].comments-collapsed #comments #sections #contents -{ - overflow: hidden !important; - - height: 0 !important; -} - -#sections #improvedtube-collapsed-comments -{ - font-family: inherit; - font-size: 12px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 0 0 3rem; - padding: 1rem 0; - - cursor: pointer; - letter-spacing: .007px; - text-transform: uppercase; - - color: var(--yt-expand-color); - border: none; - border-bottom: 1px solid var(--yt-spec-10-percent-layer); - outline: none; - background: transparent; -} - - -/*----------------------------------------------------------------------------- -6.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -6.1 Live chat ------------------------------------------------------------------------------*/ - -html[it-livechat=hidden] ytd-live-chat-frame#chat, -html[it-livechat=hidden] div#watch-sidebar-live-chat -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -6.2 Playlist ------------------------------------------------------------------------------*/ - -html[it-hide-playlist=true] ytd-playlist-panel-renderer#playlist, -html[it-hide-playlist=true] div#player-playlist, -html[it-hide-playlist=true] #placeholder-playlist -{ - position: absolute !important; - - width: 0 !important; - height: 0 !important; - - pointer-events: none !important; - - opacity: 0 !important; -} - - -/*----------------------------------------------------------------------------- -6.3 Related videos ------------------------------------------------------------------------------*/ - -html[it-related-videos=hidden] div#related, -html[it-related-videos=hidden] div#watch7-sidebar-contents, -html[it-related-videos=collapsed].related-videos-collapsed #watch7-sidebar-modules, -html[it-related-videos=collapsed].related-videos-collapsed #related > *:not(#improvedtube-collapsed-related-videos), -html[it-related-videos=collapsed]:not(.related-videos-collapsed) #improvedtube-collapsed-related-videos .show-more-text, -html[it-related-videos=collapsed].related-videos-collapsed #improvedtube-collapsed-related-videos .show-less-text -{ - display: none !important; -} - -#improvedtube-collapsed-related-videos -{ - font-family: inherit; - font-size: 12px; - font-weight: 500; - - box-sizing: border-box; - width: 100%; - margin: 0 0 3rem; - padding: 1rem 0; - - cursor: pointer; - letter-spacing: .007px; - text-transform: uppercase; - - color: var(--yt-expand-color); - border: none; - border-bottom: 1px solid var(--yt-spec-10-percent-layer); - outline: none; - background: transparent; -} - -#watch7-sidebar #improvedtube-collapsed-related-videos -{ - font-size: 12px; - font-weight: 500; - - display: block; - - width: 95%; - height: 100%; - margin: 0 auto 15px !important; - padding: 10px 0; - - cursor: pointer; - text-align: center; - - color: #333; - border: 1px solid #d3d3d3; - border-color: #c6c6c6; - outline: 0; - background-color: #f8f8f8; - background-image: linear-gradient(to top, #f0f0f0 0, #f8f8f8 100%); - box-shadow: inset 0 1px 0 #ddd; -} - -/*----------------------------------------------------------------------------- -6.4 Sidebar and thumbnail position ------------------------------------------------------------------------------*/ - -html[it-sidebar-left='true'] #columns>#primary, -html[it-sidebar-left='true'] #head>#upnext /* also moving autoplay button to the outside as the glow bothers next to the video */ -{ - order:7; -} -html[it-thumbnails-right='true'] #dismissable>ytd-thumbnail -{ - order:7; -} - -/*----------------------------------------------------------------------------- -7.0 Footer ------------------------------------------------------------------------------*/ - -html[it-hide-footer=true] app-drawer#guide #footer, -html[it-hide-footer=true] #footer-container.yt-base-gutter -{ - display: none !important; -} diff --git a/unstable/src/youtube/css/appearance__player-size.css b/unstable/src/youtube/css/appearance__player-size.css deleted file mode 100644 index f9a977b3f..000000000 --- a/unstable/src/youtube/css/appearance__player-size.css +++ /dev/null @@ -1,517 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> APPEARANCE: PLAYER SIZE -------------------------------------------------------------------------------- -1.0 Variables - 1.1 Header size - 1.1.1 «Normal» - 1.1.2 «Hidden» - 1.1.3 «Hover» - 1.2 Player size - 1.2.1 «240p» - 1.2.2 «360p» - 1.2.3 «480p» - 1.2.4 «576p» - 1.2.5 «720p» - 1.2.6 «1080p» - 1.2.7 «1440p» - 1.2.8 «2160p» - 1.2.9 «Full window» -2.0 YouTube ------------------------------------------------------------------------------*/ - - - - - -/*----------------------------------------------------------------------------- -1.0 Variables ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1 Header size ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.1.1 «Normal» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"]:not([it-header-position]) ytd-app, -html[it-page-type="video"][it-header-position='normal'] ytd-app, -html[it-page-type="video"][it-header-position='static'] ytd-app -{ - --it-header-size: 56px; -} - -html[it-page-type="video"]:not([it-header-position]) ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='normal'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='static'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 104px; -} - -html[it-page-type="video"]:not([it-header-position]) div#page, -html[it-page-type="video"][it-header-position='normal'] div#page, -html[it-page-type="video"][it-header-position='static'] div#page -{ - --it-header-size: 50px; -} - -html[it-page-type="video"]:not([it-header-position]) div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='normal'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='static'] div#page:not(.watch-wide) -{ - --it-header-size: 70px; -} - -/*----------------------------------------------------------------------------- -1.1.2 «Hidden» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-header-position='hidden'], -html[it-page-type="video"][it-header-position='hidden_on_video_page'] -{ - --it-header-size: 0px; -} - -html[it-page-type="video"][it-header-position='hidden'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='hidden_on_video_page'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 48px; -} - -html[it-page-type="video"][it-header-position='hidden'] div#page, -html[it-page-type="video"][it-header-position='hidden_on_video_page'] div#page -{ - --it-header-size: 0px; -} - -html[it-page-type="video"][it-header-position='hidden'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='hidden_on_video_page'] div#page:not(.watch-wide) -{ - --it-header-size: 20px; -} - -/*----------------------------------------------------------------------------- -1.1.3 «Hover» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-header-position='hover'], -html[it-page-type="video"][it-header-position='hover_on_video_page'] -{ - --it-header-size: 14px; -} - -html[it-page-type="video"][it-header-position='hover'] ytd-watch-flexy:not([theater]), -html[it-page-type="video"][it-header-position='hover_on_video_page'] ytd-watch-flexy:not([theater]) -{ - --it-header-size: 62px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page, -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page -{ - --it-header-size: 12px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page:not(.watch-wide), -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page:not(.watch-wide) -{ - --it-header-size: 32px; -} - -html[it-page-type="video"][it-header-position='hover'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container, -html[it-page-type="video"][it-header-position='hover_on_video_page'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .player-theater-container -{ - margin-top: 14px; -} - -html[it-page-type="video"][it-header-position='hover'] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen), -html[it-page-type="video"][it-header-position='hover_on_video_page'] div#page #movie_player:not(.it-mini-player):not(.ytp-fullscreen) -{ - margin-top: 12px; -} - - - - - -html[it-page-type="video"][it-player-size='240p'] *, -html[it-page-type="video"][it-player-size='360p'] *, -html[it-page-type="video"][it-player-size='480p'] *, -html[it-page-type="video"][it-player-size='576p'] *, -html[it-page-type="video"][it-player-size='720p'] *, -html[it-page-type="video"][it-player-size='1080p'] *, -html[it-page-type="video"][it-player-size='1440p'] *, -html[it-page-type="video"][it-player-size='2160p'] * -{ - --it-header-size: 0px !important; -} - - - - - -/*----------------------------------------------------------------------------- -1.2 Player size ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.2.1 «240p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='240p'] -{ - --it-player-size: 240px; -} - -/*----------------------------------------------------------------------------- -1.2.2 «360p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='360p'] -{ - --it-player-size: 360px; -} - -/*----------------------------------------------------------------------------- -1.2.3 «480p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='480p'] -{ - --it-player-size: 480px; -} - -/*----------------------------------------------------------------------------- -1.2.4 «576p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='576p'] -{ - --it-player-size: 576px; -} - -/*----------------------------------------------------------------------------- -1.2.5 «720p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='720p'] -{ - --it-player-size: 720px; -} - -/*----------------------------------------------------------------------------- -1.2.6 «1080p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='1080p'] -{ - --it-player-size: 1080px; -} - -/*----------------------------------------------------------------------------- -1.2.7 «1440p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='1440p'] -{ - --it-player-size: 1440px; -} - -/*----------------------------------------------------------------------------- -1.2.8 «2160p» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='2160p'] -{ - --it-player-size: 2160px; -} - -/*----------------------------------------------------------------------------- -1.2.9 «Full window» ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size='full_window'] -{ - --it-player-size: 100vh; -} - -html[it-page-type="video"][it-player-size='fit_to_window'] -{ - --it-player-size: 100vh; -} - - - - - -/*----------------------------------------------------------------------------- -2.0 YouTube ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- ->>> PLAYER ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-container-inner -{ - padding-top: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([theater]):not([fullscreen]) #player-container, -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy[theater]:not([fullscreen]) #player-theater-container -{ - width: auto !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; - min-height: auto !important; - max-height: 100vh !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player -{ - background: #000 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-container -{ - position: absolute !important; - - display: flex !important; - - width: 100% !important; - height: 100% !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video -{ - position: static !important; - top: 0 !important; - left: 0 !important; - - width: auto !important; - max-width: 100% !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - - -/*FIT TO WINDOW*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) #player-theater-container -{ - background: transparent !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) -{ - width: auto !important; - overflow: visible !important; - display: table !important; - margin: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .ytp-chrome-bottom -{ - width: calc(100% - 24px) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .html5-video-container -{ - width: auto !important; - position: static !important; - display: inline-block !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) video -{ - position: static !important; - width: auto !important; - max-width: 100vw !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] ytd-app:not([player-fullscreen_]) ytd-watch-flexy:not([fullscreen]) .html5-video-player:not(.it-mini-player) .ytp-iv-video-content { - pointer-events: none !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> LEGACY PLAYER ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page #player #player-api, -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .player-height -{ - height: calc(var(--it-player-size) - var(--it-header-size)) !important; - min-height: auto !important; - max-height: 100vh !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page.watch-wide #player #player-api -{ - left: 0 !important; - - width: 100% !important; - margin: 0 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .html5-video-container -{ - position: absolute !important; - - display: flex !important; - - width: 100% !important; - height: 100% !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) div#page .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) video -{ - position: static !important; - top: 0 !important; - left: 0 !important; - - width: auto !important; - max-width: 100% !important; - height: calc(var(--it-player-size) - var(--it-header-size)) !important; -} - - -/*FIT TO WINDOW*/ -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #placeholder-player -{ - display: none !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player -{ - width: auto !important; - margin-bottom: 10px !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player #player-api -{ - display: table !important; - width: auto !important; - margin: auto !important; - left: 0 !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #theater-background -{ - display: none !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player-mole-container -{ - height: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide #player #player-api.player-height -{ - height: auto !important; - position: static !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) -{ - width: auto !important; - height: auto !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .html5-video-container -{ - position: static !important; - width: auto !important; - height: auto !important; -} - -/*html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) video -{ - z-index: 9 !important; -}*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal'])[it-player-size='fit_to_window'] div#page.watch-wide .html5-video-player:not(.it-mini-player):not(.ytp-fullscreen) .ytp-iv-video-content { - pointer-events: none !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> PLAYER ERROR ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) .ytp-error .ytp-tv-static -{ - width: 100% !important; - height: 100% !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> PLAYER TOOLTIP ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']) .ytp-tooltip -{ - top: unset !important; - bottom: 64px !important; -} - - - - - -/*----------------------------------------------------------------------------- ->>> LEGACY SIDEBAR ------------------------------------------------------------------------------*/ - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page:not(.watch-wide) #watch7-sidebar -{ - top: unset !important; - - margin-top: calc(-10px - calc(var(--it-player-size) - var(--it-header-size))) !important; -} - -html[it-page-type="video"][it-player-size]:not([it-player-size='do_not_change']):not([it-player-size='normal']):not([it-player-size='fit_to_window']) div#page.watch-wide #watch-appbar-playlist -{ - top: 230px !important; -} - -html[it-page-type="video"][it-player-size='fit_to_window'] div#page.watch-wide #watch-appbar-playlist -{ - top: -360px !important; -} - - - - - - - - - - - - - - -html[it-page-type="video"][it-header-position='hover'][it-player-size='full_window'] ytd-app:not([masthead-hidden_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover'][it-player-size='full_window'] ytd-app:not([scrolling_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover_on_video_page'][it-player-size='full_window'] ytd-app:not([masthead-hidden_]) .html5-video-player, -html[it-page-type="video"][it-header-position='hover_on_video_page'][it-player-size='full_window'] ytd-app:not([scrolling_]) .html5-video-player -{ - margin-top: 14px !important; -} diff --git a/unstable/src/youtube/css/blacklist.css b/unstable/src/youtube/css/blacklist.css deleted file mode 100644 index bd816c5ca..000000000 --- a/unstable/src/youtube/css/blacklist.css +++ /dev/null @@ -1,36 +0,0 @@ -.improvedtube-add-to-blacklist -{ - font-size: 32px; - line-height: 26px; - - position: absolute; - z-index: 999; - top: 4px; - left: 4px; - - visibility: hidden; - overflow: hidden; - - width: 32px; - height: 32px; - - cursor: pointer; - transition: transform .15s; - transform: scale(1); - text-align: center; - - opacity: .7; - color: #fff; - border-radius: 2px; - background: #000; -} - -*:hover > .improvedtube-add-to-blacklist -{ - visibility: visible; -} - -.improvedtube-add-to-blacklist:hover -{ - transform: scale(1.25); -} diff --git a/unstable/src/youtube/css/channel.css b/unstable/src/youtube/css/channel.css deleted file mode 100644 index fb5a879a0..000000000 --- a/unstable/src/youtube/css/channel.css +++ /dev/null @@ -1,22 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> CHANNEL -------------------------------------------------------------------------------- -1.0 Featured content ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Featured content ------------------------------------------------------------------------------*/ - -html[it-channel-hide-featured-content=true] #secondary #contents.style-scope.ytd-browse-secondary-contents-renderer, -html[it-channel-hide-featured-content=true] .branded-page-v2-secondary-col -{ - display: none !important; -} -html[it-channel-hide-featured-content=true] #secondary.ytd-two-column-browse-results-renderer, -html[it-channel-hide-featured-content=true] #secondary ytd-browse-secondary-contents-renderer -{ - padding: 0; - width: fit-content; - height: fit-content; -} diff --git a/unstable/src/youtube/css/general.css b/unstable/src/youtube/css/general.css deleted file mode 100644 index 6bb3e2226..000000000 --- a/unstable/src/youtube/css/general.css +++ /dev/null @@ -1,279 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> GENERAL -------------------------------------------------------------------------------- -1.0 YouTube Home Page -2.0 Add «Scroll to top» -3.0 Squared user images -4.0 Hide animated thumbnails -5.0 Better subscriptions -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 YouTube Home Page ------------------------------------------------------------------------------*/ - -html[it-page-type=home][it-youtube-home-page=search], -html[it-page-type=home][it-youtube-home-page=search] app-drawer[opened], -html[it-page-type=home][it-youtube-home-page=search] #appbar-guide-menu -{ - visibility: hidden !important; - overflow: hidden !important; - - width: 100vw !important; - height: 100vh !important; - - pointer-events: none !important; -} - -html[it-page-type=home][it-youtube-home-page=search] ytd-searchbox#search, -html[it-page-type=home][it-youtube-home-page=search] #yt-masthead-content -{ - position: fixed !important; - z-index: 99999 !important; - top: 0 !important; - left: 0 !important; - - display: flex !important; - visibility: visible !important; - - width: 100vw !important; - height: 100vh !important; - margin: 0 !important; - - pointer-events: all !important; - - justify-content: center !important; - align-items: center !important; -} - -html[it-page-type=home][it-youtube-home-page=search] #yt-masthead-content > form -{ - width: 100% !important; -} - -html[it-page-type=home][it-youtube-home-page=search] .gstl_50.sbdd_a -{ - z-index: 99999 !important; - - visibility: visible !important; - - pointer-events: all !important; -} - - -/*----------------------------------------------------------------------------- -2.0 Add «Scroll to top» ------------------------------------------------------------------------------*/ - -#it-scroll-to-top -{ - position: fixed; - z-index: 999; - right: 32px; - bottom: 32px; - - display: flex; - visibility: hidden; - - box-sizing: border-box; - width: 56px; - height: 56px; - - cursor: pointer; - transition: background 500ms 250ms, transform 500ms, box-shadow 525ms; - transform: translateY(88px); - pointer-events: none; - - opacity: 0; - border-radius: 50%; - background: linear-gradient(135deg, #f8d266, #f17953); - box-shadow: 0 1px 1px 1px rgba(230, 109, 70, .7), 0 3px 5px rgba(0,0,0,.35); - - justify-content: center; - align-items: center; -} - -html[it-show-scroll-to-top=true] #it-scroll-to-top -{ - visibility: visible; - - transform: translateY(0px); - pointer-events: all; - - opacity: 1; -} - -html:not([it-red-popup-theme]) #it-scroll-to-top, -html[it-red-popup-theme="true"] #it-scroll-to-top -{ - background: #f73030; - box-shadow: 0 3px 5px rgba(0,0,0,.35); -} - -#it-scroll-to-top > svg -{ - width: 24px; - - fill: #fff; -} - -html[it-show-scroll-to-top="true"] #it-scroll-to-top:hover -{ - transition: background 250ms 125ms, transform 250ms, box-shadow 275ms; - transform: translateY(4px) scale(.975); - box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12); -} - - -/*----------------------------------------------------------------------------- -3.0 Squared user images ------------------------------------------------------------------------------*/ - -html[it-squared-user-images=true] #avatar.ytd-shelf-renderer, -html[it-squared-user-images=true] yt-img-shadow, -html[it-squared-user-images=true] #yt-masthead-user .yt-masthead-user-icon -{ - border-radius: unset !important; -} - - -/*----------------------------------------------------------------------------- -4.0 Hide animated thumbnails ------------------------------------------------------------------------------*/ - -html[it-hide-animated-thumbnails=true] #mouseover-overlay, -html[it-hide-animated-thumbnails=true] .mouseover-play, -html[it-hide-animated-thumbnails=true] .mouseover-img -{ - visibility: hidden !important; -} - - -/*----------------------------------------------------------------------------- -5.0 Better subscriptions ------------------------------------------------------------------------------*/ - -#browse-items-primary .section-list > li .shelf-title-cell -{ - display: flex; -} - -#browse-items-primary .section-list > li .shelf-title-row -{ - display: flex; - - justify-content: space-between; -} - -ytd-item-section-renderer .grid-subheader + #contents, -#browse-items-primary .section-list > li, -#browse-items-primary .section-list > li .multirow-shelf -{ - overflow: hidden; -} - -ytd-item-section-renderer.it-section-collapsed .grid-subheader + #contents, -#browse-items-primary .section-list > li.it-section-collapsed .multirow-shelf -{ - height: 0 !important; -} - -#browse-items-primary .section-list > li .it-section-collapse -{ - margin-left: 16px; -} - -ytd-item-section-renderer .it-section-collapse, -#browse-items-primary .section-list > li .it-section-collapse -{ - cursor: pointer; -} - -ytd-item-section-renderer .it-section-collapse svg, -#browse-items-primary .section-list > li .it-section-collapse svg -{ - width: 24px; - height: 24px; - - transition: transform 150ms; - - fill: var(--ytd-menu-renderer-button-color, var(--yt-spec-icon-inactive)); -} - -#browse-items-primary .section-list > li .it-section-collapse svg -{ - position: relative; - top: -2px; -} - -ytd-item-section-renderer .it-section-collapse:hover svg, -#browse-items-primary .section-list > li .it-section-collapse:hover svg -{ - fill: var(--yt-spec-icon-active-other); -} - -ytd-item-section-renderer.it-section-collapsed .it-section-collapse svg, -#browse-items-primary .section-list > li.it-section-collapsed .it-section-collapse svg -{ - transform: rotate(180deg); -} - - -/*----------------------------------------------------------------------------- -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -.it-mark-watched -{ - position: absolute; - z-index: 999; - bottom: 4px; - left: 4px; - - visibility: hidden; - overflow: hidden; - - width: 28px; - height: 28px; - - cursor: pointer; - text-align: center; - - color: #fff; - border-radius: 2px; - background: rgba(0,0,0,.8); -} - -.it-mark-watched svg -{ - position: absolute; - top: 4px; - left: 4px; - - width: 20px; - height: 20px; - - fill: var(--ytd-menu-renderer-button-color, var(--yt-spec-icon-inactive, #aaa)); -} - -*:hover > .it-mark-watched -{ - visibility: visible; -} - -.it-mark-watched.watched svg -{ - fill: var(--yt-spec-icon-active-other, #fff); -} - - - - -/*html[it-remove-related-search-results=true] ytd-shelf-renderer.style-scope.ytd-item-section-renderer, -html[it-remove-related-search-results=true] ytd-horizontal-card-list-renderer.style-scope.ytd-item-section-renderer, -html[it-remove-related-search-results=true] li > div.feed-item-container.browse-list-item-container.yt-section-hover-container.compact-shelf.shelf-item.branded-page-box, -html[it-remove-related-search-results=true] li > div.search-refinements -{ - display: none; -}*/ diff --git a/unstable/src/youtube/css/other.css b/unstable/src/youtube/css/other.css deleted file mode 100644 index 4eddd3ea7..000000000 --- a/unstable/src/youtube/css/other.css +++ /dev/null @@ -1,147 +0,0 @@ -.it-rate-notify -{ - position: fixed; - z-index: 99999999; - right: 24px; - bottom: 24px; - - visibility: hidden; - overflow: hidden; - - width: 300px; - padding-left: 96px; - - transition: transform 200ms; - transform: translate(0, 100%); - - opacity: 0; - border-radius: 16px; - background-image: linear-gradient(-20deg, #e9defa 0%, #e9defa 50%, #fbfcdb 100%); - box-shadow: 0 4px 12px rgba(0, 0, 0, .3); -} - -html:not([it-page-type='video']) .it-rate-notify.it-rate-notify--show -{ - visibility: visible; - - transform: translate(0,0); - animation: 1s infinite it-popup-background; - animation-timing-function: linear; - - opacity: 1; -} - -.it-rate-notify__heart -{ - position: absolute; - z-index: -1; - top: 20px; - left: 20px; - - width: 80px; - height: 80px; - - fill: url(#itHeartGradient); -} - -.it-rate-notify.it-rate-notify--show .it-rate-notify__heart -{ - animation: .8s infinite it-heart-beat; -} - -.it-rate-notify__title -{ - font-size: 18px; - font-weight: 500; - line-height: 27px; - - margin: 20px 24px; - - letter-spacing: .03125em; - - color: rgba(51, 38, 25, .8); -} - -.it-rate-notify__footer -{ - display: flex; - - padding: 8px; - - align-items: center; - justify-content: flex-end; -} - -.it-rate-notify__footer > button -{ - font: 500 18px 'Roboto'; - - min-width: 64px; - height: 36px; - padding: 0 8px; - - cursor: pointer; - transition: 150ms; - - color: rgba(255, 8, 68,.65); - border: none; - outline: none; - background: none; -} - -.it-rate-notify__footer > button:hover -{ - transform: scale(1.05); - - color: rgba(255, 8, 68,.85); -} - -.it-rate-notify__footer > button:last-child -{ - color: rgba(51, 38, 25, .25); -} - -.it-rate-notify__footer > button:last-child:hover -{ - color: rgba(51, 38, 25, .85); -} - -@keyframes it-popup-background -{ - 0% - { - background-image: linear-gradient(-20deg, #e9defa 0%, #e9defa 50%, #fbfcdb 100%); - } - 50% - { - background-image: linear-gradient(-20deg, #e9defa 0%, #fbfcdb 50%, #e9defa 100%); - } - 100% - { - background-image: linear-gradient(-20deg, #fbfcdb 0%, #e9defa 50%, #e9defa 100%); - } -} - -@keyframes it-heart-beat -{ - 0% - { - transform: scale(1); - } - 25% - { - transform: scale(1.1); - } - 40% - { - transform: scale(1); - } - 60% - { - transform: scale(1.1); - } - 100% - { - transform: scale(1); - } -} diff --git a/unstable/src/youtube/css/player.css b/unstable/src/youtube/css/player.css deleted file mode 100644 index edd9d6dd4..000000000 --- a/unstable/src/youtube/css/player.css +++ /dev/null @@ -1,355 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> PLAYER -------------------------------------------------------------------------------- -1.0 Ads -2.0 Mini player - 2.1 Position and size - 2.2 Dragging - 2.3 Multipage -3.0 Custom player button - 3.1 Repeat - 3.2 Screenshot - 3.3 Rotate - 3.4 Popup -4.0 Crop chapter titles ------------------------------------------------------------------------------*/ - -/*--------------------------------------------------------------- -1.0 Ads ----------------------------------------------------------------*/ - -/*html[it-player-ads="block_all"] .video-ads.ytp-ad-module, -html[it-player-ads="subscribed_channels"] .video-ads.ytp-ad-module -{ - display: none !important -}*/ - - -/*----------------------------------------------------------------------------- -2.0 Mini player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 Position and size ------------------------------------------------------------------------------*/ - -.it-mini-player -{ - position: fixed !important; - z-index: 2147483648 !important; - left: 0!important; - top: 0!important; - - box-shadow: rgba(0, 0, 0, .4) 0 2px 8px !important; - - will-change: transform, width, height !important; - - background: #000 !important; -} - -html[it-page-type="video"][it-header-position="hover_on_video_page"][it-player-size="full_window"] .html5-video-player.it-mini-player, -html[it-page-type="video"][it-header-position="hover"][it-player-size="full_window"] .html5-video-player.it-mini-player -{ - margin-top: 0!important; -} - -.it-mini-player .html5-video-container, -.it-mini-player video -{ - left: 0 !important; - top: 0 !important; - width: 100% !important; - height: 100% !important; -} - -.it-mini-player .ytp-chrome-bottom -{ - width: calc(100% - 24px) !important; -} - -.it-mini-player .ytp-chapters-container -{ - display: flex; -} - -.it-mini-player .ytp-chapter-hover-container -{ - flex-grow: 1; -} - -html[it-mini-player=true] .ytp-contextmenu -{ - z-index: 2147483649 !important; -} - -.it-mini-player .ytp-miniplayer-button, -.it-mini-player .ytp-size-button -{ - display: none !important; -} - - -/*----------------------------------------------------------------------------- -2.2 Dragging ------------------------------------------------------------------------------*/ - -.improvedtube-mini-player.dragging -{ - pointer-events: none !important; -} - -.improvedtube-mini-player.dragging *:not(.html5-video-container):not(video) -{ - visibility: hidden !important; -} - -html[data-cursor='w-resize'], -html[data-cursor='w-resize'] * -{ - cursor: w-resize !important; -} - -html[data-cursor='e-resize'], -html[data-cursor='e-resize'] * -{ - cursor: e-resize !important; -} - -html[it-mini-player-cursor='n-resize']::after, -html[it-mini-player-cursor='e-resize']::after, -html[it-mini-player-cursor='s-resize']::after, -html[it-mini-player-cursor='w-resize']::after, -html[it-mini-player-cursor='ne-resize']::after, -html[it-mini-player-cursor='se-resize']::after, -html[it-mini-player-cursor='sw-resize']::after, -html[it-mini-player-cursor='nw-resize']::after -{ - content: ''; - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - z-index: 2147483650; -} - -html[it-mini-player-cursor='n-resize']::after -{ - cursor: n-resize; -} - -html[it-mini-player-cursor='e-resize']::after -{ - cursor: e-resize; -} - -html[it-mini-player-cursor='s-resize']::after -{ - cursor: s-resize; -} - -html[it-mini-player-cursor='w-resize']::after -{ - cursor: w-resize; -} - -html[it-mini-player-cursor='ne-resize']::after -{ - cursor: ne-resize; -} - -html[it-mini-player-cursor='se-resize']::after -{ - cursor: se-resize; -} - -html[it-mini-player-cursor='sw-resize']::after -{ - cursor: sw-resize; -} - -html[it-mini-player-cursor='nw-resize']::after -{ - cursor: nw-resize; -} - - -/*----------------------------------------------------------------------------- -2.3 Multipage ------------------------------------------------------------------------------*/ - -html[it-mini-player=true] ytd-watch-flexy[hidden] -{ - position: absolute !important; - top: 0 !important; - left: 0 !important; - - display: block !important; - visibility: hidden !important; - - max-width: 100% !important; - - pointer-events: none !important; -} - -html[it-mini-player=true] ytd-watch-flexy[hidden] .ytd-watch-next-secondary-results-renderer -{ - display: none; -} - -html[it-mini-player=true] ytd-watch-flexy[hidden] .improvedtube-mini-player -{ - position: fixed !important; - - visibility: visible !important; - - pointer-events: all !important; -} - - -/*----------------------------------------------------------------------------- -3.0 Custom player button ------------------------------------------------------------------------------*/ - -#it-repeat-button, -#it-screenshot-button, -#it-rotate-button, -#it-popup-player-button -{ - position: relative !important; -} - -.html5-video-player.ytp-big-mode #it-repeat-button svg, -.html5-video-player.ytp-big-mode #it-screenshot-button svg, -.html5-video-player.ytp-big-mode #it-rotate-button svg, -.html5-video-player.ytp-big-mode #it-popup-player-button svg -{ - top: 10px !important; - left: 10px !important; - - width: 34px !important; -} - -#it-repeat-button svg, -#it-screenshot-button svg, -#it-rotate-button svg, -#it-popup-player-button svg -{ - position: absolute !important; - - fill: #fff !important; -} - - -/*----------------------------------------------------------------------------- -3.1 Repeat ------------------------------------------------------------------------------*/ - -#it-repeat-button svg -{ - top: 6px !important; - left: 6px !important; - - width: 24px !important; -} - - -/*----------------------------------------------------------------------------- -3.2 Screenshot ------------------------------------------------------------------------------*/ - -#it-screenshot-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - -/*----------------------------------------------------------------------------- -3.3 Rotate ------------------------------------------------------------------------------*/ - -#it-rotate-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - -/*----------------------------------------------------------------------------- -3.4 Popup ------------------------------------------------------------------------------*/ - -#it-popup-player-button svg -{ - top: 7px !important; - left: 7px !important; - - width: 22px !important; -} - - - - - - - - - - - - -.it-player-button -{ - position: relative !important; - - overflow: visible !important; -} - -.it-player-button::before -{ - font-size: 13px; - font-weight: 600; - line-height: 13px; - - position: absolute; - top: -38px; - left: 50%; - - visibility: hidden; - - min-height: unset; - padding: 5px 9px; - - content: attr(data-title); - transform: translateX(-50%); - pointer-events: none; - - border-radius: 2px; - background-color: rgba(28,28,28,.9); -} - -.it-player-button:hover::before -{ - visibility: visible; - - pointer-events: all; -} - - - - - - -/*----------------------------------------------------------------------------- -4.0 Crop chapter titles ------------------------------------------------------------------------------*/ - -html[it-player-crop-chapter-titles='false'] .ytp-chapter-title -{ - width: auto !important; -} diff --git a/unstable/src/youtube/css/playlist.css b/unstable/src/youtube/css/playlist.css deleted file mode 100644 index 509d466e5..000000000 --- a/unstable/src/youtube/css/playlist.css +++ /dev/null @@ -1,48 +0,0 @@ -html[it-youtube-version=new] #it-playlist-reverse -{ - display: flex; - - width: 40px; - margin-left: 8px; - - cursor: pointer; - - align-items: center; - justify-content: center; -} - -html[it-youtube-version=new] #it-playlist-reverse svg -{ - fill: var(--iron-icon-fill-color, #909090); -} - -html[it-youtube-version=new] #it-playlist-reverse.yt-uix-button-toggled svg -{ - fill: var(--yt-spec-call-to-action); -} - -html[it-youtube-version=old] #it-playlist-reverse -{ - display: inline-block; - - box-sizing: border-box; - width: 26px; - height: 28px; - margin: 0 0 0 8px; - padding: 2px 1px; - - cursor: pointer; - vertical-align: middle; - - opacity: .5; -} - -html[it-youtube-version=old] #it-playlist-reverse.yt-uix-button-toggled -{ - opacity: 1; -} - -html[it-youtube-version=old] #it-playlist-reverse svg -{ - fill: #fff; -} diff --git a/unstable/src/youtube/css/settings.css b/unstable/src/youtube/css/settings.css deleted file mode 100644 index a951e0ee0..000000000 --- a/unstable/src/youtube/css/settings.css +++ /dev/null @@ -1,170 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> SETTINGS -------------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -html[it-improvedtube-youtube-icon='below_player'] .title.ytd-video-primary-info-renderer -{ - overflow: visible !important; -} - -html[it-improvedtube-youtube-icon='below_player'] h1.watch-title-container -{ - display: inline-block !important; -} - -html[it-improvedtube-youtube-icon='draggable'] .it-btn -{ - position: fixed; - z-index: 2147483645; - top: calc(100vh - 56px); - left: calc(100vw - 64px); -} - -.it-btn -{ - z-index: 2147483645; - - user-select: none; -} - -#container.ytd-masthead > .it-btn -{ - margin: 0 12px 0 0; -} - -.yt-masthead-logo-container > .it-btn -{ - float: left; - - margin: 0 12px 0 0; -} - -#end #buttons .it-btn -{ - margin: 3px 0 0 0; -} - -#yt-masthead-user > .it-btn -{ - float: right; - - margin: -2px 0 0 14px; -} - -.title.ytd-video-primary-info-renderer > .it-btn, -#watch-headline-title > .it-btn -{ - float: right; -} - -.it-btn__scrim -{ - position: fixed; - z-index: 2147483645; - top: 0; - left: 0; - - visibility: hidden; - - width: 100%; - height: 100vh; - - transition: 150ms; - pointer-events: none; - - opacity: 0; - background: #000; -} - -.it-btn__icon -{ - position: relative; - z-index: 2147483645; - - width: 32px; - height: 32px; - margin: 0 0 2px 0; - - cursor: pointer; - - border-radius: 50%; - background: #f00; -} - -.it-btn__icon::after -{ - position: absolute; - top: 9px; - left: 12px; - - display: block; - - content: ''; - - opacity: .9; - border-top: 7px solid transparent; - border-bottom: 7px solid transparent; - border-left: 11px solid #fff; -} - -.it-btn__iframe -{ - position: absolute; - z-index: 2147483645; - top: 50px; - - visibility: hidden; - - width: 320px; - max-width: 80vw; - height: 500px; - max-height: 80vh; - - transition: opacity 150ms; - pointer-events: none; - - opacity: 0; -} - -#end #buttons .it-btn__iframe, -#yt-masthead-user .it-btn__iframe -{ - right: 0; - left: auto; -} - -.it-btn.it-btn--active .it-btn__scrim -{ - visibility: visible; - - pointer-events: all; - - opacity: .5; -} - -.it-btn.it-btn--active .it-btn__iframe -{ - visibility: visible; - - pointer-events: all; - - opacity: 1; -} - -.it-btn--dragging, -.it-btn--dragging .it-btn__icon, -.it-btn--dragging .it-btn__iframe -{ - pointer-events: none !important; -} - -.it-btn--dragging .it-btn__iframe -{ - opacity: .75 !important; -} diff --git a/unstable/src/youtube/css/shortcuts.css b/unstable/src/youtube/css/shortcuts.css deleted file mode 100644 index 62abb8661..000000000 --- a/unstable/src/youtube/css/shortcuts.css +++ /dev/null @@ -1,11 +0,0 @@ -#it-status -{ - font-size: 5rem; - - position: absolute; - top: 2rem; - right: 3rem; - - color: #0ff; - text-shadow: 1px 1px 2px #000; -} diff --git a/unstable/src/youtube/css/themes.css b/unstable/src/youtube/css/themes.css deleted file mode 100644 index 0ff20f291..000000000 --- a/unstable/src/youtube/css/themes.css +++ /dev/null @@ -1,87 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Bluelight -2.0 Dim ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Bluelight ------------------------------------------------------------------------------*/ - -html[it-bluelight] -{ - height: auto !important; -} - -html[it-bluelight], -html[it-bluelight] .html5-video-player.ytp-fullscreen -{ - filter: url(#it-bluelight-filter) !important; -} - -#it-bluelight -{ - position: fixed !important; - top: 0 !important; - left: 0 !important; - - visibility: hidden !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; -} - -html[it-bluelight][it-youtube-version=old] -{ - background-color: #f1f1f1; -} - -html[it-bluelight][it-youtube-version=old] body -{ - min-height: 100vh; -} - - -/*----------------------------------------------------------------------------- -2.0 Dim ------------------------------------------------------------------------------*/ - -#it-dim -{ - position: fixed !important; - z-index: 2147483645 !important; - top: 0 !important; - left: 0 !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; - - background: #000 !important; -} - -#it-dim-player -{ - position: fixed !important; - z-index: 2147483645 !important; - top: 0 !important; - left: 0 !important; - - visibility: hidden !important; - - width: 100% !important; - height: 100vh !important; - - pointer-events: none !important; - - background: #000 !important; -} - -.html5-video-player.ytp-fullscreen #it-dim-player -{ - visibility: visible !important; -} diff --git a/unstable/src/youtube/css/themes/black.css b/unstable/src/youtube/css/themes/black.css deleted file mode 100644 index 8359a38bb..000000000 --- a/unstable/src/youtube/css/themes/black.css +++ /dev/null @@ -1,633 +0,0 @@ -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -html[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-black-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; -} - - - -@media (prefers-color-scheme: dark) { - [it-black-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-black-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-black-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-black-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-black-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-black-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-black-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-black-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #000!important; - --yt-swatch-primary-darker: #000!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #000; - - --yt-spec-brand-background-solid:#000 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#000 !important; - --yt-spec-general-background-b:#000 !important; - --yt-spec-general-background-c:#000 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#aaa !important; - --yt-spec-text-primary-inverse:#aaa !important; - --yt-spec-text-secondary:#aaa !important; - --yt-spec-text-disabled:#aaa !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#aaa !important; - --yt-spec-icon-inactive:#aaa !important; - --yt-spec-icon-disabled:#aaa !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#000000 !important; - --yt-spec-filled-button-text:#aaa !important; - --yt-spec-call-to-action-inverse:#aaa !important; - --yt-spec-brand-icon-active:#aaa !important; - --yt-spec-brand-icon-inactive:#aaa !important; - --yt-spec-brand-button-background:#242424 !important; - --yt-spec-brand-link-text:#aaa !important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#aaa !important; - --yt-spec-wordmark-text:#aaa !important; - --yt-spec-10-percent-layer:#242424 !important; - --yt-spec-selected-nav-text:#aaa !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-black-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-black-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #000!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-black-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #000; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-black-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-black-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-black-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #000; - --yt-playlist-background-item: #000; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #000; - --paper-listbox-background-color: #000; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #000; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #000; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #000; - --yt-menu-focus-background-color: #000; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #000; - --yt-main-app-background: #000; - --yt-main-app-background-tmp: #000; - --yt-guide-background: #000; - --yt-dialog-background: #000; - --yt-searchbox-background: #000!important; - --yt-channel-header-background: #000; - --yt-sidebar-background: #000; - --yt-transcript-background: #000; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #000; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #000; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/unstable/src/youtube/css/themes/dawn.css b/unstable/src/youtube/css/themes/dawn.css deleted file mode 100644 index 7eae42a05..000000000 --- a/unstable/src/youtube/css/themes/dawn.css +++ /dev/null @@ -1,637 +0,0 @@ -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; -} -html[it-dawn-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); -} - - - - - -@media (prefers-color-scheme: dark) { - [it-dawn-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-dawn-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-dawn-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-dawn-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-dawn-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-dawn-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; - } - html[it-dawn-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-dawn-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #d44d5c!important; - --yt-swatch-primary-darker: #d44d5c!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #734; - - --yt-spec-brand-background-solid:#d44d5c !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#d44d5c !important; - --yt-spec-general-background-b:#d44d5c !important; - --yt-spec-general-background-c:#d44d5c !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:rgb(255,255,255) !important; - --yt-spec-text-primary-inverse:rgb(255,255,255) !important; - --yt-spec-text-secondary:rgb(255,255,255) !important; - --yt-spec-text-disabled:rgb(255,255,255) !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:rgb(255,255,255) !important; - --yt-spec-icon-inactive:rgb(255,255,255) !important; - --yt-spec-icon-disabled:rgb(255,255,255) !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#d44d5c !important; - --yt-spec-filled-button-text:rgb(255,255,255) !important; - --yt-spec-call-to-action-inverse:rgb(255,255,255) !important; - --yt-spec-brand-icon-active:rgb(255,255,255) !important; - --yt-spec-brand-icon-inactive:rgb(255,255,255) !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:rgb(255,255,255)!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:rgb(255,255,255) !important; - --yt-spec-wordmark-text:rgb(255,255,255) !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:rgb(255,255,255) !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-dawn-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #734!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-dawn-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #d44d5c; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-dawn-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-dawn-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-dawn-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #d44d5c; - --yt-playlist-background-item: #d44d5c; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #d44d5c; - --paper-listbox-background-color: #d44d5c; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #d44d5c; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #d44d5c; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #d44d5c; - --yt-menu-focus-background-color: #d44d5c; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #d44d5c; - --yt-main-app-background: #d44d5c; - --yt-main-app-background-tmp: #d44d5c; - --yt-guide-background: #d44d5c; - --yt-dialog-background: #734; - --yt-searchbox-background: #672c3b; - --yt-channel-header-background: #d44d5c; - --yt-sidebar-background: #d44d5c; - --yt-transcript-background: #d44d5c; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #d44d5c; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #d44d5c; - --yt-blue-suggestive: transparent; - --yt-spec-text-secondary: #f5dbe2; - } - html[it-dawn-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(4); - filter: grayscale(1) brightness(4); - } \ No newline at end of file diff --git a/unstable/src/youtube/css/themes/default.css b/unstable/src/youtube/css/themes/default.css deleted file mode 100644 index 96a9a944a..000000000 --- a/unstable/src/youtube/css/themes/default.css +++ /dev/null @@ -1,563 +0,0 @@ -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; -} - -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #masthead-search-term -{ - border: 1px solid #444!important; - border-right: none!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light])[youtube-version=old] body -{ - height: auto; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - background: var(--yt-swatch-primary-darker)!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) -{ - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; -} - -[it-youtube-version=old][it-default-dark-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light])[youtube-version=old] body -{ - height: auto!important; - - background: rgb(19,19,19)!important; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-youtube-version=old][it-default-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] #masthead-search-term - { - border: 1px solid #444!important; - border-right: none!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] html[youtube-version=old] body - { - height: auto; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] - { - background: var(--yt-swatch-primary-darker)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) - { - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_dark][youtube-version=old] body - { - height: auto!important; - - background: rgb(19,19,19)!important; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-youtube-version=old][it-default-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-header-primary: rgb(34,38,42)!important; - --yt-swatch-primary: rgb(34,38,42)!important; - --yt-swatch-primary-darker: rgb(28,32,36)!important; - --yt-swatch-text: rgb(200,200,200)!important; - --yt-swatch-important-text: rgb(200,200,200)!important; - --yt-swatch-input-text: rgba(200,200,200,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(200,200,200)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] #masthead-search-term - { - border: 1px solid #444!important; - border-right: none!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] html[youtube-version=old] body - { - height: auto; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] - { - background: var(--yt-swatch-primary-darker)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #232323!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) :not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #282828; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) - { - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: hsla(0, 0%, 53.3%, .4); - --yt-playlist-background-item: hsla(0, 0%, 53.3%, .2); - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: hsl(0, 0%, 14%); - --paper-listbox-background-color: hsl(0, 0%, 14%); - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: hsl(0, 0%, 14%); - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: hsla(0, 0%, 53.3%, .4); - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: hsla(0, 100%, 100%, .08); - --yt-menu-focus-background-color: hsla(0, 100%, 100%, .26); - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: hsl(0, 0%, 7%); - --yt-main-app-background: hsl(0, 0%, 7%); - --yt-main-app-background-tmp: hsl(0, 0%, 7%); - --yt-guide-background: hsl(0, 0%, 11%); - --yt-dialog-background: hsl(0, 0%, 14%); - --yt-searchbox-background: hsl(0, 0%, 7%); - --yt-channel-header-background: hsla(0, 0%, 11%, .8); - --yt-sidebar-background: hsla(0, 0%, 11%, .8); - --yt-transcript-background: hsl(0, 0%, 11%); - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: hsl(0, 0%, 11%); - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: hsl(0, 0%, 16%); - --yt-blue-suggestive: transparent; - } - - [it-youtube-version=old][it-default-dark-theme=true][it-schedule=system_peference_light][youtube-version=old] body - { - height: auto!important; - - background: rgb(19,19,19)!important; - } -} \ No newline at end of file diff --git a/unstable/src/youtube/css/themes/desert.css b/unstable/src/youtube/css/themes/desert.css deleted file mode 100644 index c3b37ce32..000000000 --- a/unstable/src/youtube/css/themes/desert.css +++ /dev/null @@ -1,623 +0,0 @@ -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-desert-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-desert-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-desert-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-desert-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-desert-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-desert-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-desert-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-desert-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #faf9f9!important; - --yt-swatch-primary-darker: #faf9f9!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #bee3db; - - --yt-spec-brand-background-solid:#faf9f9 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#faf9f9 !important; - --yt-spec-general-background-b:#faf9f9 !important; - --yt-spec-general-background-c:#faf9f9 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#555 !important; - --yt-spec-text-primary-inverse:#555 !important; - --yt-spec-text-secondary:#555 !important; - --yt-spec-text-disabled:#555 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#555 !important; - --yt-spec-icon-inactive:#555 !important; - --yt-spec-icon-disabled:#555 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#faf9f9 !important; - --yt-spec-filled-button-text:#555 !important; - --yt-spec-call-to-action-inverse:#555 !important; - --yt-spec-brand-icon-active:#555 !important; - --yt-spec-brand-icon-inactive:#555 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#555!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#555 !important; - --yt-spec-wordmark-text:#555 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#555 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-desert-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #bee3db!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #555!important; - --yt-swatch-important-text: #555!important; - --yt-swatch-input-text: #555!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #555!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-desert-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #faf9f9; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: #555; - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-desert-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-desert-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-desert-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #555; - --yt-spec-text-primary: #555; - --ytd-searchbox-border-color: #555; - --ytd-searchbox-legacy-border-color: #555; - --ytd-searchbox-legacy-border-shadow-color: #555; - --ytd-searchbox-legacy-button-color: #555; - --ytd-searchbox-legacy-button-border-color: #555; - --ytd-searchbox-legacy-button-focus-color: #555; - --ytd-searchbox-legacy-button-hover-color: #555; - --ytd-searchbox-legacy-button-hover-border-color: #555; - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: #555; - --ytd-moderation-panel-hover: #555; - --ytd-moderation-panel-comment-text: #555; - --ytd-moderation-panel-comment-metadata-text: #555; - --ytd-moderation-icon-color: #555; - --ytd-moderation-icon-hover-color: #555; - --ytd-comment-text-color: #555; - --ytd-comment-metadata-text-color: #555; - --ytd-watch-card-secondary-text-color: #555; - --ytd-watch-card-album-header-background: #555; - --ytd-backstage-metadata-text-color: #555; - --ytd-backstage-video-link-background-color: #555; - --ytd-backstage-image-alert-color: #555; - --ytd-backstage-cancel-background-color: #555; - --ytd-backstage-cancel-color: #555; - --ytd-backstage-creationbox-background-color: #555; - --ytd-backstage-creationbox-background-color-focus: #555; - --ytd-backstage-creationbox-inactive-color: #555; - --ytd-backstage-creationbox-text-color: #555; - --ytd-backstage-creationbox-input-text-color: #555; - --ytd-backstage-creationbox-disabled-button-color: #555; - --ytd-backstage-creationbox-disabled-button-text-color: #555; - --ytd-backstage-attachment-icon-hover-color: #555; - --ytd-sponsorships-background-color-focus: #555; - --ytd-badge-background: #555; - --ytd-badge-disabled-color: #555; - --ytd-collection-badge-color: #555; - --ytd-owner-badge-color: #555; - --ytd-simple-badge-color: #555; - --ytd-ad-badge-text-color: #555; - --ytd-shopping-product-info: #555; - --ytd-toggle-color: #555; - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: #555; - --ytd-transcript-toolbar-background-color: #555; - --ytd-transcript-toolbar-text: #555; - --ytd-video-publish-date-color: #555; - --ytd-vat-notice-text: #555; - --ytd-offer-background-color: #555; - --ytd-video-game-watch-card-logo-color: #555; - --ytd-watch-split-pane-sidebar-background-color: #555; - --yt-std-body-100: #555; - --yt-std-body-200: #555; - --yt-std-body-300: #555; - --yt-std-surface-200: #555; - --yt-std-surface-300: #555; - --yt-std-surface-400: #555; - --yt-primary-color: #555; - --yt-primary-text-color: #555; - --yt-hovered-text-color: #555; - --yt-secondary-text-color: #555; - --yt-tertiary-text-color: #555; - --yt-disabled-text-color: #555; - --yt-placeholder-text-color: #555; - --yt-border-color: #555; - --yt-commentbox-border-inactive: #555; - --yt-commentbox-border-active: #555; - --yt-alert-background: #555; - --yt-paper-button-ink-color: #555; - --yt-icon-color: #555; - --yt-icon-hover-color: #555; - --yt-icon-active-color: #555; - --yt-icon-disabled-color: #555; - --yt-endpoint-color: #555; - --yt-expand-color: #555; - --yt-metadata-color: #555; - --yt-channel-owner: #555; - --yt-placeholder-text: #555; - --yt-playlist-background-header: #faf9f9; - --yt-playlist-background-item: #faf9f9; - --yt-playlist-title-text: #555; - --yt-playlist-message-text: #555; - --yt-playlist-message-text-hover: #555; - --yt-subscribe-button-text-color: #555; - --yt-brand-color: #555; - --yt-button-text-color: #555; - --yt-button-payment-text-color: #555; - --yt-copyright-text: #555; - --yt-guide-entry-hover-background-color: #555; - --yt-thumbnail-placeholder-color: #555; - --yt-primary-disabled-button-text-color: #555; - --yt-featured-channel-title-text-color: #555; - --yt-formatted-string-deemphasize-color: #555; - --paper-menu-background-color: #faf9f9; - --paper-listbox-background-color: #faf9f9; - --paper-menu-color: #555; - --paper-listbox-color: #555; - --paper-dialog-background-color: #faf9f9; - --paper-toggle-button-unchecked-bar-color: #555; - --yt-simple-menu-header-background: #faf9f9; - --yt-item-section-header-color: #555; - --yt-menu-hover-backgound-color: #faf9f9; - --yt-menu-focus-background-color: #faf9f9; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: #555; - --yt-material-searchbox-active: #555; - --yt-material-searchbox-inactive-shadow: #555; - --yt-material-searchbox-active-shadow: #555; - --yt-material-searchbox-inset: #555; - --yt-material-searchbox-text-color: #555; - --yt-app-background: #faf9f9; - --yt-main-app-background: #faf9f9; - --yt-main-app-background-tmp: #faf9f9; - --yt-guide-background: #faf9f9; - --yt-dialog-background: #bee3db; - --yt-searchbox-background: #faf9f9; - --yt-channel-header-background: #faf9f9; - --yt-sidebar-background: #faf9f9; - --yt-transcript-background: #faf9f9; - --yt-chat-bubble-other-border-color: #555; - --yt-chat-bubble-other-background-color: #faf9f9; - --yt-chat-bubble-self-border-color: #555; - --yt-chat-bubble-self-background-color: #faf9f9; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/unstable/src/youtube/css/themes/night.css b/unstable/src/youtube/css/themes/night.css deleted file mode 100644 index 1a482632a..000000000 --- a/unstable/src/youtube/css/themes/night.css +++ /dev/null @@ -1,635 +0,0 @@ -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -html[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) #yt-masthead-logo-fragment .masthead-logo-renderer-logo -{ - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-night-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-night-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-night-theme=true][it-schedule=system_peference_dark] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-night-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-night-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-night-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-night-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-night-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-night-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #003459!important; - --yt-swatch-primary-darker: #003459!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #007ea7; - - --yt-spec-brand-background-solid:#003459 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#003459 !important; - --yt-spec-general-background-b:#003459 !important; - --yt-spec-general-background-c:#003459 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#003459 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - html[it-night-theme=true][it-schedule=system_peference_light] #yt-masthead-logo-fragment .masthead-logo-renderer-logo - { - -webkit-filter: grayscale(1) brightness(3.5); - filter: grayscale(1) brightness(3.5); - } - [it-night-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #007ea7!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-night-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #003459; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-night-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-night-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-night-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: #fff; - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #003459; - --yt-playlist-background-item: #003459; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #003459; - --paper-listbox-background-color: #003459; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #003459; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #003459; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #003459; - --yt-menu-focus-background-color: #003459; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #003459; - --yt-main-app-background: #003459; - --yt-main-app-background-tmp: #003459; - --yt-guide-background: #003459; - --yt-dialog-background: #007ea7; - --yt-searchbox-background: #003459!important; - --yt-channel-header-background: #003459; - --yt-sidebar-background: #003459; - --yt-transcript-background: #003459; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #003459; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #003459; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/unstable/src/youtube/css/themes/plain.css b/unstable/src/youtube/css/themes/plain.css deleted file mode 100644 index 2513fbc8b..000000000 --- a/unstable/src/youtube/css/themes/plain.css +++ /dev/null @@ -1,623 +0,0 @@ -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead -{ - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-plain-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-plain-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-plain-theme=true][it-schedule=system_peference_dark] ytd-masthead - { - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-plain-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-plain-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-plain-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-plain-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-plain-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #c7efcf!important; - --yt-swatch-primary-darker: #c7efcf!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #d6d1b1; - - --yt-spec-brand-background-solid:#c7efcf !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#c7efcf !important; - --yt-spec-general-background-b:#c7efcf !important; - --yt-spec-general-background-c:#c7efcf !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#666 !important; - --yt-spec-text-primary-inverse:#666 !important; - --yt-spec-text-secondary:#666 !important; - --yt-spec-text-disabled:#666 !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#666 !important; - --yt-spec-icon-inactive:#666 !important; - --yt-spec-icon-disabled:#666 !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#c7efcf !important; - --yt-spec-filled-button-text:#666 !important; - --yt-spec-call-to-action-inverse:#666 !important; - --yt-spec-brand-icon-active:#666 !important; - --yt-spec-brand-icon-inactive:#666 !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#666!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#666 !important; - --yt-spec-wordmark-text:#666 !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#666 !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-plain-theme=true][it-schedule=system_peference_light] ytd-masthead - { - background: #d6d1b1!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: #666!important; - --yt-swatch-important-text: #666!important; - --yt-swatch-input-text: #666!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: #666!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-plain-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #c7efcf; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-plain-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-plain-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-plain-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #666; - --yt-spec-text-primary: #666; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #c7efcf; - --yt-playlist-background-item: #c7efcf; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #c7efcf; - --paper-listbox-background-color: #c7efcf; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #c7efcf; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #c7efcf; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #c7efcf; - --yt-menu-focus-background-color: #c7efcf; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #c7efcf; - --yt-main-app-background: #c7efcf; - --yt-main-app-background-tmp: #c7efcf; - --yt-guide-background: #c7efcf; - --yt-dialog-background: #d6d1b1; - --yt-searchbox-background: #c7efcf; - --yt-channel-header-background: #c7efcf; - --yt-sidebar-background: #c7efcf; - --yt-transcript-background: #c7efcf; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #c7efcf; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #c7efcf; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/unstable/src/youtube/css/themes/sunset.css b/unstable/src/youtube/css/themes/sunset.css deleted file mode 100644 index ae1e9236a..000000000 --- a/unstable/src/youtube/css/themes/sunset.css +++ /dev/null @@ -1,617 +0,0 @@ -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) -{ - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) -{ - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; -} -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not([style-scope]):not(.style-scope), -html[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]):not(.style-scope)[dark], -[it-sunset-theme=true]:not([it-schedule=system_peference_dark]):not([it-schedule=system_peference_light]) :not(.style-scope)[dark] -{ - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; -} - - - - - -@media (prefers-color-scheme: dark) { - [it-sunset-theme=true][it-schedule=system_peference_dark] - { - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-sunset-theme=true][it-schedule=system_peference_dark] ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-sunset-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-sunset-theme=true][it-schedule=system_peference_dark]:not([style-scope]):not(.style-scope), - html[it-sunset-theme=true][it-schedule=system_peference_dark]:not(.style-scope)[dark], - [it-sunset-theme=true][it-schedule=system_peference_dark] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; - } -} - - - - - -@media (prefers-color-scheme: light) { - [it-sunset-theme=true][it-schedule=system_peference_light] - { - --yt-swatch-primary: #2f3364!important; - --yt-swatch-primary-darker: #2f3364!important; - --yt-swatch-text: rgb(255,255,255)!important; - --yt-swatch-important-text: rgb(255,255,255)!important; - --yt-swatch-input-text: rgba(255,255,255,1)!important; - --yt-swatch-textbox-bg: rgba(19,19,19,1)!important; - --yt-swatch-logo-override: rgb(255,255,255)!important; - --yt-swatch-icon-color: rgba(136,136,136,1)!important; - --yt-swatch-header-primary: #f56264; - - --yt-spec-brand-background-solid:#2f3364 !important; - --yt-spec-brand-background-primary:rgba(0,0,0, 0.98) !important; - --yt-spec-brand-background-secondary:rgba(0,0,0, 0.95) !important; - --yt-spec-general-background-a:#2f3364 !important; - --yt-spec-general-background-b:#2f3364 !important; - --yt-spec-general-background-c:#2f3364 !important; - --yt-spec-error-background:#1F1F1F !important; - --yt-spec-text-primary:#fff !important; - --yt-spec-text-primary-inverse:#fff !important; - --yt-spec-text-secondary:#fff !important; - --yt-spec-text-disabled:#fff !important; - --yt-spec-call-to-action:#065FD4 !important; - --yt-spec-icon-active-other:#fff !important; - --yt-spec-icon-inactive:#fff !important; - --yt-spec-icon-disabled:#fff !important; - --yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important; - --yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important; - --yt-spec-suggested-action:#F2F8FF !important; - --yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important; - --yt-spec-touch-response:#2f3364 !important; - --yt-spec-filled-button-text:#fff !important; - --yt-spec-call-to-action-inverse:#fff !important; - --yt-spec-brand-icon-active:#fff !important; - --yt-spec-brand-icon-inactive:#fff !important; - --yt-spec-brand-button-background:rgba(136,136,136,1) !important; - --yt-spec-brand-link-text:#fff!important; - --yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important; - --yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important; - --yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important; - --yt-spec-inactive-text-button-focus-outline:#aaa !important; - --yt-spec-brand-subscribe-button-background:#fff !important; - --yt-spec-wordmark-text:#fff !important; - --yt-spec-10-percent-layer:rgba(136,136,136,1) !important; - --yt-spec-selected-nav-text:#fff !important; - --yt-spec-themed-blue:#065FD4 !important; - --yt-spec-themed-green:#107516 !important; - } - [it-sunset-theme=true][it-schedule=system_peference_light] ytd-masthead { - background: #f56264!important; - - --yt-swatch-primary: rgb(35, 35, 35)!important; - --yt-swatch-primary-darker: rgb(32, 32, 32)!important; - --yt-swatch-text: rgb(255, 255, 255)!important; - --yt-swatch-important-text: rgb(255, 255, 255)!important; - --yt-swatch-input-text: rgba(255, 255, 255, 1)!important; - --yt-swatch-textbox-bg: rgba(19, 19, 19, 1)!important; - --yt-swatch-logo-override: rgb(255, 255, 255)!important; - --yt-swatch-icon-color: rgba(136, 136, 136, 1)!important; - } - [it-sunset-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope) *:not([style-scope]):not(.style-scope) - { - --yt-live-chat-action-panel-background-color: #2f3364; - --yt-live-chat-action-panel-background-color-transparent: rgba(40, 40, 40, .8); - --yt-live-chat-primary-text-color: hsl(0, 0%, 100%); - --yt-live-chat-secondary-text-color: rgba(255, 255, 255, .7); - --yt-live-chat-tertiary-text-color: rgba(255, 255, 255, .54); - --yt-live-chat-disabled-icon-button-color: rgba(255, 255, 255, .3); - --yt-live-chat-picker-button-color: var(--yt-live-chat-tertiary-text-color); - --yt-formatted-string-emoji-size: 24px; - } - [it-sunset-theme=true][it-schedule=system_peference_light]:not([style-scope]):not(.style-scope), - html[it-sunset-theme=true][it-schedule=system_peference_light]:not(.style-scope)[dark], - [it-sunset-theme=true][it-schedule=system_peference_light] :not(.style-scope)[dark] - { - --yt-spec-icon-inactive: #fff; - --ytd-searchbox-border-color: hsla(0, 0%, 53.3%, .2); - --ytd-searchbox-legacy-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-border-shadow-color: hsla(0, 0%, 0%, 0); - --ytd-searchbox-legacy-button-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-focus-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-color: hsla(0, 0%, 100%, .08); - --ytd-searchbox-legacy-button-hover-border-color: hsl(0, 0%, 18.82%); - --ytd-searchbox-legacy-button-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-background: hsla(0, 0%, 11%, .8); - --ytd-moderation-panel-hover: hsl(0, 0%, 11%); - --ytd-moderation-panel-comment-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-panel-comment-metadata-text: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-color: hsla(0, 100%, 100%, .5); - --ytd-moderation-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-comment-text-color: hsla(0, 100%, 100%, .88); - --ytd-comment-metadata-text-color: hsl(0, 0%, 53.3%); - --ytd-watch-card-secondary-text-color: hsl(0, 0%, 93.3%); - --ytd-watch-card-album-header-background: hsl(0, 0%, 6.7%); - --ytd-backstage-metadata-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-video-link-background-color: hsl(0, 0%, 14%); - --ytd-backstage-image-alert-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-cancel-background-color: hsl(0, 0%, 14%); - --ytd-backstage-cancel-color: hsl(0, 0%, 100%); - --ytd-backstage-creationbox-background-color: hsl(0, 0%, 11%); - --ytd-backstage-creationbox-background-color-focus: hsl(0, 0%, 14%); - --ytd-backstage-creationbox-inactive-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-creationbox-text-color: hsla(0, 100%, 100%, .5); - --ytd-backstage-creationbox-input-text-color: hsla(0, 100%, 100%, .88); - --ytd-backstage-creationbox-disabled-button-color: hsla(0, 100%, 100%, .08); - --ytd-backstage-creationbox-disabled-button-text-color: hsla(0, 100%, 100%, .26); - --ytd-backstage-attachment-icon-hover-color: hsla(0, 100%, 100%, .74); - --ytd-sponsorships-background-color-focus: hsl(0, 0%, 11%); - --ytd-badge-background: hsla(0, 100%, 100%, .08); - --ytd-badge-disabled-color: hsla(0, 0%, 100%, .4); - --ytd-collection-badge-color: hsla(0, 0%, 100%, .8); - --ytd-owner-badge-color: hsla(0, 0%, 100%, .4); - --ytd-simple-badge-color: hsla(0, 0%, 100%, .6); - --ytd-ad-badge-text-color: hsl(0, 0%, 7%); - --ytd-shopping-product-info: hsla(0, 100%, 100%, .74); - --ytd-toggle-color: hsl(0, 0%, 93.3%); - --ytd-survey-button-color: var(--yt-primary-text-color); - --ytd-transcript-cue-hover-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-background-color: hsla(0, 0%, 53.3%, .4); - --ytd-transcript-toolbar-text: hsla(0, 100%, 100%, .88); - --ytd-video-publish-date-color: hsla(0, 0%, 100%, .6); - --ytd-vat-notice-text: hsla(0, 0%, 100%, .6); - --ytd-offer-background-color: hsl(0, 0%, 14%); - --ytd-video-game-watch-card-logo-color: hsl(0, 0%, 100%); - --ytd-watch-split-pane-sidebar-background-color: hsl(0, 0%, 11%); - --yt-std-body-100: hsla(0, 100%, 100%, .08); - --yt-std-body-200: hsla(0, 100%, 100%, .26); - --yt-std-body-300: hsla(0, 100%, 100%, .5); - --yt-std-surface-200: hsl(0, 0%, 11%); - --yt-std-surface-300: hsl(0, 0%, 14%); - --yt-std-surface-400: hsl(0, 0%, 16%); - --yt-primary-color: hsla(0, 100%, 100%, .88); - --yt-primary-text-color: hsla(0, 100%, 100%, .88); - --yt-hovered-text-color: hsla(0, 100%, 100%, .74); - --yt-secondary-text-color: hsla(0, 100%, 100%, .5); - --yt-tertiary-text-color: hsla(0, 100%, 100%, .5); - --yt-disabled-text-color: hsla(0, 100%, 100%, .26); - --yt-placeholder-text-color: hsla(0, 100%, 100%, .5); - --yt-border-color: hsla(0, 100%, 100%, .08); - --yt-commentbox-border-inactive: hsla(0, 100%, 100%, .5); - --yt-commentbox-border-active: hsla(0, 100%, 100%, .88); - --yt-alert-background: hsla(0, 100%, 100%, .26); - --yt-paper-button-ink-color: hsla(0, 0%, 100%, .2); - --yt-icon-color: hsla(0, 100%, 100%, .5); - --yt-icon-hover-color: hsla(0, 100%, 100%, .74); - --yt-icon-active-color: hsla(0, 100%, 100%, .88); - --yt-icon-disabled-color: hsla(0, 100%, 100%, .26); - --yt-endpoint-color: hsl(0, 0%, 53.3%); - --yt-expand-color: hsla(0, 0%, 100%, .6); - --yt-metadata-color: hsl(0, 0%, 53.3%); - --yt-channel-owner: hsla(0, 100%, 100%, .88); - --yt-placeholder-text: hsl(0, 0%, 93.3%); - --yt-playlist-background-header: #2f3364; - --yt-playlist-background-item: #2f3364; - --yt-playlist-title-text: hsla(0, 100%, 100%, .88); - --yt-playlist-message-text: hsl(0, 0%, 93.3%); - --yt-playlist-message-text-hover: hsla(0, 100%, 100%, .74); - --yt-subscribe-button-text-color: hsla(0, 100%, 100%, .88); - --yt-brand-color: hsla(0, 100%, 100%, .88); - --yt-button-text-color: hsla(0, 100%, 100%, .5); - --yt-button-payment-text-color: hsla(0, 100%, 100%, .88); - --yt-copyright-text: hsla(0, 0%, 100%, .6); - --yt-guide-entry-hover-background-color: hsla(0, 0%, 53.3%, .4); - --yt-thumbnail-placeholder-color: hsl(0, 0%, 16%); - --yt-primary-disabled-button-text-color: hsla(0, 0%, 100%, .2); - --yt-featured-channel-title-text-color: hsla(0, 100%, 100%, .5); - --yt-formatted-string-deemphasize-color: hsl(0, 0%, 53.3%); - --paper-menu-background-color: #2f3364; - --paper-listbox-background-color: #2f3364; - --paper-menu-color: hsla(0, 100%, 100%, .88); - --paper-listbox-color: hsla(0, 100%, 100%, .88); - --paper-dialog-background-color: #2f3364; - --paper-toggle-button-unchecked-bar-color: hsl(0, 0%, 53.3%); - --yt-simple-menu-header-background: #2f3364; - --yt-item-section-header-color: hsl(0, 0%, 93.3%); - --yt-menu-hover-backgound-color: #2f3364; - --yt-menu-focus-background-color: #2f3364; - --yt-searchbox-text-color: var(--yt-primary-text-color); - --yt-material-searchbox-inactive: hsl(0, 0%, 7%); - --yt-material-searchbox-active: hsl(0, 0%, 100%); - --yt-material-searchbox-inactive-shadow: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-active-shadow: hsla(0, 0%, 0%, .26); - --yt-material-searchbox-inset: hsla(0, 0%, 0%, .04); - --yt-material-searchbox-text-color: hsl(0, 0%, 6.7%); - --yt-app-background: #2f3364; - --yt-main-app-background: #2f3364; - --yt-main-app-background-tmp: #2f3364; - --yt-guide-background: #2f3364; - --yt-dialog-background: #D62828; - --yt-searchbox-background: #fa7965!important; - --yt-channel-header-background: #2f3364; - --yt-sidebar-background: #2f3364; - --yt-transcript-background: #2f3364; - --yt-chat-bubble-other-border-color: hsla(0, 100%, 100%, .26); - --yt-chat-bubble-other-background-color: #2f3364; - --yt-chat-bubble-self-border-color: hsl(0, 0%, 14%); - --yt-chat-bubble-self-background-color: #2f3364; - --yt-blue-suggestive: transparent; - } -} \ No newline at end of file diff --git a/unstable/src/youtube/js/core.js b/unstable/src/youtube/js/core.js deleted file mode 100644 index 3b76ed804..000000000 --- a/unstable/src/youtube/js/core.js +++ /dev/null @@ -1,185 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> CORE -------------------------------------------------------------------------------- -1.0 Page update -2.0 Player update -3.0 Init ------------------------------------------------------------------------------*/ - -var ImprovedTube = { - allow_autoplay: false, - videoUrl: '"null"', - playingTime: 0 -}; - - -/*----------------------------------------------------------------------------- -1.0 Page update ------------------------------------------------------------------------------*/ - -ImprovedTube.pageUpdate = function() { - var not_connected_players = document.querySelectorAll('.html5-video-player:not([it-player-connected])'); - - if (not_connected_players.length > 0) { - for (var i = 0, l = not_connected_players.length; i < l; i++) { - var player = not_connected_players[i]; - - if ( - player.querySelector('video').src && - player.querySelector('video').src !== '' - ) { - player.setAttribute('it-player-connected', ''); - - ImprovedTube.playerUpdate(player); - - player.querySelector('video').addEventListener('canplay', function() { - ImprovedTube.videoUrl = location.href; - }); - player.querySelector('video').addEventListener('timeupdate', function() { - ImprovedTube.playingTime++; - - var time = Math.floor(ImprovedTube.playingTime * 250 / 1000) / 60; - - if (time >= 1) { - ImprovedTube.playingTime = 0; - - document.dispatchEvent(new CustomEvent('ImprovedTubeAnalyzer')); - } - }); - } - } - } - - ImprovedTube.pageType(); - ImprovedTube.youtube_home_page(); - ImprovedTube.hd_thumbnails(); - ImprovedTube.channel_default_tab(); - ImprovedTube.comments(); - ImprovedTube.livechat(); - ImprovedTube.livechat_type(); - ImprovedTube.related_videos(); - ImprovedTube.improvedtube_youtube_icon(); - ImprovedTube.blacklist(); - ImprovedTube.player_hd_thumbnail(); - ImprovedTube.how_long_ago_the_video_was_uploaded(); - ImprovedTube.channel_videos_count(); - ImprovedTube.collapse_of_subscription_sections(); - ImprovedTube.mark_watched_videos(); -}; - - -/*----------------------------------------------------------------------------- -2.0 Player update ------------------------------------------------------------------------------*/ - -ImprovedTube.playerUpdate = function(node, hard) { - var player; - - if (node && node.type !== 'canplay') { - player = node; - } else if (this.hasOwnProperty('target')) { - player = this.target.parentNode.parentNode; - } else if (this.hasOwnProperty('parentNode')) { - player = this.parentNode.parentNode; - } else { - player = document.querySelector('.html5-video-player'); - } - - if (this.videoUrl !== location.href) { - this.videoUrl = location.href; - this.playingTime = 0; - - document.dispatchEvent(new CustomEvent('ImprovedTubePlayVideo')); - - this.fitToWindow(); - this.always_show_progress_bar(); - this.playlist_reverse(); - this.player_hd_thumbnail(); - this.player_quality(player); - this.player_volume(player); - this.player_playback_speed(player); - this.up_next_autoplay(); - this.player_autofullscreen(); - this.player_repeat_button(); - this.player_screenshot_button(); - this.player_rotate_button(); - this.player_popup_button(); - this.playlist_up_next_autoplay(player); - this.mini_player(); - - this.playlist_repeat(); - this.playlist_shuffle(); - - this.dim(); - - var video_id = this.getParam(new URL(location.href).search.substr(1), 'v'); - - if (video_id) { - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'set', - id: video_id, - title: document.title - } - })); - } - } else if (hard) { - this.videoUrl = location.href; - - this.fitToWindow(); - this.playlist_reverse(); - this.player_hd_thumbnail(); - this.player_quality(player); - this.player_volume(player); - this.player_playback_speed(player); - this.up_next_autoplay(); - this.player_autofullscreen(); - this.player_repeat_button(); - this.player_screenshot_button(); - this.player_rotate_button(); - this.player_popup_button(); - this.mini_player(); - - this.playlist_repeat(); - this.playlist_shuffle(); - - this.dim(); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Init ------------------------------------------------------------------------------*/ - -ImprovedTube.init = function() { - this.player_h264(); - this.player_60fps(); - this.confirmation_before_closing(); - this.shortcuts(); - this.themeEditor(); - this.theme(); - this.font(); - this.bluelight(); - this.dim(); - this.pageType(); - this.improvedtube_youtube_icon(); - this.add_scroll_to_top(); - this.player_autopause_when_switching_tabs(); - this.forced_theater_mode(); - this.comments(); - this.livechat(); - this.related_videos(); - this.mutations(); - this.events(); - - if (window.self === window.top) { - window.addEventListener('load', function(){ - ImprovedTube.player_volume(); - }); - } -}; - -function withoutInjection(object) { - youtubeHomePage__documentStart(object.youtube_home_page); -} diff --git a/unstable/src/youtube/js/events.js b/unstable/src/youtube/js/events.js deleted file mode 100644 index cc0e1c365..000000000 --- a/unstable/src/youtube/js/events.js +++ /dev/null @@ -1,164 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> EVENTS -------------------------------------------------------------------------------- -1.0 DOMContentLoaded -2.0 Load -3.0 YouTube page data updated -4.0 YouTube visibility refresh -5.0 SPF done -6.0 Keydown -7.0 Mousedown ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - window.addEventListener('load', function() { - if (!document.querySelector('.it-rate-notify') && Object.keys(items).length > 10 && items.rate_notify !== 5) { - var popup = document.createElement('div'); - - popup.className = 'it-rate-notify'; - - popup.innerHTML = '' + - '
Do you enjoy ImprovedTube?
' + - ''; - - document.body.appendChild(popup); - - setTimeout(function() { - popup.classList.add('it-rate-notify--show'); - }, 1000); - - chrome.storage.local.set({ - rate_notify: 5 - }); - } - }); -}); - -ImprovedTube.events = function() { - - /*------------------------------------------------------------------------- - 1.0 DOMContentLoaded - -------------------------------------------------------------------------*/ - - window.addEventListener('DOMContentLoaded', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 2.0 Load - -------------------------------------------------------------------------*/ - - document.documentElement.addEventListener('load', function() { - if ( - window.yt && - window.yt.player && - window.yt.player.Application && - window.yt.player.Application.create - ) { - window.yt.player.Application.create = ImprovedTube.ytPlayerApplicationCreateMod(window.yt.player.Application.create); - } - - var search = document.querySelector('#search') || document.querySelector('#masthead-search-term'); - - if (search) { - search.addEventListener('focus', function() { - document.documentElement.setAttribute('it-search-focus', 'true'); - }); - - search.addEventListener('blur', function() { - document.documentElement.setAttribute('it-search-focus', 'false'); - }); - } - }, true); - - window.addEventListener('resize', function() { - ImprovedTube.fitToWindow(); - ImprovedTube.improvedtube_youtube_icon_resize(); - - setTimeout(function() { - if (document.querySelector('.html5-video-player video') && document.querySelector('.it-rotate-styles')) { - var video = document.querySelector('.html5-video-player video'), - transform = '', - rotate = (document.querySelector('.it-rotate-styles') && document.querySelector('.it-rotate-styles').textContent.match(/rotate\([0-9.]+deg\)/g) || [''])[0]; - - rotate = Number((rotate.match(/[0-9.]+/g) || [])[0]) || 0; - - transform += 'rotate(' + rotate + 'deg)'; - - if (rotate == 90 || rotate == 270) { - transform += ' scale(' + video.offsetHeight / video.offsetWidth + ')'; - } - - document.querySelector('.it-rotate-styles').textContent = '.html5-video-player:not(it-mini-player) video {transform:' + transform + '}'; - } - }, 500); - }); - - window.addEventListener('scroll', function() { - ImprovedTube.improvedtube_youtube_icon_resize(); - }); - - - /*------------------------------------------------------------------------- - 3.0 YouTube page data updated - -------------------------------------------------------------------------*/ - - window.addEventListener('yt-page-data-updated', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 4.0 YouTube visibility refresh - -------------------------------------------------------------------------*/ - - window.addEventListener('yt-visibility-refresh', ImprovedTube.pageUpdate); - - - /*------------------------------------------------------------------------- - 5.0 SPF done - -------------------------------------------------------------------------*/ - - window.addEventListener('spfrequest', function() { - ImprovedTube.pageUpdate(); - }); - - window.addEventListener('spfdone', function() { - ImprovedTube.pageUpdate(); - }); - - - /*------------------------------------------------------------------------- - 6.0 Keydown - -------------------------------------------------------------------------*/ - - window.addEventListener('keydown', function() { - if ( - document.querySelector('.html5-video-player') && - document.querySelector('.html5-video-player').classList.contains('ad-showing') === false - ) { - ImprovedTube.allow_autoplay = true; - } - }, true); - - - /*------------------------------------------------------------------------- - 7.0 Mousedown - -------------------------------------------------------------------------*/ - - window.addEventListener('mousedown', function(event) { - for (var i = 0, l = event.path.length; i < l; i++) { - if ( - document.querySelector('.html5-video-player') && - document.querySelector('.html5-video-player').classList.contains('ad-showing') === false && - event.path[i].classList && - ( - event.path[i].classList.contains('html5-main-video') || - event.path[i].classList.contains('ytp-play-button') - ) - ) { - ImprovedTube.allow_autoplay = true; - } - } - }, true); -}; diff --git a/unstable/src/youtube/js/features/analyzer.js b/unstable/src/youtube/js/features/analyzer.js deleted file mode 100644 index cf886c2cd..000000000 --- a/unstable/src/youtube/js/features/analyzer.js +++ /dev/null @@ -1,12 +0,0 @@ -chrome.storage.local.get(function(items) { - document.addEventListener('ImprovedTubeAnalyzer', function() { - if (items.analyzer_activation === true) { - if (document.querySelector('ytd-channel-name a') && chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-analyzer', - value: document.querySelector('ytd-channel-name a').innerText - }); - } - } - }); -}); diff --git a/unstable/src/youtube/js/features/appearance.js b/unstable/src/youtube/js/features/appearance.js deleted file mode 100644 index fa25332b8..000000000 --- a/unstable/src/youtube/js/features/appearance.js +++ /dev/null @@ -1,452 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> APPEARANCE -------------------------------------------------------------------------------- -1.0 Player - 1.1 Forced theater mode - 1.2 HD thumbnail -2.0 Details -3.0 Comments -4.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Player ------------------------------------------------------------------------------*/ - -ImprovedTube.fitToWindow = function() { - if (ImprovedTube.storage.player_size === 'fit_to_window' && !document.documentElement.hasAttribute('embed') && window.self !== window.top && document.querySelector('#movie_player video')) { - var video = document.querySelector('#movie_player video'), - header = document.documentElement.getAttribute('it-header-position'), - header_height = header == 'hidden' || header == 'hidden_on_video_page' || header == 'hover' || header == 'hover_on_video_page' ? 0 : 50, - videoW = video.videoWidth / 100, - videoH = video.videoHeight / 100, - windowW = window.innerWidth / 100, - windowH = window.innerHeight / 100, - videoWdif = ((video.videoWidth - window.innerWidth) / video.videoWidth * -100) + 100, - videoHdif = ((video.videoHeight - window.innerHeight + header_height) / video.videoHeight * -100) + 100, - style = document.querySelector('#it-fit-to-window') || document.createElement('style'); - - style.id = 'it-fit-to-window'; - - if (videoW && videoH && videoHdif && videoH * videoWdif > window.innerHeight - header_height) { - style.innerText = 'html[it-player-size="fit_to_window"] div#page.watch-wide .html5-video-player:not(.ytp-fullscreen) video{max-width:' + videoW * videoHdif + 'px !important;max-height' + videoH * videoHdif + 'px !important}'; - } else if (videoW && videoH && videoWdif) { - style.innerText = 'html[it-player-size="fit_to_window"] div#page.watch-wide .html5-video-player:not(.ytp-fullscreen) video{max-width:' + videoW * videoWdif + 'px !important;max-height' + videoH * videoWdif + 'px !important}'; - } - - if (!document.querySelector('#it-fit-to-window')) { - document.documentElement.appendChild(style); - } - } -}; - -/*----------------------------------------------------------------------------- -1.1 Forced theater mode ------------------------------------------------------------------------------*/ - -ImprovedTube.forced_theater_mode = function() { - if (window.self === window.top && (this.storage.forced_theater_mode === true || ImprovedTube.storage.player_size === 'fit_to_window')) { - var is_applied = false; - - if (/wide\=1/.test(document.cookie)) { - is_applied = true; - } - - this.setCookie('wide', '1'); - - setTimeout(function() { - if (is_applied === false) { - location.reload(); - } - }); - } -}; - -/*----------------------------------------------------------------------------- -1.2 HD thumbnail ------------------------------------------------------------------------------*/ - -ImprovedTube.player_hd_thumbnail_wait = false; - -ImprovedTube.player_hd_thumbnail = function() { - if (this.storage.player_hd_thumbnail === true) { - if (this.player_hd_thumbnail_wait !== false) { - clearInterval(ImprovedTube.player_hd_thumbnail_wait); - - ImprovedTube.player_hd_thumbnail_wait = false; - } - - this.player_hd_thumbnail_wait = setInterval(function() { - var thumbnail = document.querySelector('.ytp-cued-thumbnail-overlay-image'); - - if (thumbnail && thumbnail.style.backgroundImage) { - var style = document.getElementById('it-hd-thumbnail') || document.createElement('style'); - - style.textContent = '.ytp-cued-thumbnail-overlay-image{background-image:' + thumbnail.style.backgroundImage.replace('/hqdefault.jpg', '/maxresdefault.jpg') + ' !important}'; - - if (!document.getElementById('it-hd-thumbnail')) { - style.id = 'it-hd-thumbnail'; - thumbnail.parentNode.insertBefore(style, thumbnail); - } - } - }, 250); - } -}; - -/*----------------------------------------------------------------------------- -1.3 Always show progress bar ------------------------------------------------------------------------------*/ - -// TODO: FIX NIGHTLY UGLY ALGO - -ImprovedTube.always_show_progress_bar = function() { - if (ImprovedTube.always_show_progress_bar_interval) { - clearInterval(ImprovedTube.always_show_progress_bar_interval); - } - - if (this.storage.always_show_progress_bar === true) { - ImprovedTube.always_show_progress_bar_interval = setInterval(function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.classList.contains('ytp-autohide')) { - var played = player.getCurrentTime() * 100 / player.getDuration(), - loaded = player.getVideoBytesLoaded() * 100, - play_bars = player.querySelectorAll('.ytp-play-progress'), - load_bars = player.querySelectorAll('.ytp-load-progress'), - width = 0, - progress_play = 0, - progress_load = 0; - - for (var i = 0, l = play_bars.length; i < l; i++) { - width += play_bars[i].offsetWidth; - } - - var width_percent = width / 100; - - for (var i = 0, l = play_bars.length; i < l; i++) { - var a = play_bars[i].offsetWidth / width_percent, - b = 0, - c = 0; - - if (played - progress_play >= a) { - b = 100; - } else if (played > progress_play && played < a + progress_play) { - b = 100 * ((played - progress_play) * width_percent) / play_bars[i].offsetWidth; - } - - play_bars[i].style.transform = 'scaleX(' + b / 100 + ')'; - - if (loaded - progress_load >= a) { - c = 100; - } else if (loaded > progress_load && loaded < a + progress_load) { - c = 100 * ((loaded - progress_load) * width_percent) / play_bars[i].offsetWidth; - } - - load_bars[i].style.transform = 'scaleX(' + c / 100 + ')'; - - progress_play += a; - progress_load += a; - } - } - }, 100); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Details ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -2.1 How long ago the video was uploaded ------------------------------------------------------------------------------*/ - -ImprovedTube.how_long_ago_the_video_was_uploaded = function() { - if (ImprovedTube.storage.how_long_ago_the_video_was_uploaded === true) { - function timeSince(date) { - var seconds = Math.floor((new Date() - new Date(date)) / 1000), - interval = Math.floor(seconds / 31536000); - - if (interval > 1) { - return interval + ' years ago'; - } - interval = Math.floor(seconds / 2592000); - if (interval > 1) { - return interval + ' months ago'; - } - interval = Math.floor(seconds / 86400); - if (interval > 1) { - return interval + ' days ago'; - } - interval = Math.floor(seconds / 3600); - if (interval > 1) { - return interval + ' hours ago'; - } - interval = Math.floor(seconds / 60); - if (interval > 1) { - return interval + ' minutes ago'; - } - - return Math.floor(seconds) + ' seconds ago'; - } - - var waiting_channel_link = setInterval(function() { - var youtube_version = document.documentElement.getAttribute('it-youtube-version') === 'new'; - - if (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info a')) { - clearInterval(waiting_channel_link); - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - var response = JSON.parse(this.responseText), - element = document.querySelector('.itx-channel-video-uploaded') || document.createElement(youtube_version ? 'yt-formatted-string' : 'a'); - - if (ImprovedTube.isset(response.items) && ImprovedTube.isset(response.items[0])) { - element.innerHTML = (youtube_version ? ' · ' + timeSince(response.items[0].snippet.publishedAt) + ' ' : timeSince(response.items[0].snippet.publishedAt) + ''); - - var date = new Date(response.items[0].snippet.publishedAt); - - element.title = ((date.getMonth() > 8) ? (date.getMonth() + 1) : ('0' + (date.getMonth() + 1))) + '/' + ((date.getDate() > 9) ? date.getDate() : ('0' + date.getDate())) + '/' + date.getFullYear(); - } - - if (!youtube_version) { - element.href = document.querySelector('#watch7-user-header a').href.indexOf('/videos') === -1 ? document.querySelector('#watch7-user-header a').href + '/videos' : document.querySelector('#watch7-user-header a').href; - } - - if (!document.querySelector('.itx-channel-video-uploaded') && document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info')) { - element.style.marginLeft = '8px'; - element.className = (youtube_version ? 'style-scope ytd-video-owner-renderer itx-channel-video-uploaded' : 'yt-uix-sessionlink spf-link itx-channel-video-uploaded'); - - document.querySelector(youtube_version ? '#info #info-text #date' : '.yt-user-info').appendChild(element); - } - }); - - xhr.open('GET', 'https://www.googleapis.com/youtube/v3/videos?id=' + ImprovedTube.getParam(location.href.slice(location.href.indexOf('?') + 1), 'v') + '&key=AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA&part=snippet', true); - xhr.send(); - } - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -2.2 Show channel videos count ------------------------------------------------------------------------------*/ - -ImprovedTube.channel_videos_count = function() { - if (ImprovedTube.storage.channel_videos_count === true) { - var waiting_channel_link = setInterval(function() { - var youtube_version = document.documentElement.getAttribute('it-youtube-version') === 'new'; - - if (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a')) { - clearInterval(waiting_channel_link); - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener('load', function() { - var response = JSON.parse(this.responseText), - element = document.querySelector('.itx-channel-videos-count') || document.createElement(youtube_version ? 'yt-formatted-string' : 'a'); - - if (ImprovedTube.isset(response.items) && ImprovedTube.isset(response.items[0])) { - element.innerHTML = (youtube_version ? '' + response.items[0].statistics.videoCount + ' videos' : response.items[0].statistics.videoCount + ' videos'); - } - - if (!youtube_version) { - element.href = document.querySelector('#watch7-user-header a').href.indexOf('/videos') === -1 ? document.querySelector('#watch7-user-header a').href + '/videos' : document.querySelector('#watch7-user-header a').href; - } - - if (!document.querySelector('.itx-channel-videos-count') && document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info')) { - element.style.marginLeft = '8px'; - element.className = (youtube_version ? 'style-scope ytd-video-owner-renderer itx-channel-videos-count' : 'yt-uix-sessionlink spf-link itx-channel-videos-count'); - - document.querySelector(youtube_version ? '#meta-contents ytd-channel-name' : '.yt-user-info').appendChild(element); - } - }); - - xhr.open('GET', 'https://www.googleapis.com/youtube/v3/channels?id=' + (document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a').getAttribute('it-origin') || document.querySelector(youtube_version ? '#meta-contents ytd-channel-name a' : '.yt-user-info a').href).replace('https://www.youtube.com/channel/', '') + '&key=AIzaSyCXRRCFwKAXOiF1JkUBmibzxJF1cPuKNwA&part=statistics', true); - xhr.send(); - } - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Comments ------------------------------------------------------------------------------*/ - -ImprovedTube.comments_wait = false; - -ImprovedTube.comments = function() { - if (this.storage.comments === 'collapsed') { - if (this.comments_wait === false) { - this.comments_wait = setInterval(function() { - if ( - document.getElementById('comment-section-renderer-items') || - document.querySelector('#comments #sections #contents') - ) { - clearInterval(this.comments_wait); - - this.comments_wait = false; - - if (!document.getElementById('improvedtube-collapsed-comments')) { - var button = document.createElement('button'), - parent = document.getElementById('comment-section-renderer') || document.querySelector('#comments #sections'), - reference = document.getElementById('comment-section-renderer-items') || document.querySelector('#comments #sections #contents'); - - button.id = 'improvedtube-collapsed-comments'; - button.className = 'yt-uix-button yt-uix-button-size-default yt-uix-button-default comment-section-renderer-paginator yt-uix-sessionlink'; - button.innerHTML = 'Show moreShow less'; - - button.onclick = function() { - document.documentElement.classList.toggle('comments-collapsed'); - }; - - document.documentElement.classList.toggle('comments-collapsed'); - parent.insertBefore(button, reference); - } - } - }, 250); - } - } else { - clearInterval(this.comments_wait); - - this.comments_wait = false; - - setTimeout(function() { - if (document.getElementById('improvedtube-collapsed-comments')) { - document.getElementById('improvedtube-collapsed-comments').remove(); - } - }, 260); - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Sidebar ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -4.1 Live chat ------------------------------------------------------------------------------*/ - -ImprovedTube.livechat_wait = false; -ImprovedTube.livechat_url = false; - -ImprovedTube.livechat = function() { - if ( - document.documentElement.getAttribute('it-page-type') === 'video' && - this.storage.livechat === 'collapsed' && - this.livechat_wait === false - ) { - this.livechat_wait = setInterval(function() { - var button = document.querySelector('#chat:not([collapsed]) #show-hide-button paper-button'), - expander = document.querySelector('#watch-sidebar-live-chat .yt-uix-expander'); - - if (document.documentElement.getAttribute('it-page-type') !== 'video' || button || expander) { - clearInterval(ImprovedTube.livechat_wait); - - ImprovedTube.livechat_wait = false; - } - - if (button) { - function click() { - ImprovedTube.livechat_url = location.href; - } - - button.addEventListener('mousedown', click); - button.addEventListener('touchdown', click); - - setTimeout(function() { - if (ImprovedTube.livechat_url !== location.href) { - button.click(); - } - }, 500); - } else if (expander) { - expander.classList.add('yt-uix-expander-collapsed'); - } - }, 100); - } -}; - -/*----------------------------------------------------------------------------- -# Live chat type ------------------------------------------------------------------------------*/ - -ImprovedTube.livechat_type_wait = false; - -ImprovedTube.livechat_type = function() { - return false; - - if ( - document.documentElement.getAttribute('it-page-type') === 'video' && - ImprovedTube.storage.livechat_type === 'live' && - ImprovedTube.livechat_type_wait === false - ) { - this.livechat_type_wait = setInterval(function() { - if (document.querySelectorAll('#chat-messages #dropdown a')[1]) { - clearInterval(ImprovedTube.livechat_type_wait); - - ImprovedTube.livechat_type_wait = false; - - document.querySelectorAll('#chat-messages #dropdown a')[1].click(); - } - }, 250); - } else if (this.livechat_type_wait !== false) { - clearInterval(this.livechat_type_wait); - - ImprovedTube.livechat_type_wait = false; - } -}; - - -/*----------------------------------------------------------------------------- -4.2 Related videos ------------------------------------------------------------------------------*/ - -ImprovedTube.related_videos_wait = false; - -ImprovedTube.related_videos = function() { - if (this.storage.related_videos === 'collapsed') { - if (!this.related_videos_wait) { - this.related_videos_wait = setInterval(function() { - if ( - document.querySelector('#related.ytd-watch-flexy') || - document.querySelector('#watch7-sidebar-contents') - ) { - clearInterval(this.related_videos_wait); - - this.related_videos_wait = false; - - if (!document.getElementById('improvedtube-collapsed-related-videos')) { - var button = document.createElement('button'), - parent = document.querySelector('#related.ytd-watch-flexy') || document.querySelector('#watch7-sidebar-contents'), - reference = document.querySelector('#related > *') || document.querySelector('#watch7-sidebar-contents > *'); - - button.id = 'improvedtube-collapsed-related-videos'; - button.className = 'yt-uix-button yt-uix-button-size-default yt-uix-button-default comment-section-renderer-paginator yt-uix-sessionlink'; - button.innerHTML = 'Show moreShow less'; - - button.onclick = function() { - document.documentElement.classList.toggle('related-videos-collapsed'); - }; - - document.documentElement.classList.toggle('related-videos-collapsed'); - parent.insertBefore(button, reference); - } - } - }, 250); - } - } else { - clearInterval(this.related_videos_wait); - - this.related_videos_wait = false; - - setTimeout(function() { - if (document.getElementById('improvedtube-collapsed-related-videos')) { - document.getElementById('improvedtube-collapsed-related-videos').remove(); - } - }, 260); - } -}; diff --git a/unstable/src/youtube/js/features/blacklist.js b/unstable/src/youtube/js/features/blacklist.js deleted file mode 100644 index 95cc6ec81..000000000 --- a/unstable/src/youtube/js/features/blacklist.js +++ /dev/null @@ -1,215 +0,0 @@ -// TODO: HIGH CPU USAGE - -document.addEventListener('ImprovedTubeBlacklist', function(event) { - console.log('Blacklist event'); - - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-blacklist', - data: { - type: event.detail.type, - id: event.detail.id, - title: event.detail.title, - preview: event.detail.preview - } - }); - } -}); - -ImprovedTube.blacklist = function() { - if (ImprovedTube.storage.blacklist_activate !== true) { - return false; - } - - if (typeof ImprovedTube.storage.blacklist === 'boolean' || !ImprovedTube.storage.blacklist) { - ImprovedTube.storage.blacklist = {}; - } - - // channel button - if ( - !ImprovedTube.isset(ImprovedTube.storage.blacklist.channels) || - (ImprovedTube.storage.blacklist.channels && - Object.keys(ImprovedTube.storage.blacklist.channels).indexOf(location.href.replace(/https:\/\/www.youtube.com\/(channel|user|c)\//g, '').replace(/\/(.)+/g, '')) === -1) - ) { - let channel_items = document.querySelectorAll('#inner-header-container #subscribe-button, .primary-header-upper-section .yt-uix-subscription-button'); - - for (let i = 0, l = channel_items.length; i < l; i++) { - if (!channel_items[i].parentNode.querySelector('.improvedtube-add-to-blacklist')) { - let button = document.createElement('div'); - - button.addEventListener('click', function(event) { - let video_id; - - event.preventDefault(); - event.stopPropagation(); - - try { - video_id = location.href.replace(/https:\/\/www.youtube.com\/(channel|user)\//g, '').replace(/\/(.)+/g, ''); - - document.dispatchEvent(new CustomEvent('ImprovedTubeBlacklist', { - detail: { - type: 'channel', - id: video_id, - title: document.querySelector('#channel-container yt-formatted-string.ytd-channel-name, a.branded-page-header-title-link').innerText, - preview: document.querySelector('#channel-container #avatar #img, .channel-header-profile-image').src - } - })); - - if (!ImprovedTube.storage.blacklist || typeof ImprovedTube.storage.blacklist !== 'object') { - ImprovedTube.storage.blacklist = {}; - } - - if (!ImprovedTube.storage.blacklist.channels) { - ImprovedTube.storage.blacklist.channels = {}; - } - - ImprovedTube.storage.blacklist.channels[video_id] = { - title: document.querySelector('yt-formatted-string.ytd-channel-name, a.branded-page-header-title-link').innerText, - preview: document.querySelector('#channel-container #avatar #img, .channel-header-profile-image').src - }; - - ImprovedTube.blacklist(); - - location.reload(); - } catch (err) {} - }, true); - - button.className = 'improvedtube-add-to-blacklist'; - button.innerText = 'Add to blacklist'; - button.style.position = 'static'; - button.style.transform = 'unset'; - button.style.opacity = '1'; - button.style.visibility = 'visible'; - button.style.pointerEvents = 'all'; - button.style.width = 'auto'; - button.style.fontSize = '16px'; - button.style.lineHeight = '28px'; - button.style.height = 'auto'; - button.style.padding = '6px 12px'; - button.style.borderRadius = '2px'; - button.style.boxSizing = 'border-box'; - button.style.background = '#bb1a1a'; - - channel_items[i].parentNode.insertBefore(button, channel_items[i]); - } - } - } - - // video button - let video_items = document.querySelectorAll('a#thumbnail.ytd-thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = video_items.length; i < l; i++) { - if (!video_items[i].querySelector('.improvedtube-add-to-blacklist')) { - let button = document.createElement('div'); - - button.addEventListener('click', function(event) { - let video_id; - - event.preventDefault(); - event.stopPropagation(); - - try { - video_id = ImprovedTube.getParam(new URL(this.parentNode.href).search.substr(1), 'v'); - - let item = this.parentNode; - - while ( - item.nodeName && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - document.dispatchEvent(new CustomEvent('ImprovedTubeBlacklist', { - detail: { - type: 'video', - id: video_id, - title: item.querySelector('#video-title').innerText - } - })); - - if (!ImprovedTube.storage.blacklist || typeof ImprovedTube.storage.blacklist !== 'object') { - ImprovedTube.storage.blacklist = {}; - } - - if (!ImprovedTube.storage.blacklist.videos) { - ImprovedTube.storage.blacklist.videos = {}; - } - - ImprovedTube.storage.blacklist.videos[video_id] = { - title: item.querySelector('#video-title').innerText - }; - - ImprovedTube.blacklist(); - } catch (err) {} - }, true); - button.className = 'improvedtube-add-to-blacklist'; - button.innerText = 'x'; - - video_items[i].appendChild(button); - } - } - - // remove channels - if (ImprovedTube.storage.blacklist && ImprovedTube.storage.blacklist.channels) { - let videos = document.querySelectorAll('a#thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = videos.length; i < l; i++) { - let item = videos[i]; - - while ( - item.nodeName && - item.nodeName !== 'YTD-VIDEO-RENDERER' && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - if (item.querySelector('.ytd-channel-name a, a.spf-link[href*="/user/"], a.spf-link[href*="/channel/"]')) { - let channel_href = item.querySelector('.ytd-channel-name a, a.spf-link[href*="/user/"], a.spf-link[href*="/channel/"]').href; - - for (var key in ImprovedTube.storage.blacklist.channels) { - if (item.style && channel_href.indexOf(key) !== -1) { - item.style.display = 'none'; - } - } - } - } - } - - // remove videos - if (ImprovedTube.storage.blacklist && ImprovedTube.storage.blacklist.videos) { - let videos = document.querySelectorAll('a#thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = videos.length; i < l; i++) { - if (videos[i].href && videos[i].href != '' && ImprovedTube.getParam(new URL(videos[i].href).search.substr(1), 'v') in ImprovedTube.storage.blacklist.videos) { - let item = videos[i]; - - while ( - item.nodeName && - item.nodeName !== 'YTD-VIDEO-RENDERER' && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - item.style.display = 'none'; - } - } - } -}; diff --git a/unstable/src/youtube/js/features/channel.js b/unstable/src/youtube/js/features/channel.js deleted file mode 100644 index 029389f6e..000000000 --- a/unstable/src/youtube/js/features/channel.js +++ /dev/null @@ -1,54 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> CHANNEL -------------------------------------------------------------------------------- -1.0 Channel tab ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Channel tab ------------------------------------------------------------------------------*/ - -ImprovedTube.channel_default_tab = function() { - if (this.storage.channel_default_tab && this.storage.channel_default_tab !== '/') { - var value = this.storage.channel_default_tab, - node_list = document.querySelectorAll('*:not(#contenteditable-root) > a[href*="user"], ' + - '*:not(#contenteditable-root) > a[href*="channel"], ' + - '*:not(#contenteditable-root) > a[href*="/c/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - var node = node_list[i]; - - if (!node.getAttribute('it-origin') || - node.hasAttribute('it-origin') && - node.getAttribute('it-origin').replace(/\/(home|videos|playlists)+$/g, '') != node.href.replace(/\/(home|videos|playlists)+$/g, '') - ) { - node.setAttribute('it-origin', node.href); - } - - var pathname = new URL(node.getAttribute('it-origin')).pathname; - - node.href = node.getAttribute('it-origin') + value; - - function click() { - if ( - this.data && - this.data.commandMetadata && - this.data.commandMetadata.webCommandMetadata && - this.data.commandMetadata.webCommandMetadata.url - ) { - this.data.commandMetadata.webCommandMetadata.url = (this.querySelector('a') || this).href.replace('https://www.youtube.com', ''); - } - } - - node.addEventListener('click', click, true); - node.parentNode.addEventListener('click', click, true); - node.parentNode.parentNode.addEventListener('click', click, true); - } - } else if (this.storage.channel_default_tab) { - var node_list = document.querySelectorAll('a[href*="user"], a[href*="channel"], a[href*="/c/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - node_list[i].href = node_list[i].getAttribute('it-origin'); - } - } -}; diff --git a/unstable/src/youtube/js/features/general.js b/unstable/src/youtube/js/features/general.js deleted file mode 100644 index 5381f60d2..000000000 --- a/unstable/src/youtube/js/features/general.js +++ /dev/null @@ -1,287 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> GENERAL -------------------------------------------------------------------------------- -1.0 YouTube Home Page -2.0 Add «Scroll to top» -3.0 HD thumbnails -4.0 Confirmation before closing -5.0 Collapse of subscription sections -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 YouTube Home Page ------------------------------------------------------------------------------*/ - -ImprovedTube.youtube_home_page = function() { - if ( - this.storage.youtube_home_page && - this.storage.youtube_home_page !== '/' && - this.storage.youtube_home_page !== 'search' - ) { - var value = this.storage.youtube_home_page, - node_list = document.querySelectorAll('a[href="/"]:not([role="tablist"]), a[href="//www.youtube.com"]:not([role="tablist"]), a[href="//www.youtube.com/"]:not([role="tablist"]), a[href="https://www.youtube.com"]:not([role="tablist"]), a[href="https://www.youtube.com/"]:not([role="tablist"]), a[it-origin="/"]:not([role="tablist"]), a[it-origin="//www.youtube.com"]:not([role="tablist"]), a[it-origin="//www.youtube.com/"]:not([role="tablist"]), a[it-origin="https://www.youtube.com"]:not([role="tablist"]), a[it-origin="https://www.youtube.com/"]:not([role="tablist"])'); - - for (var i = 0, l = node_list.length; i < l; i++) { - var node = node_list[i], - pathname = new URL((node.getAttribute('it-origin') || node.href)).pathname; - - if (pathname === '/') { - if (!node.getAttribute('it-origin')) { - node.setAttribute('it-origin', node.href); - } - } - - node.href = value; - node.outerHTML = String(node.outerHTML); - node.addEventListener('click', function() { - if ( - this.data && - this.data.commandMetadata && - this.data.commandMetadata.webCommandMetadata && - this.data.commandMetadata.webCommandMetadata.url - ) { - this.data.commandMetadata.webCommandMetadata.url = value; - } - }, true); - } - } else if (this.storage.youtube_home_page) { - var node_list = document.querySelectorAll('a[href="/"], a[href="//www.youtube.com"], a[href="//www.youtube.com/"], a[href="https://www.youtube.com"], a[href="https://www.youtube.com/"], a[it-origin="/"], a[it-origin="//www.youtube.com"], a[it-origin="//www.youtube.com/"], a[it-origin="https://www.youtube.com"], a[it-origin="https://www.youtube.com/"]'); - - for (var i = 0, l = node_list.length; i < l; i++) { - node_list[i].href = node_list[i].getAttribute('it-origin') || '/'; - node_list[i].outerHTML = String(node.node_list[i].outerHTML); - } - } -}; - -function youtubeHomePage__documentStart(option) { - if (option && option !== '/' && option !== 'search' && location.hostname === 'www.youtube.com' && location.pathname === '/') { - location.replace(option); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Add «Scroll to top» ------------------------------------------------------------------------------*/ - -ImprovedTube.scroll = function() { - if (window.scrollY > window.innerHeight / 2) { - document.documentElement.setAttribute('it-show-scroll-to-top', true); - } else { - document.documentElement.setAttribute('it-show-scroll-to-top', false); - } -}; - -ImprovedTube.add_scroll_to_top = function(is_update) { - if (this.storage.add_scroll_to_top === true) { - var button = document.createElement('div'); - - button.id = 'it-scroll-to-top'; - button.innerHTML = ''; - - button.addEventListener('click', function() { - window.scrollTo(0, 0); - }); - - document.documentElement.appendChild(button); - - window.addEventListener('scroll', ImprovedTube.scroll); - } else { - window.removeEventListener('scroll', ImprovedTube.scroll); - - if (document.querySelector('#it-scroll-to-top')) { - document.querySelector('#it-scroll-to-top').remove(); - } - } -}; - - -/*----------------------------------------------------------------------------- -3.0 HD thumbnails ------------------------------------------------------------------------------*/ - -ImprovedTube.hd_thumbnails = function() { - if (this.storage.hd_thumbnails === true) { - var images = document.querySelectorAll('img'); - - for (var i = 0, l = images.length; i < l; i++) { - if (/(hqdefault\.jpg|hq720.jpg)+/.test(images[i].src) && !images[i].dataset.defaultSrc) { - images[i].dataset.defaultSrc = images[i].src; - - images[i].onload = function() { - if (this.naturalHeight <= 90) { - this.src = this.dataset.defaultSrc; - } - }; - - images[i].src = images[i].src.replace(/(hqdefault\.jpg|hq720.jpg)+/, 'maxresdefault.jpg'); - } - } - } else { - var images = document.querySelectorAll('img'); - - for (var i = 0, l = images.length; i < l; i++) { - if (images[i].dataset.defaultSrc) { - images[i].src = images[i].dataset.defaultSrc; - } - } - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Confirmation before closing ------------------------------------------------------------------------------*/ - -ImprovedTube.confirmation_before_closing = function() { - window.onbeforeunload = function() { - if (ImprovedTube.storage.confirmation_before_closing === true) { - return 'You have attempted to leave this page. Are you sure?'; - } - }; -}; - - -/*----------------------------------------------------------------------------- -5.0 Collapse of subscription sections ------------------------------------------------------------------------------*/ - -ImprovedTube.collapse_of_subscription_sections = function() { - if (/\/feed\/subscriptions/.test(location.href)) { - if (ImprovedTube.storage.collapse_of_subscription_sections === true) { - var sections = document.querySelectorAll('ytd-page-manager ytd-section-list-renderer ytd-item-section-renderer, #browse-items-primary .section-list > li'); - - for (var i = 0, l = sections.length; i < l; i++) { - if (!sections[i].querySelector('.it-section-collapse')) { - var section_title = sections[i].querySelector('h2'), - button = document.createElement('div'); - - button.className = 'it-section-collapse'; - button.innerHTML = ''; - button.section = sections[i]; - button.addEventListener('click', function() { - var section = this.section, - content = section.querySelector('.grid-subheader + #contents, .shelf-title-table + .multirow-shelf'); - - if (section.classList.contains('it-section-collapsed') === false) { - content.style.height = content.offsetHeight + 'px'; - content.style.transition = 'height 150ms'; - } - - setTimeout(function() { - section.classList.toggle('it-section-collapsed'); - }); - }); - - if (!sections[i].querySelector('.shelf-title-cell')) { - section_title.parentNode.insertBefore(button, section_title.nextSibling); - } else { - section_title.appendChild(button); - } - } - } - } else { - var sections = document.querySelectorAll('ytd-page-manager ytd-section-list-renderer ytd-item-section-renderer'), - buttons = document.querySelectorAll('.it-section-collapse'); - - for (var i = 0, l = sections.length; i < l; i++) { - sections[i].classList.remove('it-section-collapsed'); - sections[i].style.height = ''; - sections[i].style.transition = ''; - } - - for (var i = 0, l = buttons.length; i < l; i++) { - buttons[i].remove(); - } - } - } -}; - - -/*----------------------------------------------------------------------------- -6.0 Mark watched videos ------------------------------------------------------------------------------*/ - -document.addEventListener('ImprovedTubeWatched', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-watched', - data: { - action: event.detail.action, - id: event.detail.id, - title: event.detail.title - } - }); - } -}); - -ImprovedTube.mark_watched_videos = function() { - if (ImprovedTube.storage.mark_watched_videos === true) { - var video_items = document.querySelectorAll('a#thumbnail.ytd-thumbnail, div.yt-lockup-thumbnail a, a.thumb-link'); - - for (let i = 0, l = video_items.length; i < l; i++) { - if (!video_items[i].querySelector('.it-mark-watched')) { - var button = document.createElement('div'); - - button.className = 'it-mark-watched' + (ImprovedTube.storage.watched && ImprovedTube.storage.watched[ImprovedTube.getParam(new URL(video_items[i].href || 'https://www.youtube.com/').search.substr(1), 'v')] ? ' watched' : ''); - button.innerHTML = ''; - button.addEventListener('click', function(event) { - var watched = this.classList.contains('watched') ? false : true; - - event.preventDefault(); - event.stopPropagation(); - - this.classList.toggle('watched'); - - try { - var video_id = ImprovedTube.getParam(new URL(this.parentNode.href).search.substr(1), 'v'), - item = this.parentNode; - - while ( - item.nodeName && - item.nodeName !== 'YTD-RICH-ITEM-RENDERER' && - item.nodeName !== 'YTD-COMPACT-VIDEO-RENDERER' && - item.nodeName !== 'YTD-GRID-VIDEO-RENDERER' && - item.classList && - !item.classList.contains('yt-shelf-grid-item') && - !item.classList.contains('video-list-item') - ) { - item = item.parentNode; - } - - if (!ImprovedTube.storage.watched || typeof ImprovedTube.storage.watched !== 'object') { - ImprovedTube.storage.watched = {}; - } - - if (watched === true) { - ImprovedTube.storage.watched[video_id] = { - title: item.querySelector('a#video-title, .title, .yt-lockup-title > a').innerText - }; - - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'set', - id: video_id, - title: item.querySelector('a#video-title, .title, .yt-lockup-title > a').innerText - } - })); - } else if (ImprovedTube.storage.watched[video_id]) { - delete ImprovedTube.storage.watched[video_id]; - - document.dispatchEvent(new CustomEvent('ImprovedTubeWatched', { - detail: { - action: 'remove', - id: video_id - } - })); - } - } catch (err) {} - }); - - video_items[i].appendChild(button); - } - } - } -}; diff --git a/unstable/src/youtube/js/features/player.js b/unstable/src/youtube/js/features/player.js deleted file mode 100644 index 29d980534..000000000 --- a/unstable/src/youtube/js/features/player.js +++ /dev/null @@ -1,872 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> PLAYER -------------------------------------------------------------------------------- -1.0 Quality -2.0 Volume -3.0 Playback speed -4.0 Autoplay -5.0 Allow 60fps -6.0 Codec h.264 -7.0 Subtitles -8.0 Loudness normalization -9.0 Up next autoplay -10.0 Mini player -11.0 Ads -12.0 Autopause -13.0 Auto-fullscreen -14.0 Custom plyaer buttons - 14.1 Repeat - 14.2 Screenshot - 14.3 Rotate - 14.4 Popup player ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Quality ------------------------------------------------------------------------------*/ - -ImprovedTube.player_quality = function(node) { - var quality = ImprovedTube.storage.player_quality; - - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (node.getAvailableQualityLevels) { - var available_quality_levels = node.getAvailableQualityLevels(); - - if (quality && quality !== 'auto') { - if (available_quality_levels.indexOf(quality) === -1) { - quality = available_quality_levels[0]; - } - - node.setPlaybackQualityRange(quality); - node.setPlaybackQuality(quality); - } - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Volume ------------------------------------------------------------------------------*/ - -ImprovedTube.player_volume = function(node) { - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (node && ImprovedTube.storage.player_forced_volume === true) { - var volume = Number(ImprovedTube.storage.player_volume); - - if (!ImprovedTube.isset(volume) || !volume) { - volume = 1; - } - - node.setVolume(volume); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Playback speed ------------------------------------------------------------------------------*/ - -ImprovedTube.player_playback_speed = function(node) { - var playback_speed = Number(ImprovedTube.storage.player_playback_speed); - - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if (ImprovedTube.isset(ImprovedTube.storage.player_playback_speed) && ImprovedTube.storage.player_forced_playback_speed === true) { - node.querySelector('video').playbackRate = playback_speed; - - try { - if (window.location.href.indexOf("music") < 0) { //quickfix to keep running on music.youtube.com - node.setPlaybackRate(playback_speed); - } - } catch (err) {} - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.autoplay = function() { - if ( - (/\/watch\?/.test(location.href) && !/list=/.test(location.href) && this.storage.player_autoplay === false) || - (/\/watch\?/.test(location.href) && /list=/.test(location.href) /*&& /index=/.test(location.href)*/ && this.storage.playlist_autoplay === false) || - (/\/(channel|user)\//.test(location.href) && this.storage.channel_trailer_autoplay === false) - ) { - return false; - } - - return true; -}; - - -/*----------------------------------------------------------------------------- -5.0 Allow 60fps ------------------------------------------------------------------------------*/ - -ImprovedTube.player_60fps = function() { - if (this.storage.player_60fps === false) { - var canPlayType = HTMLMediaElement.prototype.canPlayType; - - function overwrite(self, callback, mime) { - var match = /framerate=(\d+)/.exec(mime); - - if (match && match[1] > 30) { - return ''; - } else { - return callback.call(self, mime); - } - } - - if (window.MediaSource) { - var isTypeSupported = window.MediaSource.isTypeSupported; - - window.MediaSource.isTypeSupported = function(mime) { - return overwrite(this, isTypeSupported, mime); - }; - } - - HTMLMediaElement.prototype.canPlayType = function(mime) { - var status = overwrite(this, canPlayType, mime); - - if (!status) { - return ''; - } else { - return status; - } - }; - } -}; - - -/*----------------------------------------------------------------------------- -6.0 Video codec ------------------------------------------------------------------------------*/ - -ImprovedTube.player_h264 = function() { - if (this.storage.player_h264 === true) { - var canPlayType = HTMLMediaElement.prototype.canPlayType; - - function overwrite(self, callback, mime) { - if (/webm|vp8|vp9/.test(mime)) { - return false; - } else { - return callback.call(self, mime); - } - } - - if (window.MediaSource) { - var isTypeSupported = window.MediaSource.isTypeSupported; - - window.MediaSource.isTypeSupported = function(mime) { - return overwrite(this, isTypeSupported, mime); - }; - } - - HTMLMediaElement.prototype.canPlayType = function(mime) { - var status = overwrite(this, canPlayType, mime); - - if (!status) { - return ''; - } else { - return status; - } - }; - } -}; - - -/*----------------------------------------------------------------------------- -9.0 Up next autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.up_next_autoplay = function() { - if (this.isset(this.storage.up_next_autoplay)) { - var wait = setInterval(function() { - if ( - document.querySelector('#related #head.ytd-compact-autoplay-renderer #toggle') || - document.querySelector('#autoplay-checkbox') - ) { - clearInterval(wait); - - var option = ImprovedTube.storage.up_next_autoplay, - new_youtube_toggle = document.querySelector('#related #head.ytd-compact-autoplay-renderer #toggle'), - old_youtube_toggle = document.querySelector('#autoplay-checkbox'); - - if (new_youtube_toggle && (option === true && !new_youtube_toggle.hasAttribute('checked') || option === false && new_youtube_toggle.hasAttribute('checked'))) { - new_youtube_toggle.click(); - } else if (old_youtube_toggle && (option === true && !old_youtube_toggle.hasAttribute('checked') || option === false && old_youtube_toggle.hasAttribute('checked'))) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -10.0 Mini player (todo) ------------------------------------------------------------------------------*/ - -ImprovedTube.mini_player__mode = false; -ImprovedTube.mini_player__move = false; -ImprovedTube.mini_player__cursor = '""'; -ImprovedTube.mini_player__x = 0; -ImprovedTube.mini_player__y = 0; -ImprovedTube.mini_player__max_x = 0; -ImprovedTube.mini_player__max_y = 0; -ImprovedTube.mini_player__original_width = 0; -ImprovedTube.mini_player__original_height = 0; -ImprovedTube.mini_player__width = 200; -ImprovedTube.mini_player__height = 160; -ImprovedTube.mini_player__mousedown_x = 0; -ImprovedTube.mini_player__mousedown_y = 0; -ImprovedTube.mini_player__player_offset_x = 0; -ImprovedTube.mini_player__player_offset_y = 0; -ImprovedTube.mini_player__resize_offset = 16; - - -ImprovedTube.mini_player__setPosition = function(x, y) { - ImprovedTube.mini_player__element.style.transform = 'translate3d(' + x + 'px, ' + y + 'px, 0)'; -}; - -ImprovedTube.mini_player__setSize = function(width, height) { - ImprovedTube.mini_player__element.style.width = width + 'px'; - ImprovedTube.mini_player__element.style.height = height + 'px'; -}; - -ImprovedTube.mini_player__scroll = function() { - if (window.scrollY >= 256 && ImprovedTube.mini_player__mode === false && ImprovedTube.mini_player__element.classList.contains('ytp-player-minimized') === false) { - ImprovedTube.mini_player__mode = true; - - ImprovedTube.mini_player__original_width = ImprovedTube.mini_player__element.offsetWidth; - ImprovedTube.mini_player__original_height = ImprovedTube.mini_player__element.offsetHeight; - - ImprovedTube.mini_player__element.classList.add('it-mini-player'); - - ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); - ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, ImprovedTube.mini_player__y); - - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height); - - window.addEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } else if (window.scrollY < 256 && ImprovedTube.mini_player__mode === true || ImprovedTube.mini_player__element.classList.contains('ytp-player-minimized') === true) { - ImprovedTube.mini_player__mode = false; - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - ImprovedTube.mini_player__move = false; - ImprovedTube.mini_player__setPosition(0, 0); - ImprovedTube.mini_player__element.style.width = ''; - ImprovedTube.mini_player__element.style.height = ''; - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - window.removeEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } -}; - -ImprovedTube.mini_player__mousedown = function(event) { - if (event.button !== 0) { - return false; - } - - if (ImprovedTube.mini_player__resize() === true) { - return false; - } - - var is_player = false; - - for (var i = 0, l = event.path.length; i < l; i++) { - if ((event.path[i].classList && event.path[i].classList.contains('it-mini-player')) === true) { - is_player = true; - } - } - - if (is_player === false) { - return false; - } - - event.preventDefault(); - - var bcr = ImprovedTube.mini_player__element.getBoundingClientRect(); - - ImprovedTube.mini_player__mousedown_x = event.clientX; - ImprovedTube.mini_player__mousedown_y = event.clientY; - ImprovedTube.mini_player__width = bcr.width; - ImprovedTube.mini_player__height = bcr.height; - - ImprovedTube.mini_player__player_offset_x = event.clientX - bcr.x; - ImprovedTube.mini_player__player_offset_y = event.clientY - bcr.y; - - ImprovedTube.mini_player__max_x = document.body.offsetWidth - ImprovedTube.mini_player__width; - ImprovedTube.mini_player__max_y = window.innerHeight - ImprovedTube.mini_player__height; - - window.addEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.addEventListener('mousemove', ImprovedTube.mini_player__mousemove); -}; - -ImprovedTube.mini_player__mouseup = function() { - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - strg.x = ImprovedTube.mini_player__x; - strg.y = ImprovedTube.mini_player__y; - - localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); - - window.removeEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.removeEventListener('mousemove', ImprovedTube.mini_player__mousemove); - - ImprovedTube.mini_player__move = false; - - setTimeout(function() { - window.removeEventListener('click', ImprovedTube.mini_player__click, true); - }); -}; - -ImprovedTube.mini_player__click = function(event) { - event.stopPropagation(); - event.preventDefault(); -}; - -ImprovedTube.mini_player__mousemove = function(event) { - if ( - event.clientX < ImprovedTube.mini_player__mousedown_x - 5 || - event.clientY < ImprovedTube.mini_player__mousedown_y - 5 || - event.clientX > ImprovedTube.mini_player__mousedown_x + 5 || - event.clientY > ImprovedTube.mini_player__mousedown_y + 5 - ) { - var x = event.clientX - ImprovedTube.mini_player__player_offset_x, - y = event.clientY - ImprovedTube.mini_player__player_offset_y; - - if (ImprovedTube.mini_player__move === false) { - ImprovedTube.mini_player__move = true; - - window.addEventListener('click', ImprovedTube.mini_player__click, true); - } - - if (x < 0) { - x = 0; - } - - if (y < 0) { - y = 0; - } - - if (x > ImprovedTube.mini_player__max_x) { - x = ImprovedTube.mini_player__max_x; - } - - if (y > ImprovedTube.mini_player__max_y) { - y = ImprovedTube.mini_player__max_y; - } - - ImprovedTube.mini_player__x = x; - ImprovedTube.mini_player__y = y; - - ImprovedTube.mini_player__setPosition(x, y); - } -}; - -ImprovedTube.mini_player__cursorUpdate = function(event) { - var x = event.clientX, - y = event.clientY, - c = ImprovedTube.mini_player__cursor; - - if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'ne-resize'; - } else if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'se-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'sw-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'nw-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__resize_offset - ) { - c = 'n-resize'; - } else if ( - x >= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - ImprovedTube.mini_player__resize_offset && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'e-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__width && - y >= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ImprovedTube.mini_player__resize_offset && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 's-resize'; - } else if ( - x >= ImprovedTube.mini_player__x && - x <= ImprovedTube.mini_player__x + ImprovedTube.mini_player__resize_offset && - y >= ImprovedTube.mini_player__y && - y <= ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - ) { - c = 'w-resize'; - } else { - c = ''; - } - - if (ImprovedTube.mini_player__cursor !== c) { - ImprovedTube.mini_player__cursor = c; - - document.documentElement.setAttribute('it-mini-player-cursor', ImprovedTube.mini_player__cursor); - } -}; - -ImprovedTube.mini_player__resize = function(event) { - if (ImprovedTube.mini_player__cursor !== '') { - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - window.addEventListener('mouseup', ImprovedTube.mini_player__resize_mouseUp); - window.addEventListener('mousemove', ImprovedTube.mini_player__resize_mouseMove); - - return true; - } -}; - -ImprovedTube.mini_player__resize_mouseMove = function(event) { - if (ImprovedTube.mini_player__cursor === 'n-resize') { - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, event.clientY); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } else if (ImprovedTube.mini_player__cursor === 'e-resize') { - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__height); - } else if (ImprovedTube.mini_player__cursor === 's-resize') { - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'w-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, ImprovedTube.mini_player__y); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__height); - } else if (ImprovedTube.mini_player__cursor === 'ne-resize') { - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, event.clientY); - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } else if (ImprovedTube.mini_player__cursor === 'se-resize') { - ImprovedTube.mini_player__setSize(event.clientX - ImprovedTube.mini_player__x, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'sw-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, ImprovedTube.mini_player__y); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, event.clientY - ImprovedTube.mini_player__y); - } else if (ImprovedTube.mini_player__cursor === 'nw-resize') { - ImprovedTube.mini_player__setPosition(event.clientX, event.clientY); - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__x + ImprovedTube.mini_player__width - event.clientX, ImprovedTube.mini_player__y + ImprovedTube.mini_player__height - event.clientY); - } -}; - -ImprovedTube.mini_player__resize_mouseUp = function(event) { - var bcr = ImprovedTube.mini_player__element.getBoundingClientRect(); - - ImprovedTube.mini_player__x = bcr.left; - ImprovedTube.mini_player__y = bcr.top; - ImprovedTube.mini_player__width = bcr.width; - ImprovedTube.mini_player__height = bcr.height; - - window.dispatchEvent(new Event('resize')); - - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - strg.width = ImprovedTube.mini_player__width; - strg.height = ImprovedTube.mini_player__height; - - localStorage.setItem('improedtube-mini-player', JSON.stringify(strg)); - - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - window.removeEventListener('mouseup', ImprovedTube.mini_player__resize_mouseUp); - window.removeEventListener('mousemove', ImprovedTube.mini_player__resize_mouseMove); -}; - -ImprovedTube.mini_player = function() { - ImprovedTube.mini_player__element = document.querySelector('.html5-video-player'); - - if (ImprovedTube.storage.mini_player === true) { - var strg = JSON.parse(localStorage.getItem('improedtube-mini-player')) || {}; - - ImprovedTube.mini_player__x = ImprovedTube.isset(strg.x) ? strg.x : 16; - ImprovedTube.mini_player__y = ImprovedTube.isset(strg.y) ? strg.y : 16; - ImprovedTube.mini_player__width = strg.width || 200; - ImprovedTube.mini_player__height = strg.height || 150; - - window.addEventListener('scroll', ImprovedTube.mini_player__scroll); - } else { - ImprovedTube.mini_player__mode = false; - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - ImprovedTube.mini_player__move = false; - ImprovedTube.mini_player__setPosition(0, 0); - ImprovedTube.mini_player__element.style.width = ''; - ImprovedTube.mini_player__element.style.height = ''; - - ImprovedTube.mini_player__element.classList.remove('it-mini-player'); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - window.dispatchEvent(new Event('resize')); - - window.removeEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.removeEventListener('mousemove', ImprovedTube.mini_player__mousemove); - window.removeEventListener('mouseup', ImprovedTube.mini_player__mouseup); - window.removeEventListener('click', ImprovedTube.mini_player__click); - window.removeEventListener('scroll', ImprovedTube.mini_player__scroll); - window.removeEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - } -}; - - -/*----------------------------------------------------------------------------- -12.0 Autopause ------------------------------------------------------------------------------*/ - -ImprovedTube.player_autopause_when_switching_tabs = function() { - window.addEventListener('blur', function() { - ImprovedTube.focused = false; - - if ( - ImprovedTube.storage.player_autopause_when_switching_tabs === true && - /\/watch/.test(location.href) && - document.querySelector('.html5-video-player video') - ) { - document.querySelector('.html5-video-player video').pause(); - } - }); - - window.addEventListener('focus', function() { - ImprovedTube.focused = true; - - if ( - ImprovedTube.storage.player_autopause_when_switching_tabs === true && - /\/watch/.test(location.href) && - document.querySelector('.html5-video-player video') - ) { - document.querySelector('.html5-video-player video').play(); - } - }); -}; - - -/*----------------------------------------------------------------------------- -13.0 Auto-fullscreen ------------------------------------------------------------------------------*/ - -ImprovedTube.player_autofullscreen = function(node) { - if (!node) { - node = document.querySelector('.html5-video-player'); - } - - if ( - this.storage.player_autofullscreen === true && - !document.fullscreenElement && - document.documentElement.getAttribute('it-page-type') === 'video' && - node.toggleFullscreen - ) { - node.toggleFullscreen(); - } -}; - - -/*----------------------------------------------------------------------------- -14.0 Custom buttons ------------------------------------------------------------------------------*/ - -ImprovedTube.createPlayerButton = function(node, options) { - var button = document.createElement('button'); - - var wait = setInterval(function() { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - if (node && node.querySelector('.ytp-left-controls')) { - clearInterval(wait); - - button.className = 'ytp-button it-player-button'; - - button.dataset.title = options.title; - - if (options.id) { - if (node.querySelector('#' + options.id)) { - node.querySelector('#' + options.id).remove(); - } - - button.id = options.id; - } - - if (options.html) { - button.innerHTML = options.html; - } - - button.style.opacity = options.opacity || '.5'; - - if (options.onclick) { - button.onclick = options.onclick; - } - - node.querySelector('.ytp-left-controls').insertBefore(button, node.querySelector('.ytp-left-controls').childNodes[3]); - } - }); -}; - - -/*----------------------------------------------------------------------------- -14.1 Repeat ------------------------------------------------------------------------------*/ - -ImprovedTube.player_repeat_button = function(node) { - if (this.storage.player_repeat_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-repeat-button', - html: '', - onclick: function() { - if (node.querySelector('video').hasAttribute('loop')) { - node.querySelector('video').removeAttribute('loop'); - this.style.opacity = '.5'; - } else if (!/ad-showing/.test(player.className)) { - node.querySelector('video').setAttribute('loop', ''); - this.style.opacity = '1'; - } - }, - title: 'Repeat' - }); - - if (this.storage.player_always_repeat === true) { - setTimeout(function() { - node.querySelector('video').setAttribute('loop', ''); - node.querySelector('#it-repeat-button').style.opacity = '1'; - }, 100); - } - } else if (document.querySelector('.it-repeat-button')) { - document.querySelector('.it-repeat-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.2 Screenshot ------------------------------------------------------------------------------*/ - -ImprovedTube.screenshot = function() { - document.body.style.opacity = '0'; - - var video = document.querySelector('.html5-video-player video'), - cvs = document.createElement('canvas'), - ctx = cvs.getContext('2d'), - old_w = video.offsetWidth, - old_h = video.offsetHeight; - - video.style.width = video.videoWidth + 'px'; - video.style.height = video.videoHeight + 'px'; - - setTimeout(function() { - cvs.width = video.videoWidth; - cvs.height = video.videoHeight; - - ctx.drawImage(video, 0, 0, cvs.width, cvs.height); - - cvs.toBlob(function(blob) { - if (ImprovedTube.storage.player_screenshot_save_as !== 'clipboard') { - var a = document.createElement('a'); - - a.href = URL.createObjectURL(blob); - - a.download = location.href.match(/(\?|\&)v=[^&]+/)[0].substr(3) + '-' + new Date(document.querySelector('video').getCurrentTime() * 1000).toISOString().substr(11, 8).replace(/:/g, '-') + '.png'; - - a.click(); - } else { - try { - navigator.clipboard.write([ - new ClipboardItem({ - 'image/png': blob - }) - ]); - } catch (error) { - console.error(error); - } - } - - setTimeout(function() { - video.style.width = old_w + 'px'; - video.style.height = old_h + 'px'; - - document.body.style.opacity = '1'; - }, 100); - }); - }, 100); -}; - -ImprovedTube.player_screenshot_button = function() { - if (this.storage.player_screenshot_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-screenshot-button', - html: '', - opacity: 1, - onclick: ImprovedTube.screenshot, - title: 'Screenshot' - }); - } else if (document.querySelector('.it-screenshot-button')) { - document.querySelector('.it-screenshot-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.3 Rotate ------------------------------------------------------------------------------*/ - -ImprovedTube.player_rotate_button = function() { - if (this.storage.player_rotate_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-rotate-button', - html: '', - opacity: 1, - onclick: function() { - var video = document.querySelector('.html5-video-player video'), - transform = '', - rotate = (document.querySelector('.it-rotate-styles') && document.querySelector('.it-rotate-styles').textContent.match(/rotate\([0-9.]+deg\)/g) || [''])[0]; - - rotate = Number((rotate.match(/[0-9.]+/g) || [])[0]) || 0; - - if (rotate < 270 && rotate % 90 == 0) { - rotate = rotate + 90; - } else { - rotate = 0; - } - - transform += 'rotate(' + rotate + 'deg)'; - - if (rotate == 90 || rotate == 270) { - transform += ' scale(' + video.offsetHeight / video.offsetWidth + ')'; - } - - //video.style.transform = transform; - - if (!document.querySelector('.it-rotate-styles')) { - var styles = document.createElement('style'); - - styles.className = 'it-rotate-styles'; - - document.body.appendChild(styles); - } - - document.querySelector('.it-rotate-styles').textContent = '.html5-video-player:not(it-mini-player) video {transform:' + transform + '}'; - }, - title: 'Rotate' - }); - } else if (document.querySelector('.it-rotate-button')) { - document.querySelector('.it-rotate-button').remove(); - document.querySelector('.it-rotate-styles').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -14.4 Popup ------------------------------------------------------------------------------*/ - -ImprovedTube.player_popup_button = function() { - if (this.storage.player_popup_button === true) { - if (!node) { - var node = document.querySelector('.html5-video-player'); - } - - this.createPlayerButton(node, { - id: 'it-popup-player-button', - html: '', - opacity: 1, - onclick: function() { - node.pauseVideo(); - - window.open('//www.youtube.com/embed/' + location.href.match(/watch\?v=([A-Za-z0-9\-\_]+)/g)[0].slice(8) + '?start=' + parseInt(node.getCurrentTime()) + '&autoplay=' + (ImprovedTube.storage.player_autoplay == false ? '0' : '1'), '_blank', 'location=0,menubar=0,status=0,titlebar=0,width=' + node.offsetWidth + ',height=' + node.offsetHeight); - }, - title: 'Popup' - }); - } else if (document.querySelector('.it-popup-player-button')) { - document.querySelector('.it-popup-player-button').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -# LOUDNESS NORMALIZATION ------------------------------------------------------------------------------*/ - -ImprovedTube.player_loudness_normalization = function() { - if (document.querySelector('video')) { - document.querySelector('video').onvolumechange = function(event) { - if (document.querySelector('.ytp-volume-panel') && ImprovedTube.storage.player_loudness_normalization === false) { - var volume = Number(document.querySelector('.ytp-volume-panel').getAttribute('aria-valuenow')); - - document.querySelector('video').volume = volume / 100; - } - }; - } - - if (ImprovedTube.storage.player_loudness_normalization === false) { - try { - var local_storage = localStorage['yt-player-volume']; - - if (ImprovedTube.isset(Number(ImprovedTube.storage.player_volume)) && ImprovedTube.storage.player_forced_volume === true) { - - } else if (local_storage) { - local_storage = JSON.parse(JSON.parse(local_storage).data); - local_storage = Number(local_storage.volume); - - document.querySelector('video').volume = local_storage / 100; - } else { - document.querySelector('video').volume = 100; - } - } catch (err) { - console.log(err); - } - } -}; \ No newline at end of file diff --git a/unstable/src/youtube/js/features/playlist.js b/unstable/src/youtube/js/features/playlist.js deleted file mode 100644 index 6a2ffb272..000000000 --- a/unstable/src/youtube/js/features/playlist.js +++ /dev/null @@ -1,245 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> PLAYLIST -------------------------------------------------------------------------------- -1.0 Reverse -2.0 Repeat -3.0 Shuffle ------------------------------------------------------------------------------*/ - - -/*----------------------------------------------------------------------------- -1.0 Reverse (todo) ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_reverse_wait = false; - -ImprovedTube.playlist_reverse_activated = false; - -ImprovedTube.playlist_reverse = function() { - if (this.storage.playlist_reverse === true) { - ImprovedTube.playlist_reverse_wait = setInterval(function() { - if ( - ( - document.querySelector('.playlist-nav-controls') || - document.querySelector('ytd-watch-flexy ytd-playlist-panel-renderer #header-contents #playlist-actions ytd-menu-renderer #top-level-buttons') - ) && - (document.querySelector('.playlist-nav-controls .toggle-loop') || document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[0]) && - !document.querySelector('#it-playlist-reverse') - ) { - clearInterval(ImprovedTube.playlist_reverse_wait); - - ImprovedTube.playlist_reverse_wait = false; - - var button = document.createElement('div'); - - button.id = 'it-playlist-reverse'; - button.innerHTML = ''; - button.onclick = function() { - if (this.classList.contains('yt-uix-button-toggled')) { - ImprovedTube.playlist_reverse_activated = false; - - this.classList.remove('yt-uix-button-toggled'); - } else { - ImprovedTube.playlist_reverse_activated = true; - - this.classList.add('yt-uix-button-toggled'); - } - - ImprovedTube.newPlaylistReverse(); - }; - - (document.querySelector('ytd-watch-flexy ytd-playlist-panel-renderer #header-contents #playlist-actions ytd-menu-renderer #top-level-buttons') || document.querySelector('.playlist-nav-controls')).appendChild(button); - - if ((ImprovedTube.playlist_reverse_activated === true || location.href.indexOf('it-playlist-reverse=true') !== -1) && document.querySelector('#it-playlist-reverse')) { - ImprovedTube.playlist_reverse_activated = true; - - document.querySelector('#it-playlist-reverse').classList.add('yt-uix-button-toggled'); - - ImprovedTube.newPlaylistReverse(); - } - } - }, 250); - } -}; - -ImprovedTube.newPlaylistReverse = function() { - var list = document.querySelector('#items.playlist-items'), - videos = document.querySelectorAll('#items.playlist-items > *'), - clones = [], - titles = [], - channels = [], - hrefs = []; - - if (videos) { - for (var i = videos.length - 1; i >= 0; i--) { - titles.push(videos[i].querySelector('#video-title').innerText); - channels.push(videos[i].querySelector('#byline').innerText); - hrefs.push(videos[i].querySelector('a').href + '&it-playlist-reverse=true'); - clones.push(videos[i].cloneNode(true)); - } - - list.innerHTML = ''; - - for (var i = 0, l = clones.length; i < l; i++) { - var clone = clones[i].cloneNode(true); - - list.appendChild(clone); - } - - function next(event) { - if ( - ImprovedTube.playlist_reverse_activated === true && - ( - (document.querySelector('#items.playlist-items > [selected]').nextElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || - document.querySelector('#items.playlist-items > * a') - ) - ) { - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i] === document.querySelector('.html5-video-player .ytp-next-button')) { - event.preventDefault(); - event.stopPropagation(); - - location.replace(((document.querySelector('#items.playlist-items > [selected]').nextElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || document.querySelector('#items.playlist-items > * a')).href); - - return false; - } - } - } - } - - window.removeEventListener('click', next); - window.addEventListener('click', next); - - function prev(event) { - if ( - ImprovedTube.playlist_reverse_activated === true && - ( - (document.querySelector('#items.playlist-items > [selected]').previousElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || - document.querySelector('#items.playlist-items > *:last-child a') - ) - ) { - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i] === document.querySelector('.html5-video-player .ytp-prev-button')) { - event.preventDefault(); - event.stopPropagation(); - - location.replace(((document.querySelector('#items.playlist-items > [selected]').previousElementSibling ? document.querySelector('#items.playlist-items > [selected]').nextElementSibling.querySelector('a') : null) || document.querySelector('#items.playlist-items > *:last-child a')).href); - - return false; - } - } - } - } - - window.removeEventListener('click', prev); - window.addEventListener('click', prev); - - setTimeout(function() { - var items = document.querySelectorAll('#items.playlist-items > *'); - - for (var i = 0, l = clones.length; i < l; i++) { - var item = items[i]; - - item.querySelector('a').href = hrefs[i]; - // index - item.querySelector('#index').innerHTML = clones[i].querySelector('#index').innerHTML; - // thumbnail - item.querySelector('#thumbnail-container').style.background = 'url(https://i.ytimg.com/vi/' + hrefs[i].match(/v=[^&]*/g)[0].substr(2) + '/hqdefault.jpg) no-repeat center'; - item.querySelector('#thumbnail-container').style.backgroundSize = 'cover'; - item.querySelector('yt-img-shadow').classList.remove('empty'); - // title - item.querySelector('#video-title').innerText = titles[i]; - // channel - item.querySelector('#byline').innerText = channels[i]; - } - - //document.querySelector('.html5-video-player .ytp-next-button').parentNode.replaceChild(document.querySelector('.html5-video-player .ytp-next-button').cloneNode.true, document.querySelector('.html5-video-player .ytp-next-button')); - - document.querySelector('#playlist .playlist-items').scrollTo(0, document.querySelector('ytd-playlist-panel-video-renderer[selected]').offsetTop - document.querySelector('ytd-playlist-panel-video-renderer[selected]').parentNode.offsetTop); - }, 500); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Repeat ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_repeat_wait = false; - -ImprovedTube.playlist_repeat = function() { - if (this.isset(this.storage.playlist_repeat) && /\/watch\?/.test(location.href) && /list=/.test(location.href)) { - ImprovedTube.playlist_repeat_wait = setInterval(function() { - if ( - document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[0] || - document.querySelector('.playlist-nav-controls .toggle-loop') - ) { - clearInterval(ImprovedTube.playlist_repeat_wait); - - ImprovedTube.playlist_repeat_wait = false; - - var option = ImprovedTube.storage.playlist_repeat, - new_youtube_toggle = document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer'), - old_youtube_toggle = document.querySelector('.playlist-nav-controls .toggle-loop'); - - if (new_youtube_toggle[0] && (option === true && new_youtube_toggle[0].className.search('style-default-active') === -1 || option === 'disabled' && new_youtube_toggle[0].className.search('style-default-active') !== -1)) { - new_youtube_toggle[0].click(); - } else if (old_youtube_toggle && (option === true && old_youtube_toggle.className.search('yt-uix-button-toggled') === -1 || option === 'disabled' && old_youtube_toggle.className.search('yt-uix-button-toggled') !== -1)) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Shuffle ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_shuffle_wait = false; - -ImprovedTube.playlist_shuffle = function() { - if (this.isset(this.storage.playlist_shuffle) && /\/watch\?/.test(location.href) && /list=/.test(location.href)) { - ImprovedTube.playlist_shuffle_wait = setInterval(function() { - if ( - document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer')[1] || - document.querySelector('.playlist-nav-controls .shuffle-playlist') - ) { - clearInterval(ImprovedTube.playlist_shuffle_wait); - - ImprovedTube.playlist_shuffle_wait = false; - - var option = ImprovedTube.storage.playlist_shuffle, - new_youtube_toggle = document.querySelectorAll('#playlist-actions #top-level-buttons ytd-toggle-button-renderer'), - old_youtube_toggle = document.querySelector('.playlist-nav-controls .shuffle-playlist'); - - if (new_youtube_toggle[1] && (option === true && new_youtube_toggle[1].className.search('style-default-active') === -1 || option === 'disabled' && new_youtube_toggle[1].className.search('style-default-active') !== -1)) { - new_youtube_toggle[1].click(); - } else if (old_youtube_toggle && (option === true && old_youtube_toggle.className.search('yt-uix-button-toggled') === -1 || option === 'disabled' && old_youtube_toggle.className.search('yt-uix-button-toggled') !== -1)) { - old_youtube_toggle.click(); - } - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -4.0 Up next autoplay ------------------------------------------------------------------------------*/ - -ImprovedTube.playlist_up_next_autoplay_f = function(event) { - if ( - ImprovedTube.getParam(location.href, 'list') && - ImprovedTube.storage.playlist_up_next_autoplay === false && - this.currentTime >= this.duration - 1 - ) { - this.pause(); - } -}; - -ImprovedTube.playlist_up_next_autoplay = function(player) { - player.querySelector('video').removeEventListener('timeupdate', ImprovedTube.playlist_up_next_autoplay_f, true); - player.querySelector('video').addEventListener('timeupdate', ImprovedTube.playlist_up_next_autoplay_f, true); -}; diff --git a/unstable/src/youtube/js/features/settings.js b/unstable/src/youtube/js/features/settings.js deleted file mode 100644 index 6bf3ee5c7..000000000 --- a/unstable/src/youtube/js/features/settings.js +++ /dev/null @@ -1,233 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> SETTINGS -------------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube -2.0 Delete YouTube cookies -3.0 YouTube Language ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 ImprovedTube icon on YouTube ------------------------------------------------------------------------------*/ - -ImprovedTube.improvedtube_youtube_icon_wait = false; - -ImprovedTube.improvedtube_youtube_icon_resize = function() { - var iframe = document.querySelector('.it-btn__iframe'), - icon = document.querySelector('.it-btn__icon'); - - if (iframe && icon) { - var x = icon.getBoundingClientRect().x, - y = icon.getBoundingClientRect().y; - - if (x < window.innerWidth / 2) { - iframe.style.right = 'auto'; - iframe.style.left = '0px'; - } else { - iframe.style.right = '0px'; - iframe.style.left = 'auto'; - } - - if (y < window.innerHeight / 2) { - iframe.style.top = '50px'; - iframe.style.bottom = 'auto'; - - iframe.style.height = Math.min(500, window.innerHeight - Math.max(0, iframe.getBoundingClientRect().top) - 16) + 'px'; - } else { - iframe.style.top = 'auto'; - iframe.style.bottom = '50px'; - - iframe.style.height = Math.min(500, window.innerHeight - Math.max(0, window.innerHeight - iframe.getBoundingClientRect().y - iframe.getBoundingClientRect().height) - 16) + 'px'; - } - } -}; - -ImprovedTube.improvedtube_youtube_icon = function() { - if (window.self !== window.top) { - return false; - } - - if ( - ImprovedTube.storage.improvedtube_youtube_icon === 'disabled' && - document.querySelector('.it-btn') - ) { - document.querySelector('.it-btn').remove(); - } - - if (this.improvedtube_youtube_icon_wait === false) { - this.improvedtube_youtube_icon_wait = setInterval(function() { - var option = ImprovedTube.storage.improvedtube_youtube_icon, - parentNode, - referenceNode; - - if (option === 'header_left') { - parentNode = document.querySelector('ytd-masthead #start'); - referenceNode = document.querySelector('ytd-masthead #start #guide-button'); - } else if (option === 'header_right') { - parentNode = ( - document.querySelector('#end #buttons') || - document.querySelector('#yt-masthead-user') - ); - } else if (option === 'draggable') { - parentNode = document.body || document.querySelector('body'); - } else if (option === 'below_player') { - parentNode = ( - document.querySelector('.title.ytd-video-primary-info-renderer') || - document.querySelector('#watch-headline-title') - ); - } - - if (document.querySelector('.it-btn')) { - if (!parentNode.querySelector(':scope > .it-btn')) { - document.querySelector('.it-btn').remove(); - } else { - clearInterval(ImprovedTube.improvedtube_youtube_icon_wait); - - ImprovedTube.improvedtube_youtube_icon_wait = false; - - return false; - } - } - - if ( - ImprovedTube.isset(option) && - option !== 'disabled' && - parentNode && (option === 'header_left' ? referenceNode : true) - ) { - clearInterval(ImprovedTube.improvedtube_youtube_icon_wait); - - ImprovedTube.improvedtube_youtube_icon_wait = false; - - var button = document.createElement('div'); - - button.className = 'it-btn'; - button.innerHTML = '
'; - button.addEventListener('click', function() { - event.preventDefault(); - event.stopPropagation(); - - this.classList.toggle('it-btn--active'); - ImprovedTube.improvedtube_youtube_icon_resize(); - - return false; - }, true); - - if (option === 'draggable') { - var position = localStorage.getItem('IT_ICON'); - - if (ImprovedTube.isset(position)) { - position = JSON.parse(position); - - button.style.left = position.x + 'px'; - button.style.top = position.y + 'px'; - } - - function move(event) { - button.classList.add('it-btn--dragging'); - - if (event.clientX < window.innerWidth / 2) { - if (event.clientX - Number(button.dataset.x) >= 16) { - button.style.left = event.clientX - Number(button.dataset.x) + 'px'; - } else { - button.style.left = '16px'; - } - } else { - if (event.clientX + (48 + window.innerWidth - document.querySelector('body').offsetWidth) - Number(button.dataset.x) <= window.innerWidth) { - button.style.left = event.clientX - Number(button.dataset.x) + 'px'; - } else { - button.style.left = 'calc(100vw - ' + (48 + window.innerWidth - document.querySelector('body').offsetWidth) + 'px)'; - } - } - - if (event.clientY < window.innerHeight / 2) { - if (event.clientY - Number(button.dataset.y) >= 16) { - button.style.top = event.clientY - Number(button.dataset.y) + 'px'; - } else { - button.style.top = '16px'; - } - } else { - if (event.clientY + 48 - Number(button.dataset.y) <= window.innerHeight) { - button.style.top = event.clientY - Number(button.dataset.y) + 'px'; - } else { - button.style.top = 'calc(100vh - 48px)'; - } - } - - ImprovedTube.improvedtube_youtube_icon_resize(); - } - - button.addEventListener('mousedown', function(event) { - this.dataset.x = event.layerX; - this.dataset.y = event.layerY; - - window.addEventListener('mousemove', move); - }); - - window.addEventListener('mouseup', function() { - button.classList.remove('it-btn--dragging'); - - window.removeEventListener('mousemove', move); - - localStorage.setItem('IT_ICON', JSON.stringify({ - x: button.offsetLeft, - y: button.offsetTop - })); - - setTimeout(function() { - button.style.pointerEvents = ''; - }); - }); - } - - if (option === 'header_left') { - parentNode.insertBefore(button, referenceNode); - } else { - parentNode.appendChild(button); - } - - ImprovedTube.improvedtube_youtube_icon_resize(); - } - }, 250); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Delete YouTube cookies ------------------------------------------------------------------------------*/ - -ImprovedTube.delete_youtube_cookies = function() { - var cookies = document.cookie.split(';'); - - for (var i = 0, l = cookies.length; i < l; i++) { - var cookie = cookies[i], - eqPos = cookie.indexOf('='), - name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; - - document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; - } - - setTimeout(function() { - location.reload(); - }, 100); -}; - - -/*----------------------------------------------------------------------------- -3.0 YouTube Language ------------------------------------------------------------------------------*/ - -ImprovedTube.youtube_language = function() { - var pref = ImprovedTube.getCookieValueByName('PREF'), - hl = ImprovedTube.getParam(pref, 'hl'); - - if (hl) { - ImprovedTube.setCookie('PREF', pref.replace('hl=' + hl, 'hl=' + ImprovedTube.storage.youtube_language)); - } else { - ImprovedTube.setCookie('PREF', pref + '&hl=' + ImprovedTube.storage.youtube_language); - } - - setTimeout(function() { - location.reload(); - }, 100); -}; diff --git a/unstable/src/youtube/js/features/shortcuts.js b/unstable/src/youtube/js/features/shortcuts.js deleted file mode 100644 index 29acd0842..000000000 --- a/unstable/src/youtube/js/features/shortcuts.js +++ /dev/null @@ -1,400 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> SHORTCUTS -------------------------------------------------------------------------------- -1.0 Keyboard -2.0 Mouse ------------------------------------------------------------------------------*/ - -ImprovedTube.shortcuts = function() { - var self = this, - keys = {}, - wheel = 0, - hover = false, - status_timer; - - function showStatus(player, volume) { - if (!player.querySelector('#it-status')) { - var element = document.createElement('div'); - - element.id = 'it-status'; - element.innerHTML = volume; - - document.querySelector('.html5-video-container').appendChild(element); - } else { - player.querySelector('#it-status').innerHTML = volume; - } - - if (status_timer) { - clearTimeout(status_timer); - } - - status_timer = setTimeout(function() { - if (player.querySelector('#it-status')) { - player.querySelector('#it-status').remove(); - } - }, 500); - } - - function start(type = 'keys') { - if (document.activeElement && ['EMBED', 'INPUT', 'OBJECT', 'TEXTAREA', 'IFRAME'].indexOf(document.activeElement.tagName) !== -1 || event.target.isContentEditable) { - return false; - } - - var features = { - shortcut_240p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('small'); - player.setPlaybackQuality('small'); - } - }, - shortcut_360p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('medium'); - player.setPlaybackQuality('medium'); - } - }, - shortcut_480p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('large'); - player.setPlaybackQuality('large'); - } - }, - shortcut_720p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd720'); - player.setPlaybackQuality('hd720'); - } - }, - shortcut_1080p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd1080'); - player.setPlaybackQuality('hd1080'); - } - }, - shortcut_1440p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd1440'); - player.setPlaybackQuality('hd1440'); - } - }, - shortcut_2160p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd2160'); - player.setPlaybackQuality('hd2160'); - } - }, - shortcut_2880p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('hd2880'); - player.setPlaybackQuality('hd2880'); - } - }, - shortcut_4320p: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.setPlaybackQualityRange('highres'); - player.setPlaybackQuality('highres'); - } - }, - shortcut_picture_in_picture: function() { - var video = document.querySelector('#movie_player video'); - - if (video) { - video.requestPictureInPicture(); - } - }, - shortcut_play_pause: function() { - var video = document.querySelector('#movie_player video'); - - if (video) { - if (video.paused) { - video.play(); - } else { - video.pause(); - } - } - }, - shortcut_stop: function() { - var player = document.querySelector('#movie_player'); - - if (player) { - player.stopVideo(); - } - }, - shortcut_next_video: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.nextVideo) { - player.nextVideo(); - } - }, - shortcut_prev_video: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.previousVideo) { - player.previousVideo(); - } - }, - shortcut_seek_backward: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.seekBy) { - player.seekBy(-10); - } - }, - shortcut_seek_forward: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.seekBy) { - player.seekBy(10); - } - }, - shortcut_increase_volume: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - player.setVolume(player.getVolume() + (Number(ImprovedTube.storage.shortcut_volume_step) || 5)); - } - - showStatus(player, player.getVolume()); - }, - shortcut_decrease_volume: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - player.setVolume(player.getVolume() - (Number(ImprovedTube.storage.shortcut_volume_step) || 5)); - } - - showStatus(player, player.getVolume()); - }, - shortcut_screenshot: function() { - var player = document.querySelector('.html5-video-player'); - - if (player && player.setVolume && player.getVolume) { - ImprovedTube.screenshot(); - } - }, - shortcut_increase_playback_speed: function() { - var video = document.querySelector('#movie_player video'); - - if (video && video.playbackRate) { - video.playbackRate = Math.max(Number((video.playbackRate + Number(ImprovedTube.storage.shortcut_playback_speed_step)).toFixed(2)), .1); - - showStatus(document.querySelector('#movie_player'), video.playbackRate); - } - }, - shortcut_decrease_playback_speed: function() { - var video = document.querySelector('#movie_player video'); - - if (video && video.playbackRate) { - video.playbackRate = Math.max(Number((video.playbackRate - Number(ImprovedTube.storage.shortcut_playback_speed_step)).toFixed(2)), .1); - - showStatus(document.querySelector('#movie_player'), video.playbackRate); - } - }, - shortcut_go_to_search_box: function() { - var search = document.querySelector('#search'); - - if (search && search.focus) { - search.focus(); - } - }, - shortcut_activate_fullscreen: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.toggleFullscreen) { - player.toggleFullscreen(); - } - }, - shortcut_activate_captions: function() { - var player = document.querySelector('#movie_player'); - - if (player && player.querySelector('.ytp-subtitles-button')) { - player.querySelector('.ytp-subtitles-button').click(); - } - }, - shortcut_like_shortcut: function() { - var like = (document.querySelectorAll('.like-button-renderer-like-button')[0] || document.querySelectorAll('#menu #top-level-buttons ytd-toggle-button-renderer')[0]); - - if (like) { - like.click(); - } - }, - shortcut_dislike_shortcut: function() { - var like = (document.querySelectorAll('.like-button-renderer-dislike-button')[0] || document.querySelectorAll('#menu #top-level-buttons ytd-toggle-button-renderer')[1]); - - if (like) { - like.click(); - } - }, - shortcut_dark_theme: function() { - if (document.documentElement.hasAttribute('dark')) { - document.documentElement.removeAttribute('dark'); - document.documentElement.removeAttribute('it-theme'); - } else { - document.documentElement.setAttribute('dark', ''); - document.documentElement.setAttribute('it-theme', 'true'); - } - }, - shortcut_custom_mini_player: function() { - ImprovedTube.storage.mini_player = !ImprovedTube.storage.mini_player; - - ImprovedTube.mini_player(); - - if (ImprovedTube.storage.mini_player === true) { - ImprovedTube.mini_player__mode = true; - - ImprovedTube.mini_player__original_width = ImprovedTube.mini_player__element.offsetWidth; - ImprovedTube.mini_player__original_height = ImprovedTube.mini_player__element.offsetHeight; - - ImprovedTube.mini_player__element.classList.add('it-mini-player'); - - ImprovedTube.mini_player__x = Math.max(0, Math.min(ImprovedTube.mini_player__x, document.body.offsetWidth - ImprovedTube.mini_player__width)); - ImprovedTube.mini_player__y = Math.max(0, Math.min(ImprovedTube.mini_player__y, window.innerHeight - ImprovedTube.mini_player__height)); - - ImprovedTube.mini_player__cursor = ''; - document.documentElement.removeAttribute('it-mini-player-cursor'); - - ImprovedTube.mini_player__setPosition(ImprovedTube.mini_player__x, ImprovedTube.mini_player__y); - - ImprovedTube.mini_player__setSize(ImprovedTube.mini_player__width, ImprovedTube.mini_player__height); - - window.addEventListener('mousedown', ImprovedTube.mini_player__mousedown); - window.addEventListener('mousemove', ImprovedTube.mini_player__cursorUpdate); - - window.dispatchEvent(new Event('resize')); - } - }, - shortcut_stats_for_nerds: function() { - var player = document.querySelector('#movie_player'); - - if(player) { - if(player.querySelector('.html5-video-info-panel')) { - var statsForNerdsPanel = player.querySelector('.html5-video-info-panel'); - var displayType = statsForNerdsPanel.style.display; - - if(displayType != 'none') { - statsForNerdsPanel.querySelector('.html5-video-info-panel-close').click(); - } else { - var rightClickMenu = document.querySelector('.ytp-popup.ytp-contextmenu .ytp-panel .ytp-panel-menu'); - - if(rightClickMenu && rightClickMenu.querySelector('div:nth-child(7)')) { - rightClickMenu.querySelector('div:nth-child(7) .ytp-menuitem-content').click(); - } - } - } else { - if(document.createEvent) { - var rightClickEvent = document.createEvent('HTMLEvents'); - rightClickEvent.initEvent('contextmenu', true, false); - player.dispatchEvent(rightClickEvent); - } - var rightClickMenu = document.querySelector('.ytp-popup.ytp-contextmenu .ytp-panel .ytp-panel-menu'); - - if(rightClickMenu && rightClickMenu.querySelector('div:nth-child(7)')) { - rightClickMenu.querySelector('div:nth-child(7) .ytp-menuitem-content').click(); - } - } - } - }, - shortcut_toggle_cards: function() { - const html = document.getElementsByTagName("html")[0]; - if(html.getAttribute("it-player-hide-cards") === "true") { - html.setAttribute("it-player-hide-cards", "false"); - } else { - html.setAttribute("it-player-hide-cards", true); - } - } - }; - - for (var i in features) { - if (self.isset(self.storage[i])) { - var data = JSON.parse(self.storage[i]) || {}; - - if ( - (data.key === keys.key || !self.isset(data.key)) && - (data.shiftKey === keys.shiftKey || !self.isset(data.shiftKey)) && - (data.ctrlKey === keys.ctrlKey || !self.isset(data.ctrlKey)) && - (data.altKey === keys.altKey || !self.isset(data.altKey)) && - ((data.wheel > 0) === (wheel > 0) || !self.isset(data.wheel)) && - (((data.on_top_of_player === true ? hover === true : true) && (data.wheel > 0) === (wheel > 0) && Object.keys(keys).length === 0 && keys.constructor === Object) || (self.isset(data.key) || self.isset(data.altKey) || self.isset(data.ctrlKey))) - ) { - if (type === 'wheel' && self.isset(data.wheel) || type === 'keys') { - event.preventDefault(); - event.stopPropagation(); - } - - features[i](); - - if (type === 'wheel' && self.isset(data.wheel) || type === 'keys') { - return false; - } - } - } - } - } - - - /*------------------------------------------------------------------------- - 1.0 Keyboard - -------------------------------------------------------------------------*/ - - window.addEventListener('keydown', function(event) { - keys = { - key: event.key, - keyCode: event.keyCode, - shiftKey: event.shiftKey, - ctrlKey: event.ctrlKey, - altKey: event.altKey - }; - - start(); - }, true); - - window.addEventListener('keyup', function(event) { - keys = {}; - }, true); - - - /*------------------------------------------------------------------------- - 2.0 Mouse - -------------------------------------------------------------------------*/ - - window.addEventListener('mousemove', function(event) { - hover = false; - - for (var i = 0, l = event.path.length; i < l; i++) { - if (event.path[i].classList && event.path[i].classList.contains('html5-video-player')) { - hover = true; - } - } - }, { - passive: false, - capture: true - }); - - window.addEventListener('wheel', function(event) { - wheel = event.deltaY; - - start('wheel'); - }, { - passive: false, - capture: true - }); -}; diff --git a/unstable/src/youtube/js/features/themes.js b/unstable/src/youtube/js/features/themes.js deleted file mode 100644 index 302fea23a..000000000 --- a/unstable/src/youtube/js/features/themes.js +++ /dev/null @@ -1,237 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> THEMES -------------------------------------------------------------------------------- -1.0 Bluelight -2.0 Dim -3.0 Themes ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Bluelight ------------------------------------------------------------------------------*/ - -ImprovedTube.bluelight = function() { - var value = this.storage.bluelight, - times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - } - - if ( - this.isset(value) && value !== 0 && value !== '0' && - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) - ) { - if (!document.querySelector('#it-bluelight')) { - var container = document.createElement('div'); - - container.id = 'it-bluelight'; - container.innerHTML = ''; - - document.documentElement.appendChild(container); - } else { - document.querySelector('#it-bluelight-filter feColorMatrix').setAttribute('values', '1 0 0 0 0 0 1 0 0 0 0 0 ' + (1 - parseFloat(value) / 100) + ' 0 0 0 0 0 1 0'); - } - } else if (document.querySelector('#it-bluelight')) { - document.querySelector('#it-bluelight').remove(); - } -}; - - -/*----------------------------------------------------------------------------- -2.0 Dim ------------------------------------------------------------------------------*/ - -ImprovedTube.dim = function() { - var value = this.storage.dim, - times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - }; - - if ( - this.isset(value) && value !== 0 && value !== '0' && - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) - ) { - if (!document.querySelector('#it-dim')) { - var container = document.createElement('div'); - - container.id = 'it-dim'; - container.style.opacity = parseInt(Number(value)) / 100 || 0; - - document.documentElement.appendChild(container); - } else { - document.querySelector('#it-dim').style.opacity = parseInt(Number(value)) / 100 || 0; - } - - if (!document.querySelector('#it-dim-player')) { - var container = document.createElement('div'); - - container.id = 'it-dim-player'; - container.style.opacity = parseInt(Number(value)) / 100 || 0; - - if (document.querySelector('.html5-video-player')) { - document.querySelector('.html5-video-player').appendChild(container); - } - } else { - document.querySelector('#it-dim-player').style.opacity = parseInt(Number(value)) / 100 || 0; - } - } else { - if (document.querySelector('#it-dim')) { - document.querySelector('#it-dim').remove(); - } - - if (document.querySelector('#it-dim-player')) { - document.querySelector('#it-dim-player').remove(); - } - } -}; - - -ImprovedTube.font = function() { - if (this.storage.font) { - if(this.storage.font != 'Default') { - if (!document.querySelector('.it-font-family')) { - var link = document.createElement('link'); - - link.rel = 'stylesheet'; - - document.documentElement.appendChild(link); - } else { - var link = document.querySelector('.it-font-family'); - } - - link.href = '//fonts.googleapis.com/css2?family=' + this.storage.font; - - document.documentElement.style.fontFamily = this.storage.font.replace(/\+/g, ' '); - } - } -}; - - -/*----------------------------------------------------------------------------- -3.0 Themes ------------------------------------------------------------------------------*/ - -ImprovedTube.theme = function() { - var times = { - from: Number((this.storage.schedule_time_from || '00:00').substr(0, 2)), - to: Number((this.storage.schedule_time_to || '00:00').substr(0, 2)) - }, - current_time = new Date().getHours(); - - if (times.to < times.from && current_time > times.from && current_time < 24) { - times.to += 24; - } else if (times.to < times.from && current_time < times.to) { - times.from = 0; - } - - if ( - (this.storage.schedule !== 'sunset_to_sunrise' || current_time >= times.from && current_time < times.to) && - ( - this.isset(ImprovedTube.storage.default_dark_theme) && ImprovedTube.storage.default_dark_theme !== false - || - this.isset(ImprovedTube.storage.night_theme) && ImprovedTube.storage.night_theme !== false - || - this.isset(ImprovedTube.storage.dawn_theme) && ImprovedTube.storage.dawn_theme !== false - || - this.isset(ImprovedTube.storage.sunset_theme) && ImprovedTube.storage.sunset_theme !== false - || - this.isset(ImprovedTube.storage.desert_theme) && ImprovedTube.storage.desert_theme !== false - || - this.isset(ImprovedTube.storage.plain_theme) && ImprovedTube.storage.plain_theme !== false - || - this.isset(ImprovedTube.storage.black_theme) && ImprovedTube.storage.black_theme !== false - ) - ) { - var PREF_OLD = this.getParams(this.getCookieValueByName('PREF')), - PREF = this.getParams(this.getCookieValueByName('PREF')), - result = ''; - - if (!this.isset(PREF.f6) || this.isset(PREF.f6) && PREF.f6.length !== 3) { - PREF.f6 = '400'; - } else if (PREF.f6.length === 3) { - PREF.f6 = '4' + PREF.f6.substr(1); - } - - for (var i in PREF) { - result += i + '=' + PREF[i] + '&'; - } - - this.setCookie('PREF', result.slice(0, -1)); - - document.documentElement.setAttribute('it-theme', 'true'); - } else { - document.documentElement.removeAttribute('it-theme'); - } -}; - - -ImprovedTube.themeEditor = function() { - if (this.storage.theme_my_colors !== true) { - if (document.querySelector('.it-theme-editor')) { - document.querySelector('.it-theme-editor').remove(); - } - - return false; - } - - var style = document.querySelector('.it-theme-editor') || document.createElement('style'); - - style.className = 'it-theme-editor'; - style.innerText = 'html{' + - '--yt-swatch-textbox-bg:rgba(19,19,19,1)!important;' + - '--yt-swatch-icon-color:rgba(136,136,136,1)!important;' + - '--yt-spec-brand-background-primary:rgba(0,0,0, 0.1) !important;' + - '--yt-spec-brand-background-secondary:rgba(0,0,0, 0.1) !important;' + - '--yt-spec-badge-chip-background:rgba(0, 0, 0, 0.05) !important;' + - '--yt-spec-verified-badge-background:rgba(0, 0, 0, 0.15) !important;' + - '--yt-spec-button-chip-background-hover:rgba(0, 0, 0, 0.10) !important;' + - '--yt-spec-brand-button-background:rgba(136,136,136,1) !important;' + - '--yt-spec-filled-button-focus-outline:rgba(0, 0, 0, 0.60) !important;' + - '--yt-spec-call-to-action-button-focus-outline:rgba(0,0,0, 0.30) !important;' + - '--yt-spec-brand-text-button-focus-outline:rgba(204, 0, 0, 0.30) !important;' + - '--yt-spec-10-percent-layer:rgba(136,136,136,1) !important;' + - '--yt-swatch-primary:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-swatch-primary-darker:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-brand-background-solid:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-a:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-b:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-general-background-c:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-spec-touch-response:' + (this.storage.theme_primary_color || '') + '!important;' + - '--yt-swatch-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-important-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-input-text: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-swatch-logo-override: ' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-spec-text-primary:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-primary-inverse:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-secondary:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-text-disabled:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-active-other:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-inactive:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-icon-disabled:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-filled-button-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-call-to-action-inverse:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-icon-active:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-icon-inactive:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-brand-link-text:' + (this.storage.theme_text_color || '') + '!important;' + - '--yt-spec-brand-subscribe-button-background:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-wordmark-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '--yt-spec-selected-nav-text:' + (this.storage.theme_text_color || '') + ' !important;' + - '}'; - - document.documentElement.appendChild(style); -} diff --git a/unstable/src/youtube/js/features/volume-mixer.js b/unstable/src/youtube/js/features/volume-mixer.js deleted file mode 100644 index 557198065..000000000 --- a/unstable/src/youtube/js/features/volume-mixer.js +++ /dev/null @@ -1,11 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> VOLUME MIXER -------------------------------------------------------------------------------- -1.0 Inject ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Inject ------------------------------------------------------------------------------*/ - -ImprovedTube.volumeMixer = function() {}; \ No newline at end of file diff --git a/unstable/src/youtube/js/functions.js b/unstable/src/youtube/js/functions.js deleted file mode 100644 index 8d195cc6c..000000000 --- a/unstable/src/youtube/js/functions.js +++ /dev/null @@ -1,102 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> FUNCTIONS -------------------------------------------------------------------------------- -1.0 ------------------------------------------------------------------------------*/ - -function injectScript(string) { - var script = document.createElement('script'); - - script.textContent = string; - - document.documentElement.appendChild(script); - - script.remove(); -} - -function injectStyle(string, id) { - var style = document.getElementById(id) || document.createElement('style'); - - style.textContent = string; - - document.documentElement.appendChild(style); -} - -ImprovedTube.isset = function(variable) { - if (typeof variable === 'undefined' || variable === null) { - return false; - } - - return true; -}; - -ImprovedTube.getCookieValueByName = function(name) { - var match = document.cookie.match(new RegExp('([; ]' + name + '|^' + name + ')([^\\s;]*)', 'g')); - - if (match) { - var cookie = match[0]; - - return cookie.replace(name + '=', '').replace(' ', ''); - } else - return ''; -}; - -ImprovedTube.getParam = function(query, name) { - var params = query.split('&'), - param = false; - - for (var i = 0; i < params.length; i++) { - params[i] = params[i].split('='); - - if (params[i][0] == name) { - param = params[i][1]; - } - } - - if (param) { - return param; - } else { - return false; - } -}; - -ImprovedTube.getParams = function(query) { - var params = query.split('&'), - result = {}; - - for (var i = 0, l = params.length; i < l; i++) { - params[i] = params[i].split('='); - - result[params[i][0]] = params[i][1]; - } - - return result; -}; - -ImprovedTube.setCookie = function(name, value) { - var date = new Date(); - - date.setTime(date.getTime() + 3.154e+10); - - document.cookie = name + '=' + value + '; path=/; domain=.youtube.com; expires=' + date.toGMTString(); -}; - -ImprovedTube.pageType = function() { - var href = location.href, - type = ''; - - if (location.pathname == '/') { - type = 'home'; - } else if (/\/watch\?/.test(href)) { - type = 'video'; - } else if (/\/channel|user\//.test(href)) { - type = 'channel'; - } - - document.documentElement.setAttribute('it-page-type', type); -}; - - -chrome.runtime.sendMessage({ - enabled: true -}); \ No newline at end of file diff --git a/unstable/src/youtube/js/injection.js b/unstable/src/youtube/js/injection.js deleted file mode 100644 index 3449f4fd6..000000000 --- a/unstable/src/youtube/js/injection.js +++ /dev/null @@ -1,142 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> INJECTION -------------------------------------------------------------------------------- -1.0 Initialization -2.0 Storage listener -3.0 Message listener ------------------------------------------------------------------------------*/ - -/*----------------------------------------------------------------------------- -1.0 Initialization ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(items) { - var content = 'var ImprovedTube={'; - - if (typeof items.player_volume === 'string') { - items.player_volume = Number(items.player_volume); - } - - if (!items.hasOwnProperty('header_position')) { - items.header_position = 'normal'; - } - - if (!items.hasOwnProperty('player_size')) { - items.player_size = 'do_not_change'; - } - - if (items.bluelight === '0') { - items.bluelight = 0; - } - - if (items.dim === '0') { - items.dim = 0; - } - - if (items.custom_js && items.custom_js.length > 0) { - injectScript('try{' + items.custom_js + '} catch (err) { console.error(err); }'); - } - - if (items.custom_css && items.custom_css.length > 0) { - injectStyle(items.custom_css, 'it-custom-css'); - } - - withoutInjection(items); - - content += 'storage:' + JSON.stringify(items); - - for (var key in items) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), items[key]); - } - - for (var key in ImprovedTube) { - content += ',' + key + ':' + ImprovedTube[key]; - } - - content += '};ImprovedTube.init();'; - - injectScript(content); -}); - - -/*----------------------------------------------------------------------------- -2.0 Storage listener ------------------------------------------------------------------------------*/ - -chrome.storage.onChanged.addListener(function(changes) { - for (var key in changes) { - var value = changes[key].newValue; - - if (['watched'].indexOf(key) === -1) { - document.documentElement.setAttribute('it-' + key.replace(/_/g, '-'), value); - - injectScript('ImprovedTube.storage[\'' + key + '\']=' + (typeof value === 'boolean' ? value : '\'' + value + '\'') + ';'); - - if (typeof ImprovedTube[key] === 'function') { - injectScript('ImprovedTube.' + key + '();'); - } - - if (key === 'schedule' || key === 'schedule_time_from' || key === 'schedule_time_to') { - injectScript('ImprovedTube.bluelight();'); - injectScript('ImprovedTube.dim();'); - injectScript('ImprovedTube.theme();'); - } - - if (key.indexOf('theme') !== -1){ - injectScript('ImprovedTube.theme();'); - } - - if (key === 'theme_primary_color' || key === 'theme_text_color') { - injectScript('ImprovedTube.themeEditor();'); - } - - if (['custom_css'].indexOf(key) !== -1 && value.length > 0) { - injectStyle(value, 'it-custom-css'); - } else if (document.querySelector('#it-custom-css')) { - document.querySelector('#it-custom-css').remove(); - } - } - } -}); - - -/*----------------------------------------------------------------------------- -3.0 Message listener ------------------------------------------------------------------------------*/ - -chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { - var name = request.name || '', - value = request.value; - - if (name === 'improvedtube-play') { - if (request.id && request.id !== new URL(location.href).searchParams.get('v')) { - injectScript(['if (document.querySelector(".html5-video-player") && !ImprovedTube.focused && ImprovedTube.storage.only_one_player_instance_playing) { document.querySelector(".html5-video-player").pauseVideo();}']); - } - } else if (name == 'request_volume' && document.querySelector('video')) { - sendResponse({ - value: document.querySelector('video').volume * 100 - }); - } else if (name == 'change_volume') { - injectScript(['if(document.querySelector(".html5-video-player")){document.querySelector(".html5-video-player").setVolume(' + request.volume + ');}'], 'improvedtube-mixer-data'); - } else if (name == 'request_playback_speed' && document.querySelector('video')) { - sendResponse({ - value: document.querySelector('video').playbackRate - }); - } else if (name == 'change_playback_speed') { - injectScript(['if(document.querySelector(".html5-video-player video")){document.querySelector(".html5-video-player video").playbackRate = ' + request.playback_speed + ';}'], 'improvedtube-mixer-data'); - } else if (name === 'delete_youtube_cookies') { - var cookies = document.cookie.split(';'); - - for (var i = 0; i < cookies.length; i++) { - var cookie = cookies[i], - eqPos = cookie.indexOf('='), - name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; - - document.cookie = name + '=; domain=.youtube.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT'; - } - - setTimeout(function() { - location.reload(); - }, 250); - } -}); diff --git a/unstable/src/youtube/js/migration.js b/unstable/src/youtube/js/migration.js deleted file mode 100644 index 0405ef9cd..000000000 --- a/unstable/src/youtube/js/migration.js +++ /dev/null @@ -1,537 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> MIGRATION -------------------------------------------------------------------------------- -1.0 General - 1.1 Legacy YouTube - 1.2 YouTube Home Page - 1.3 Add «Scroll to top» - 1.4 Hide animated thumbnails - 1.5 Confirmation before closing -2.0 Appearance - 2.1 Header - 2.1.1 Header style - 2.1.2 Improve logo - 2.2 Player - 2.2.1 Annotations - 2.2.2 Cards - 2.2.3 Player size - 2.3 Footer - 2.3.5 Hide footer -3.0 Themes -4.0 Player - 4.1 Quality - 4.2 Volume - 4.3 Playback speed - 4.4 Autoplay - 4.5 Allow 60fps - 4.6 Codec h.264 - 4.7 Subtitles - 4.8 Loudness normalization - 4.9 Mini player - 4.10 Ads - 4.11 Autopause - 4.12 Auto-fullscreen - 4.13 Repeat button - 4.14 Screenshot button - 4.15 Rotate button - 4.16 Popup button -5.0 Playlist - 5.1 Repeat - 5.2 Shuffle -6.0 Channel - 6.1 Default tab - 6.2 Trailer autoplay - 6.3 Hide featured content ------------------------------------------------------------------------------*/ - -chrome.storage.local.get(function(object) { - if (object.migrated !== true) { - for (var key in object) { - var value = object[key]; - - if (value === 'true') { - object[key] = true; - } else if (value === 'false') { - object[key] = false; - } - - /*--------------------------------------------------------------------- - 1.0 General - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 1.1 Legacy YouTube - ---------------------------------------------------------------------*/ - - if (key === 'youtube_version') { - if (value === 'old') { - object.legacy_youtube = true; - } else { - object.legacy_youtube = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.2 YouTube Home Page - ---------------------------------------------------------------------*/ - else if (key === 'youtube_home_page') { - if (value === 'normal') { - object[key] = '/'; - } else if (value === 'trending') { - object[key] = '/feed/trending'; - } else if (value === 'subscriptions') { - object[key] = '/feed/subscriptions'; - } else if (value === 'history') { - object[key] = '/feed/history'; - } else if (value === 'watch_later') { - object[key] = '/playlist?list=WL'; - } - } - - - /*--------------------------------------------------------------------- - 1.3 Add «Scroll to top» - ---------------------------------------------------------------------*/ - else if (key === 'scroll_to_top') { - if (value === 'true') { - object.add_scroll_to_top = true; - } else { - object.add_scroll_to_top = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.4 Hide animated thumbnails - ---------------------------------------------------------------------*/ - else if (key === 'play_videos_by_hovering_the_thumbnails') { - if (value === 'false') { - object.hide_animated_thumbnails = true; - } else { - object.hide_animated_thumbnails = false; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 1.5 Confirmation before closing - ---------------------------------------------------------------------*/ - else if (key === 'youtube_prevent_closure') { - if (value === 'true') { - object.confirmation_before_closing = true; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.0 Appearance - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.1 Header - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.1.1 Header style - ---------------------------------------------------------------------*/ - else if (key === 'header') { - if (value === 'top_of_page') { - object.header_position = 'static'; - } else { - object.header_position = value; - } - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.1.2 Improve logo - ---------------------------------------------------------------------*/ - else if (key === 'improve_youtube_logo') { - object.header_improve_logo = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 2.2 Player - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.2.1 Annotations - ---------------------------------------------------------------------*/ - else if (key === 'annotations') { - object.player_hide_annotations = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.2 Cards - ---------------------------------------------------------------------*/ - else if (key === 'cards') { - object.player_hide_cards = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.3 Transparent background - ---------------------------------------------------------------------*/ - else if (key === 'transparent_background') { - object.player_transparent_background = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.2.4 Endscreen - ---------------------------------------------------------------------*/ - else if (key === 'endscreen') { - object.player_hide_endscreen = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 2.3 Footer - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 2.3.5 Hide footer - ---------------------------------------------------------------------*/ - else if (key === 'footer') { - object.hide_footer = value === 'hidden' ? true : false; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 3.0 Themes - ---------------------------------------------------------------------*/ - else if (key === 'it_theme') { - object.theme = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.0 Player - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 4.1 Quality - ---------------------------------------------------------------------*/ - else if (key === 'video_quality') { - object.player_quality = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.2 Volume - ---------------------------------------------------------------------*/ - else if (key === 'video_volume') { - object.player_volume = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.3 Playback speed - ---------------------------------------------------------------------*/ - else if (key === 'video_playback_speed') { - object.player_playback_speed = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.4 Autoplay - ---------------------------------------------------------------------*/ - else if (key === 'video_autoplay') { - object.player_autoplay = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.5 Allow 60fps - ---------------------------------------------------------------------*/ - else if (key === 'allow_60fps') { - object.player_60fps = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.6 Video codec h.264 - ---------------------------------------------------------------------*/ - else if (key === 'video_encode') { - object.player_h264 = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.7 Allow subtitles - ---------------------------------------------------------------------*/ - else if (key === 'allow_subtitles') { - object.player_subtitles = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.8 Loudness normalization - ---------------------------------------------------------------------*/ - else if (key === 'allow_loudness') { - object.player_loudness_normalization = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.8 Mini player - ---------------------------------------------------------------------*/ - else if (key === 'mini_player_b') { - object.mini_player = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.9 Ads - ---------------------------------------------------------------------*/ - else if (key === 'allow_video_ads') { - object.player_ads = 'all_videos'; - - delete object[key]; - } else if (key === 'subscribed_channel_player_ads' && value === true) { - object.player_ads = 'subscribed_channels'; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.10 Autopause - ---------------------------------------------------------------------*/ - else if (key === 'video_autopause') { - object.player_autopause = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.11 Auto-fullscreen - ---------------------------------------------------------------------*/ - else if (key === 'video_autofullscreen') { - object.player_autofullscreen = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.12 Repeat button - ---------------------------------------------------------------------*/ - else if (key === 'video_repeat_button') { - object.player_repeat_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.13 Screenshot button - ---------------------------------------------------------------------*/ - else if (key === 'screenshot_button') { - object.player_screenshot_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.14 Rotate button - ---------------------------------------------------------------------*/ - else if (key === 'video_rotate_button') { - object.player_rotate_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 4.15 Popup button - ---------------------------------------------------------------------*/ - else if (key === 'popup_player_button') { - object.player_popup_button = value; - - delete object[key]; - } - - - /*--------------------------------------------------------------------- - 5.0 Playlist - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 5.1 Repeat - ---------------------------------------------------------------------*/ - else if (key === 'playlist_repeat') { - if (value === 'enabled') { - object.playlist_repeat = true; - } else if (value === 'disabled') { - object.playlist_repeat = false; - } - } - - /*--------------------------------------------------------------------- - 5.2 Shuffle - ---------------------------------------------------------------------*/ - else if (key === 'playlist_shuffle') { - if (value === 'enabled') { - object.playlist_repeat = true; - } else if (value === 'disabled') { - object.playlist_repeat = false; - } - } - - - /*--------------------------------------------------------------------- - 6.0 Channel - ---------------------------------------------------------------------*/ - - /*--------------------------------------------------------------------- - 6.1 Default tab - ---------------------------------------------------------------------*/ - else if (key === 'channel_default_page') { - if (value === 'normal') { - object.channel_default_tab = '/'; - } else { - object.channel_default_tab = '/' + value; - } - } - - /*--------------------------------------------------------------------- - 6.2 Trailer autoplay - ---------------------------------------------------------------------*/ - else if (key === 'channel_autoplay') { - object.channel_trailer_autoplay = value; - - delete object[key]; - } - - /*--------------------------------------------------------------------- - 6.3 Hide featured content - ---------------------------------------------------------------------*/ - else if (key === 'channel_featured_content') { - object.channel_hide_featured_content = value; - - delete object[key]; - } - } - - object.migrated = true; - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - } - - if (object.bluelight_removed !== true && (object.bluelight || object.bluelight === 0)) { - object.bluelight_removed = true; - - delete object.bluelight; - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.player_size_migrated !== true && object.player_size) { - object.player_size_migrated = true; - - if ( - [ - 'do_not_change', - 'full_window', - 'fit_to_window', - '240p', - '360p', - '480p', - '576p', - '720p', - '1080p', - '1440p', - '2160p' - ].indexOf(object.player_size) === -1 - ) { - if (object.player_size === 'fit_window') { - object.player_size = 'fit_to_window'; - } else { - object.player_size = 'do_not_change'; - } - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.hasOwnProperty('legacy_youtube') && object.legacy_youtube_migration !== true) { - object.legacy_youtube_migration = true; - - if (object.legacy_youtube === true) { - object.legacy_youtube = 'enabled'; - } else if (object.legacy_youtube === false) { - object.legacy_youtube = 'disabled'; - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } - - if (object.hasOwnProperty('legacy_youtube') && object.legacy_youtube_migration2 !== true) { - object.legacy_youtube_migration2 = true; - - if (object.legacy_youtube === 'enabled' || object.legacy_youtube === 'enabledForced') { - object.legacy_youtube = true; - } else if (object.legacy_youtube === 'disabled') { - object.legacy_youtube = false; - } - - chrome.storage.local.clear(); - chrome.storage.local.set(object); - - location.reload(); - } -}); \ No newline at end of file diff --git a/unstable/src/youtube/js/mutations.js b/unstable/src/youtube/js/mutations.js deleted file mode 100644 index a5769d5b7..000000000 --- a/unstable/src/youtube/js/mutations.js +++ /dev/null @@ -1,158 +0,0 @@ -/*----------------------------------------------------------------------------- ->>> MUTATIONS -------------------------------------------------------------------------------- -1.0 Mutations - 1.1 JSON.parse - 1.2 HTMLMediaElement.play -3.0 Player vars -4.0 ytPlayerApplicationCreateMod ------------------------------------------------------------------------------*/ - -document.addEventListener('ImprovedTubePlayVideo', function(event) { - if (chrome && chrome.runtime) { - chrome.runtime.sendMessage({ - name: 'improvedtube-play', - id: new URL(location.href).searchParams.get('v') - }); - } -}); - -/*----------------------------------------------------------------------------- -1.0 Mutations ------------------------------------------------------------------------------*/ - -ImprovedTube.mutations = function() { - /*------------------------------------------------------------------------- - 1.1 JSON.parse - -------------------------------------------------------------------------*/ - JSON.parse = (function(original) { - return function(text, reviver, bypass) { - var temp = original.apply(this, arguments); - - if (!bypass && temp && temp.player && temp.player.args) { - temp.player.args = ImprovedTube.changeArgs(temp.player.args); - } - - return temp; - }; - }(JSON.parse)); - - /*------------------------------------------------------------------------- - 1.2 HTMLMediaElement.play - -------------------------------------------------------------------------*/ - HTMLMediaElement.prototype.play = (function(original) { - return function() { - var self = this; - - if (ImprovedTube.videoUrl !== location.href) { - ImprovedTube.allow_autoplay = false; - } - - if ( - ImprovedTube.autoplay() === false && - ImprovedTube.allow_autoplay === false && - this.parentNode.parentNode.classList.contains('ad-showing') === false - ) { - setTimeout(function() { - self.parentNode.parentNode.pauseVideo(); - }); - - return; - } else if (self.paused === true && ImprovedTube.videoUrl !== location.href) { - ImprovedTube.playerUpdate(self.parentNode.parentNode, true); - } - - if (ImprovedTube.videoUrl !== location.href) { - ImprovedTube.videoUrl = location.href; - } - - ImprovedTube.player_loudness_normalization(); - - return original.apply(this, arguments); - } - })(HTMLMediaElement.prototype.play); -}; - - -/*----------------------------------------------------------------------------- -1.0 Change args ------------------------------------------------------------------------------*/ - -ImprovedTube.changeArgs = function(args) { - if (ImprovedTube.isset(args)) { - // Ads - if ( - ImprovedTube.storage.player_ads === 'block_all' || - ImprovedTube.storage.player_ads === 'subscribed_channels' && (args.player_response || '').indexOf('subscribed=1') === -1 - ) { - delete args.ad3_module; - - if (args.player_response) { - var player_response = JSON.parse(args.player_response); - - if (player_response && player_response.adPlacements) { - delete player_response.adPlacements; - delete player_response.playerAds; - - args.player_response = JSON.stringify(player_response); - } - } - } - - // 60 fps - if (ImprovedTube.storage.player_60fps === false && args.adaptive_fmts) { - var key_type = args.adaptive_fmts.indexOf(',') > -1 ? ',' : '%2C', - list = args.adaptive_fmts.split(key_type); - - for (var i = 0; i < list.length; i++) { - var fps = list[i].split(/fps(?:=|%3D)([0-9]{2})/); - - fps = fps && fps[1]; - - if (fps > 30) - list.splice(i--, 1); - } - - args.adaptive_fmts = list.join(key_type); - } - - // SUBTITLES - if (ImprovedTube.storage.player_subtitles === false && args.caption_audio_tracks) { - args.caption_audio_tracks = args.caption_audio_tracks.split(/&d=[0-9]|d=[0-9]&/).join(''); - } - } - - return args; -}; - - -/*----------------------------------------------------------------------------- -3.0 Player vars ------------------------------------------------------------------------------*/ - -ImprovedTube.playerVars = function(original) { - var context = this; - - return function(args) { - var temp; - - args = ImprovedTube.changeArgs(args); - - temp = original.apply(this, arguments); - - return temp; - }; -}; - - -/*----------------------------------------------------------------------------- -4.0 ytPlayerApplicationCreateMod ------------------------------------------------------------------------------*/ - -ImprovedTube.ytPlayerApplicationCreateMod = function(original) { - return function(api_name, config) { - config.args = ImprovedTube.changeArgs(config.args); - - return original.apply(this, arguments); - }; -}; diff --git a/wiki/translations/0.png b/wiki/translations/0.png deleted file mode 100644 index c380777fb..000000000 Binary files a/wiki/translations/0.png and /dev/null differ diff --git a/wiki/translations/1.png b/wiki/translations/1.png deleted file mode 100644 index 0531e9dc3..000000000 Binary files a/wiki/translations/1.png and /dev/null differ diff --git a/wiki/translations/2.png b/wiki/translations/2.png deleted file mode 100644 index 354c5e5bf..000000000 Binary files a/wiki/translations/2.png and /dev/null differ diff --git a/wiki/translations/3.png b/wiki/translations/3.png deleted file mode 100644 index e63f91012..000000000 Binary files a/wiki/translations/3.png and /dev/null differ diff --git a/wiki/translations/4.png b/wiki/translations/4.png deleted file mode 100644 index 41c848ad7..000000000 Binary files a/wiki/translations/4.png and /dev/null differ diff --git a/wiki/translations/5.png b/wiki/translations/5.png deleted file mode 100644 index bec6fe251..000000000 Binary files a/wiki/translations/5.png and /dev/null differ diff --git a/wiki/translations/6.png b/wiki/translations/6.png deleted file mode 100644 index a7237ee92..000000000 Binary files a/wiki/translations/6.png and /dev/null differ diff --git a/wiki/translations/7.png b/wiki/translations/7.png deleted file mode 100644 index 5c8f6b6ca..000000000 Binary files a/wiki/translations/7.png and /dev/null differ