The focus on this release is to get the compass stylesheet libraries and docs as close to final for 1.0 as possible.
- Upgrade to Blueprint 1.0
- DONE Upgrade stylesheets
from django.contrib.staticfiles.storage import AppStaticStorage | |
from django.contrib.staticfiles.finders import AppDirectoriesFinder | |
class LegacyAppMediaStorage(AppStaticStorage): | |
source_dir = 'media' | |
class LegacyAppDirectoriesFinder(AppDirectoriesFinder): | |
storage_class = LegacyAppMediaStorage | |
require "rubygems" | |
require "chunky_png" | |
require "base64" | |
module Sass::Script::Functions | |
def background_noise(c, noise = 0.5, opacity = 0.08, size = 200, mono = false) | |
# Convert SASS numbers to Ruby classes | |
noise = noise.to_s.to_f if noise.is_a? Sass::Script::Number |
@mixin rgba-background($color, $opacity) { | |
background-color: $color; | |
background-color: rgba($color, $opacity); | |
background-color: transparent\9; | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))},endColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))}); | |
zoom: 1; | |
} |