<commit_before>@import url(/node_modules/xterm/dist/xterm.css);

/* Fallback */
@font-face {
  font-family: 'powerlinesymbols';
  src: url('./mononoki-nerd-font.woff') format('woff');
  unicode-range: U+e0a0-e0d7;
}

@font-face {
  font-family: 'mononoki';
  src: url('./mononoki-nerd-font.woff') format('woff');
}

html, body {
  background-color: black;
  width: 100%;
  height: 100%;
  user-select: none;
  border-width: 0;
  margin: 0;
  padding: 0;
}

textarea, input, *[contenteditable] {
  user-select: all;
}

body {
  overflow: hidden;
  font-family: sans-serif;
  font-size: 10pt;
}

img {
  -webkit-user-drag: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  border: 1px solid #888;
  mix-blend-mode: exclusion;
  pointer-events: none;
}

body.maximized {
  padding-top: 0.4em;
}

body.maximized::after {
  display: none;
}

/* Tweak the terminal selection. */
.xterm-selection-layer {
  mix-blend-mode: exclusion;
}

.layout-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.header {
  display: flex;
  flex-direction: row;
}

.maximized .header, .maximized .header::after {
  transition-property: transform, background-color, opacity, backdrop-filter;
  transition-duration: 0.5s;
  transition-delay: 0.5s;
}

.maximized .header:hover, .maximized .header:hover::after {
  transition-delay: 0s;
}

.maximized .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transform: translateY(-85%);
  opacity: 0.5;
  background-color: transparent;
  backdrop-filter: blur(0);
}

/* Hitbox */
.maximized .header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.25em;
  background-color: white;
  mix-blend-mode: exclusion;
  opacity: 0.25;
}

.maximized .header:hover {
  opacity: 1;
  transform: none;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.1em);
  transition-delay: 0s;
}

.maximized .header:hover::after {
  opacity: 0;
}

.drag {
  -webkit-app-region: drag;
  display: flex;
  flex: auto;
  min-width: 10em;
  margin-top: 3px;
}

.maximized .header .drag {
  -webkit-app-region: no-drag;
}

.flex {
  display: flex;
  flex: initial;
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
}
<commit_msg>Fix initial window control appearance when maximized<commit_after>@import url(/node_modules/xterm/dist/xterm.css);

/* Fallback */
@font-face {
  font-family: 'powerlinesymbols';
  src: url('./mononoki-nerd-font.woff') format('woff');
  unicode-range: U+e0a0-e0d7;
}

@font-face {
  font-family: 'mononoki';
  src: url('./mononoki-nerd-font.woff') format('woff');
}

html, body {
  background-color: black;
  width: 100%;
  height: 100%;
  user-select: none;
  border-width: 0;
  margin: 0;
  padding: 0;
}

textarea, input, *[contenteditable] {
  user-select: all;
}

body {
  overflow: hidden;
  font-family: sans-serif;
  font-size: 10pt;
}

img {
  -webkit-user-drag: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  border: 1px solid #888;
  mix-blend-mode: exclusion;
  pointer-events: none;
}

body.maximized {
  padding-top: 0.4em;
}

body.maximized::after {
  display: none;
}

/* Tweak the terminal selection. */
.xterm-selection-layer {
  mix-blend-mode: exclusion;
}

.layout-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.header {
  display: flex;
  flex-direction: row;
}

.maximized .header, .maximized .header::after {
  transition-property: transform, background-color, opacity;
  transition-duration: 0.5s;
  transition-delay: 0.5s;
}

.maximized .header:hover, .maximized .header:hover::after {
  transition-delay: 0s;
}

.maximized .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transform: translateY(-85%);
  opacity: 0.5;
  backdrop-filter: blur(0.1em);
  background-color: transparent;
}

/* Hitbox */
.maximized .header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.25em;
  background-color: white;
  mix-blend-mode: exclusion;
  opacity: 0.25;
}

.maximized .header:hover {
  opacity: 1;
  transform: none;
  background-color: rgba(0, 0, 0, 0.5);
  transition-delay: 0s;
}

.maximized .header:hover::after {
  opacity: 0;
}

.drag {
  -webkit-app-region: drag;
  display: flex;
  flex: auto;
  min-width: 10em;
  margin-top: 3px;
}

.maximized .header .drag {
  -webkit-app-region: no-drag;
}

.flex {
  display: flex;
  flex: initial;
  overflow-x: auto;
  overflow-y: hidden;
  min-width: 0;
}

{'fraction_non_alphanumeric': 0.16566135286514433, 'fraction_numerical': 0.03166738474795347, 'mean_word_length': 3.339252336448598, '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': '717592', 'n_tokens_mistral': 1990, 'n_tokens_neox': 1850, 'n_words': 407}