@import "./base.scss";

.cy-select-display-input {
	display: flex;
	position: relative;

	& > .el-button {
		flex-shrink: 0;
		margin-left: 10px;
		height: 36px;
		padding: 9px 15px;
	}
}

.select_display_input_box {
	width: 100%;
	height: 36px;
	font-size: 14px;
	color: #888888;
	background-color: #F5F7FA;
	border: 1px solid #DCDFE6;
	border-radius: 4px;
	padding: 0 15px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;

	&.text_active {
		color: #1890ff;
	}

	&.cursor {
		cursor: pointer;
	}

	.text {
		width: 100%;
		line-height: 34px;
		overflow: auto;

		&::-webkit-scrollbar {
			display: none;
		}

		span {
			white-space: nowrap;
		}
	}

	&.cursor .text:hover {
		cursor: pointer;
	}

	.placeholder {
		position: absolute;
		top: 50%;
		left: 15px;
		transform: translateY(-50%);
	}

	.delete {
		color: #ff4949;
		position: absolute;
		top: 50%;
		right: 5px;
		transform: translateY(-50%);
		cursor: pointer;
		z-index: 10;

		&:hover {
			color: rgba(255, 73, 73, 0.5);
		}
	}
}
