navSearchBar.less 2.31 KB
@charset "UTF-8";

.nav-search-bar {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin: 0 auto;
	height: 95px;
	border-bottom: 1px solid #E6E6E6;
	.box {
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		margin: 20px auto 0 auto;
		width: 690px;
		height: 100%;
		.back-img {
			display: block;
			margin-top: 10px;
			width: 35px;
			height: 35px;
			& + .search-box {
				margin-left: 20px;
			}
		}
		.search-box {
			background-color: #F9F9F9;
			width: 635px;
			height: 58px;
			border-radius: 32px;
			.box {
				display: flex;
				justify-content: flex-start;
				align-items: center;
				margin: 0 auto;
				width: 575px;
				height: 100%;
				.search-img {
					display: block;
					width: 32px;
					height: 32px;
				}
				.line {
					background-color: #858585;
					margin: 0 20px;
					width: 1px;
					height: 22px;
				}
				.input-box {
					display: flex;
					justify-content: space-between;
					align-items: center;
					width: 500px;
					.input {
						background-color: transparent;
						padding: 0;
						color: #222222;
						font-size: 26px;
						width: 100%;
						height: 100%;
						border: none;
						outline: none;
						&::placeholder {
							color: #B4B4B4;
							font-size: 26px;
						}
						&::-webkit-search-cancel-button {
							display: none;
						}
					}
          .input[type=search] {
            -webkit-appearance: textfield;
            -webkit-box-sizing: content-box;
            font-family: inherit;
            font-size: 100%;
          }
          .input::-webkit-search-decoration,
          .input::-webkit-search-cancel-button {
            display: none;
          }
					.text {
						display: flex;
						justify-content: flex-start;
						align-items: center;
						color: #BEBEBE;
						font-size: 24px;
						font-weight: 400;
						width: 335px;
						height: 100%;
					}
					.icon-clear-input-img {
						display: block;
						width: 26px;
						height: 26px;
					}
				}
			}
			&.have-func {
				width: 415px;
				.box {
					width: 355px;
					.input-box {
						width: 280px;
						.input {
							width: 245px;
						}
						.text {
							width: 280px;
						}
					}
				}
			}
			& + .func-img {
				margin-left: 20px;
			}
		}
		.func-img {
			display: block;
			margin-top: 10px;
			width: 35px;
			height: 35px;
		}
	}
}