<commit_before>@import "variables.less";

.desk-container {
	margin-top: 20px;

	.page-switcher {
		border-radius: 5px;
		display: none;
		border: 1px solid @border-color;
		background-color: @panel-bg;
		padding: 8px 15px;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 10px;
	}

	.mobile-list {
		display: none;
		border-radius: 5px;
		padding: 8px 15px;
		border: 1px solid @border-color;

		.sidebar-item {
			font-size: 12px;
			font-weight: bold;
			margin-bottom: 1px;
			display: flex;
			padding: 10px 15px;
			border-radius: 4px;
			text-decoration: none;
			cursor: pointer;
			text-rendering: optimizelegibility;

			&.selected {
				background-color: @panel-bg;
			}
		}
	}

	.desk-sidebar {
		width: 20rem;
		display: block;
		position: fixed;
		z-index: 1;
		min-height: 1px;
		padding-right: 15px;
		scroll-behavior: auto;
		overflow-y: scroll;
		top: 40px;
		scrollbar-width: none;
		bottom: 0;
		float: left;

		&::-webkit-scrollbar {
			display: none;
		}

		.sidebar-item {
			font-size: 12px;
			font-weight: bold;
			margin-bottom: 1px;
			display: flex;
			padding: 10px 15px;
			border-radius: 4px;
			text-decoration: none;
			cursor: pointer;
			text-rendering: optimizelegibility;

			&:focus {
				background-color: @panel-bg;
				outline: 0;
			}

			&:hover {
				background-color: @panel-bg;
			}

			&.selected {
				background-color: @panel-bg;
			}

			&:last-child {
				margin-bottom: 30px;
			}

			.icon {
				color: @text-muted;
				padding-right: 1rem;
				align-self: center;
			}
		}

		.sidebar-group-title {
			margin-top: 30px;
			padding: 0px 15px;
			text-rendering: optimizelegibility;

			&:first-child {
				// To compensate for top value in desk-sidebar
				margin-top: 30px;
			}
		}
	}

	.desk-body {
		padding-left: 20rem;
		display: flex;
		flex-direction: column;
  		height: 100%;
		position: relative;
		min-height: 1px;
		padding-right: 15px;

		.desk-page.allow-customization {
			.customize-options {
				text-align: right;
				margin-top: 7px;
				color: @text-muted;
				z-index: 99;

				.save-customization {
					cursor: pointer;
					color: @text-color;
				}

				.discard-customization {
					cursor: pointer;
				}
			}
		}
	}

	@media (max-width: 768px) {
		.desk-sidebar {
			display: none;
		}
		.desk-body {
			padding-left: 15px !important;
		}
		.page-switcher {
			display: flex;
		}
	}
}

.frappe-rtl {
	.desk-body {
		padding-left: 0px;
		padding-right: calc(20rem + 15px);
	}
}

.widget-group {<commit_msg>fix: customize options in desk page rtl layout<commit_after>@import "variables.less";

.desk-container {
	margin-top: 20px;

	.page-switcher {
		border-radius: 5px;
		display: none;
		border: 1px solid @border-color;
		background-color: @panel-bg;
		padding: 8px 15px;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 10px;
	}

	.mobile-list {
		display: none;
		border-radius: 5px;
		padding: 8px 15px;
		border: 1px solid @border-color;

		.sidebar-item {
			font-size: 12px;
			font-weight: bold;
			margin-bottom: 1px;
			display: flex;
			padding: 10px 15px;
			border-radius: 4px;
			text-decoration: none;
			cursor: pointer;
			text-rendering: optimizelegibility;

			&.selected {
				background-color: @panel-bg;
			}
		}
	}

	.desk-sidebar {
		width: 20rem;
		display: block;
		position: fixed;
		z-index: 1;
		min-height: 1px;
		padding-right: 15px;
		scroll-behavior: auto;
		overflow-y: scroll;
		top: 40px;
		scrollbar-width: none;
		bottom: 0;
		float: left;

		&::-webkit-scrollbar {
			display: none;
		}

		.sidebar-item {
			font-size: 12px;
			font-weight: bold;
			margin-bottom: 1px;
			display: flex;
			padding: 10px 15px;
			border-radius: 4px;
			text-decoration: none;
			cursor: pointer;
			text-rendering: optimizelegibility;

			&:focus {
				background-color: @panel-bg;
				outline: 0;
			}

			&:hover {
				background-color: @panel-bg;
			}

			&.selected {
				background-color: @panel-bg;
			}

			&:last-child {
				margin-bottom: 30px;
			}

			.icon {
				color: @text-muted;
				padding-right: 1rem;
				align-self: center;
			}
		}

		.sidebar-group-title {
			margin-top: 30px;
			padding: 0px 15px;
			text-rendering: optimizelegibility;

			&:first-child {
				// To compensate for top value in desk-sidebar
				margin-top: 30px;
			}
		}
	}

	.desk-body {
		padding-left: 20rem;
		display: flex;
		flex-direction: column;
  		height: 100%;
		position: relative;
		min-height: 1px;
		padding-right: 15px;

		.desk-page.allow-customization {
			.customize-options {
				text-align: right;
				margin-top: 7px;
				color: @text-muted;
				z-index: 99;

				.save-customization {
					cursor: pointer;
					color: @text-color;
				}

				.discard-customization {
					cursor: pointer;
				}
			}
		}
	}

	@media (max-width: 768px) {
		.desk-sidebar {
			display: none;
		}
		.desk-body {
			padding-left: 15px !important;
		}
		.page-switcher {
			display: flex;
		}
	}
}

.frappe-rtl {
	.desk-body {
		padding-left: 0px;
		padding-right: calc(20rem + 15px);

		.desk-page.allow-customization {
			.customize-options {
				text-align: left;
			}
		}
	}
}

.widget-group {
{'fraction_non_alphanumeric': 0.13902912621359223, 'fraction_numerical': 0.027572815533980582, 'mean_word_length': 2.528082191780822, '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': '5808019', 'n_tokens_mistral': 2578, 'n_tokens_neox': 1980, 'n_words': 413}