<commit_before>// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

//
// Office UI Fabric
// --------------------------------------------------
// Directionality mixins to generate LTR and RTL-specific styles

// Base left-to-right mixin definition.
@mixin ms-LTR {
  [dir='ltr'] & {
    @content;
  }
}

// Base right-to-left mixin definition.
@mixin ms-RTL {
  [dir='rtl'] & {
    @content;
  }
}

// Use baseRTL to set the default direction to right-to-left on
// a root element (e.g. page or region) that needs RTL support.
@mixin ms-base-RTL {
  @include ms-RTL {
    direction: rtl;
    unicode-bidi: bidi-override;
  }
}


// Common CSS property mixins with support for RTL.
// Use to automatically create RTL versions of your properties.

// Border styles.<commit_msg>Add directionality mixin for background position<commit_after>// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

//
// Office UI Fabric
// --------------------------------------------------
// Directionality mixins to generate LTR and RTL-specific styles

// Base left-to-right mixin definition.
@mixin ms-LTR {
  [dir='ltr'] & {
    @content;
  }
}

// Base right-to-left mixin definition.
@mixin ms-RTL {
  [dir='rtl'] & {
    @content;
  }
}

// Use baseRTL to set the default direction to right-to-left on
// a root element (e.g. page or region) that needs RTL support.
@mixin ms-base-RTL {
  @include ms-RTL {
    direction: rtl;
    unicode-bidi: bidi-override;
  }
}


// Common CSS property mixins with support for RTL.
// Use to automatically create RTL versions of your properties.

// Background direction.
@mixin ms-background-position($alignment) {
  @if $alignment == left {
    @include ms-LTR {
      background-position: left;
    }

    @include ms-RTL {
      background-position: right;
    }
  } @else if $alignment == right {
    @include ms-LTR {
      background-position: right;
    }

    @include ms-RTL {
      background-position: left;
    }
  } @else {
    background-position: $alignment;
  }
}

// Border styles.
{'fraction_non_alphanumeric': 0.15664845173041894, 'fraction_numerical': 0.0, 'mean_word_length': 2.3696319018404908, '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': '5314993', 'n_tokens_mistral': 686, 'n_tokens_neox': 671, 'n_words': 226}