diff --git a/Extensions/combined/content-style.css b/Extensions/combined/content-style.css index c06b29c..e2e5fa2 100644 --- a/Extensions/combined/content-style.css +++ b/Extensions/combined/content-style.css @@ -1,3 +1,23 @@ +:root { + /* --yt-spec-icon-disabled: #f44 !important; + --yt-spec-text-primary: #4f4 !important; */ + /* --yt-spec-general-background-a: #000 !important; + --yt-spec-general-background-b: #000 !important; + --yt-spec-general-background-c: #000 !important; + --yt-spec-brand-background-solid: #000 !important; + --yt-spec-brand-background-primary: #000 !important; + --yt-spec-brand-background-secondary: #000 !important; */ +} + +/* html:not(.style-scope)[dark], :not(.style-scope)[dark] { + --yt-spec-general-background-a: #000 !important; + --yt-spec-general-background-b: #000 !important; + --yt-spec-general-background-c: #000 !important; + --yt-spec-brand-background-solid: #000 !important; + --yt-spec-brand-background-primary: #000 !important; + --yt-spec-brand-background-secondary: #000 !important; +} */ + #ryd-bar-container { background: var(--yt-spec-icon-disabled); border-radius: 2px; diff --git a/Extensions/combined/popup.css b/Extensions/combined/popup.css index 757692d..b56ca6a 100644 --- a/Extensions/combined/popup.css +++ b/Extensions/combined/popup.css @@ -5,7 +5,7 @@ --background: #111; --secondary: #272727; - --tertiary: #333333; + --tertiary: #424242; --lightGrey: #999; --white: #fff; } @@ -33,8 +33,8 @@ button { border: none; border-radius: 4px; font-weight: 500; - box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), - 0 1px 10px 0 rgb(0 0 0 / 12%); + /* box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), + 0 1px 10px 0 rgb(0 0 0 / 12%); */ transition: 0.4s; } @@ -42,13 +42,49 @@ button:hover { background: #444; } +#ext-version { + z-index: 69; + position: fixed; + margin: 0; + bottom: 1.15rem; + right: 1.15rem; + background: var(--secondary); + border-radius: .25rem; + padding: .25rem .5rem; +} + #advancedToggle { - margin-top: 1em; - margin-bottom: 2em; + position: fixed; + background: none; + box-shadow: none; + color: var(--lightGrey); + top: 26px; right: 26px; + padding: 2px; + z-index: 69; + height: 2rem; + width: 2rem; +} + +#advancedToggle:hover { + color: var(--white); + transform: rotate(-90deg); +} + +#advancedToggle:active { + transform: scale(1.5); } #advancedSettings { - display: none; + opacity: 0; + pointer-events: none; + transition-duration: .15s; + transition-timing-function: ease-in-out; + transform: scale(1.1); + position: fixed; + background: var(--background); + top: 10px; right: 14px; + width: calc(100% - 65px); + height: calc(100% - 58px); border: 2px solid var(--secondary); border-radius: 0.5rem; padding: 1rem; diff --git a/Extensions/combined/popup.html b/Extensions/combined/popup.html index 130f557..e45c915 100644 --- a/Extensions/combined/popup.html +++ b/Extensions/combined/popup.html @@ -20,26 +20,37 @@ /> -

Return YouTube Dislike

- -

API Status:

-

by Dmitrii Selivanov & Community

-

- +

Return YouTube Dislike

+

by Dmitrii Selivanov & Community

+ - -

- - +
+ + + +
+
+ +

API Status:

+ +
-
+ + + + +

+ +
Settings @@ -48,7 +59,26 @@ Disable like/dislike submission + +