<commit_before>@import "variables.less";


.leplayer
{
	display: block;
	outline: 0;
	position: relative;
	background-color: transparent;

	&.leplayer--fullscreen
	{
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100% !important;
		max-width: none !important;

	}

}


// CONTROLS

.leplayer-controls
{
	border-collapse: separate;
	display: table;
	height: @control-height;
	position: relative;
	width: 100%;
	outline: none;


	&--left
	{
		width: 1%;
		margin-right: auto;
	}

	&--right
	{
		width: 1%;
		margin-left: auto;
	}

	&--justify
	{
		width: auto;
	}

	&:not(:last-child)
	{
		margin-bottom: 10px;
	}

	&.controls-common
	{
		margin-top: 10px;
	}

	&.controls-fullscreen
	{
		bottom: 20px;
		display: block;
		left: 20px;
		position: fixed;
		right: 20px;
		width: auto;
		z-index: @z-index-fullscreen + 7;
		.control
		{
			background: @color-fs-control;
			color: @color-fs-text;
			&:hover
			{
				background: @color-fs-control-hovered;
				color: @color-fs-text-hovered;
			}
			&.disabled
			{
				color: @color-fs-disabled;
				&:hover
				{
					background: @color-fs-background;
					color: @color-fs-disabled;
				}
			}
			&.play
			{
				background: @color-fs-background-play;
				color:  @color-fs-active;
				&:hover
				{
					background: @color-fs-background-play-hovered;
				}
			}
		}
		.control-dropdown__content
		{
			background: @color-fs-dropdown;
			z-index: @z-index-fullscreen + 8;
		}

		.control-checkbox--checked
		{
			background: @color-fs-control-checked;
			color: @color-fs-text-hovered;
			&:hover {
				background: darken(@color-fs-control-checked, 5%);
			}
		}

		.info-control
		{
			&__content
			{
				background: @color-fs-background;
				color: white;
			}
		}
		.control-text
		{
			background: @color-fs-background;
			color: @color-fs-text;
		}
		.control-container__item
		{
			color: @color-fs-text;
			&:hover
			{
				background: @color-fs-inner-item-hover !important;
				color: @color-fs-text-hovered;
			}
			&--active
			{
				background: @color-fs-inner-item-active;
				color: @color-fs-text-active;
			}
		}
		.timeline
		{
			background: @color-fs-background-line;
			margin: 0;
		}
		.timeline-container
		{
			background: @color-fs-background;
			.control-text
			{
				height: auto;
				position: relative;
			}
			&:hover
			{
				background: @color-fs-background;
			}
		}
		.time-marker
		{
			background: @color-fs-marker;
			border-right: 1px solid @color-fs-marker-border;
			z-index: @z-index-fullscreen + 7;
			&.shadow
			{
				background: @color-fs-marker-shadow;
				border-right: 1px solid @color-fs-marker-shadow-border;
				z-index: @z-index-fullscreen + 6;
			}
			.time
			{
				background: @color-fs-marker-shadow-time;
				z-index: @z-index-fullscreen + 3;
			}
		}
		.time-played
		{
			background: @color-fs-background-line-active;
			z-index: @z-index-fullscreen + 5;
		}
		.time-buffered
		{
			background-color: @color-fs-background-line-buffered;
			z-index: @z-index-fullscreen + 4;
		}
		.volume-active
		{
			background: @color-fs-background-line-active;
		}
		.volume-slider
		{
			height: 144px;
		}
		.volume-line
		{
			background: @color-fs-background-line;
		}
		.volume-marker
		{
			background: @color-fs-marker;
			border-top: 1px solid @color-fs-marker-border;
		}
	}

	.control
	{
		background: @color-background;
		color: @color-text;
		cursor: pointer;
		display: table-cell;
		font-size: @control-font-size;
		height: @control-height;
		line-height: 100%;
		padding: 0 (@control-width - @control-font-size) / 2;
		text-align: center;
		vertical-align: middle;
		width: 1%;
		&:hover
		{
			background: @color-control-hovered;
			color: @color-text-hovered;
		}


		&.play
		{
			background: @color-background-play;
			color: @color-active;
			padding: 0 (@control-play-width - @control-font-size) / 2;
			width: 1%;
			&.disabled:hover
			{
				background: @color-background-play;
			}
			&:hover
			{
				background: @color-background-play-hovered;
				color: @color-background;
			}
		}

		&.disabled
		{
			cursor: not-allowed;
			color: @color-disabled;
			&:hover
			{
				background: @color-background;
				color: @color-disabled;
			}
		}
	}

	.control-checkbox--checked
	{
		background: @color-control-checked;
		color: @color-text-checked;
		&:hover {
			background: darken(@color-control-checked, 5%);
		}
	}

	.control-dropdown
	{
		position: relative;

		.leplayer-icon svg {
			pointer-events: none;
		}

		&__content
		{
			display: none;
			position: absolute;
			background: @color-background;
			bottom: @control-height;
			cursor: default;
			display: none;
			left: 0;
			min-width: 100%;
			position: absolute;
			z-index: @z-index-base + 8;
			left: 50%;
			transform: translateX(-50%);
			&:before
			{
				content: '';
				position: absolute;
				width: @control-height;
				height: 1px;
				bottom: -1px;
				left: 0;
			}
		}

	}

	.info-control
	{
		&__content
		{
			white-space: nowrap;
			text-align: left;
			background: @color-background;
			padding: 10px;
			color: @color-info-text;
			font-size: @control-text-font-size;
			/*left: 50%;*/
			min-width: 300px;
			/*transform: translateX(-50%);*/
		}

		&__item
		{
		}
	}

	.control-container
	{
		display: table-cell;
		height: @control-height;
		position: relative;
		width: 1%;

		&__item
		{
			display: block;
			color: @color-text;
			cursor: pointer;
			font-size: @control-text-font-size;
			line-height: @control-height;
			padding: 0 7px;
			&:hover
			{<commit_msg>[#LPLR-243]: Added white-space no-wrap for control container item<commit_after>@import "variables.less";


.leplayer
{
	display: block;
	outline: 0;
	position: relative;
	background-color: transparent;

	&.leplayer--fullscreen
	{
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100% !important;
		max-width: none !important;

	}

}


// CONTROLS

.leplayer-controls
{
	border-collapse: separate;
	display: table;
	height: @control-height;
	position: relative;
	width: 100%;
	outline: none;


	&--left
	{
		width: 1%;
		margin-right: auto;
	}

	&--right
	{
		width: 1%;
		margin-left: auto;
	}

	&--justify
	{
		width: auto;
	}

	&:not(:last-child)
	{
		margin-bottom: 10px;
	}

	&.controls-common
	{
		margin-top: 10px;
	}

	&.controls-fullscreen
	{
		bottom: 20px;
		display: block;
		left: 20px;
		position: fixed;
		right: 20px;
		width: auto;
		z-index: @z-index-fullscreen + 7;
		.control
		{
			background: @color-fs-control;
			color: @color-fs-text;
			&:hover
			{
				background: @color-fs-control-hovered;
				color: @color-fs-text-hovered;
			}
			&.disabled
			{
				color: @color-fs-disabled;
				&:hover
				{
					background: @color-fs-background;
					color: @color-fs-disabled;
				}
			}
			&.play
			{
				background: @color-fs-background-play;
				color:  @color-fs-active;
				&:hover
				{
					background: @color-fs-background-play-hovered;
				}
			}
		}
		.control-dropdown__content
		{
			background: @color-fs-dropdown;
			z-index: @z-index-fullscreen + 8;
		}

		.control-checkbox--checked
		{
			background: @color-fs-control-checked;
			color: @color-fs-text-hovered;
			&:hover {
				background: darken(@color-fs-control-checked, 5%);
			}
		}

		.info-control
		{
			&__content
			{
				background: @color-fs-background;
				color: white;
			}
		}
		.control-text
		{
			background: @color-fs-background;
			color: @color-fs-text;
		}
		.control-container__item
		{
			color: @color-fs-text;
			&:hover
			{
				background: @color-fs-inner-item-hover !important;
				color: @color-fs-text-hovered;
			}
			&--active
			{
				background: @color-fs-inner-item-active;
				color: @color-fs-text-active;
			}
		}
		.timeline
		{
			background: @color-fs-background-line;
			margin: 0;
		}
		.timeline-container
		{
			background: @color-fs-background;
			.control-text
			{
				height: auto;
				position: relative;
			}
			&:hover
			{
				background: @color-fs-background;
			}
		}
		.time-marker
		{
			background: @color-fs-marker;
			border-right: 1px solid @color-fs-marker-border;
			z-index: @z-index-fullscreen + 7;
			&.shadow
			{
				background: @color-fs-marker-shadow;
				border-right: 1px solid @color-fs-marker-shadow-border;
				z-index: @z-index-fullscreen + 6;
			}
			.time
			{
				background: @color-fs-marker-shadow-time;
				z-index: @z-index-fullscreen + 3;
			}
		}
		.time-played
		{
			background: @color-fs-background-line-active;
			z-index: @z-index-fullscreen + 5;
		}
		.time-buffered
		{
			background-color: @color-fs-background-line-buffered;
			z-index: @z-index-fullscreen + 4;
		}
		.volume-active
		{
			background: @color-fs-background-line-active;
		}
		.volume-slider
		{
			height: 144px;
		}
		.volume-line
		{
			background: @color-fs-background-line;
		}
		.volume-marker
		{
			background: @color-fs-marker;
			border-top: 1px solid @color-fs-marker-border;
		}
	}

	.control
	{
		background: @color-background;
		color: @color-text;
		cursor: pointer;
		display: table-cell;
		font-size: @control-font-size;
		height: @control-height;
		line-height: 100%;
		padding: 0 (@control-width - @control-font-size) / 2;
		text-align: center;
		vertical-align: middle;
		width: 1%;
		&:hover
		{
			background: @color-control-hovered;
			color: @color-text-hovered;
		}


		&.play
		{
			background: @color-background-play;
			color: @color-active;
			padding: 0 (@control-play-width - @control-font-size) / 2;
			width: 1%;
			&.disabled:hover
			{
				background: @color-background-play;
			}
			&:hover
			{
				background: @color-background-play-hovered;
				color: @color-background;
			}
		}

		&.disabled
		{
			cursor: not-allowed;
			color: @color-disabled;
			&:hover
			{
				background: @color-background;
				color: @color-disabled;
			}
		}
	}

	.control-checkbox--checked
	{
		background: @color-control-checked;
		color: @color-text-checked;
		&:hover {
			background: darken(@color-control-checked, 5%);
		}
	}

	.control-dropdown
	{
		position: relative;

		.leplayer-icon svg {
			pointer-events: none;
		}

		&__content
		{
			display: none;
			position: absolute;
			background: @color-background;
			bottom: @control-height;
			cursor: default;
			display: none;
			left: 0;
			min-width: 100%;
			position: absolute;
			z-index: @z-index-base + 8;
			left: 50%;
			transform: translateX(-50%);
			&:before
			{
				content: '';
				position: absolute;
				width: @control-height;
				height: 1px;
				bottom: -1px;
				left: 0;
			}
		}

	}

	.info-control
	{
		&__content
		{
			white-space: nowrap;
			text-align: left;
			background: @color-background;
			padding: 10px;
			color: @color-info-text;
			font-size: @control-text-font-size;
			/*left: 50%;*/
			min-width: 300px;
			/*transform: translateX(-50%);*/
		}

		&__item
		{
		}
	}

	.control-container
	{
		display: table-cell;
		height: @control-height;
		position: relative;
		width: 1%;

		&__item
		{
			display: block;
			color: @color-text;
			white-space: no-wrap;
			cursor: pointer;
			font-size: @control-text-font-size;
			line-height: @control-height;
			padding: 0 7px;
			&:hover
			{
{'fraction_non_alphanumeric': 0.1559765448804691, 'fraction_numerical': 0.013261163734776725, 'mean_word_length': 2.54185303514377, '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': '3291956', 'n_tokens_mistral': 5326, 'n_tokens_neox': 4227, 'n_words': 755}