﻿@import '../default.less';
@import '../mixins.less';
//DON'T ADD IMPORTS, ABOVE ARE TO MAKE INTELLISENSE WORK

div.form
{
	div.indicators
	{
		table
		{
			tr.topic
			{
				background-color: #eaeaea;
				border-top: 2px solid @accent-color;

				td:first-child
				{
					font-size: 10pt;
					font-weight: bold;
				}
			}

			tr.add-topic-indicator
			{
				background-color: #ffffff;

				td
				{
					padding: 10px 0 0 0;
				}
			}
		}
	}
}

.acResults
{
	z-index: 1000000;
}

div#topic-dialog
{
	input#topic-name
	{
		width: 380px;
	}
}

div#indicator-dialog
{
	display: none;

	.regions
	{
		margin-left: 20px;

		a
		{
			font: 9pt @title-font;
			text-decoration: none;
			border-bottom: 1px dotted;
			color: @accent-color;
			white-space: nowrap;
		}

		div#regions
		{
			font: 9.5pt @text-font;
			display: inline-block;
			max-height: 100px;
			overflow-y: auto;
			vertical-align: top;
			margin-right: 3px;

			span
			{
				display: inline-block;
			}
		}
	}

	input, select
	{
		font: 10pt @text-font;
	}

	div.setting
	{
		margin: 10px 0;

		&.type
		{
			display: inline-block;
			width: 120px;
			vertical-align: top;
		}

		&.regions
		{
			display: inline-block;
			margin-left: 20px;
			width: 450px;
		}

		&.checkbox label
		{
			display: inline-block;
		}

		label
		{
			margin-bottom: 3px;
			display: block;
			font: bold 11pt @title-font;
		}
	}

	select#indicator-topic, select#indicator-type, input#indicator-name
	{
		width: 100%;
		padding: 0.8% 1%;
		box-sizing: border-box;
	}

	textarea#indicator-description
	{
		width: 100%;
		padding: 0.8% 1%;
		box-sizing: border-box;
		height: 100px;
	}

	div.units
	{
		overflow: auto;
		height: 170px;
		margin-top: 10px;

		input
		{
			padding: 0 3px;
			width: 60px;
		}

		th
		{
			padding-left: 5px;
		}

		td
		{
			padding: 5px;

			&.name, &.ratio
			{
				width: 100px;
				padding-left: 5px;
			}

			&.actions
			{
				width: 50px;
			}

			&.regions
			{
				a
				{
					font-size: 9pt;
				}

				div#regions
				{
					max-height: 50px;
				}
			}
		}
	}
}

a#translation-status
{
	color: green;
}
