<commit_before>//
// Registrations Tables
// --------------------------------------------------


//**  Table that shows on projects tab "Inscritos" when editing.
.registrations-table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 2*$line-height-base;
	table-layout: fixed;
	thead {
		background-color: $gray-light;
		> tr {
			th {
				border-left: 1px solid #fff;
				border-bottom: none;
				.dropdown {
					background-color: transparent;
					.submenu-dropdown {
						background-color: #fff;
						&:before {
							color: #fff;
						}
					}
				}
			}
			th:first-child {
				border-radius: 2px 0 0 0;
				border-left: none;
			}
			th:last-child {
				border-radius: 0 2px 0 0;
			}
		}
	}
	tbody {
		tr {
			border-left: 3px solid $gray-lighter;
			border-right: 1px solid $gray-lighter;
			&:nth-child(even) {
				background-color: lighten($gray-lighter, 3%);
				border-left: 3px solid $gray-light;
			}
			&:hover {
				background-color: $gray-lighter;
				border-left: 3px solid $gray;
			}
			&.approved {
				border-left: 3px solid $brand-success;
				border-bottom: 1px solid #fff;
				background-color: #cfc;
				&:hover {
					background-color: lighten(#cfc, 5%);
				}
				.dropdown {
					background-color: $brand-success;
					.placeholder {
						color: #fff;
					}
				}
			}
			&.notapproved {
				border-left: 3px solid $brand-danger;
				border-bottom: 1px solid #fff;
				background-color: #fcc;
				&:hover {
					background-color: lighten(#fcc, 5%);
				}
				.dropdown {
					background-color: $brand-danger;
					.placeholder {
						color: #fff;
					}
				}
			}
			&.waitlist {
				border-left: 3px solid $brand-warning;
				border-bottom: 1px solid #fff;
				background-color: #ffc;
				&:hover {
					background-color: lighten(#ffc, 5%);
				}
				.dropdown {
					background-color: $brand-warning;
					.placeholder {
						color: #fff;
					}
				}
			}
			&.invalid {
				border-left: 3px solid #000;
				background-color: #999;
				&:hover {
					background-color: lighten(#999, 5%);
				}
				.dropdown {
					background-color: #000;
					.placeholder {
						color: #fff;
					}
				}
			}
			td {
				word-wrap: break-word;
			}
		}
		p {
			margin-bottom: $line-height-half;
			line-height: 1.5;
		}
		a {
			color: $brand-project;
		}
		ul {
			margin: 0;
			list-style: none;
		}
	}
	.registration-id-col {
		width: 15%;
	}
	.registration-agents-col {
		width: 30%;
		text-align: left;
	}
	.registration-attachments-col {
		width: 15%;
	}
	.registration-option-col {
		width: 30%;
		text-align: left;
	}
	.registration-status-col {
		width: 20%;
		.dropdown {
			width: 100%;
			text-align: left;
		}
	}
}
//** Table that shows on projects tab "Inscrições when user is logged in and has already started at least one registration.
.my-registrations {
	@extend .registrations-table;
	.registration-id-col {
		width: 10%;
	}
}
//** Table that shows on projects tab "Aprovados".
.approved-registrations {
	@extend .my-registrations;
}

%status-caption {
	display: inline-block;
    height: 2rem;
    padding: 0 $padding-small;
    border-radius: $border-radius-base;
    font-size: $font-size-smaller;
    line-height: 1.875rem;
    color: #fff;
}
.status-sent {
	@extend %status-caption;
	background-color: $gray-light;
}
.status-approved {
	@extend %status-caption;
	background-color: $brand-success;
}
.status-notapproved {<commit_msg>fix columns width, delete .aproved-registrations and add .registrations-results<commit_after>//
// Registrations Tables
// --------------------------------------------------


//**  Table that shows on projects tab "Inscritos" when editing.
.registrations-table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 2*$line-height-base;
	table-layout: fixed;
	thead {
		background-color: $gray-light;
		> tr {
			th {
				border-left: 1px solid #fff;
				border-bottom: none;
				.dropdown {
					background-color: transparent;
					.submenu-dropdown {
						background-color: #fff;
						&:before {
							color: #fff;
						}
					}
				}
			}
			th:first-child {
				border-radius: 2px 0 0 0;
				border-left: none;
			}
			th:last-child {
				border-radius: 0 2px 0 0;
			}
		}
	}
	tbody {
		tr {
			border-left: 3px solid $gray-lighter;
			border-right: 1px solid $gray-lighter;
			&:nth-child(even) {
				background-color: lighten($gray-lighter, 3%);
				border-left: 3px solid $gray-light;
			}
			&:hover {
				background-color: $gray-lighter;
				border-left: 3px solid $gray;
			}
			&.approved {
				border-left: 3px solid $brand-success;
				border-bottom: 1px solid #fff;
				background-color: #cfc;
				&:hover {
					background-color: lighten(#cfc, 5%);
				}
				.dropdown {
					background-color: $brand-success;
					.placeholder {
						color: #fff;
					}
				}
			}
			&.notapproved {
				border-left: 3px solid $brand-danger;
				border-bottom: 1px solid #fff;
				background-color: #fcc;
				&:hover {
					background-color: lighten(#fcc, 5%);
				}
				.dropdown {
					background-color: $brand-danger;
					.placeholder {
						color: #fff;
					}
				}
			}
			&.waitlist {
				border-left: 3px solid $brand-warning;
				border-bottom: 1px solid #fff;
				background-color: #ffc;
				&:hover {
					background-color: lighten(#ffc, 5%);
				}
				.dropdown {
					background-color: $brand-warning;
					.placeholder {
						color: #fff;
					}
				}
			}
			&.invalid {
				border-left: 3px solid #000;
				background-color: #999;
				&:hover {
					background-color: lighten(#999, 5%);
				}
				.dropdown {
					background-color: #000;
					.placeholder {
						color: #fff;
					}
				}
			}
			td {
				word-wrap: break-word;
			}
		}
		p {
			margin-bottom: $line-height-half;
			line-height: 1.5;
		}
		a {
			color: $brand-project;
		}
		ul {
			margin: 0;
			list-style: none;
		}
	}
	.registration-id-col {
		width: 18%;
	}
	.registration-agents-col {
		width: 30%;
		text-align: left;
	}
	.registration-attachments-col {
		width: 12%;
	}
	.registration-option-col {
		width: 30%;
		text-align: left;
	}
	.registration-status-col {
		width: 20%;
		.dropdown {
			width: 100%;
			text-align: left;
		}
	}
	//** Table that shows on projects tab "Resultados".
	&.registrations-results {
		.registration-id-col {
			width: 22%;
		}
		.registration-agents-col {
			width: 34%;
			text-align: left;
		}
		.registration-option-col {
			width: 34%;
			text-align: left;
		}
	}
}
//** Table that shows on projects tab "Inscrições when user is logged in and has already started at least one registration.
.my-registrations {
	@extend .registrations-table;
	.registration-agents-col {
		width: 26%;
	}
}

%status-caption {
	display: inline-block;
    height: 2rem;
    padding: 0 $padding-small;
    border-radius: $border-radius-base;
    font-size: $font-size-smaller;
    line-height: 1.875rem;
    color: #fff;
}
.status-sent {
	@extend %status-caption;
	background-color: $gray-light;
}
.status-approved {
	@extend %status-caption;
	background-color: $brand-success;
}
.status-notapproved {
{'fraction_non_alphanumeric': 0.15942857142857142, 'fraction_numerical': 0.020285714285714285, 'mean_word_length': 2.2577943229409025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6101840', 'n_tokens_mistral': 3339, 'n_tokens_neox': 2512, 'n_words': 544}