<commit_before>[class*="ls-alert-"]
  padding: 15px
  margin-bottom: 20px
  border-style: solid
  border-width: 1px
  border-radius: $default-radius
  font-size: remtopx(.875)
  line-height: 1.6

  &:empty
    display: none

  p
    color: inherit
    margin-bottom: 0

  a:not([class*="ls-btn"])
    border-bottom-style: solid
    border-bottom-width: 1px
    color: inherit

    &:hover,
    &:focus
      border-bottom: 0

  &.ls-md-space
    @extend .ls-md-space

  &.ls-sm-space
    @extend .ls-sm-space

.ls-alert-success
  color: $color-success
  border-color: mix(#fff, $color-success, 35%)
  background-color: mix(#fff, $color-success, 80%)

.ls-alert-info
  color: $color-info
  border-color: mix(#fff, $color-info, 35%)
  background-color: mix(#fff, $color-info, 80%)

.ls-alert-warning
  color: $color-warning
  border-color: mix(#fff, $color-warning, 35%)
  background-color: mix(#fff, $color-warning, 80%)

.ls-alert-danger
  color: $color-danger
  border-color: mix(#fff, $color-danger, 35%)
  background-color: mix(#fff, $color-danger, 80%)

.ls-dismiss
  float: right
  position: relative
  top: -3px
  right: 5px
  background: none
  border: none
  cursor: pointer
  color: inherit
  font-size: remtopx(1.3125)
  opacity: .3
  line-height: 1

  &:hover
    opacity: .5

//
// When the unsupported bar is visible
//
.ls-alert-blocker

  & ~ .ls-sidebar
    height: calc(100% - 90px)

  & ~ .ls-sidebar,
  & ~ .ls-sidebar.ls-area-account-active,
  & ~ .ls-notification
    top: 90px

  & ~ .ls-topbar,
  .ls-pre-panel & ~ .ls-sidebar
    top: 90px

  & ~ .ls-main .ls-title-intro
    margin-top: 90px

.ls-alert-blocker
  text-align: center

.ls-alert-fixed-top
  top: 0

.ls-alert-fixed-bottom
  bottom: 0

.ls-alert-fixed-top,
.ls-alert-fixed-bottom
  position: fixed
  z-index: 13

.ls-alert-blocker,
.ls-alert-fixed-top,
.ls-alert-fixed-bottom
  border-radius: 0
  border: none
  width: 100%
  margin-bottom: 0
  line-height: 20px

@media screen and (min-width: $screen-sm)
  .ls-alert-blocker
    & ~ .ls-sidebar
      height: 100%

    & ~ .ls-sidebar,
    & ~ .ls-sidebar.ls-area-account-active,
    & ~ .ls-notification
      top: 150px<commit_msg>set correct position fixed alerts<commit_after>[class*="ls-alert-"]
  padding: 15px
  margin-bottom: 20px
  border-style: solid
  border-width: 1px
  border-radius: $default-radius
  font-size: remtopx(.875)
  line-height: 1.6

  &:empty
    display: none

  p
    color: inherit
    margin-bottom: 0

  a:not([class*="ls-btn"])
    border-bottom-style: solid
    border-bottom-width: 1px
    color: inherit

    &:hover,
    &:focus
      border-bottom: 0

  &.ls-md-space
    @extend .ls-md-space

  &.ls-sm-space
    @extend .ls-sm-space

.ls-alert-success
  color: $color-success
  border-color: mix(#fff, $color-success, 35%)
  background-color: mix(#fff, $color-success, 80%)

.ls-alert-info
  color: $color-info
  border-color: mix(#fff, $color-info, 35%)
  background-color: mix(#fff, $color-info, 80%)

.ls-alert-warning
  color: $color-warning
  border-color: mix(#fff, $color-warning, 35%)
  background-color: mix(#fff, $color-warning, 80%)

.ls-alert-danger
  color: $color-danger
  border-color: mix(#fff, $color-danger, 35%)
  background-color: mix(#fff, $color-danger, 80%)

.ls-dismiss
  float: right
  position: relative
  top: -3px
  right: 5px
  background: none
  border: none
  cursor: pointer
  color: inherit
  font-size: remtopx(1.3125)
  opacity: .3
  line-height: 1

  &:hover
    opacity: .5

//
// When the unsupported bar is visible
//
.ls-alert-blocker

  & ~ .ls-sidebar
    height: calc(100% - 90px)

  & ~ .ls-sidebar,
  & ~ .ls-sidebar.ls-area-account-active,
  & ~ .ls-notification
    top: 90px

  & ~ .ls-topbar,
  .ls-pre-panel & ~ .ls-sidebar
    top: 90px

  & ~ .ls-main .ls-title-intro
    margin-top: 90px

.ls-alert-blocker
  text-align: center

.ls-alert-fixed-top
  top: $topbar-height

.ls-alert-fixed-bottom
  bottom: 0

.ls-alert-fixed-top,
.ls-alert-fixed-bottom
  position: fixed
  z-index: 13

.ls-alert-blocker,
.ls-alert-fixed-top,
.ls-alert-fixed-bottom
  border-radius: 0
  border: none
  width: 100%
  margin-left: -15px
  padding-left: 15px
  padding-right: 15px
  margin-bottom: 0
  line-height: 20px

@media screen and (min-width: $screen-sm)
  .ls-alert-blocker,
  .ls-alert-fixed-top,
  .ls-alert-fixed-bottom
    width: calc(100% - #{$sidebar-width})
    margin-left: -30px
    padding-left: 30px
    padding-right: 30px

    & ~ .ls-sidebar
      height: 100%

    & ~ .ls-sidebar,
    & ~ .ls-sidebar.ls-area-account-active,
    & ~ .ls-notification
      top: 150px
{'fraction_non_alphanumeric': 0.15859222246361068, 'fraction_numerical': 0.03215294373234847, 'mean_word_length': 2.71589991928975, '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': '3311761', 'n_tokens_mistral': 1951, 'n_tokens_neox': 1763, 'n_words': 374}