compass-sass

How to make cross browser gradient mixin in compass, with IE9, IE8, IE7 and Opera?

£可爱£侵袭症+ 提交于 2020-01-12 07:14:26
问题 I want to make mixin for all browser including IE9 IE9, IE8, IE7 and Opera. Like http://www.colorzilla.com/gradient-editor/ generate the code it generate background: #1e5799; /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI

How to make cross browser gradient mixin in compass, with IE9, IE8, IE7 and Opera?

≯℡__Kan透↙ 提交于 2020-01-12 07:14:05
问题 I want to make mixin for all browser including IE9 IE9, IE8, IE7 and Opera. Like http://www.colorzilla.com/gradient-editor/ generate the code it generate background: #1e5799; /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI

ERROR: While executing gem … (Zlib::GzipFile::Error) not in gzip format

倾然丶 夕夏残阳落幕 提交于 2020-01-09 10:45:29
问题 I am developing a Sencha touch 2 application. I have been following the "Styling the user interface of a Sencha Touch application" tutorial on theming of secha touch applications. It requires me to install Ruby, Compass and SASS. I installed Ruby using the installer from rubyinstaller.org. On executing the following command, I get the expected result which confirms correct installation: C:\>ruby -v ruby 1.9.3p327 (2012-11-10) [i386-mingw32] Current source is up to date: C:\>gem sources **

ERROR: While executing gem … (Zlib::GzipFile::Error) not in gzip format

对着背影说爱祢 提交于 2020-01-09 10:44:53
问题 I am developing a Sencha touch 2 application. I have been following the "Styling the user interface of a Sencha Touch application" tutorial on theming of secha touch applications. It requires me to install Ruby, Compass and SASS. I installed Ruby using the installer from rubyinstaller.org. On executing the following command, I get the expected result which confirms correct installation: C:\>ruby -v ruby 1.9.3p327 (2012-11-10) [i386-mingw32] Current source is up to date: C:\>gem sources **

How do you include a plugin in Compass (through Assetic) for Symfony2?

若如初见. 提交于 2020-01-07 00:57:46
问题 I have installed the compass-rgbapng plugin, but am struggling to to include the plugin for use in Symfony2. I need to add the require "rgbapng" to the compass config file, but I am unsure how to do this through Symfony2. Does anyone know how I can do this? 回答1: I think something like that in app/config/config.yml should helps: # Assetic Configuration assetic: filters: compass: plugins: - rgbapng 回答2: Assetic's compass filter looks for a parameter called assetic.filter.compass.plugins : So

Issues with upgrading gems

喜欢而已 提交于 2020-01-06 14:35:14
问题 i've started a project with compass 0.12 and sass 1 and susy 1.0.9.Now i want to resume it and i done an upgrade for gems.So i have now newers versions for compass (1.0.1), sass (3.4.0, 3.2.12) ans susy (2.1.3). So i found a fix to use old syntax for susy 1, @import "susyone"; but i still get errors for compass: (Line 280 of /var/lib/gems/1.9.1/gems/compass-core-1.0.1/stylesheets/compass/_support.scss: List index is 2 but list is only 1 item long for `nth') This nth is used for an additional

Compass gemfile syntax error on Ubuntu 12.10, Ruby 1.9.3

▼魔方 西西 提交于 2020-01-06 08:01:08
问题 Having run the standard procedure for installing the rvm, which also installs Ruby 1.9.3, then installing gems for rake, compass, sass, bundler and guard, then adding my gems/bin directory to my path I get the following message on running compass: /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/dsl.rb:35:in `rescue in eval_gemfile': Gemfile syntax error: (Bundler::GemfileError) gem "guard", "~> 1.0.1" ^ from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib

Compass gemfile syntax error on Ubuntu 12.10, Ruby 1.9.3

♀尐吖头ヾ 提交于 2020-01-06 08:01:06
问题 Having run the standard procedure for installing the rvm, which also installs Ruby 1.9.3, then installing gems for rake, compass, sass, bundler and guard, then adding my gems/bin directory to my path I get the following message on running compass: /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/dsl.rb:35:in `rescue in eval_gemfile': Gemfile syntax error: (Bundler::GemfileError) gem "guard", "~> 1.0.1" ^ from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib

How can we run Autoprefixer after “compass watch” using Gulp?

微笑、不失礼 提交于 2020-01-05 12:33:41
问题 I want to take advantage of running autoprefixer after compass watches for changes to my scss files and update the css file with the autoprefixed code, but I'm stuck. I created a gulp.task in gulpfile.js for compass and autoprefixer. When I run "gulp server" using the gulpfile.js below everything works but no autoprefixing; the scss files are run through compass and output as a css file and browserSync live-reloads the page in the browser. Any help would be greatly appreciated. 'use strict';

Grunt/Bundler wont use specified sass version

≡放荡痞女 提交于 2020-01-03 16:36:05
问题 We have a project with Grunt and Bundler setup. All of these installed without issue. Gemfile.lock generated, proper gems pulled down, and grunt files created with npm. We start our watch on the project and it bombs on sass compile because it's using the wrong version of sass and not the one specified in the gemfile. This is on windows by the way... Gemfile source 'https://rubygems.org' gem 'sass', '~> 3.2' gem 'compass', '~> 0.12' gem 'susy', '~> 1.0' Gemfile.lock GEM remote: https:/