@import "filter";
@import "task";

/** Affichage du jour */
.activities .day {
	position: relative;
	padding: 0.6em 0;
	clear: both;
	display: flex;
	flex-direction: row;
	text-align: center;

	.label {
		font-size: 12px;
		font-weight: 900;
		color: #000;
		text-transform: uppercase;
		display: inline-block;
		position: relative;
		margin: auto 0;
		padding: 0 1em;
	}

	&::before, &:after {
		display: block;
		content: '';
		height: 1px;
		width: 100%;
		background: rgba(0,0,0,0.1);
		margin: auto 0;
	}
}

	/* bouton load more */
	// .load-more-history {
	// 	background: $color__primary;
	// 	border: 0;
	// 	box-shadow: none;
	// 	display: block;
	// 	margin: 0.4em auto;
	// 	color: #fff;
	// 	padding: 0.6em;
	// 	transition: all 0.2s ease-out;
	// 	&:hover {
	// 		cursor: pointer;
	// 		background: lighten($color__primary, 10%);
	// 	}
	// }

/* Page indicateurs */
// .daily-activity {
// 	.event-header [class*="event"] {
// 		width: 25%;
// 		i {
// 			margin-right: 0.4em;
// 			color: rgba(0,0,0,0.3);
// 		}
// 	}
// }

/* Temps dépassé dans les indicateurs */
#tm-indicator-time-exceeded {
	.inside {
		margin: 0;
		padding: 0;
	}
	.filter-exceeded-time {
		background: rgba(0,0,0,0.1);
		padding: 0.6em;

		ul {
			display: flex;
			flex-direction: row;
			width: 100%;

			&::after {
				display: block;
				content: '';
				clear: both;
			}
			li {
			}
		}

		#min_exceeded_time {
			width: 50px;
		}
	}
	label {
		color: rgba(0,0,0,0.5);

		i {
			margin-right: 0.4em;
		}
	}
	.tm-indicator-time-exceed {
		width: 100%;

		th {
			text-align: left;
		}
		td {
		}
	}
}

/* Activity dans les posts */
.post-last-activity {
	margin-left: 20px;
	float: left;
	width: 40%;
	li:first-child {
		text-align: center;
		cursor: pointer;
	}
}
