<commit_before>@import "lib/generic/_base";
@import "lib/generic/_helpers";
@import "lib/modules/_grid";
@import "_font-awesome";
@import "_selectize.default";

// codeMagic style

@media only screen and (min-width: 1024px){
	@import "_hint";
}

$color: #222;
$bg-color: #eee;
$color-inv: invert($color);
$bg-color-inv: invert($bg-color);
$size: 1rem;
$small: $size/1.5;
$large: $size*1.5;
$xsmall: $size/2;
$xlarge: $size*2;
$xxlarge: $size*4;

@include grid(12, $size);

body{
	color: $color;
	background-color: $bg-color;
	padding-bottom: $size;
	overflow-x: auto;
	overflow-y: scroll;
}

header{
	display: block;
	width: 100%;
	padding: 0;
	background-color: lighten($bg-color, 50%);
	@include box-shadow(0 1px 2px darken($bg-color, 10%));
	@include user-select(none);
}

#editors{
	padding: 0 $size;
	@include transition(150ms ease);
	@include transform(translateX(0));

	&.enlarged{
		padding-bottom: 30%;
	}

	&.hideEditors{
		@include transform(translateX(-100%));
	}

	&.hideResult{
		width: 100%;
	}

	::-webkit-scrollbar {
		width: auto;
	}

	::-webkit-scrollbar-track {
		background: $bg-color;
	}

	::-webkit-scrollbar-thumb {
		background: darken($bg-color, 15%);
	}

	::-webkit-scrollbar-corner,
	::-webkit-scrollbar-thumb:window-inactive {
		background: $bg-color;
	}
}

.editor-module{
	display: none;
	margin-bottom: $size;
	border: 1px solid darken($bg-color, 5%);
	@include border-radius(0 0 5px 5px);

	&:last-child{
		margin-bottom: 0;
	}

	&.enabled{
		display: block;
	}
}

.editor-config{
	position: relative;
	padding: $xsmall;
	@include user-select(none);

	.editor-options-toggle,
	.editor-fullscreen-toggle{
		display: inline-block;
		padding: 0;
		color: $color;
		background-color: transparent;
		outline: none;
		border: 1px solid transparent;
	}

	span{
		font-weight: bold;
	}
}

.editor-options{
	@include borderbox;
	display: none;
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	width: 100%;
	padding: $size;
	background-color: $bg-color;
	border: 1px solid darken($bg-color, 5%);

	&.enabled{
		display: inline-block;
	}
}

.editor-wrap{
	@include borderbox;
	position: relative;
	height: 200px;
}

.editor{
	width: 100%;
	height: 100%;
}

.resizer{
	position: relative;
	z-index: 10;
	height: $size;
	width: 100%;
	cursor: ns-resize;
	text-align: center;
	@include border-radius(0 0 5px 5px);
}

.resizer--icon{
	display: inline-block;
	cursor: ns-resize;
	@include transform(rotate(90deg));
	@include user-select(none);
}

#console{
	@include borderbox;
	padding: 0 $size;
	width: 100%;

	.editor-module{
		margin-top: $size;
	}
}

#console-editor{
	@include borderbox;
	overflow: auto;
	font-size: $small;
	background-color: lighten($bg-color, 50%);
	padding: $size;
}

#result{
	float: right;
	padding-right: $size;
	@include transition(150ms ease);
	@include transform(translateX(0));

	&.hideEditors{
		padding-left: $size;
		width: 100%;
	}

	&.hideResult{
		@include transform(translateX(100%));
	}

	@media only screen and (max-width: 1023px){
		padding-top: $size;
		padding-left: $size;
	}

	iframe{
		width: 100%;
		height: 100%;
		background-color: lighten($bg-color, 15%);
		border: none;
	}
}

#overlay{<commit_msg>media queries for the hiding transitions<commit_after>@import "lib/generic/_base";
@import "lib/generic/_helpers";
@import "lib/modules/_grid";
@import "_font-awesome";
@import "_selectize.default";

// codeMagic style

@media only screen and (min-width: 1024px){
	@import "_hint";
}

$color: #222;
$bg-color: #eee;
$color-inv: invert($color);
$bg-color-inv: invert($bg-color);
$size: 1rem;
$small: $size/1.5;
$large: $size*1.5;
$xsmall: $size/2;
$xlarge: $size*2;
$xxlarge: $size*4;

@include grid(12, $size);

body{
	color: $color;
	background-color: $bg-color;
	padding-bottom: $size;
	overflow-x: auto;
	overflow-y: scroll;
}

header{
	display: block;
	width: 100%;
	padding: 0;
	background-color: lighten($bg-color, 50%);
	@include box-shadow(0 1px 2px darken($bg-color, 10%));
	@include user-select(none);
}

#editors{
	padding: 0 $size;
	@include transition(150ms ease);
	@include transform(translateX(0));

	&.enlarged{
		padding-bottom: 30%;
	}

	&.hideEditors{
		@include transform(translateX(-100%));

		@media only screen and (max-width: 1023px){
			@include transform(translateY(-100%));
		}
	}

	&.hideResult{
		width: 100%;
	}

	::-webkit-scrollbar {
		width: auto;
	}

	::-webkit-scrollbar-track {
		background: $bg-color;
	}

	::-webkit-scrollbar-thumb {
		background: darken($bg-color, 15%);
	}

	::-webkit-scrollbar-corner,
	::-webkit-scrollbar-thumb:window-inactive {
		background: $bg-color;
	}
}

.editor-module{
	display: none;
	margin-bottom: $size;
	border: 1px solid darken($bg-color, 5%);
	@include border-radius(0 0 5px 5px);

	&:last-child{
		margin-bottom: 0;
	}

	&.enabled{
		display: block;
	}
}

.editor-config{
	position: relative;
	padding: $xsmall;
	@include user-select(none);

	.editor-options-toggle,
	.editor-fullscreen-toggle{
		display: inline-block;
		padding: 0;
		color: $color;
		background-color: transparent;
		outline: none;
		border: 1px solid transparent;
	}

	span{
		font-weight: bold;
	}
}

.editor-options{
	@include borderbox;
	display: none;
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	width: 100%;
	padding: $size;
	background-color: $bg-color;
	border: 1px solid darken($bg-color, 5%);

	&.enabled{
		display: inline-block;
	}
}

.editor-wrap{
	@include borderbox;
	position: relative;
	height: 200px;
}

.editor{
	width: 100%;
	height: 100%;
}

.resizer{
	position: relative;
	z-index: 10;
	height: $size;
	width: 100%;
	cursor: ns-resize;
	text-align: center;
	@include border-radius(0 0 5px 5px);
}

.resizer--icon{
	display: inline-block;
	cursor: ns-resize;
	@include transform(rotate(90deg));
	@include user-select(none);
}

#console{
	@include borderbox;
	padding: 0 $size;
	width: 100%;

	.editor-module{
		margin-top: $size;
	}
}

#console-editor{
	@include borderbox;
	overflow: auto;
	font-size: $small;
	background-color: lighten($bg-color, 50%);
	padding: $size;
}

#result{
	float: right;
	padding-right: $size;
	@include transition(150ms ease);
	@include transform(translateX(0));

	&.hideEditors{
		padding-left: $size;
		width: 100%;
	}

	&.hideResult{
		@include transform(translateX(100%));

		@media only screen and (max-width: 1023px){
			@include transform(translateY(100%));
		}
	}

	@media only screen and (max-width: 1023px){
		padding-top: $size;
		padding-left: $size;
	}

	iframe{
		width: 100%;
		height: 100%;
		background-color: lighten($bg-color, 15%);
		border: none;
	}
}

#overlay{
{'fraction_non_alphanumeric': 0.17637195121951219, 'fraction_numerical': 0.0350609756097561, 'mean_word_length': 4.194774346793349, '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': '1174669', 'n_tokens_mistral': 2908, 'n_tokens_neox': 2595, 'n_words': 578}