<commit_before>@import "../field/field";

@include field("textfield");

.textfield {
	vertical-align: middle;
	width: _component("field.sizes.default");
}

.textfield-input {
	min-width: 0;
	background-color: _component("textfield.background");
	border: 0;
	border-radius: _component("textfield.border-radius");
	line-height: 1.5rem;
	padding: _component("textfield.input.padding-vertical") _component("textfield.input.padding-horizontal");
	transition: box-shadow _theme("commons.animations.durations.fast"), color _theme("commons.animations.durations.fast"), background-color _theme("commons.animations.durations.fast");

	&::placeholder {
		color: _component("textfield.input.placeholder");
		transition: color _theme("commons.animations.durations.fast");
		opacity: 1;
	}

	&:hover {
		background-color: _component("textfield.hover.background");

		&::placeholder {
			color: _component("textfield.hover.placeholder");
		}
	}

	&:focus, &.is-focused {
		background-color: _color("white");
		box-shadow: 0 0 0 4px _component("textfield.focus.shadow-color"), inset 0 0 0 1px _component("textfield.focus.border-color");

		&::placeholder {
			color: _component("textfield.focus.placeholder");<commit_msg>Fix appearance for input with iOS (#1466)<commit_after>@import "../field/field";

@include field("textfield");

.textfield {
	vertical-align: middle;
	width: _component("field.sizes.default");
}

.textfield-input {
	min-width: 0;
	background-color: _component("textfield.background");
	border: 0;
	border-radius: _component("textfield.border-radius");
	line-height: 1.5rem;
	padding: _component("textfield.input.padding-vertical") _component("textfield.input.padding-horizontal");
	transition: box-shadow _theme("commons.animations.durations.fast"), color _theme("commons.animations.durations.fast"), background-color _theme("commons.animations.durations.fast");
	-webkit-appearance: none;

	&::placeholder {
		color: _component("textfield.input.placeholder");
		transition: color _theme("commons.animations.durations.fast");
		opacity: 1;
	}

	&:hover {
		background-color: _component("textfield.hover.background");

		&::placeholder {
			color: _component("textfield.hover.placeholder");
		}
	}

	&:focus, &.is-focused {
		background-color: _color("white");
		box-shadow: 0 0 0 4px _component("textfield.focus.shadow-color"), inset 0 0 0 1px _component("textfield.focus.border-color");

		&::placeholder {
			color: _component("textfield.focus.placeholder");
{'fraction_non_alphanumeric': 0.16267748478701827, 'fraction_numerical': 0.012170385395537525, 'mean_word_length': 5.774725274725275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3313986', 'n_tokens_mistral': 834, 'n_tokens_neox': 766, 'n_words': 133}