<commit_before>@import 'variables';
@import "bootstrap";
@import 'tahi';

$paper-font-family: 'librebaskerville';
$paper-trim-color: $tahi-tertiary;
$control-bar-background-color: $tahi-tertiary;
$control-bar-color: black;
$control-bar-hover-color: $tahi-primary-hover;
$control-bar-active-color: $tahi-primary;
$control-bar-secondary-color: $tahi-tertiary-dark;

#control-bar-container {
  background-color: $control-bar-background-color;
  width: 100%;
  border-bottom: 1px solid $paper-trim-color;
}

#control-bar {
  margin: 0 auto;
  background-color: $control-bar-background-color;
  min-width: 960px;
  max-width: 1120px;
  height: 50px;
  padding: 9px 0 5px;
}

#control-bar section {
  @extend .collapse, .navbar-collapse;
}

#control-bar section > ul {
  @extend .nav, .navbar-nav;
  color: $control-bar-color;

  li {
    margin-right: 10px;
  }

  li > a {
    padding: 10px;
    line-height: 14px;

    color: $tahi-primary;
    font-weight: bold;
    background: none;
    text-transform: none;

    &:hover {
      text-decoration: underline;
      background: none;
      color: $tahi-primary;
    }
  }
}

#control-bar section > ul:last-of-type {
  @extend .navbar-right;

  li > a[class=primary-button] {
    @extend .primary-button;
  }
}

#paper-short-title {
  font-size: 18px;
  line-height: 36px;
  min-width: 5px;
}

#paper-revision {
  line-height: 36px;
  color: $control-bar-secondary-color;
}

#toolbar {
  height: 60px;
}

#paper-title {
  margin-top: 60px;

  &[contenteditable] {
    margin-top: 0;
    padding: 2px 0;
  }
}

#paper-abstract {
  display: none;
}

#paper-authors {
  font-style: italic;
  margin: 20px 0;
}

#paper-body {
  min-height: 500px;
}

.author-detail {
  display: inline-block;
  min-width: 100px;
}

#tahi-container > main {
  @extend .row;
  margin-left: 0;
  margin-right: 0;
  background-color: white;
  min-width: 960px;

  > article {
    @include make-xs-column(9);
    border-right: 1px solid $paper-trim-color;
  }

  > aside {
    @include make-xs-column(3);
  }
}

.placeholder {
  color: #aaa;
}

main > article > div,
main > aside > div {
  margin: 0 auto;
}

main > article > div {
  width: 700px;
}

main > aside > div {
  padding-top: 60px;
  width: 220px;
}
#tahi-container > main > article * {
  font-family: $paper-font-family;
}

.card {
  background-color: $tahi-secondary;
  color: $tahi-primary-hover;
  width: 100%;
  font-size: 20px;
  padding: 10px 15px;
  display: block;
  margin-bottom: 10px;

  &:hover {
    background-color: $btn-primary-bg;
    color: white;
    text-decoration: none;
  }

  span.glyphicon {
    display: none;
  }

  &.completed {
    background: $tahi-tertiary;
    color: $tahi-tertiary - #666;
  }

  &.completed:hover {
    background: $tahi-tertiary - #333;
    color: white;
  }

  &.completed span.glyphicon {
    display: inline;
    margin-right: 5px;
    color: $tahi-primary;
  }

  &.completed:hover span.glyphicon {
    color: white;
  }
}
<commit_msg>Fix paper title height in Firefox<commit_after>@import 'variables';
@import "bootstrap";
@import 'tahi';

$paper-font-family: 'librebaskerville';
$paper-trim-color: $tahi-tertiary;
$control-bar-background-color: $tahi-tertiary;
$control-bar-color: black;
$control-bar-hover-color: $tahi-primary-hover;
$control-bar-active-color: $tahi-primary;
$control-bar-secondary-color: $tahi-tertiary-dark;

#control-bar-container {
  background-color: $control-bar-background-color;
  width: 100%;
  border-bottom: 1px solid $paper-trim-color;
}

#control-bar {
  margin: 0 auto;
  background-color: $control-bar-background-color;
  min-width: 960px;
  max-width: 1120px;
  height: 50px;
  padding: 9px 0 5px;
}

#control-bar section {
  @extend .collapse, .navbar-collapse;
}

#control-bar section > ul {
  @extend .nav, .navbar-nav;
  color: $control-bar-color;

  li {
    margin-right: 10px;
  }

  li > a {
    padding: 10px;
    line-height: 14px;

    color: $tahi-primary;
    font-weight: bold;
    background: none;
    text-transform: none;

    &:hover {
      text-decoration: underline;
      background: none;
      color: $tahi-primary;
    }
  }
}

#control-bar section > ul:last-of-type {
  @extend .navbar-right;

  li > a[class=primary-button] {
    @extend .primary-button;
  }
}

#paper-short-title {
  font-size: 18px;
  line-height: 36px;
  min-width: 5px;
}

#paper-revision {
  line-height: 36px;
  color: $control-bar-secondary-color;
}

#toolbar {
  height: 60px;
}

#paper-title {
  margin-top: 60px;

  &[contenteditable] {
    margin-top: 0;
    padding: 2px 0;
    // Bootstrap's default height is 33px and we add 4px for the above padding.
    // This is required for Firefox, without which the H2 height shrinks to 0
    // when empty.
    height: 37px;
  }
}

#paper-abstract {
  display: none;
}

#paper-authors {
  font-style: italic;
  margin: 20px 0;
}

#paper-body {
  min-height: 500px;
}

.author-detail {
  display: inline-block;
  min-width: 100px;
}

#tahi-container > main {
  @extend .row;
  margin-left: 0;
  margin-right: 0;
  background-color: white;
  min-width: 960px;

  > article {
    @include make-xs-column(9);
    border-right: 1px solid $paper-trim-color;
  }

  > aside {
    @include make-xs-column(3);
  }
}

.placeholder {
  color: #aaa;
}

main > article > div,
main > aside > div {
  margin: 0 auto;
}

main > article > div {
  width: 700px;
}

main > aside > div {
  padding-top: 60px;
  width: 220px;
}
#tahi-container > main > article * {
  font-family: $paper-font-family;
}

.card {
  background-color: $tahi-secondary;
  color: $tahi-primary-hover;
  width: 100%;
  font-size: 20px;
  padding: 10px 15px;
  display: block;
  margin-bottom: 10px;

  &:hover {
    background-color: $btn-primary-bg;
    color: white;
    text-decoration: none;
  }

  span.glyphicon {
    display: none;
  }

  &.completed {
    background: $tahi-tertiary;
    color: $tahi-tertiary - #666;
  }

  &.completed:hover {
    background: $tahi-tertiary - #333;
    color: white;
  }

  &.completed span.glyphicon {
    display: inline;
    margin-right: 5px;
    color: $tahi-primary;
  }

  &.completed:hover span.glyphicon {
    color: white;
  }
}

{'fraction_non_alphanumeric': 0.15187408729514848, 'fraction_numerical': 0.027421710206068473, 'mean_word_length': 2.958895311496468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 37, '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': '1771777', 'n_tokens_mistral': 2610, 'n_tokens_neox': 2363, 'n_words': 501}