<commit_before>@import url(https://fonts.googleapis.com/css?family=Oswald|Roboto)
$contexts: system #C3A94B, alert #B4463C, info #2F7B8E, confirm #37A456
$bg-color: black
$text-color: white
$font-size: 16px
$border-width: 20px
$default-color: #5E5BC8
$alert-color: #B4463C
$system-color: #C3A94B
$confirm-color: #37A456
$control-color: yellow
$lighten-amount: 10%
$button-default-radius: 5px
$button-end-radius: 25px
$elbow-radius: $button-end-radius + 20px
$button-sides: left right

@mixin contexts
  @each $type in $contexts
    $type-name: nth($type,1)
    $color: nth($type,2)
    &.#{$type-name}
      background-color: $color
      &:hover
        background-color: lighten($color,$lighten-amount)

@mixin button-styles
    font-family: Oswald,sans-serif
    font-size: 1.2em
    background-color: $default-color
    margin: 3px
    padding: 10px 20px
    border-radius: $button-default-radius
    border: none
    &:hover
      background-color: lighten($default-color, 10%)
    @each $side in $button-sides
      &.lcars-#{$side}
        border-bottom-#{$side}-radius: $button-end-radius
        border-top-#{$side}-radius: $button-end-radius

body
  background-color: $bg-color
  color: $text-color
  font-family: Roboto,Arial,sans-serif
  font-size: $font-size

.lcars-container
  display: flex
  border-top: $border-width solid $default-color
  border-bottom: $border-width solid $default-color
  border-left: $border-width + ($border-width * .5) solid $default-color
  border-top-left-radius: $elbow-radius
  border-bottom-left-radius: $elbow-radius
  padding: 10px 10px 15px 15px
  display: inline-block
  &.closed
    border-right: $border-width solid $default-color
    border-top-right-radius: $elbow-radius
    border-bottom-right-radius: $elbow-radius
  &.lcars-radio-group
    display: block
    border-width: 3px
    padding: 20px
    margin: 10px

h1,h2,h3<commit_msg>refactor some button sass<commit_after>@import url(https://fonts.googleapis.com/css?family=Oswald|Roboto)
$contexts: system #C3A94B, alert #B4463C, info #2F7B8E, confirm #37A456
$bg-color: black
$text-color: white
$font-size: 16px
$border-width: 20px
$default-color: #5E5BC8
$alert-color: #B4463C
$system-color: #C3A94B
$confirm-color: #37A456
$control-color: yellow
$lighten-amount: 10%
$button-default-radius: 5px
$button-end-radius: 25px
$elbow-radius: $button-end-radius + 20px
$button-sides: left right

@mixin contexts
  @each $type in $contexts
    $type-name: nth($type,1)
    $color: nth($type,2)
    &.#{$type-name}
      background-color: $color
      &:hover
        background-color: lighten($color,$lighten-amount)

@mixin button-styles
  font-family: Oswald,sans-serif
  font-size: 1.2em
  background-color: $default-color
  margin: 3px
  padding: 10px 20px
  border-radius: $button-default-radius
  border: none
  &:hover
    background-color: lighten($default-color, 10%)
  @each $side in $button-sides
    &.lcars-#{$side}
      border-bottom-#{$side}-radius: $button-end-radius
      border-top-#{$side}-radius: $button-end-radius

body
  background-color: $bg-color
  color: $text-color
  font-family: Roboto,Arial,sans-serif
  font-size: $font-size

.lcars-container
  display: flex
  border-top: $border-width solid $default-color
  border-bottom: $border-width solid $default-color
  border-left: $border-width + ($border-width * .5) solid $default-color
  border-top-left-radius: $elbow-radius
  border-bottom-left-radius: $elbow-radius
  padding: 10px 10px 15px 15px
  display: inline-block
  &.closed
    border-right: $border-width solid $default-color
    border-top-right-radius: $elbow-radius
    border-bottom-right-radius: $elbow-radius
  &.lcars-radio-group
    display: block
    border-width: 3px
    padding: 20px
    margin: 10px

h1,h2,h3
{'fraction_non_alphanumeric': 0.14232607541157727, 'fraction_numerical': 0.03664365374402549, 'mean_word_length': 3.80484693877551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4461077', 'n_tokens_mistral': 1484, 'n_tokens_neox': 1377, 'n_words': 288}