<commit_before>/*------------------------------------*\
    $MIXINS
\*------------------------------------*/

// Micro clearfix, as per: nicolasgallagher.com/micro-clearfix-hack
@mixin clearfix() {
  *zoom: 1;
  &:before,
  &:after {
    display: table;
    content: "";
  }
  &:after {
    clear: both;
  }
}

@mixin inline-block() {
 	display: inline-block;
 	*display: inline;
 	zoom: 1;
}

@mixin font-size($font-size, $base:$base-font-size) {
  font-size: $font-size;
  font-size: ($font-size / $base) * 1rem;
}

// Image replacement
@mixin hide-text() {
  border: 0;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

// Text overflow
// Requires inline-block or block for proper styling
@mixin text-overflow() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// Placeholder text
@mixin placeholder($color) {
  &:-moz-placeholder { color: $color; } // Firefox 4-18
  &::-moz-placeholder { color: $color; } // Firefox 19+
  &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
  &::-webkit-input-placeholder { color: $color; } // Safari and Chrome
}

// ***************************************************************************
// Rem conversion mixin
//
// Converts pixels to rems for whatever property is passed to it. It returns 
// two lines of code — one of the regular pixel values (for IE), and another 
// with the converted rem values (for everyone else).
// via https://gist.github.com/bitmanic/1134548
//
// USAGE:
//
// .element {
//    @include rem('padding', 10px 0 2px 5px);
// }
//  
// OUTPUTS TO:
//
// .element {<commit_msg>Change placeholder mixin to accept any rules<commit_after>/*------------------------------------*\
    $MIXINS
\*------------------------------------*/

// Micro clearfix, as per: nicolasgallagher.com/micro-clearfix-hack
@mixin clearfix() {
  *zoom: 1;
  &:before,
  &:after {
    display: table;
    content: "";
  }
  &:after {
    clear: both;
  }
}

@mixin inline-block() {
 	display: inline-block;
 	*display: inline;
 	zoom: 1;
}

@mixin font-size($font-size, $base:$base-font-size) {
  font-size: $font-size;
  font-size: ($font-size / $base) * 1rem;
}

// Image replacement
@mixin hide-text() {
  border: 0;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

// Text overflow
// Requires inline-block or block for proper styling
@mixin text-overflow() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// Placeholder text
@mixin placeholder {
  &.placeholder { @content; }
  &:-moz-placeholder { @content; }
  &::-moz-placeholder { @content; }
  &::-webkit-input-placeholder { @content; }
}

// ***************************************************************************
// Rem conversion mixin
//
// Converts pixels to rems for whatever property is passed to it. It returns 
// two lines of code — one of the regular pixel values (for IE), and another 
// with the converted rem values (for everyone else).
// via https://gist.github.com/bitmanic/1134548
//
// USAGE:
//
// .element {
//    @include rem('padding', 10px 0 2px 5px);
// }
//  
// OUTPUTS TO:
//
// .element {
{'fraction_non_alphanumeric': 0.24727389352148813, 'fraction_numerical': 0.013790891597177678, 'mean_word_length': 2.585057471264368, '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': '6237249', 'n_tokens_mistral': 1081, 'n_tokens_neox': 1012, 'n_words': 280}