@import 'mediawiki.skin.variables.less';

.mw-advancedSearch-container {
	input {
		// All of the following properties should actually be removable with
		// mediawiki.skin.variables in use.
		/* Hack around an incompatibility between Timeless and OOUI, please remove if possible */
		box-shadow: none;
		// Overwrite Timeless padding to OOUI default to fit general layout
		padding: 0.625em 0.625em 0.546875em;
		border-color: @border-color-base;
		margin: 0;
		min-height: initial;
	}

	// We intentionally want to ignore and reset some Timeless design choices in our info popups
	.oo-ui-popupWidget {
		h6,
		dt {
			font-weight: bold;
			font-family: inherit;
		}
	}
}

.value-container input {
	/* Removing Timeless' margin on inputs fixes https://phabricator.wikimedia.org/T189950 */
	margin: 0;
}

/* Disable overflow to fully show search forms */
.mw-advancedSearch-fieldContainer fieldset {
	overflow: inherit;
}

/* Hack around an incompatibility between Timeless and OOUI, please remove if possible */
button .oo-ui-labelElement-label {
	text-shadow: none;
}
