<commit_before>#ui-grid-base-css
{
	@grid:  @grid-grid-class;
	@item:  @grid-item-class;

	.grid()
	{
		.@{grid}
		{
			display: flex;
			flex-flow: row nowrap;

			position: relative;
			margin: 0 auto;
			width: auto;

			min-width: auto;
			max-width: @grid-width;

			& &, &&--full
			{
				min-width: 100%;
				max-width: none;
			}
		}
	}
	.item()
	{
		.@{item}
		{
			flex: 1 1 0%;

			position: relative;
			width: auto;
			min-width: auto;
			max-width: 100%;
		}
	}

	// with media and modes
	.grid-inline()
	{
		display: inline-flex;
	}
	.grid-table()
	{
		display: table;
		width: 100%;

		._grid-table-item();
	}
	.grid-table-inline()
	{
		display: inline-table;
		width: auto;

		._grid-table-item();
	}
	._grid-table-item()
	{
		& > .@{item}
		{
			display: table-cell;
			vertical-align: top;
			flex: none !important;
		}
	}


	.gaps(@gap)
	{
		.@{item} > .@{grid}
		{
			margin-left:  (-1 * @gap / 2);
			margin-right: (-1 * @gap / 2);
		}

		.@{item}
		{
			padding-left:  (@gap / 2);
			padding-right: (@gap / 2);
		}
	}
	// with media and modes
	.collapse()
	{
		&.@{grid}, .@{grid} > .@{item} > &, & > .@{item} > .@{grid}
		{
			margin-left:  auto;
			margin-right: auto;
		}

		& > .@{item}
		{
			padding-left:  0;
			padding-right: 0;
		}
	}


	.apply(@prop)
	{
		& when (@prop = inline)       { #ui-grid-base-css.grid-inline();       }<commit_msg>only grid--full has no margins<commit_after>#ui-grid-base-css
{
	@grid:  @grid-grid-class;
	@item:  @grid-item-class;

	.grid()
	{
		.@{grid}
		{
			display: flex;
			flex-flow: row nowrap;

			position: relative;
			width: auto;

			min-width: auto;
			max-width: @grid-width;

			& &, &&--full
			{
				min-width: 100%;
				max-width: none;
			}
			&&--full
			{
				margin-left:  auto;
				margin-right: auto;
			}
		}
	}
	.item()
	{
		.@{item}
		{
			flex: 1 1 0%;

			position: relative;
			width: auto;
			min-width: auto;
			max-width: 100%;
		}
	}

	// with media and modes
	.grid-inline()
	{
		display: inline-flex;
	}
	.grid-table()
	{
		display: table;
		width: 100%;

		._grid-table-item();
	}
	.grid-table-inline()
	{
		display: inline-table;
		width: auto;

		._grid-table-item();
	}
	._grid-table-item()
	{
		& > .@{item}
		{
			display: table-cell;
			vertical-align: top;
			flex: none !important;
		}
	}


	.gaps(@gap)
	{
		.@{grid}
		{
			margin-left:  (-1 * @gap / 2);
			margin-right: (-1 * @gap / 2);
		}

		.@{item}
		{
			padding-left:  (@gap / 2);
			padding-right: (@gap / 2);
		}
	}
	// with media and modes
	.collapse()
	{
		&.@{grid}
		{
			margin-left:  auto;
			margin-right: auto;
		}

		& > .@{item}
		{
			padding-left:  0;
			padding-right: 0;
		}
	}


	.apply(@prop)
	{
		& when (@prop = inline)       { #ui-grid-base-css.grid-inline();       }
{'fraction_non_alphanumeric': 0.20813657827824192, 'fraction_numerical': 0.014892844169996368, 'mean_word_length': 1.9967355821545159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '4304012', 'n_tokens_mistral': 1450, 'n_tokens_neox': 1190, 'n_words': 225}