模板:CrablePotionCSS/动态搜索栏.css

Salt留言 | 贡献2024年3月7日 (四) 21:01的版本 (批量添加:添加 “ →‎[[分类:模板样式]]:​” 到页尾 第 1/4 个
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* THANKS FOR CRABLEPOTION. */
.vector-search-box-input {
	color: #000;
	height: 2.45em;
	border: 2px solid #a2a9b1;
	border-radius: 4px;
	background-color: #fdf6e6;
	padding: 0 0 0 6px;
	box-sizing: border-box;
	font-size: 0.8125rem;
	width: 60%;
	transition: all 0.4s ease-in-out;
}

.vector-search-box-input:focus {
	width: 100%;
}

.searchButton {
	position: absolute;
	bottom: 1px;
	right: 40%;
	min-width: 28px;
	width: 2.45em;
	text-indent: -99999px;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	z-index: 1;
	transition: all 0.4s ease-in-out;
}

.vector-search-box-input:focus~.searchButton {
	right: 0;
}

/* [[分类:模板样式]] */