Sha256: f0e99c15738e8cc4cc769599a60f6b6fa9ed6c12b68418e866d6ab8d167fb6d9

Contents?: true

Size: 863 Bytes

Versions: 67

Compression:

Stored size: 863 Bytes

Contents

old-display = display

display(type)
  if type is inline-block
    display -moz-inline-stack
    display inline-block
    vertical-align middle
    *vertical-align auto
    zoom: 1
    *display inline
  else
    old-display(type)



// Genericar mais:
//  - suporte a fallback automatico
//  - suporte a propriedades sem sufixo -color
transparent-fallback(property, color, fallback = null)
  if color is a "color"
    acolor = rgb(color)
    {property} fallback || acolor
    if acolor != color
      {property} color
  else
    {property} color

background-color(color, fallback = null)
  transparent-fallback(background-color, color, fallback)

border-color(color, fallback = null)
  if color is a 'array'
    {property} color
  else
    transparent-fallback(border-color, color, fallback)

color(c, fallback = null)
  transparent-fallback(color, c, fallback)

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
ende-0.5.22 lib/assets/stylesheets/helpers/general.styl
ende-0.5.21 lib/assets/stylesheets/helpers/general.styl
ende-0.5.20 lib/assets/stylesheets/helpers/general.styl
ende-0.5.19 lib/assets/stylesheets/helpers/general.styl
ende-0.5.18 lib/assets/stylesheets/helpers/general.styl
ende-0.5.17 lib/assets/stylesheets/helpers/general.styl
ende-0.5.16 lib/assets/stylesheets/helpers/general.styl
ende-0.5.15 lib/assets/stylesheets/helpers/general.styl
ende-0.5.14 lib/assets/stylesheets/helpers/general.styl
ende-0.5.13 lib/assets/stylesheets/helpers/general.styl
ende-0.5.12 lib/assets/stylesheets/helpers/general.styl
ende-0.5.10 lib/assets/stylesheets/helpers/general.styl
ende-0.5.9 lib/assets/stylesheets/helpers/general.styl
ende-0.5.8 lib/assets/stylesheets/helpers/general.styl
ende-0.5.7 lib/assets/stylesheets/helpers/general.styl
ende-0.5.6 lib/assets/stylesheets/helpers/general.styl
ende-0.4.25 lib/assets/stylesheets/helpers/general.styl
ende-0.5.5 lib/assets/stylesheets/helpers/general.styl
ende-0.5.4 lib/assets/stylesheets/helpers/general.styl
ende-0.5.3 lib/assets/stylesheets/helpers/general.styl