<commit_before>/*
 * Stylesheet for SVGTree viewer widget.
 * (c) 2015, <NAME>
 */

@font-face {
	font-family: icons;
	src: url('icons.woff?refresh') format('woff');
	font-weight: 400;
	font-style: normal;
}

.svgtree-viewer {
	width: 600px;
	margin: 0 auto;
	border-left: 1px solid #444;
	border-right: 1px solid #444;
	font-family: Verdana,Arial,sans-serif;
	font-size: 14px; 
}

.svgtree-viewer.no-footer {
	border-bottom: 1px solid #444;
}

.svgtree-viewer header,
.svgtree-viewer footer {
	background: #444;
	color: white;
	padding: 4px 8px;
	height: 32px;
}

.svgtree-viewer h3 {
	font-size: 16px;
	margin: 6px 0px;
}

.svgtree-viewer button {
	display: inline-block;
	border: none;
	margin: 0 2px;
	padding: 4px;
	font-size: 24px;
	background: transparent;
	color: inherit;
	width: 34px;
	line-height: 1;
}

/* Removes undesired padding in buttons in Firefox. */
.svgtree-viewer button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.svgtree-viewer button:hover,
.svgtree-viewer button.selected {
	background: orange;
}

.svgtree-viewer button:disabled {
	color: #aaa;
}
.svgtree-viewer button:disabled:hover {
	background: transparent;
}

.svgtree-viewer button:before {
	font-family: icons;
	line-height: 1em;
	display: inline-block;
}
.svgtree-op-undo:before {
	content: '\e801';
}
.svgtree-op-redo:before {
	content: '\e800';
}
.svgtree-op-opt:before {
	content: '\e802';
}
.svgtree-op-nwck:before {
	content: '\e803';
}
.svgtree-op-add:before {
	content: '\e804';
}
.svgtree-op-rem:before {
	content: '\e805';
}
.svgtree-op-loc:before {
	content: '\e806';
}

.svgtree-tree-ops,
.svgtree-node-ops {
	float: right;
}

.svgtree-main {
	position: relative;
	text-align: center;
}

.svgtree-scroll {
	line-height: 0;
	width: 100%;
	overflow: scroll;
	height: 320px;
}
.svgtree-scroll > * {
	vertical-align: top;
}

.svgtree-viewer .svgtree {
	margin: 20px auto;
	vertical-align: top;
	overflow: hidden;
}

.svgtree-node {
	margin: 8px 0px;
	display: block;
	text-align: left;
	max-width: 400px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
}

.svgtree-node label {
	color: #ccc;
	font-weight: normal;
}

.svgtree-node-text {
	font-weight: bold;
	margin-left: 1em;
}

.svgtree-newick,
.svgtree-settings {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 2000;
	display: none;
	box-sizing: border-box;
	text-align: left;
}

.svgtree-newick {
	margin: 0;
	padding: 4px;
	border: none;
	resize: none;
	background: #fff;
	border-bottom: 1px solid #444;	
}
.no-footer .svgtree-newick {
	border-bottom: none;
}

/* Settings. */

.svgtree-settings {
	background: rgba(0,0,0,0.7);
	color: white;
	padding: 2em 4em;
}

.svgtree-settings h4 {
	font-size: 125%;
	margin: 0 0 1em;
	padding: 0 0 0.25em;
	border-bottom: 1px solid;
}

.svgtree-settings input[type="radio"] {
	display: none;
}

.svgtree-settings label.section {
	display: inline-block;
	width: 100px;
	text-align: right;
	margin: 0 16px;
	font-weight: bold;
}

.svgtree-settings label[for] {
	display: inline-block;
	margin: 4px;
	padding: 4px 6px;
}

.svgtree-settings label[for]:hover, 
.svgtree-settings input[type="radio"]:checked + label {
	background: orange;
}
<commit_msg>  * Introduced explicit height for containers   * Changed settings layout<commit_after>/*
 * Stylesheet for SVGTree viewer widget.
 * (c) 2015, <NAME>
 */

@font-face {
	font-family: icons;
	src: url('icons.woff?refresh') format('woff');
	font-weight: 400;
	font-style: normal;
}

.svgtree-viewer {
	width: 600px;
	height: 360px;
	margin: 0 auto;
	border-left: 1px solid #444;
	border-right: 1px solid #444;
	font-family: Verdana,Arial,sans-serif;
	font-size: 14px; 
}

.svgtree-viewer.no-footer {
	border-bottom: 1px solid #444;
}

.svgtree-viewer header,
.svgtree-viewer footer {
	background: #444;
	color: white;
	padding: 4px 8px;
	height: 32px;
}

.svgtree-viewer h3 {
	font-size: 16px;
	margin: 6px 0px;
}

.svgtree-viewer button {
	display: inline-block;
	border: none;
	margin: 0 2px;
	padding: 4px;
	font-size: 24px;
	background: transparent;
	color: inherit;
	width: 34px;
	line-height: 1;
}

/* Removes undesired padding in buttons in Firefox. */
.svgtree-viewer button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.svgtree-viewer button:hover,
.svgtree-viewer button.selected {
	background: orange;
}

.svgtree-viewer button:disabled {
	color: #aaa;
}
.svgtree-viewer button:disabled:hover {
	background: transparent;
}

.svgtree-viewer button:before {
	font-family: icons;
	line-height: 1em;
	display: inline-block;
}
.svgtree-op-undo:before {
	content: '\e801';
}
.svgtree-op-redo:before {
	content: '\e800';
}
.svgtree-op-opt:before {
	content: '\e802';
}
.svgtree-op-nwck:before {
	content: '\e803';
}
.svgtree-op-add:before {
	content: '\e804';
}
.svgtree-op-rem:before {
	content: '\e805';
}
.svgtree-op-loc:before {
	content: '\e806';
}

.svgtree-tree-ops,
.svgtree-node-ops {
	float: right;
}

.svgtree-main {
	position: relative;
	text-align: center;
	height: calc(100% - 40px);
}

.svgtree-scroll {
	line-height: 0;
	width: 100%;
	overflow: scroll;
	height: 320px;
	height: calc(100% - 40px);
}
.no-footer .svgtree-scroll {
	height: 100%;
}

.svgtree-scroll > * {
	vertical-align: top;
}

.svgtree-viewer .svgtree {
	margin: 20px auto;
	vertical-align: top;
	overflow: hidden;
}

.svgtree-node {
	margin: 8px 0px;
	display: block;
	text-align: left;
	max-width: 400px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
}

.svgtree-node label {
	color: #ccc;
	font-weight: normal;
}

.svgtree-node-text {
	font-weight: bold;
	margin-left: 1em;
}

.svgtree-newick,
.svgtree-settings {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 2000;
	display: none;
	box-sizing: border-box;
	text-align: left;
}

.svgtree-newick {
	margin: 0;
	padding: 4px;
	border: none;
	resize: none;
	background: #fff;
	border-bottom: 1px solid #444;	
}
.no-footer .svgtree-newick {
	border-bottom: none;
}

/* Settings. */

.svgtree-settings {
	background: rgba(0,0,0,0.7);
	color: white;
	padding: 2em;
}

.svgtree-settings h4 {
	font-size: 125%;
	margin: 0 0 1em;
	padding: 0 0 0.25em;
	border-bottom: 1px solid;
}

.svgtree-settings input[type="radio"] {
	display: none;
}

.svgtree-settings label.section {
	display: inline-block;
	width: 100px;
	text-align: right;
	margin-right: 16px;
	font-weight: bold;
}

.svgtree-settings label[for] {
	display: inline-block;
	margin: 4px;
	padding: 4px 6px;
}

.svgtree-settings label[for]:hover, 
.svgtree-settings input[type="radio"]:checked + label {
	background: orange;
}

{'fraction_non_alphanumeric': 0.16109008327024982, 'fraction_numerical': 0.04239212717638153, 'mean_word_length': 3.850220264317181, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4707669', 'n_tokens_mistral': 3078, 'n_tokens_neox': 2814, 'n_words': 606}