Sha256: bf7beb522dda780a238bcb0dce072ae2c7f5f1c2246a651532f0653d11956840

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 KB

Contents

/*

@import "compass/css3/images"
@import "compass/css3/text-shadow"

=unselectable()
  -moz-user-select: -moz-none
  -khtml-user-select: none
  -webkit-user-select: none
  user-select: none

=hidden()
  display: none !important
  visibility: hidden

=visually-hidden()
  border: 0
  padding: 0
  clip: rect(0 0 0 0)
  height: 1px
  width: 1px
  margin: -1px
  overflow: hidden
  position: absolute
  &.focusable
    &:active, &:focus
      clip: auto
      height: auto
      padding: 0
      margin: 0
      overflow: visible
      position: static
      width: auto

=clearfix()
  clear: both
  display: block
  *zoom: 1
  &:before, &:after
    content: "\0020"
    display: table
  &:after
    clear: both

=scale-img()
  max-width: 100%
  height: auto

=selection($background: #111, $color: #fff)
  ::-moz-selection
    background: $background
    color: $color

  ::selection
    background: $background
    color: $color

=pressed-effect($top: 1px, $left: false, $right: false)
  &:active
    position: relative
    top: $top

    @if $left
      left: $left
    @if $right
      right: $right

=vertical-gradient($top: #222, $bottom: #777)
  +background-image(linear-gradient($top, $bottom))
  +filter-gradient($top, $bottom)

=fake-helvetica($fonts: sans-serif)
  font-family: Arial, $fonts
  letter-spacing: -1px

=smart-text-shadow($color: #fff, $pixels: 1px)
  @if $color
    $c: $color
  @else
    $c: #fff

  @if $pixels
    $p: $pixels
  @else
    $p: 1px


  +text-shadow($c 0 $p 0)

$capucine-helpers-classes: true !default
@if $capucine-helpers-classes == true

  .unselectable
    +unselectable

  .cf
    +clearfix

  .scale
    +scale-img

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-capucine-0.2.0 stylesheets/compass-capucine/_helpers.sass
compass-capucine-0.2.0.rc1 stylesheets/compass-capucine/_helpers.sass