DawTimeline
{
	position: relative;
	flex-grow: 3;
	flex-shrink: 0;
	flex-direction: row;
	font-size: 16px;

	background-color: #3d3d3d;
	margin: 4px;

	> .select-instrument
	{
		flex-grow: 1;
		justify-content: center;
		align-items: center;
		background-color: #3a3a3a;
		color: #aaa;
	}

	> .column
	{
		flex-grow: 1;
		flex-shrink: 0;
		flex-direction: column;
		width: 30px;
		border: 1px solid #333;

		.header
		{
			background-color: #3a3a3a;
			padding: 8px;
			text-overflow: clip;
			white-space: nowrap;
			border-bottom: 2px solid #333;
			height: 48px;
			align-items: center;
		}

		.pianoroll
		{
			flex-grow: 1;
			flex-direction: column;
			justify-content: space-between;
			gap: 4px;

			.piano
			{
				flex-grow: 1;
				background-color: rgb(107, 107, 107);

				justify-content: center;
				align-items: center;

				&.black
				{
					background-color: #333;
				}

				&:hover
				{
					background-color: #505050;
				}

				&:active, &.pressed
				{
					background-color: #db9224;
				}
			}
		}

		&.odd
		{
			background-color: #3a3a3a;
		}
	}

	> .notes
	{
		position: absolute;
		top: 48px;
		left: 30px;
		right: 0;
		bottom: 0;
		overflow: hidden;

		Note
		{
			position: absolute;
			top: 0px;
			left: 0px;
			width: 30px;
			height: 16px;
			flex-direction: column;
			justify-content: flex-end;

			border: 1px white solid;
			background-color: rgb(73, 23, 119);

			.fill
			{
				background-color: blueviolet;
				width: 100%;
				pointer-events: none;
			}
		}

		.selection
		{
			pointer-events: none;
			position: absolute;
			background-color: grey;
			border: 1px solid white;
			opacity: 0.5;
			z-index: 5;
		}
	}

}