YouTube Dark Search Box

Makes YouTubes search box also dark when in dark mode

目前为 2020-12-24 提交的版本。查看 最新版本

/* ==UserStyle==
@name           YouTube Dark Search Box
@description    Makes YouTubes search box also dark when in dark mode
@namespace      gitlab.com/Neui/userstyles
@homepageURL    https://gitlab.com/Neui/userstyles
@supportURL     https://gitlab.com/Neui/userstyles/issues
@version        1.0.0
@license        CC-BY-4.0
@author         Neui
==/UserStyle== */

@-moz-document domain("youtube.com") {
	html[dark=true] .gsfs, /* Main thing */
	html[dark=true] .sbfl_b, /* Report autocompletion line */
	html[dark=true] .sbsb_a, /* Top/bottom border */
	html[dark=true] .sbdd_b /* Final border */ {
		background: hsla(0, 0%, 8%, .8) !important;
		border-color: black;
	}

	/* Make main text white to be readable */
	html[dark=true] .gsfs { color: white !important; }

	/* Seach entry hover */
	html[dark=true] .sbsb_d { background: hsla(0, 0%, 20%, .8) !important; }

	/* Remove this to get rid of the border */
	html[dark=true] .sbdd_b /* Final border */ {
		border-top: 1px solid;
		border-color: #3a3b42 /* #1c62b9 */ ;
	}

	/* Make text of the report autocompletion more transparent */
	/*html[dark=true] .sbfl_b { color: #6a6a6a !important; }*/
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址