﻿@import '../default.less';
@import '../mixins.less';
//DON'T ADD IMPORTS, ABOVE ARE TO MAKE INTELLISENSE WORK

/* @reference "../shared/jquery-ui.css" */

div.dsbrowser#site-main {
    padding: 0;

    div#page-title {
        width: 910px;
        margin-bottom: 0px;
        height: 39px;
    }

    div#page-header {
        position: relative;
        overflow: hidden;
        background-color: #E6E6E6;
        background-image: url(@page-header-background);
    }

    div#page-header-title {
        font-family: @title-font;
        font-size: 18pt;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 15px 112px 5px 45px;
        line-height: 28px;
        vertical-align: middle;
        white-space: nowrap;

        html[dir='rtl'] & {
            margin: 15px 45px 5px 112px;
        }
    }

    div#page-header-source, div#bot-page-uploaded-user {
        font-family: @text-font;
        font-size: 9.5pt;
        color: #4b4b4b;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 10px 112px 5px 45px;

        html[dir='rtl'] & {
            margin: 15px 45px 5px 112px;
        }
    }

    ul.timeseries-list-for-bot {
        list-style-type: none;
    }

    div#page-header-source.light a {
        color: #fff;
    }

    div#page-header-source.light span {
        color: #fff;
    }

    div#page-header-source a {
        color: #4b4b4b;
    }

    div.dataset-list-custom-field {
        margin: 0px 12px;
        padding: 3px;

        div.formatted-field {
            display: inline-table;

            p:first-child {
                margin-top: 0px;
            }

            p:last-child {
                margin-bottom: 0px;
            }
        }
    }
}

div#page-actions
{
	> div:first-child
	{
		html[dir='rtl'] &
		{
			padding-right: 0 !important;
		}
	}
}
div#dataset-action-bar
{
	padding-left:0px !important;

	span#verify-shareoptions-seperator
	{
		margin-right:10px;

		html[dir='rtl'] &
		{
			.margin-left-right(10px, 0);
		}
	}

	html[dir='rtl'] &
	{
		margin-right: 0px !important;
	}
}

div#download-dialog
{
	label
	{
		span
		{
			html[dir='rtl'] &
			{
				direction: ltr;
				unicode-bidi: embed;
			}
		}
	}

	#dialog-warning-message
	{
		padding: 5px;
		margin-top: 7px;
		display: none;
	}
}

div#dataset-publish-dialog 
{
	border-top: 1px solid #aaa; 
	padding-top: 5px;
}

div#tabs
{
	.text();

	position: relative;
	height: 30px;
	top: -10px;
	font-weight: bold;
	border-bottom: 1px solid @accent-color;

	ul 
	{
		html[dir='rtl'] &
		{
			padding-right: 0px;
		}
		li
		{
			.vertical-align-middle(25px);

			display: inline-block;
			background-color: #E5E4E4;
			cursor: pointer;
			text-decoration: none;
			width: auto;
			text-align: center;
			margin-top: 5px;
			margin-left: -1px;
			padding: 0 10px;

			&.data-selection
			{
				margin-left: -25px;

				html[dir='rtl'] &
				{
					.margin-left-right(0, 15px);
				}
			}
		}
	}

	.active
	{
		font-weight: bold;
		color: @accent-text-color;
		background-color: @accent-color;
	}

	.button()
	{
		.vertical-align-middle(21px);
		background-color: #f5f5f5;
		border: 1px solid #c8c8c8;
		float: right;
		margin-right: 15px;
		margin-top: 5px;
	}

	em
	{
		vertical-align: middle;
		margin: 0 5px 0 0;
		display: inline-block;
		width: 14px;
		height: 14px;
		background-image: url('/img/v2/dsbrowser/commands.png');
		
		html[dir='rtl'] &
		{
			margin: 0 0 0 5px;
		}
	}

	.tab-em (@left, @width) 
	{
		&.active em
		{
			background-position: @left 0px;
		}

		em
		{
			background-position: @left+@width 0px;
			width: @width;
		}
	}

	.table-view
	{
		margin-left: -2px;
		.tab-em(-42px, 14px);
	}

	.chart-view
	{
		margin-left: -2px;
		.tab-em(-14px, 14px);
	}

	.data-selection
	{
		.tab-em(-98px, 16px);
	}

	.views
	{
		.tab-em(-129px, 15px);
	}

	.create-page
	{
		.button();
		display: none;

		em
		{
			background-position: -54px 0;
		}

		html[dir='rtl'] &
		{
			float: left;
			.margin-left-right(15px, 0px);
		}
	}

	.download-data
	{
		.button();

		em
		{
			background-position: -69px 0px;
			width: 13px;
		}

		html[dir='rtl'] &
		{
			float: left;
			.margin-left-right(15px, 0px);
		}
	}

}

div#title
{
	padding-left: 15px;
	padding-top: 10px;
	display: none;
	html[dir='rtl'] &
	{
		.padding-left-right(0, 15px);
	}
}

div#gadget-title
{
	display: inline-block;
	left: 5px;
	position: relative;
	font-size: 12pt;
	font-weight: bold;
	font-family: Arial;
	overflow: hidden;
	width: 90%;
	height: 20px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

div#host
{
	margin: 0 15px 20px;
	height: 500px;
	border-bottom: 1px solid #d0d0d0;
	position: relative;
	
	div#visualization-placeholder
	{
		height: 500px; 
		display: none;
	}

	div.tab-dimension-filter
	{
		height: 500px; 
		margin-top: -10px;
	}
}


div#page-body
{
	padding: 0px 15px 0px 15px;
}

.ui-accordion-content.dataset-content
{
	height: 354px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}


div#login-warning-message
{
	.text();
	margin-top: 10px;
	float: right;
	margin-right: 15px;

	html[dir='rtl'] &
	{
		float: left;
	}
}

div.metadata-block.source
{
	.fa-exclamation
	{
		color: #d10500;
	}

	.fa-check
	{
		color: #60bb00;
	}
}

div#verification-status, div#extendedcounttables-status
{
	display:inline;
	font-family : @text-font;
	font-size : 8pt;
	position: relative;
	bottom: 3px;

	div#verified-pending-text
	{
		color: #D26400;
		line-height: 9px;
	}

	.verification-text
	{
		vertical-align: middle;
		display:inline-block;
		padding-left: 5px;
		width: auto;
	}
	span 
	{
		&#verified-text
		{
			color:#0a5000;
			font-weight:bold;
		}

		&.not-verified-text
		{
			color:#5a4646;
		}

		&.verification-img
		{
			display: inline-block;
			height: 7px;
			background-image: url('/img/v2/dsbrowser/ico_verify_status.png');
			vertical-align: middle;
		}

		&.verified-img
		{
			width: 8px;
			background-position: 0px 0px;
		}
		&.not-verified-img
		{
			width: 7px;
			background-position: 15px 0px;
		}

		&.verified-pending-img
		{
			width: 7px;
			background-position: 7px 0px;
		}

		&.verification-separator
		{
			display:inline-block;
			width:2px;
			height:100%;
			margin-right:15px;

			html[dir='rtl'] &
			{
				.margin-left-right(15px, 0);
			}
		}

		&#verified-separator
		{
			background-color: #7da078;
		}
		&.not-verified-separator
		{
			background-color: #a59b9b;
		}
		&#verified-pending-separator
		{
			background-color: #e1aa78;
		}
	}
}



div#verification-reject-dialog
{
	display: none;
	div
	{
		border-top: 1px solid #aaa;
		padding-top: 8px;
		padding-botom:8px;
		label
		{
			float: left;
		}
		label#verification-warning-reason
		{
			color : red;
			display:none;
		}

		textarea
		{
			resize: none;
			float: left;
			width: 430px;
			height: 70px;
			margin: 8px 0px;
		}
	}
}

div#submit-verification-confirmation
{
	display: none;
}
