<commit_before>@import compass/utilities.sass

//** 
  removes all background images and colors from the element and offspring
  then adds a grid image of your choosing
=show-grid(!src)
  :background
    :image= image_url(!src)
    :repeat repeat 
    :position top left
  *
    :background transparent

//** 
  an inline-block list that works in IE
  for those awkward moments when a floated horizontal list just wont cut it
=inline-block-list(!hpad = 0)
  +horizontal-list-container
  li
    +no-bullet
    :white-space no-wrap
    +inline-block
    :padding 
      :left= !hpad
      :right= !hpad

//** 
  hide an element from the viewport, but keep it around for accessability
=hide
  :position absolute
  :top -9999em

//** 
  a skip-to-content accessibility link that will appear on focus
  set the location arguments if you care where it appears
=skip-link(!t = 0, !r = false, !b = false, !l = false)
  +hide
  :display block
  &:focus
    @if !t
      :top= !t
    @if !r
      :right= !r
    @if !b
      :bottom= !b
    @if !l
      :left= !l
    :z-index 999

// EXPERIMENTAL

//**
  transparency for everyone!
=opacity(!o = 1)
  :filter= "alpha(opacity=" + (!o*100) + ")"
  :-moz-opacity= !o
  :-khtml-opacity= !o
  :opacity= !o

//**
  rounded corners for Mozilla, Webkit and the future
=border-radius(!r)
  /* Mozilla (FireFox)
  -moz-border-radius = !r
  /* Webkit (Safari, Chrome)
  -webkit-border-radius = !r
  /* CSS3
  border-radius = !r

=border-corner-radius(!vert, !horz, !r)
  /* Mozilla (FireFox)
  -moz-border-radius-#{!vert}#{!horz}= !r
  /* Webkit (Safari, Chrome)
  -webkit-border-#{!vert}-#{!horz}-radius= !r
  /* CSS3
  border-#{!vert}-#{!horz}-radius= !r

=border-top-left-radius(!r)
  +border-corner-radius("top", "left", !r)

=border-top-right-radius(!r)
  +border-corner-radius("top", "right", !r)<commit_msg>updated opacity mixin to match compass edge<commit_after>@import compass/utilities.sass

//** 
  removes all background images and colors from the element and offspring
  then adds a grid image of your choosing
=show-grid(!src)
  :background
    :image= image_url(!src)
    :repeat repeat 
    :position top left
  *
    :background transparent

//** 
  an inline-block list that works in IE
  for those awkward moments when a floated horizontal list just wont cut it
=inline-block-list(!hpad = 0)
  +horizontal-list-container
  li
    +no-bullet
    :white-space no-wrap
    +inline-block
    :padding 
      :left= !hpad
      :right= !hpad

//** 
  hide an element from the viewport, but keep it around for accessability
=hide
  :position absolute
  :top -9999em

//** 
  a skip-to-content accessibility link that will appear on focus
  set the location arguments if you care where it appears
=skip-link(!t = 0, !r = false, !b = false, !l = false)
  +hide
  :display block
  &:focus
    @if !t
      :top= !t
    @if !r
      :right= !r
    @if !b
      :bottom= !b
    @if !l
      :left= !l
    :z-index 999

// EXPERIMENTAL

//**
  [Opacity rules based on those in Compass Core Edge as of 7.18.09]
  - These will be removed from Susy once they enter a major Compass release.
  Provides cross-browser css opacity.
  @param !opacity
    A number between 0 and 1, where 0 is transparent and 1 is opaque.
=opacity(!opacity)
  :opacity= !opacity
  :-moz-opacity= !opacity
  :-khtml-opacity= !opacity
  :-ms-filter= "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity*100) + ")"
  :filter= "alpha(opacity=" + round(!opacity*100) + ")"
 
// Make an element completely transparent.
=transparent
  +opacity(0)
 
// Make an element completely opaque.
=opaque
  +opacity(1)

//**
  rounded corners for Mozilla, Webkit and the future
=border-radius(!r)
  /* Mozilla (FireFox)
  -moz-border-radius = !r
  /* Webkit (Safari, Chrome)
  -webkit-border-radius = !r
  /* CSS3
  border-radius = !r

=border-corner-radius(!vert, !horz, !r)
  /* Mozilla (FireFox)
  -moz-border-radius-#{!vert}#{!horz}= !r
  /* Webkit (Safari, Chrome)
  -webkit-border-#{!vert}-#{!horz}-radius= !r
  /* CSS3
  border-#{!vert}-#{!horz}-radius= !r

=border-top-left-radius(!r)
  +border-corner-radius("top", "left", !r)

=border-top-right-radius(!r)
  +border-corner-radius("top", "right", !r)
{'fraction_non_alphanumeric': 0.14553211661531168, 'fraction_numerical': 0.010191988622896421, 'mean_word_length': 3.077294685990338, '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': '1319019', 'n_tokens_mistral': 1542, 'n_tokens_neox': 1473, 'n_words': 443}