<commit_before>/*! doby-grid.less
 * (c) 2014 <NAME>, Globex Designs, Inc.
 * Doby may be freely distributed under the MIT license.
 * For all details and documentation:
 * https://github.com/globexdesigns/doby-grid */


@w3c: true;
@import "../libs/lesshat/lesshat";


// Containers
// ==================================================================================================


.doby-grid {
	font-size: 12px;
	height: 100%;
	line-height: normal;
	position: relative;

	&:focus {
		outline: 0;
	}
}

.doby-grid-clipboard {
	bottom: 0;
	height: 0;
	position: absolute;
	right: 0;
	width: 0;

	&:focus {
		outline: 0;
	}
}


// Header
// ==================================================================================================


.doby-grid-header {
	overflow: hidden;
	position: relative;
	width: 100%;
}

	.doby-grid-header-columns {
		cursor: default;
		font-size: 14px;
		height: 29px;
		left: -1000px;
		overflow: hidden;
		position: relative;
		white-space: nowrap;
	}

		.doby-grid-header-column {
			border: 0;
			display: inline-block;
			height: 29px;
			left: 1000px;
			line-height: 28px;
			margin: 0;
			padding: 0 8px;
			position: relative;

			&.sortable:hover {
				cursor: pointer;
			}
		}

		.ui-sortable-helper .doby-grid-resizable-handle {
			display: none
		}

		.doby-grid-sortable-placeholder {
			vertical-align: top;
		}

		// When columns are auto-sized, remove right border on the last item for a cleaner edge
		.doby-grid-no-right .doby-grid-header-column:last-child {border-right: 0}

			.doby-grid-column-name {
				display: block;
				overflow: hidden;
				text-overflow: ellipsis;
				width: 100%;
			}

			// Resize handle
			.doby-grid-resizable-handle {
				cursor: col-resize;
				display: block;
				font-size: 0.1px;
				height: 100%;
				position: absolute;
				right: -6px;
				top: 0;
				width: 10px;
				z-index: 10;

				span {
					display: block;
					height: 100%;
					margin: 0 3px;
					.transition(all 0.2s ease-in-out);
					width: 1px;
				}
			}

		// Resize handle hover/active
		.doby-grid-header-column-dragging .doby-grid-resizable-handle span,
		.doby-grid-resizable-handle:hover span {
			margin: 0 1px;
			width: 5px;
		}

		// Sorting Indicator
		.doby-grid-sort-indicator {
			background: no-repeat 0 0;
			display: none;
			height: 16px;
			position: absolute;
			right: 5px;
			top: 7px;
			width: 16px;
		}

			.doby-grid-sort-indicator-desc,
			.doby-grid-sort-indicator-asc {
				display: inline-block
			}


// Header Context Menu
// ==================================================================================================


.doby-grid-dropdown {
	left: 0;
	opacity: 1;
	position: absolute;
	top: 0;
	z-index: 5;

	&.off {opacity: 0}

	.doby-grid-dropdown-menu {
		padding: 5px 0;
		position: relative;
	}

	.doby-grid-dropdown-item {
		cursor: pointer;
		padding: 6px 24px 6px 30px;
		position: relative;
		white-space: nowrap;

		.doby-grid-dropdown-icon {
			display: none;
			position: absolute;
			left: 9px;
			top: 4px;
		}

		.doby-grid-dropdown-arrow {
			border: 5px solid transparent;
			height: 0;
			position: absolute;
			right: 0;
			top: 7px;
			width: 0;
		}

		&.on .doby-grid-dropdown-icon {
			display: block;
			height: 16px;
			width: 16px;
		}

		& > .doby-grid-dropdown-menu {
			opacity: 0;
			left: 100%;
			position: absolute;
			top: -5px;
			.transition(0.3s opacity ease-in-out);

			z-index: 1;
		}

		&.open > .doby-grid-dropdown-menu {
			opacity: 1;

			z-index: 6
		}
	}

	.doby-grid-dropdown-divider {
		margin: 2px 0;
	}
}

.doby-grid-dropdown-left .doby-grid-dropdown-item > .doby-grid-dropdown-menu {
	left: auto;
	right: 100%;
}


// Header Quick Filter
// ==================================================================================================


.doby-grid-header-filter {
	height: 30px;
	overflow: hidden;
}

	.doby-grid-header-filter-cell {
		border-left: 1px solid transparent;
		border-right: 1px solid transparent;
		display: inline-block;
		height: 30px;
		margin: -1px 0 -1px -1px;
		padding: 0 8px;

		.doby-grid-editor {
			.calc(width, ~'100% - 20px');
		}
	}


// Body
// ==================================================================================================


.doby-grid-viewport {
	overflow: auto;
	position: relative;
	width: 100%;

	&:focus {
		outline: 0;
	}
}

	.doby-grid-canvas {
		position: relative;

		&:focus {
			outline: 0;
		}
	}


// Rows
// ==================================================================================================


.doby-grid-row {
	border-bottom: 1px solid #DDD;
	position: absolute;
	width: 100%;
}

	.doby-grid-cell {
		border: 1px solid #DDD;
		bottom: -1px;
		cursor: default;
		overflow: hidden;
		padding: 0 8px;
		position: absolute;
		top: -1px;
		white-space: nowrap;
		z-index: 1;

		&.nopad {padding: 0}

		&.selected {z-index: 2}
		&.active {z-index: 3}
	}

	// When columns are auto-sized, remove right border on the last item for a cleaner edge
	.doby-grid-no-right .doby-grid-cell:last-child {border-right: 0}

	// Row resize handle
	.doby-grid-row-handle {
		bottom: -5px;
		cursor: ns-resize;
		height: 6px;
		left: 0;
		position: absolute;
		right: 0;
		z-index: 2;
	}

// Row drag container
.doby-grid-row-drag-container {
	bottom: 0;
	left: 0;
	top: 0;
	position: absolute;
	right: 0;
}


// Groups
// ==================================================================================================


// Click this to expand/collapse groups
.doby-grid-group-toggle {
	cursor: pointer;

	.doby-grid-cell {cursor: inherit}

	.icon {
		background-position: 0 0;
		background-repeat: no-repeat;
		display: inline-block;
		height: 16px;
		margin-right: 4px;
		vertical-align: middle;
		width: 16px;
	}

	.doby-grid-row-handle {bottom: -6px}
}


// Editing
// ==================================================================================================


// Input field
.doby-grid-editor {
	background: none;
	border: 0;
	box-shadow: none;
	font-size: 12px;
	height: 100%;
	margin: 0;
	outline: none;
	padding: 0;
	text-indent: 0;
	text-shadow: none;
	width: 100%;
}

// Cell range decorator
.doby-grid-range-decorator {
	position: absolute;
	z-index: 999
}

.doby-grid-range-decorator-stats {
	padding: 2px 10px;
	position: absolute;
	right: 0;
	top: 0;
}


// Popup Tooltips
// ==================================================================================================


.doby-grid-tooltip {
	opacity: 0;
	position: absolute;
	white-space: normal;
	z-index: 999;

	&.on {opacity: 1}
}

.doby-grid-tooltip-arrow {
	font-size: 0;
	height: 0;
	line-height: 0;
	position: absolute;
	top: -10px;
	width: 0;
}


// Remote Loading Spinner
// ==================================================================================================


.doby-grid-loader {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	z-index: 100
}

.doby-grid-message {
	bottom: 0;
	display: table;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 100;
}

	.doby-grid-message > div {
		display: table-cell;
		vertical-align: middle;
	}

		.doby-grid-message > div > div {
			margin: 0 auto;
			min-width: 300px;
			width: 50%;
		}<commit_msg>Fix bug with context menu hovers displaying on areas which don't have an enabled menu.<commit_after>/*! doby-grid.less
 * (c) 2014 <NAME>, Globex Designs, Inc.
 * Doby may be freely distributed under the MIT license.
 * For all details and documentation:
 * https://github.com/globexdesigns/doby-grid */


@w3c: true;
@import "../libs/lesshat/lesshat";


// Containers
// ==================================================================================================


.doby-grid {
	font-size: 12px;
	height: 100%;
	line-height: normal;
	position: relative;

	&:focus {
		outline: 0;
	}
}

.doby-grid-clipboard {
	bottom: 0;
	height: 0;
	position: absolute;
	right: 0;
	width: 0;

	&:focus {
		outline: 0;
	}
}


// Header
// ==================================================================================================


.doby-grid-header {
	overflow: hidden;
	position: relative;
	width: 100%;
}

	.doby-grid-header-columns {
		cursor: default;
		font-size: 14px;
		height: 29px;
		left: -1000px;
		overflow: hidden;
		position: relative;
		white-space: nowrap;
	}

		.doby-grid-header-column {
			border: 0;
			display: inline-block;
			height: 29px;
			left: 1000px;
			line-height: 28px;
			margin: 0;
			padding: 0 8px;
			position: relative;

			&.sortable:hover {
				cursor: pointer;
			}
		}

		.ui-sortable-helper .doby-grid-resizable-handle {
			display: none
		}

		.doby-grid-sortable-placeholder {
			vertical-align: top;
		}

		// When columns are auto-sized, remove right border on the last item for a cleaner edge
		.doby-grid-no-right .doby-grid-header-column:last-child {border-right: 0}

			.doby-grid-column-name {
				display: block;
				overflow: hidden;
				text-overflow: ellipsis;
				width: 100%;
			}

			// Resize handle
			.doby-grid-resizable-handle {
				cursor: col-resize;
				display: block;
				font-size: 0.1px;
				height: 100%;
				position: absolute;
				right: -6px;
				top: 0;
				width: 10px;
				z-index: 10;

				span {
					display: block;
					height: 100%;
					margin: 0 3px;
					.transition(all 0.2s ease-in-out);
					width: 1px;
				}
			}

		// Resize handle hover/active
		.doby-grid-header-column-dragging .doby-grid-resizable-handle span,
		.doby-grid-resizable-handle:hover span {
			margin: 0 1px;
			width: 5px;
		}

		// Sorting Indicator
		.doby-grid-sort-indicator {
			background: no-repeat 0 0;
			display: none;
			height: 16px;
			position: absolute;
			right: 5px;
			top: 7px;
			width: 16px;
		}

			.doby-grid-sort-indicator-desc,
			.doby-grid-sort-indicator-asc {
				display: inline-block
			}


// Header Context Menu
// ==================================================================================================


.doby-grid-dropdown {
	left: 0;
	opacity: 1;
	position: absolute;
	top: 0;
	z-index: 5;

	&.off {opacity: 0}

	.doby-grid-dropdown-menu {
		padding: 5px 0;
		position: relative;
	}

	.doby-grid-dropdown-item {
		cursor: pointer;
		padding: 6px 24px 6px 30px;
		position: relative;
		white-space: nowrap;

		.doby-grid-dropdown-icon {
			display: none;
			position: absolute;
			left: 9px;
			top: 4px;
		}

		.doby-grid-dropdown-arrow {
			border: 5px solid transparent;
			height: 0;
			position: absolute;
			right: 0;
			top: 7px;
			width: 0;
		}

		&.on .doby-grid-dropdown-icon {
			display: block;
			height: 16px;
			width: 16px;
		}

		& > .doby-grid-dropdown-menu {
			opacity: 0;
			left: 100%;
			pointer-events: none;
			position: absolute;
			top: -5px;
			.transition(0.3s opacity ease-in-out);

			z-index: 1;
		}

		&.open > .doby-grid-dropdown-menu {
			opacity: 1;
			pointer-events: all;
			z-index: 6
		}
	}

	.doby-grid-dropdown-divider {
		margin: 2px 0;
	}
}

.doby-grid-dropdown-left .doby-grid-dropdown-item > .doby-grid-dropdown-menu {
	left: auto;
	right: 100%;
}


// Header Quick Filter
// ==================================================================================================


.doby-grid-header-filter {
	height: 30px;
	overflow: hidden;
}

	.doby-grid-header-filter-cell {
		border-left: 1px solid transparent;
		border-right: 1px solid transparent;
		display: inline-block;
		height: 30px;
		margin: -1px 0 -1px -1px;
		padding: 0 8px;

		.doby-grid-editor {
			.calc(width, ~'100% - 20px');
		}
	}


// Body
// ==================================================================================================


.doby-grid-viewport {
	overflow: auto;
	position: relative;
	width: 100%;

	&:focus {
		outline: 0;
	}
}

	.doby-grid-canvas {
		position: relative;

		&:focus {
			outline: 0;
		}
	}


// Rows
// ==================================================================================================


.doby-grid-row {
	border-bottom: 1px solid #DDD;
	position: absolute;
	width: 100%;
}

	.doby-grid-cell {
		border: 1px solid #DDD;
		bottom: -1px;
		cursor: default;
		overflow: hidden;
		padding: 0 8px;
		position: absolute;
		top: -1px;
		white-space: nowrap;
		z-index: 1;

		&.nopad {padding: 0}

		&.selected {z-index: 2}
		&.active {z-index: 3}
	}

	// When columns are auto-sized, remove right border on the last item for a cleaner edge
	.doby-grid-no-right .doby-grid-cell:last-child {border-right: 0}

	// Row resize handle
	.doby-grid-row-handle {
		bottom: -5px;
		cursor: ns-resize;
		height: 6px;
		left: 0;
		position: absolute;
		right: 0;
		z-index: 2;
	}

// Row drag container
.doby-grid-row-drag-container {
	bottom: 0;
	left: 0;
	top: 0;
	position: absolute;
	right: 0;
}


// Groups
// ==================================================================================================


// Click this to expand/collapse groups
.doby-grid-group-toggle {
	cursor: pointer;

	.doby-grid-cell {cursor: inherit}

	.icon {
		background-position: 0 0;
		background-repeat: no-repeat;
		display: inline-block;
		height: 16px;
		margin-right: 4px;
		vertical-align: middle;
		width: 16px;
	}

	.doby-grid-row-handle {bottom: -6px}
}


// Editing
// ==================================================================================================


// Input field
.doby-grid-editor {
	background: none;
	border: 0;
	box-shadow: none;
	font-size: 12px;
	height: 100%;
	margin: 0;
	outline: none;
	padding: 0;
	text-indent: 0;
	text-shadow: none;
	width: 100%;
}

// Cell range decorator
.doby-grid-range-decorator {
	position: absolute;
	z-index: 999
}

.doby-grid-range-decorator-stats {
	padding: 2px 10px;
	position: absolute;
	right: 0;
	top: 0;
}


// Popup Tooltips
// ==================================================================================================


.doby-grid-tooltip {
	opacity: 0;
	position: absolute;
	white-space: normal;
	z-index: 999;

	&.on {opacity: 1}
}

.doby-grid-tooltip-arrow {
	font-size: 0;
	height: 0;
	line-height: 0;
	position: absolute;
	top: -10px;
	width: 0;
}


// Remote Loading Spinner
// ==================================================================================================


.doby-grid-loader {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	z-index: 100
}

.doby-grid-message {
	bottom: 0;
	display: table;
	height: 100%;
	left: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 100;
}

	.doby-grid-message > div {
		display: table-cell;
		vertical-align: middle;
	}

		.doby-grid-message > div > div {
			margin: 0 auto;
			min-width: 300px;
			width: 50%;
		}
{'fraction_non_alphanumeric': 0.2632980539433254, 'fraction_numerical': 0.030317514510071697, 'mean_word_length': 3.176218990590248, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '6770702', 'n_tokens_mistral': 6300, 'n_tokens_neox': 5097, 'n_words': 1218}