<commit_before>//
// Dropdown Button Variables
//
$include-html-button-classes: $include-html-classes !default;

// We use these to set the color of the pip in dropdown buttons
$dropdown-button-pip-color: #fff !default;
$dropdown-button-pip-color-alt: #333 !default;

// We use these to style tiny dropdown buttons
$dropdown-button-padding-tny: $button-tny * 5 !default;
$dropdown-button-pip-size-tny: $button-tny !default;
$dropdown-button-pip-opposite-tny: $button-tny * 2 !default;
$dropdown-button-pip-top-tny: -$button-tny / 2 + em-calc(1) !default;

// We use these to style small dropdown buttons
$dropdown-button-padding-sml: $button-sml * 5 !default;
$dropdown-button-pip-size-sml: $button-sml !default;
$dropdown-button-pip-opposite-sml: $button-sml * 2 !default;
$dropdown-button-pip-top-sml: -$button-sml / 2 + em-calc(1) !default;

// We use these to style medium dropdown buttons
$dropdown-button-padding-med: $button-med * 4 + em-calc(3) !default;
$dropdown-button-pip-size-med: $button-med - em-calc(3) !default;
$dropdown-button-pip-opposite-med: $button-med * 2 !default;
$dropdown-button-pip-top-med: -$button-med / 2 + em-calc(2) !default;

// We use these to style large dropdown buttons
$dropdown-button-padding-lrg: $button-lrg * 4 !default;
$dropdown-button-pip-size-lrg: $button-lrg - em-calc(6) !default;
$dropdown-button-pip-opposite-lrg: $button-lrg + em-calc(12) !default;
$dropdown-button-pip-top-lrg: -$button-lrg / 2 + em-calc(3) !default;

//
// Dropdown Button Mixin
//

// We use this mixin to build off of the button mixin and add dropdown button styles

@mixin dropdown-button($padding:medium, $pip-color:#fff, $base-style:true) {

  // We add in base styles, but they can be negated by setting to 'false'.
  @if $base-style {
    position: relative;

    // This creates the base styles for the triangle pip
    &:before {
      position: absolute;
      content: "";<commit_msg>Add comments to dropdown mixin<commit_after>//
// Dropdown Button Variables
//
$include-html-button-classes: $include-html-classes !default;

// We use these to set the color of the pip in dropdown buttons
$dropdown-button-pip-color: #fff !default;
$dropdown-button-pip-color-alt: #333 !default;

// We use these to style tiny dropdown buttons
$dropdown-button-padding-tny: $button-tny * 5 !default;
$dropdown-button-pip-size-tny: $button-tny !default;
$dropdown-button-pip-opposite-tny: $button-tny * 2 !default;
$dropdown-button-pip-top-tny: -$button-tny / 2 + em-calc(1) !default;

// We use these to style small dropdown buttons
$dropdown-button-padding-sml: $button-sml * 5 !default;
$dropdown-button-pip-size-sml: $button-sml !default;
$dropdown-button-pip-opposite-sml: $button-sml * 2 !default;
$dropdown-button-pip-top-sml: -$button-sml / 2 + em-calc(1) !default;

// We use these to style medium dropdown buttons
$dropdown-button-padding-med: $button-med * 4 + em-calc(3) !default;
$dropdown-button-pip-size-med: $button-med - em-calc(3) !default;
$dropdown-button-pip-opposite-med: $button-med * 2 !default;
$dropdown-button-pip-top-med: -$button-med / 2 + em-calc(2) !default;

// We use these to style large dropdown buttons
$dropdown-button-padding-lrg: $button-lrg * 4 !default;
$dropdown-button-pip-size-lrg: $button-lrg - em-calc(6) !default;
$dropdown-button-pip-opposite-lrg: $button-lrg + em-calc(12) !default;
$dropdown-button-pip-top-lrg: -$button-lrg / 2 + em-calc(3) !default;

//
// Dropdown Button Mixin
//

// We use this mixin to build off of the button mixin and add dropdown button styles
//
// $padding - Determines the size of button you're working with. Default: medium. Options [tiny, small, medium, large]
// $pip-color - Color of the little triangle that points to the dropdown. Default: #fff.
// $base-style - Add in base-styles. This can be set to false. Default:true

@mixin dropdown-button($padding:medium, $pip-color:#fff, $base-style:true) {

  // We add in base styles, but they can be negated by setting to 'false'.
  @if $base-style {
    position: relative;

    // This creates the base styles for the triangle pip
    &:before {
      position: absolute;
      content: "";
{'fraction_non_alphanumeric': 0.15103914934751086, 'fraction_numerical': 0.011116481391976801, 'mean_word_length': 3.8466042154566744, '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': '4146655', 'n_tokens_mistral': 1489, 'n_tokens_neox': 1403, 'n_words': 402}