fix(youtube): search bar (#1487)

Co-authored-by: FlyingButterflyTuna <[email protected]>
This commit is contained in:
IsabelandFlyingButterflyTuna authored and GitHub committed 2024-12-12 22:58:59 +00:00
1 parent 895091b5bc
commit ae0e3702c7
1 file changed
+39 -2
+39 -2
View File
@@ -2,7 +2,7 @@
@name YouTube Catppuccin
@namespace github.com/catppuccin/userstyles/styles/youtube
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/youtube
@version 4.2.14
@version 4.2.15
@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
@description Soothing pastel theme for YouTube
@@ -678,11 +678,48 @@
}
/* Search box */
ytd-searchbox[has-focus] #container.ytd-searchbox {
border-color: @accent-color;
}
.ytSearchboxComponentInputBox, .ytSearchboxComponentInputBoxDark {
background: var(--ytd-searchbox-background) !important;
color: var(--ytd-searchbox-text-color) !important;
border-color: var(--ytd-searchbox-border-color) !important;
box-shadow: none;
}
.ytSearchboxComponentInputBoxHasFocus, .ytSearchboxComponentInputBoxHasFocusDark {
border-color: @accent-color !important;
}
.ytSuggestionComponentSuggestionHover:hover, .ytSuggestionComponentSuggestionHoverDark:hover {
background: @surface1 !important;
}
.ytSearchboxComponentSuggestionsContainer, .ytSearchboxComponentSuggestionsContainerDark {
background: var(--yt-spec-raised-background) !important;
border-color: var(--yt-spec-raised-background) !important;
}
.ytSuggestionComponentSuggestion, .ytSuggestionComponentSuggestionDark {
color: var(--ytd-searchbox-text-color) !important;
}
.ytSearchboxComponentSearchButton, .ytSearchboxComponentSearchButtonDark {
color: var(--ytd-searchbox-text-color) !important;
background: @surface0 !important;
border-color: var(--ytd-searchbox-border-color) !important;
}
.ytSearchboxComponentClearButtonIcon, .ytSearchboxComponentClearButtonIconDark {
color: var(--ytd-searchbox-text-color) !important;
}
.ytSearchboxComponentReportButton, .ytSearchboxComponentReportButtonDark, .ytSuggestionComponentRemoveLink, .ytSuggestionComponentRemoveLinkDark {
color: @subtext0 !important;
}
.sbsb_a {
background: @surface0;
}