<commit_before>// -----------------------------------------------------
// Utilities
// -----------------------------------------------------

// Mixin: Prefix
// Pass this a key and a value and it will put all the browser prefixes on it.
// ex. +prefix(box-shadow, 0 0 3px #000)
// ex. +prefix(transition, all .3s ease)

=prefix($prop, $val)
  -webkit-#{$prop}: $val
  -moz-#{$prop}: $val
  -o-#{$prop}: $val
  -ms-#{$prop}: $val
  #{$prop}: $val

// Mixin: Transition
// A shortcut for prefixed transitions with an intelligent default. If you want to pass it multiple
// comma-separated transitions you must put your parameters in quotes (or the commas get confused)
// ex. +transition
// ex. +transition(color 1s ease)
// ex. +transition("color, background 1s ease")
  
=transition($params: all .3s ease-in-out)
  +prefix(transition, unquote($params))

// Mixin: Text Shadow
// A shortcut for prefixed text-shadows with an intelligent default. If you want to pass it multiple
// comma-separated shadows you must put your parameters in quotes (or the commas get confused)
// ex. +text-shadow
// ex. +text-shadow(1px 1px 3px $blue)
// ex. +text-shadow("1px 1px 3px $blue, inset 2px 0 5px rgba(0,0,0,.5)")

=text-shadow($params:0 0 1px rgba(0,0,0,.1))
  +prefix(text-shadow, unquote($params))

// Mixin: Box Shadow
// A shortcut for prefixed box-shadows with an intelligent default. If you want to pass it multiple
// comma-separated shadows you must put your parameters in quotes (or the commas get confused)
// ex. +box-shadow
// ex. +box-shadow(1px 1px 3px $blue)
// ex. +box-shadow("1px 1px 3px $blue, inset 2px 0 5px rgba(0,0,0,.5)")

=box-shadow($params)
  +prefix(box-shadow, unquote($params))
  behavior: asset-url('test.htc', javascript)

// Mixin: Opacity
// I know, it seems silly. But every time you go to IE testing you will be thanking yourself for
// using this instead of the normal opacity declaration. Takes the same params as opacity would normally
// ex. +opacity(.6)

=opacity($opacity)
  filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})")
  opacity: $opacity

// Mixin: Rotate
// Prefixed rotation with IE compatibility. Takes a degree value followed by "deg"
// ex. +rotate(45deg)

=rotate($params)
  +prefix(transform, rotate($params))
  behavior: asset-url('pie.htc', javascript)

// Mixin: Rounded<commit_msg>removed test value - oops<commit_after>// -----------------------------------------------------
// Utilities
// -----------------------------------------------------

// Mixin: Prefix
// Pass this a key and a value and it will put all the browser prefixes on it.
// ex. +prefix(box-shadow, 0 0 3px #000)
// ex. +prefix(transition, all .3s ease)

=prefix($prop, $val)
  -webkit-#{$prop}: $val
  -moz-#{$prop}: $val
  -o-#{$prop}: $val
  -ms-#{$prop}: $val
  #{$prop}: $val

// Mixin: Transition
// A shortcut for prefixed transitions with an intelligent default. If you want to pass it multiple
// comma-separated transitions you must put your parameters in quotes (or the commas get confused)
// ex. +transition
// ex. +transition(color 1s ease)
// ex. +transition("color, background 1s ease")
  
=transition($params: all .3s ease-in-out)
  +prefix(transition, unquote($params))

// Mixin: Text Shadow
// A shortcut for prefixed text-shadows with an intelligent default. If you want to pass it multiple
// comma-separated shadows you must put your parameters in quotes (or the commas get confused)
// ex. +text-shadow
// ex. +text-shadow(1px 1px 3px $blue)
// ex. +text-shadow("1px 1px 3px $blue, inset 2px 0 5px rgba(0,0,0,.5)")

=text-shadow($params:0 0 1px rgba(0,0,0,.1))
  +prefix(text-shadow, unquote($params))

// Mixin: Box Shadow
// A shortcut for prefixed box-shadows with an intelligent default. If you want to pass it multiple
// comma-separated shadows you must put your parameters in quotes (or the commas get confused)
// ex. +box-shadow
// ex. +box-shadow(1px 1px 3px $blue)
// ex. +box-shadow("1px 1px 3px $blue, inset 2px 0 5px rgba(0,0,0,.5)")

=box-shadow($params)
  +prefix(box-shadow, unquote($params))
  behavior: asset-url('behavior.htc', javascript)

// Mixin: Opacity
// I know, it seems silly. But every time you go to IE testing you will be thanking yourself for
// using this instead of the normal opacity declaration. Takes the same params as opacity would normally
// ex. +opacity(.6)

=opacity($opacity)
  filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})")
  opacity: $opacity

// Mixin: Rotate
// Prefixed rotation with IE compatibility. Takes a degree value followed by "deg"
// ex. +rotate(45deg)

=rotate($params)
  +prefix(transform, rotate($params))
  behavior: asset-url('pie.htc', javascript)

// Mixin: Rounded
{'fraction_non_alphanumeric': 0.180083857442348, 'fraction_numerical': 0.020545073375262055, 'mean_word_length': 3.0987972508591066, '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': '1457147', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1462, 'n_words': 550}