//
// Entity Summary
// --------------

.ent-summary {
	
	&--header {
		display: flex;
		align-items: center;
	}
	
	&--status {
		font-size: 30px;
		color: $success;
		margin-right: 5px;
		
		.summary-data.no-selected-items & {
			&:before {
				content: $atmi-neutral;
				color: $warning;
			}
		}
		
		.summary-data.no-results & {
			&:before {
				content: $atmi-sad;
				color: $danger;
			}
		}
	}
	
	&--title {
		font-size: 16px;
		flex-grow: 1;
	}
	
	&--counters {
		font-size: 22px;
		font-weight: bold;
		color: $success;
		
		.summary-data.no-results & {
			color: $danger;
		}
	}
	
	&--fields {
		.selected-field-summary {
			background-color: $green-light;
			margin-bottom: 5px;
			border-radius: 4px;
			font-size: 12px;
			padding: 4px 8px;
			color: $success;
			display: flex;
			align-items: center;
			
			.entity-label {
				font-size: 9px;
				border: 1px solid $success;
				color: $success;
				padding: 0 4px;
				line-height: 16px;
				margin: 0 3px;
				border-radius: 2px;
			}
			
			&.with-filters {
				background-color: $orange-light;
				color: $warning;
				
				.entity-label {
					color: $warning;
					border-color: $warning;
				}
			}
			
			&.no-visible {
				opacity: 0.5;
			}
			
			.field-label {
				flex-grow: 1;
				margin-left: 3px;
				@include text-overflow;
				max-width: 230px;
			}
			
			.atmi-hidden {
				color: $danger;
			}
			
		}
	}
	
}