fix(YouTube): button hovers (#490)

This commit is contained in:
Isabel authored and GitHub committed 2024-01-31 20:21:00 +00:00
1 parent a6eb910daf
commit 4954d3fa95
1 file changed
+14 -11
+14 -11
View File
@@ -2,7 +2,7 @@
@name YouTube Catppuccin @name YouTube Catppuccin
@namespace github.com/catppuccin/userstyles/styles/youtube @namespace github.com/catppuccin/userstyles/styles/youtube
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/youtube @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/youtube
@version 3.3.4 @version 3.3.5
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/youtube/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/youtube/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ayoutube @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ayoutube
@description Soothing pastel theme for YouTube @description Soothing pastel theme for YouTube
@@ -538,6 +538,9 @@
.yt-spec-button-shape-next__icon yt-icon svg g path { .yt-spec-button-shape-next__icon yt-icon svg g path {
fill: @base !important; fill: @base !important;
} }
&:hover {
background-color: darken(@accent-color, 20%) !important;
}
} }
.yt-spec-button-shape-next--overlay.yt-spec-button-shape-next--text { .yt-spec-button-shape-next--overlay.yt-spec-button-shape-next--text {
@@ -724,14 +727,6 @@
background-color: @base !important; background-color: @base !important;
} }
/* Temporary fix */
.yt-core-attributed-string--link-inherit-color {
color: @text !important;
/* &:hover {
* color: @teal !important;
} */
}
/* live badges */ /* live badges */
.badge-style-type-live-now-alternate, .badge-style-type-live-now-alternate,
ytd-thumbnail-overlay-time-status-renderer[overlay-style="LIVE"] { ytd-thumbnail-overlay-time-status-renderer[overlay-style="LIVE"] {
@@ -906,12 +901,14 @@
color: @accent-color !important; color: @accent-color !important;
} }
/* hopefully temporary */ /* hopefully temporary (buttons) */
.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--tonal { .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--tonal {
background-color: @surface0; background-color: @surface0;
color: @text; color: @text;
&:hover {
background-color: @surface1;
}
} }
.yt-spec-button-shape-next--call-to-action.yt-spec-button-shape-next--filled { .yt-spec-button-shape-next--call-to-action.yt-spec-button-shape-next--filled {
color: @crust; color: @crust;
background-color: @accent-color; background-color: @accent-color;
@@ -919,6 +916,12 @@
background-color: darken(@accent-color, 20); background-color: darken(@accent-color, 20);
} }
} }
.yt-spec-touch-feedback-shape--touch-response .yt-spec-touch-feedback-shape__stroke {
border-color: @surface1;
}
.yt-spec-touch-feedback-shape--touch-response-inverse .yt-spec-touch-feedback-shape__stroke {
border-color: @accent-color;
}
ytd-guide-section-renderer.style-scope:nth-child(3) > div:nth-child(2), ytd-guide-section-renderer.style-scope:nth-child(3) > div:nth-child(2),
ytd-guide-section-renderer.style-scope:nth-child(4) > div:nth-child(2) { ytd-guide-section-renderer.style-scope:nth-child(4) > div:nth-child(2) {