<commit_before>$header-height = 40px

#header
  background-color: #fff
  height: $header-height
  padding: $heading-padding-vertical 60px
  position: relative
  z-index: 2

body.docs
  #header
    position: fixed
    width: 100%
    top: 0
  #nav
    position: fixed

#nav
  list-style-type: none
  margin: 0
  padding: 0
  position: absolute
  right: 30px
  top: $heading-padding-vertical
  height: $header-height
  line-height: $header-height
  .break
    display: none
  li
    display: inline-block
    position: relative
    margin: 0 .6em

  .nav-dropdown
    .nav-link
      &:hover, &.current
        border-bottom: none
      &.current
        &::after
          content: ""
          width: 0
          height: 0
          border-left: 5px solid $green
          border-top: 3px solid transparent
          border-bottom: 3px solid transparent
          position: absolute
          top: 50%
          margin-top: -4px
          left: 8px

.nav-link
  padding-bottom: 3px
  white-space: nowrap
  &:hover, &.current
    border-bottom: 3px solid $green
  &.team, &.contribute
    margin-left: 10px

.new-label
  position: absolute
  top: 3px
  left: 110%
  background-color: $green
  color: #fff
  line-height: 16px
  height: 16px
  font-size: 9px
  font-weight: bold
  font-family: $code-font
  padding: 1px 4px 0 6px
  border-radius: 4px

.search-query
  height: 30px
  line-height: 30px
  box-sizing: border-box
  padding: 0 15px 0 30px
  border: 1px solid #e3e3e3
  color: $dark
  outline: none
  border-radius: 15px
  margin-right: 10px
  transition: border-color .2s ease
  background: #fff url(../images/search.png) 8px 5px no-repeat
  background-size: 20px
  vertical-align: middle !important
  &:focus
    border-color: $green

#logo
  display: inline-block
  font-size: 1.5em
  line-height: $header-height
  color: $dark
  font-family: $logo-font
  font-weight: 500
  img
    vertical-align: middle
    margin-right: 6px
    width: $header-height
    height: $header-height

#mobile-bar
  position: fixed
  top: 0
  left: 0
  width: 100%
  height: 40px
  background-color: #fff
  z-index: 9
  display: none
  box-shadow: 0 0 2px rgba(0,0,0,.25)
  .menu-button
    position: absolute
    width: 24px
    height: 24px
    top: 8px
    left: 12px
    background: url(../images/menu.png) center center no-repeat
    background-size: 24px
  .logo
    position: absolute
    width: 30px
    height: 30px
    background: url(../images/logo.png) center center no-repeat
    top: 5px
    left: 50%
    margin-left: -15px
    background-size: 30px

@media print
  #header
    display: none<commit_msg>fix awesome css (z-index of dropdown) (#1423)<commit_after>$header-height = 40px

#header
  background-color: #fff
  height: $header-height
  padding: $heading-padding-vertical 60px
  position: relative
  z-index: 100

body.docs
  #header
    position: fixed
    width: 100%
    top: 0
  #nav
    position: fixed

#nav
  list-style-type: none
  margin: 0
  padding: 0
  position: absolute
  right: 30px
  top: $heading-padding-vertical
  height: $header-height
  line-height: $header-height
  .break
    display: none
  li
    display: inline-block
    position: relative
    margin: 0 .6em

  .nav-dropdown
    .nav-link
      &:hover, &.current
        border-bottom: none
      &.current
        &::after
          content: ""
          width: 0
          height: 0
          border-left: 5px solid $green
          border-top: 3px solid transparent
          border-bottom: 3px solid transparent
          position: absolute
          top: 50%
          margin-top: -4px
          left: 8px

.nav-link
  padding-bottom: 3px
  white-space: nowrap
  &:hover, &.current
    border-bottom: 3px solid $green
  &.team, &.contribute
    margin-left: 10px

.new-label
  position: absolute
  top: 3px
  left: 110%
  background-color: $green
  color: #fff
  line-height: 16px
  height: 16px
  font-size: 9px
  font-weight: bold
  font-family: $code-font
  padding: 1px 4px 0 6px
  border-radius: 4px

.search-query
  height: 30px
  line-height: 30px
  box-sizing: border-box
  padding: 0 15px 0 30px
  border: 1px solid #e3e3e3
  color: $dark
  outline: none
  border-radius: 15px
  margin-right: 10px
  transition: border-color .2s ease
  background: #fff url(../images/search.png) 8px 5px no-repeat
  background-size: 20px
  vertical-align: middle !important
  &:focus
    border-color: $green

#logo
  display: inline-block
  font-size: 1.5em
  line-height: $header-height
  color: $dark
  font-family: $logo-font
  font-weight: 500
  img
    vertical-align: middle
    margin-right: 6px
    width: $header-height
    height: $header-height

#mobile-bar
  position: fixed
  top: 0
  left: 0
  width: 100%
  height: 40px
  background-color: #fff
  z-index: 9
  display: none
  box-shadow: 0 0 2px rgba(0,0,0,.25)
  .menu-button
    position: absolute
    width: 24px
    height: 24px
    top: 8px
    left: 12px
    background: url(../images/menu.png) center center no-repeat
    background-size: 24px
  .logo
    position: absolute
    width: 30px
    height: 30px
    background: url(../images/logo.png) center center no-repeat
    top: 5px
    left: 50%
    margin-left: -15px
    background-size: 30px

@media print
  #header
    display: none
{'fraction_non_alphanumeric': 0.1031987814166032, 'fraction_numerical': 0.041888804265041886, 'mean_word_length': 2.43782722513089, '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': '5376834', 'n_tokens_mistral': 2016, 'n_tokens_neox': 1812, 'n_words': 521}