
@import "styles/base.scss";
@import "styles/form.scss";

DevCamSettings
{
	transition: all 0.1s ease-out;
	pointer-events: all;
	width: 100%;
	height: 100%;
	top: 0%;

	// put the bar at the bottom
	flex-direction: column;
	justify-content: flex-end;

	&.hidden
	{
		transition: all 0.4s ease-in;
		pointer-events: none;
		top: 50%;
		opacity: 0;
	}
}

.menubar
{
	height: 100px;
	background: linear-gradient( to top, rgba( #222, 0.3 ), rgba( #222, 0.9 ) 95% );
	backdrop-filter: blur( 10px );
	width: 100%;
	color: rgba( 200, 200, 200, 0.8);
	padding: 0px 32px;
	justify-content: center;

	.button
	{
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin: 0px 16px;

		.icon
		{
			font-family: MaterialIcons;
			font-size: 50px;
		}

		.text
		{
			white-space: nowrap;
		}

		&.active
		{
			color: white;
		}
	}
}

.panel
{
	position: absolute;
	bottom: 130px;
	width: 300px;
	background-color: rgba( #333, 0.4 );
	backdrop-filter: blur( 50px );
	padding: 10px;
	border-radius: 5px;
	flex-direction: column;
	color: #fff;
	opacity: 0;
	transform: scale( 0.8f );
	transition: transform 0.1s ease-out, opacity 0.1s linear;


	&.visible
	{
		opacity: 1;
		transition: transform 0.2s bounce-out, opacity 0.1s linear;
		transform: scale( 1f );
	}

	row, control
	{
		flex-direction: column;
	}

	control
	{
		margin-bottom: 5px;
	}

	title
	{
		color: #eee;
		text-shadow: 1px 1px black;
		font-weight: 600;
		margin: 3px 0px;
	}
}

sliderentry
{
	background-color: transparent;
	border-radius: 3px;
	height: 20px;

	.slider, .textentry
	{
		background-color: rgba( #111, 0.5 );
		height: 20px;
		padding: 0px;
		min-height: 16px;
	}

	.slider .track
	{
		left: 5px;
		top: 5px;
		right: 5px;
		height: 10px;
		bottom: 0px;
		border-radius: 2px;
		background-color: transparent;

		.inner
		{
			left: 0px;
			top: 0px;
			right: 0px;
			height: 100%;
			border-radius: 1px;
			background-color: rgba( #fff, 0.6 );
		}
	}

	.slider .thumb
	{
		background-color: white;
		box-shadow: none;
		border-radius: 0;
		height: 10px;
		width: 10px;
		top: 0px;
		display: none;
	}

	> .textentry:not( .one.two.three )
	{
		margin-left: 0px;
		background-color: rgba( #111, 0.5 );
		width: 50px;
		min-width: 40px;
		text-align: right;
		border-left: 1px solid rgba( white, 0.1 );
	}
}

toolbar
{
	margin-top: 10px;

	.button
	{
		background-color: rgba( #111, 0.5 );
		padding: 2px 12px;
		border-radius: 3px;
		margin-right: 4px;
		color: #fffd;
		height: 30px;
		align-items: center;

		.iconpanel
		{
			margin-right: 4px;
		}

		&:last-child
		{
			margin-right: 0px;
		}

		&:hover
		{
			background-color: rgba( #aaa, 0.5 );
			color: #fff;
		}
	}
}