resources/src/jquery/jquery.suggestions.less
/* suggestions plugin */

/* stylelint-disable selector-class-pattern */

.suggestions {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	border: 0;
	z-index: 1099;
	padding: 0;
	margin: -1px 0 0 0;

	&-special {
		position: relative;
		background-color: #fff;
		cursor: pointer;
		border: 1px solid #a2a9b1;
		margin: 0;
		margin-top: -2px;
		display: none;
		padding: 0.25em 0.25em;
		line-height: 1.25em;

		.special {
			&-label {
				color: #72777d;
				text-align: left;
			}

			&-query {
				color: #000;
				font-style: italic;
				text-align: left;
			}

			&-hover {
				background-color: #c8ccd1;
			}
		}
	}

	&-results {
		background-color: #fff;
		cursor: pointer;
		border: 1px solid #a2a9b1;
		padding: 0;
		margin: 0;
	}

	&-result {
		color: #000;
		margin: 0;
		line-height: 1.5em;
		padding: 0.01em 0.25em;
		text-align: left;
		/* Apply ellipsis to suggestions */
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;

		&-current {
			background-color: #2a4b8d;
			color: #fff;

			.special-label,
			.special-query {
				color: #fff;
			}
		}
	}
}

.highlight {
	font-weight: bold;
}
