/*************************************
 * SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
 * SPDX-License-Identifier: AGPL-3.0-only
 ************************************/

/* crmv@82770 */

/* Styles for charts */

.chart-breadcrumbs {
	
	text-align: left;
	margin: 4px;
	padding-left: 10px;
	
	.chart-breadcrumb {
		
		padding-left: 4px;
		
		.bc-sep {
			&:before {
				padding-right: 4px;
				content: '>';
			}
		}
		
		&.last-bc {
			font-weight: bold;
			
			a {
				text-decoration: none;
				:hover {
					text-decoration: none;
				}
			}
		}
	}
}

.chart-container {
	position: relative;
}

.chart-legend {
	position: absolute;
	top: 5px;
	
	text-align: left;
	
	.legend-title {
		font-weight: bold;
	}
	
	&.legend-left {
		left: 5px;
	}
	&.legend-right {
		right: 5px;
	}
	
	max-height: 300px;
	overflow-y: auto;
	
	padding: 5px 8px;
	
	color: $popover-color;
	background-color: $popover-background;
	
	border: none;
	border-radius: 2px;
	
	> ul {
		padding: 2px;
		margin: 4px;
		
		display: block;
		list-style: none;
		text-align: left;
		
		> li {
			display: block;
			
			max-width: 150px;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			
			.legend-box {
				display: inline-block;
				width: 10px;
				height: 10px;
				margin-right: 4px;
			}
		}
	}
	
}

// crmv@177382
.chart-limited {
	position: absolute;
	bottom: 10px;
	left: 0px;
	font-weight: bold;
	color: #555;
}
// crmv@177382e
