<commit_before>
// Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity.
//
//     @param $opacity
//         A number between 0 and 1, where 0 is transparent and 1 is opaque.

=opacity($opacity)
  // XXX consider only using the official property. I think -moz, -webkit, and -o support it.
  opacity: $opacity
  @if $experimental-support-for-microsoft
    $value: unquote("alpha(Opacity=#{round($opacity * 100)})")
    +experimental(filter, $value, not -moz, not -webkit, not -o, -ms, not -khtml, official)

// Make an element completely transparent.
=transparent
  +opacity(0)

// Make an element completely opaque.
=opaque
  +opacity(1)
  

// use on a UL or a OL to reset
=reset-list
  margin: 0
  padding: 0
  list-style: none
  li
    margin: 0
    padding: 0

// provides cross-browser vertical background gradients, will work on everything we support including ie7&8  
=vertical-gradiant($topColor, $bottomColor)
  background-image: -moz-linear-gradient(top, $topColor, $bottomColor)
  background-image: -webkit-gradient(linear,left top,left bottom, color-stop(0, 		$topColor), color-stop(1, 		$bottomColor))
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#{$topColor}', EndColorStr='#{$bottomColor}')"
	
=accessible_text_replacement
  display: inline-block
  text-indent: 999px
  overflow: hidden
  background-repeat: no-repeat


=unselectable
  -webkit-user-select: none
  -moz-user-select: none
  user-select: none<commit_msg>make vertical_gradient sass mixin work in more browsers<commit_after>
// Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity.
//
//     @param $opacity
//         A number between 0 and 1, where 0 is transparent and 1 is opaque.

=opacity($opacity)
  // XXX consider only using the official property. I think -moz, -webkit, and -o support it.
  opacity: $opacity
  @if $experimental-support-for-microsoft
    $value: unquote("alpha(Opacity=#{round($opacity * 100)})")
    +experimental(filter, $value, not -moz, not -webkit, not -o, -ms, not -khtml, official)

// Make an element completely transparent.
=transparent
  +opacity(0)

// Make an element completely opaque.
=opaque
  +opacity(1)
  

// use on a UL or a OL to reset
=reset-list
  margin: 0
  padding: 0
  list-style: none
  li
    margin: 0
    padding: 0

// provides cross-browser vertical background gradients, will work on everything we support including ie7&8  
=vertical-gradiant($topColor, $bottomColor)
  background-color: mix($topColor, $bottomColor) /* fallback for browsers that older then even IE6 */
  background-image: -webkit-gradient(linear, left top, left bottom, from($topColor), to($bottomColor)) /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, $topColor, $bottomColor) /* Chrome 10+, Saf5.1+ */
  background-image:    -moz-linear-gradient(top, $topColor, $bottomColor) /* FF3.6 */
  background-image:     -ms-linear-gradient(top, $topColor, $bottomColor) /* IE10 */
  background-image:      -o-linear-gradient(top, $topColor, $bottomColor) /* Opera 11.10+ */
  background-image:         linear-gradient(top, $topColor, $bottomColor)
  filter:           "progid:DXImageTransform.Microsoft.gradient(startColorStr='#{$topColor}', EndColorStr='#{$bottomColor}')" /* IE6–IE9 */

=accessible_text_replacement
  display: inline-block
  text-indent: 999px
  overflow: hidden
  background-repeat: no-repeat


=unselectable
  -webkit-user-select: none
  -moz-user-select: none
  user-select: none
{'fraction_non_alphanumeric': 0.127665544332211, 'fraction_numerical': 0.018518518518518517, 'mean_word_length': 3.766042780748663, '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': '5879119', 'n_tokens_mistral': 1204, 'n_tokens_neox': 1103, 'n_words': 347}