<commit_before>// Toolbar
.cui-toolbar {
	display: flex;
	min-height: $toolbar-height;
	justify-content: space-between;
	align-items: center;
	background: $toolbar-background;
	padding: $toolbar-padding;
	// needed in listview, to align all: content-box for all!
	// box-sizing: content-box; // todo
	overflow: visible !important;

	&.cui-template-empty {
		display: none;
	}

	> .cui-horizontal-layout-left,
	> .cui-horizontal-layout-right {
		flex-direction: row;
		min-width: 0;
		overflow: visible !important;
	}

	> .cui-horizontal-layout-center {
		justify-content: center;
		flex-direction: row;
		overflow: visible !important;
	}

	// todo: find an example in fylr, what is this special case for, do we still need it?
	// see: .ez5-quicksearch-input | .cui-navigation-toolbar
	> div > .cui-maximize-horizontal {
		// in column direction this is solved by
		// align-items: stretch, but here
		// we need to overwrite this
		flex: 1 1 auto;
		align-self: stretch;
		overflow: visible;

		> .cui-horizontal-layout-left,
		> .cui-horizontal-layout-center,
		> .cui-horizontal-layout-right {
			overflow: visible;
		}
	}

	// .cui-horizontal-layout-left {
	// }

	.cui-horizontal-layout-right {
		flex-shrink: 0;
	}

	// Toolbar Content

	// e.g. in search: .ez5-quicksearch-input | .ez5-navi-input
	.cui-data-field-input {
		display: flex;
		align-items: center;
		min-width: 0;

		&.cui-vertical-layout {
			align-items: stretch;
			justify-content: center;
		}

		.cui-input {
			flex-grow: 0;
		}
	}
}

// todo
.cui-result-navigation-toolbar {
	min-height: $toolbar-height;
}

// Navigation Toolbar
// todo: find use-case, replace --mini
.cui-navigation-toolbar {
	&--mini {
		background: none;
		min-height: 20px !important;

		.cui-horizontal-layout-left > .cui-label:first-child {
			color: theme-color('dark'); // todo
			font-weight: normal;
			padding-left: $spacer-sm;
			margin-right: 0;
		}

		.cui-buttonbar {
			margin-bottom: 2px;
		}

		.cui-button {
			padding: 0;
		}

		.cui-input {
			padding: 0 3px;<commit_msg>CUI: toolbar: refine styling for the result navigation toolbar<commit_after>// Toolbar
.cui-toolbar {
	display: flex;
	min-height: $toolbar-height;
	justify-content: space-between;
	align-items: center;
	background: $toolbar-background;
	padding: $toolbar-padding;
	// needed in listview, to align all: content-box for all!
	// box-sizing: content-box; // todo
	overflow: visible !important;

	&.cui-template-empty {
		display: none;
	}

	> .cui-horizontal-layout-left,
	> .cui-horizontal-layout-right {
		flex-direction: row;
		min-width: 0;
		overflow: visible !important;
	}

	> .cui-horizontal-layout-center {
		justify-content: center;
		flex-direction: row;
		overflow: visible !important;
	}

	// todo: find an example in fylr, what is this special case for, do we still need it?
	// see: .ez5-quicksearch-input | .cui-navigation-toolbar
	> div > .cui-maximize-horizontal {
		// in column direction this is solved by
		// align-items: stretch, but here
		// we need to overwrite this
		flex: 1 1 auto;
		align-self: stretch;
		overflow: visible;

		> .cui-horizontal-layout-left,
		> .cui-horizontal-layout-center,
		> .cui-horizontal-layout-right {
			overflow: visible;
		}
	}

	// .cui-horizontal-layout-left {
	// }

	.cui-horizontal-layout-right {
		flex-shrink: 0;
	}

	// Toolbar Content

	// e.g. in search: .ez5-quicksearch-input | .ez5-navi-input
	.cui-data-field-input {
		display: flex;
		align-items: center;
		min-width: 0;

		&.cui-vertical-layout {
			align-items: stretch;
			justify-content: center;
		}

		.cui-input {
			flex-grow: 0;
		}
	}
}

.cui-result-navigation-toolbar {
	min-height: $toolbar-height;

	.cui-label {
		@include label-sm();
	}

	.cui-button-button {
		@include button-sm();
	}

	.cui-buttonbar-group-navi {
		@include ungroup-visually();

		.cui-number-input {
			margin: 0 $spacer-xs;

			input {
				@include input-sm();

				padding-top: 0;
				padding-bottom: 0;
			}
		}
	}
}

// Navigation Toolbar
// todo: find use-case, replace --mini
.cui-navigation-toolbar {
	&--mini {
		background: none;
		min-height: 20px !important;

		.cui-horizontal-layout-left > .cui-label:first-child {
			color: theme-color('dark'); // todo
			font-weight: normal;
			padding-left: $spacer-sm;
			margin-right: 0;
		}

		.cui-buttonbar {
			margin-bottom: 2px;
		}

		.cui-button {
			padding: 0;
		}

		.cui-input {
			padding: 0 3px;
{'fraction_non_alphanumeric': 0.1501814882032668, 'fraction_numerical': 0.00794010889292196, 'mean_word_length': 2.8372497824194953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '1076083', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1629, 'n_words': 358}