<commit_before>logo-size                   = 52px
suggestion-thumbnail-size   = 32px

#main-layout-search-bar-container
  position relative
  width calc('100% - %s' % logo-size)
  border-left 1px solid light-gray-border-color

  &.is-open
    #main-layout-search-bar-suggested
      transition all 0.125s
      height logo-size
      opacity 1

  &.is-loading
    #main-layout-search-bar-spinner
      display block
    #main-layout-search-bar-suggested
      display none

#main-layout-search-bar-suggested
  display block
  position absolute
  width calc('100% + 2px')
  height 0
  top 100%
  left 0px
  right auto
  padding 0 (logo-size / 2)
  margin-left -1px
  line-height logo-size
  opacity 0
  background-color #fff
  border 1px solid light-gray-border-color<commit_msg>Fixes transition + calc instacrash in older versions of Safari<commit_after>logo-size                   = 52px
suggestion-thumbnail-size   = 32px

#main-layout-search-bar-container
  position relative
  width calc('100% - %s' % logo-size)
  border-left 1px solid light-gray-border-color

  &.is-open
    #main-layout-search-bar-suggested
      transition opacity 0.125s
      height logo-size
      opacity 1

  &.is-loading
    #main-layout-search-bar-spinner
      display block
    #main-layout-search-bar-suggested
      display none

#main-layout-search-bar-suggested
  display block
  position absolute
  width calc('100% + 2px')
  height 0
  top 100%
  left 0px
  right auto
  padding 0 (logo-size / 2)
  margin-left -1px
  line-height logo-size
  opacity 0
  background-color #fff
  border 1px solid light-gray-border-color
{'fraction_non_alphanumeric': 0.09260410192666252, 'fraction_numerical': 0.03356121814791796, 'mean_word_length': 2.659090909090909, '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': '5904413', 'n_tokens_mistral': 583, 'n_tokens_neox': 521, 'n_words': 133}