<commit_before>// Imports
@import './_variables.scss'

// Theme
+theme(v-btn-toggle) using ($material)
  &:not(.v-btn-toggle--group)
    background: map-get($material, 'cards')
    color: map-deep-get($material, 'text', 'primary')

    .v-btn.v-btn
      border-color: map-get($material, 'dividers') !important

      &:focus:not(:active)
        border-color: map-deep-get($material, 'buttons', 'disabled')

      .v-icon
        color: map-deep-get($material, 'toggle-buttons', 'color')

// Block
.v-btn-toggle
  border-radius: $btn-toggle-border-radius
  display: inline-flex
  max-width: 100%

  > .v-btn.v-btn
    border-radius: 0
    border-style: solid
    border-width: thin
    box-shadow: none
    box-shadow: none
    opacity: $btn-toggle-btn-opacity
    padding: $btn-toggle-btn-padding

    &:first-child
      border-top-left-radius: inherit
      border-bottom-left-radius: inherit

    &:last-child
      border-top-right-radius: inherit
      border-bottom-right-radius: inherit

    &--active
      color: inherit
      opacity: 1

    &:after
      display: none

    &:not(:first-child)
      border-left-width: 0

  &:not(.v-btn-toggle--dense)
    .v-btn.v-btn.v-size--default
      height: $btn-toggle-btn-height
      min-height: 0
      min-width: $btn-toggle-btn-width

.v-btn-toggle--borderless
  > .v-btn.v-btn
    border-width: 0

.v-btn-toggle--dense
  > .v-btn.v-btn
    padding: $btn-toggle-dense-btn-padding

.v-btn-toggle--group
  border-radius: 0

  > .v-btn.v-btn
    background-color: transparent !important
    border-color: transparent
    margin: $btn-toggle-group-btn-margin
    min-width: auto

.v-btn-toggle--rounded<commit_msg>fix(VBtnToggle): add missing RTL support in button groups (#11849)<commit_after>// Imports
@import './_variables.scss'

// Theme
+theme(v-btn-toggle) using ($material)
  &:not(.v-btn-toggle--group)
    background: map-get($material, 'cards')
    color: map-deep-get($material, 'text', 'primary')

    .v-btn.v-btn
      border-color: map-get($material, 'dividers') !important

      &:focus:not(:active)
        border-color: map-deep-get($material, 'buttons', 'disabled')

      .v-icon
        color: map-deep-get($material, 'toggle-buttons', 'color')

// Block
.v-btn-toggle
  border-radius: $btn-toggle-border-radius
  display: inline-flex
  max-width: 100%

  > .v-btn.v-btn
    border-radius: 0
    border-style: solid
    border-width: thin
    box-shadow: none
    box-shadow: none
    opacity: $btn-toggle-btn-opacity
    padding: $btn-toggle-btn-padding

    &:first-child
      +ltr()
        border-top-left-radius: inherit
        border-bottom-left-radius: inherit

      +rtl()
        border-top-right-radius: inherit
        border-bottom-right-radius: inherit

    &:last-child
      +ltr()
        border-top-right-radius: inherit
        border-bottom-right-radius: inherit

      +rtl()
        border-top-left-radius: inherit
        border-bottom-left-radius: inherit

    &--active
      color: inherit
      opacity: 1

    &:after
      display: none

    +ltr()
      &:not(:first-child)
        border-left-width: 0

    +rtl()
      &:not(:last-child)
        border-left-width: 0

  &:not(.v-btn-toggle--dense)
    .v-btn.v-btn.v-size--default
      height: $btn-toggle-btn-height
      min-height: 0
      min-width: $btn-toggle-btn-width

.v-btn-toggle--borderless
  > .v-btn.v-btn
    border-width: 0

.v-btn-toggle--dense
  > .v-btn.v-btn
    padding: $btn-toggle-dense-btn-padding

.v-btn-toggle--group
  border-radius: 0

  > .v-btn.v-btn
    background-color: transparent !important
    border-color: transparent
    margin: $btn-toggle-group-btn-margin
    min-width: auto

.v-btn-toggle--rounded
{'fraction_non_alphanumeric': 0.15685745140388768, 'fraction_numerical': 0.0064794816414686825, 'mean_word_length': 2.405330882352941, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3869411', 'n_tokens_mistral': 1341, 'n_tokens_neox': 1278, 'n_words': 234}