<commit_before>.modal-width (@width) {
	width: @width;
	margin-left: @width / -2;
}

.modal {
	.modal-header {
		min-height: 23px;
		
		h3 {
			margin: 0;
			font-weight: bold;
			font-size: 16px;
			line-height: 23px;
			color: #666;
			text-rendering: optimizelegibility; // Fix the character spacing for headings
			margin-right: 20px;
			border-bottom: none;
		}
	}
	
	input.hasDatepicker,
	input.hasMonthpicker {
		z-index: @zindex-modal-date-picker;
		position: relative;
	}
}

.modal-work-in-progress {
	.close {
		.hidden();
	}
	
	.modal-footer {
		.hidden();
	}
}

// pour les anciennes modal basées sur fancybox
#fancybox-wrap {
	z-index: @zindex-modal !important;
	
	&.working {
		.loadinfo {
			background: #FFFFFF;
			border: 1px solid #AAAAAA;
			.border-radius(4px);
			margin: 50px auto;
			width: 200px;
			padding: 20px;
			display: block;
			
			.progress {
				margin: 0;
				
				.bar {
					width: 100%;
				}
			}
		}
		
		.modal {
			display: none;
		}
	}
}

.modal.fancybox-compatibility {
	// surcharge de bootstrap-modal.less
	display: block;
	
	position: relative;
	margin: 0;
	top: auto;
	overflow: auto;
	
	left: auto;
	width: auto;
	min-width: 560px;
	box-shadow: none;
		
	.modal-wait {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		
		background-color: white;
	}
	
	.modal-header {
		h3 {
			border-bottom: none;
			.scroll-to {
				display: inline-block;
				line-height: 14px;
				vertical-align: middle;
				border: 1px solid #ccc;
				-moz-border-radius: 3px;
				-webkit-border-radius: 3px;
				border-radius: 3px;
			}
		}
	}
	
	.modal-body {
		max-height: none;
	}
	
	.modal-footer {
		min-height: 16px;
		color: #666;
		
		.legende {
			display: block;
			text-align: left;
			padding: 5px;
			font-size: 12px;
		}
		
		.copyright {
			display: block;
			font-size: 9px;
			text-align: right;
			margin-top: 3px;
		}
	}
	
	&.image {
		position: static;
		
		min-width: 0;
		
		.modal-error {
			min-height: 150px;
		}
	}
	
	&.confirm .modal-footer {
		text-align: right;
	}
}

#fancybox-wrap {
	#fancybox-left, #fancybox-right {
		background-position: 0 0;
		background-position: 0 0;
		background-color: #666;
		opacity: .9;
	}

	#fancybox-left {
		-moz-border-radius: 0 5px 5px 0;
		-webkit-border-radius: 0 5px 5px 0;
		border-radius: 0 5px 5px 0;
		left: 10px;
	}
	#fancybox-right {
		-moz-border-radius: 5px 0 0 5px;
		-webkit-border-radius: 5px 0 0 5px;
		border-radius: 5px 0 0 5px;
		right: 10px;
	}
}
<commit_msg>Fixed datepicker z-index in modals<commit_after>.modal-width (@width) {
	width: @width;
	margin-left: @width / -2;
}

.modal {
	.modal-header {
		min-height: 23px;
		
		h3 {
			margin: 0;
			font-weight: bold;
			font-size: 16px;
			line-height: 23px;
			color: #666;
			text-rendering: optimizelegibility; // Fix the character spacing for headings
			margin-right: 20px;
			border-bottom: none;
		}
	}
	
	input.hasDatepicker,
	input.hasMonthpicker {
		z-index: @zindex-modal-date-picker;
		position: relative;
		&:focus {
			// Override z-index:3 for ".input-group .form-control:focus" (bootstrap rule)
			z-index: @zindex-modal-date-picker;
		}
	}
}

.modal-work-in-progress {
	.close {
		.hidden();
	}
	
	.modal-footer {
		.hidden();
	}
}

// pour les anciennes modal basées sur fancybox
#fancybox-wrap {
	z-index: @zindex-modal !important;
	
	&.working {
		.loadinfo {
			background: #FFFFFF;
			border: 1px solid #AAAAAA;
			.border-radius(4px);
			margin: 50px auto;
			width: 200px;
			padding: 20px;
			display: block;
			
			.progress {
				margin: 0;
				
				.bar {
					width: 100%;
				}
			}
		}
		
		.modal {
			display: none;
		}
	}
}

.modal.fancybox-compatibility {
	// surcharge de bootstrap-modal.less
	display: block;
	
	position: relative;
	margin: 0;
	top: auto;
	overflow: auto;
	
	left: auto;
	width: auto;
	min-width: 560px;
	box-shadow: none;
		
	.modal-wait {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		
		background-color: white;
	}
	
	.modal-header {
		h3 {
			border-bottom: none;
			.scroll-to {
				display: inline-block;
				line-height: 14px;
				vertical-align: middle;
				border: 1px solid #ccc;
				-moz-border-radius: 3px;
				-webkit-border-radius: 3px;
				border-radius: 3px;
			}
		}
	}
	
	.modal-body {
		max-height: none;
	}
	
	.modal-footer {
		min-height: 16px;
		color: #666;
		
		.legende {
			display: block;
			text-align: left;
			padding: 5px;
			font-size: 12px;
		}
		
		.copyright {
			display: block;
			font-size: 9px;
			text-align: right;
			margin-top: 3px;
		}
	}
	
	&.image {
		position: static;
		
		min-width: 0;
		
		.modal-error {
			min-height: 150px;
		}
	}
	
	&.confirm .modal-footer {
		text-align: right;
	}
}

#fancybox-wrap {
	#fancybox-left, #fancybox-right {
		background-position: 0 0;
		background-position: 0 0;
		background-color: #666;
		opacity: .9;
	}

	#fancybox-left {
		-moz-border-radius: 0 5px 5px 0;
		-webkit-border-radius: 0 5px 5px 0;
		border-radius: 0 5px 5px 0;
		left: 10px;
	}
	#fancybox-right {
		-moz-border-radius: 5px 0 0 5px;
		-webkit-border-radius: 5px 0 0 5px;
		border-radius: 5px 0 0 5px;
		right: 10px;
	}
}

{'fraction_non_alphanumeric': 0.14519586825180278, 'fraction_numerical': 0.036055349834340285, 'mean_word_length': 2.43048128342246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3640289', 'n_tokens_mistral': 2622, 'n_tokens_neox': 2059, 'n_words': 466}