/*!
 * VisualEditor UserInterface FindAndReplaceDialog styles.
 *
 * @copyright 2011-2020 VisualEditor Team and others; see http://ve.mit-license.org
 */

.ve-ui-findAndReplaceDialog-row {
	display: table;
	min-width: 30em;
	padding-bottom: 0.3em;
}

.ve-ui-findAndReplaceDialog-row:last-child {
	/* Extra pixel for button shadows */
	padding-bottom: 1px;
}

.ve-ui-findAndReplaceDialog-cell {
	display: table-cell;
	vertical-align: middle;
	white-space: nowrap;
	padding-right: 1em;
}

.ve-ui-findAndReplaceDialog-cell:last-child {
	padding-right: 0;
}

.ve-ui-findAndReplaceDialog-cell-input {
	width: 100%;
}

.ve-ui-findAndReplaceDialog-cell-input .oo-ui-textInputWidget {
	max-width: none;
}

.ve-ce-surface-selections-findResults .ve-ce-surface-selection {
	opacity: 0.2;
}

.ve-ce-surface-selections-findResults .ve-ce-surface-selection > div {
	background: #28bb0b;
	position: absolute;
	margin-top: -0.15em;
	padding: 0.15em 0;
	border-radius: 2px;
}

.ve-ce-surface-selections-findResults .ve-ce-surface-selections-findResult-focused {
	opacity: 0.4;
}

.ve-ce-surface-selections-findResults .ve-ce-surface-selections-findResult-focused > div {
	background: #1f850b;
}
