/* =================================== */
/* CSS for control sap.m/ComboBoxBase  */
/* Base theme                          */
/* =================================== */

.sapMComboBoxBase.sapMInputBaseHasEndIcons .sapMInputBaseInner {
	flex: 1;
}

.sapMComboBoxBase .sapMInputBaseContentWrapper {
	display: inline-flex;
}

/* ------------------------------ */
/* arrow                          */
/* ------------------------------ */

.sapMComboBoxBase.sapMInputBaseReadonly .sapMInputBaseIcon {
	opacity: 0;
	cursor: default;
}

.sapMInputBaseIconPressed .sapMComboBoxBaseClearIcon {
	color: @sapUiContentIconColor;
	background: transparent;

	&:hover {
		background: @sapUiButtonLiteHoverBackground;
	}

	&:active {
		background-color: @sapUiButtonLiteActiveBackground;
		color: @sapUiButtonActiveTextColor;

		&::before {
			color: @sapUiButtonActiveTextColor;
		}
	}
}

.sapMInputBaseIconPressed .sapMComboBoxBaseClearIcon::before {
	color: @sapUiContentIconColor;
}

/* ------------------------------ */
/* dialog                         */
/* ------------------------------ */

div.sapMComboBoxBasePicker .sapMDialogScrollCont {
	padding: 0;
}

/* ------------------------------ */
/* list                           */
/* ------------------------------ */

.sapMComboBoxBaseList.sapUiLocalBusy {
	min-height: 2rem;
}

.sapMComboBoxBaseList .sapMSLITitleOnly {
	font-size: 0.875rem;
}

.sapMComboBoxBaseList .sapMSLI {
	height: 2.5rem;
}