<commit_before>/*
Script: ART.Window.js

License:
	MIT-style license.
*/

// Window Widget. Work in progress.

ART.Sheet.defineStyle('window', {
	'height': 300,
	'width': 400,
	
	'max-height': 800,
	'max-width': 1000,
	
	'min-height': 110,
	'min-width': 300,
	
	'top': 100,
	'left': 100,
	
	'caption-font': 'moderna',
	'caption-font-size': 13,
	'caption-font-color': hsb(0, 0, 30),
	
	'button-spacing': 20,
	'header-padding-top': 4,
	
	'content-overflow': 'auto',
	
	'corner-radius': 4,
	'header-height': 24,
	'footer-height': 17,
	'header-background-color': {0: hsb(0, 0, 95), 1: hsb(0, 0, 80)},
	'footer-background-color': {0: hsb(0, 0, 95), 1: hsb(0, 0, 90)},
	'header-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'footer-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'border-color': hsb(0, 0, 0, 0.2),
	'content-border-top-color': hsb(0, 0, 60),
	'content-border-bottom-color': hsb(0, 0, 70),
	'content-background-color': hsb(0, 0, 100)
});

ART.Sheet.defineStyle('window:focus', {
	'caption-font-color': hsb(0, 0, 10),
	'header-background-color': {0: hsb(0, 0, 80), 1: hsb(0, 0, 60)},
	'footer-background-color': {0: hsb(0, 0, 80), 1: hsb(0, 0, 70)},
	'header-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'footer-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'border-color': hsb(0, 0, 0, 0.4),
	'content-border-top-color': hsb(0, 0, 30),
	'content-border-bottom-color': hsb(0, 0, 50),
	'content-background-color': hsb(0, 0, 100)
});

ART.Sheet.defineStyle('window button', {
	'pill': true,
	'height': 14,
	'width': 14,
	'background-color': {0: hsb(0, 0, 100, 0.6), 1: hsb(0, 0, 100, 0.6)},
	'reflection-color': {0: hsb(0, 0, 100), 1: hsb(0, 0, 0, 0)},<commit_msg>adding pointer cursor to glyphs in window<commit_after>/*
Script: ART.Window.js

License:
	MIT-style license.
*/

// Window Widget. Work in progress.

ART.Sheet.defineStyle('window', {
	'height': 300,
	'width': 400,
	
	'max-height': 800,
	'max-width': 1000,
	
	'min-height': 110,
	'min-width': 300,
	
	'top': 100,
	'left': 100,
	
	'caption-font': 'moderna',
	'caption-font-size': 13,
	'caption-font-color': hsb(0, 0, 30),
	
	'button-spacing': 20,
	'header-padding-top': 4,
	
	'content-overflow': 'auto',
	
	'corner-radius': 4,
	'header-height': 24,
	'footer-height': 17,
	'header-background-color': {0: hsb(0, 0, 95), 1: hsb(0, 0, 80)},
	'footer-background-color': {0: hsb(0, 0, 95), 1: hsb(0, 0, 90)},
	'header-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'footer-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'border-color': hsb(0, 0, 0, 0.2),
	'content-border-top-color': hsb(0, 0, 60),
	'content-border-bottom-color': hsb(0, 0, 70),
	'content-background-color': hsb(0, 0, 100)
});

ART.Sheet.defineStyle('window:focus', {
	'caption-font-color': hsb(0, 0, 10),
	'header-background-color': {0: hsb(0, 0, 80), 1: hsb(0, 0, 60)},
	'footer-background-color': {0: hsb(0, 0, 80), 1: hsb(0, 0, 70)},
	'header-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'footer-reflection-color': {0: hsb(0, 0, 100, 1), 1: hsb(0, 0, 0, 0)},
	'border-color': hsb(0, 0, 0, 0.4),
	'content-border-top-color': hsb(0, 0, 30),
	'content-border-bottom-color': hsb(0, 0, 50),
	'content-background-color': hsb(0, 0, 100)
});

ART.Sheet.defineStyle('window button', {
	'pill': true,
	'height': 14,
	'width': 14,
	'cursor': 'pointer',
	'background-color': {0: hsb(0, 0, 100, 0.6), 1: hsb(0, 0, 100, 0.6)},
	'reflection-color': {0: hsb(0, 0, 100), 1: hsb(0, 0, 0, 0)},
{'fraction_non_alphanumeric': 0.2529711375212224, 'fraction_numerical': 0.11205432937181664, 'mean_word_length': 4.198529411764706, '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': '3073941', 'n_tokens_mistral': 1933, 'n_tokens_neox': 1591, 'n_words': 399}