fix(youtube): search box background and magnifying icon, live badge (#780)
This commit is contained in:
1 parent
08250206a8
commit
805c2414a7
1 file changed
+17
-3
@@ -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 4.0.0
|
@version 4.0.1
|
||||||
@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
|
||||||
@@ -556,7 +556,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.yt-spec-button-shape-next--overlay {
|
.yt-spec-button-shape-next--overlay {
|
||||||
&.yt-spec-button-shape-next--tonal {
|
&.yt-spec-button-shape-next--tonal, &.yt-spec-button-shape-next--text {
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -596,6 +596,19 @@
|
|||||||
ytd-searchbox[has-focus] #container.ytd-searchbox {
|
ytd-searchbox[has-focus] #container.ytd-searchbox {
|
||||||
border-color: @accent-color;
|
border-color: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sbdd_c {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sbpqs_a::before,
|
||||||
|
.sbqs_c::before {
|
||||||
|
@svg: escape(
|
||||||
|
'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="1 1 27 27" width="24" focusable="false" style="width:100%;height:100%" pointer-events="none" display="block"><path fill="@{text}" d="m20.87 20.17-5.59-5.59A6.96 6.96 0 0 0 17 10c0-3.87-3.13-7-7-7s-7 3.13-7 7a6.995 6.995 0 0 0 11.58 5.29l5.59 5.59zM10 16c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6"/></svg>'
|
||||||
|
);
|
||||||
|
content: url("data:image/svg+xml,@{svg}");
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Video description */
|
/* Video description */
|
||||||
|
|
||||||
@@ -621,8 +634,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Thumbnails */
|
/* Thumbnails */
|
||||||
#time-status:has([aria-label="LIVE"]) {
|
#time-status:has([aria-label="LIVE"]), .badge[aria-label="LIVE"] {
|
||||||
--yt-spec-static-overlay-text-primary: @crust;
|
--yt-spec-static-overlay-text-primary: @crust;
|
||||||
|
--yt-spec-static-overlay-icon-active-other: @crust;
|
||||||
}
|
}
|
||||||
#thumbnail [style="background-color: rgba(51, 51, 51, 0.8);"],
|
#thumbnail [style="background-color: rgba(51, 51, 51, 0.8);"],
|
||||||
#video-preview .ytp-inline-preview-scrim + .ytp-inline-preview-controls {
|
#video-preview .ytp-inline-preview-scrim + .ytp-inline-preview-controls {
|
||||||
|
|||||||
Reference in new issue
Block a user