compass-sass

Is there any way to “unextend” a class in SASS?

我怕爱的太早我们不能终老 提交于 2019-12-29 08:32:38
问题 Right now I have a class that I'm @extend -ing to all button elements. However, I would like to not extend it to one single button and would prefer not to resort to changing the HTML to make it a link. Is there any way to remove the @extend for a particular rule in SASS? 回答1: No. Your options are: Don't style all buttons (use classes or more specific selectors to avoid your unique element) Override the styles of the unique element (depending on the styles used, it can be very difficult to

Sass --compass --watch Error: Cannot load compass

蹲街弑〆低调 提交于 2019-12-29 07:32:33
问题 I am working with sass and compass and trying to use the new sourcemap feature as Chrome 27 requires the new method of sourcemap to show the actual sass files and line numbers in the chrome console panel. I am able to run the following sass command sass --sourcemap --watch style.scss:style.css however if I append the --compass argument like the following sass --compass --sourcemap --watch style.scss:style.css I get the following error in the windows cmd panel: "ERROR: Cannot load compass". I

Using Compass from Ruby (not shell)

六月ゝ 毕业季﹏ 提交于 2019-12-29 05:23:32
问题 I am building a script in Ruby where I would like to compile a single SCSS file using Compass. I am trying to make this as simple as possible, and would like to avoid using a config.rb file. I just want to set a couple settings via straight Ruby and tell Compass to compile a single SCSS file into a CSS file. I know that this has to be possible but I have not been able to find any decent documentation on how to do it. Any help would be appreciated. 回答1: You're right, there's not really any

How to add Compass syntax support to Jetbrains PhpStorm?

人盡茶涼 提交于 2019-12-29 03:29:04
问题 I'm using JetBrains PhpStorm, which is probably the most epic IDE I've ever used. The question is simple. How do I add Compass syntax support to it? I've got it installed, it renders and works, but PhpStorm still complains about undefined imports and mixins. How can I resolve this? Can Compass be included as an external library? Edit : I'd just like to note that this feature request is for the RubyMine IDE (also by JetBrains), it's not for PhpStorm/WebStorm. 回答1: It's explanation of Martin's

File to import not found or unreadable: compass

大城市里の小女人 提交于 2019-12-28 05:16:10
问题 I successfully installed Sass, but I'm having trouble importing Compass. The following is the error detail: *Syntax error: File to import not found or unreadable: compass. Load path: H:/HTML/___keoFull/sass ..... Backtrace: mainKeo.scss:2 style.scss:2 C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.6/lib/sass/tree/import_node.rb:67:in `rescue in import' C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.6/lib/sass/tree/import_node.rb:45:in `import' C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.6/lib

PhpStorm 9 and Compass: invalid option --no-cache

怎甘沉沦 提交于 2019-12-25 10:01:29
问题 I have updated my system PATH variable to include C:/Ruby193/bin/ I have checked Enable Compass Support in the settings I have set Compass executable file to C:\Ruby193\bin\compass I have set Config path to my project's config.rb file. When I save a change in any .scss files, Compass tries to run, and I get this: cmd.exe /D /C call C:/Ruby193/bin/compass.bat --no-cache --update example.scss:example.css Error: invalid option: --no-cache Process finished with exit code 1 I'm not sure where --no

Unable to open Compass after OS X El Capitan (10.11) update

萝らか妹 提交于 2019-12-25 09:20:46
问题 I updated to OS X El Capitan (10.11) and now my grunt script is not working. When I run compass like: compass version I get: Michaels-MacBook-Pro:wnmu thegreyspot$ compass version /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:212:in `initialize': Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-15/2.0.0/nokogiri-1.6.6.2/gem_make.out (Errno::EACCES) from /Library/Ruby/Site/2.0.0/rubygems/ext/builder.rb:212:in `open' from /Library/Ruby/Site/2.0.0/rubygems/ext/builder

Keeping Sass Folder Structure with Gulp/Compass

给你一囗甜甜゛ 提交于 2019-12-25 05:24:14
问题 I'm reorganizing my app structuring to accommodate learning Angular and modularizing the features. i.e. keeping the angular js, html, and css for each feature together. Up until now I simply had a sass folder full of scss files that got compiled into a single css file in a css folder. The gulp file was simple: gulp.task('styles', function () { gulp.src('_components/sass/*.scss') .pipe(compass({ config_file: 'config.rb', css: 'app/css', sass: '_components/sass' })) .on('error', errorLog) .pipe

Use “Less” or something similar to generate a Qt Stylesheets

女生的网名这么多〃 提交于 2019-12-25 04:36:20
问题 I'm creating a stylesheet for my Qt application to customize the look and feel. I'd love to take advantage of a CSS generator like LESS or Compass, so I can at least use variables for color and perhaps take advantage of some of the other cool features they offer. My concern is that Qt does not use the W3C standard for stylesheet, they utilize a subset of the syntax with a few extra options. Is this even possible? Are Less and Compass able to generate valid Qt stylesheets? 回答1: Qt's CSS has a

Compass sprite images across multiple style sheets

安稳与你 提交于 2019-12-25 02:26:26
问题 Is there a way to get compass to generate a sprite sheet from images across different style sheets? The tutorial talks about generating sprites from a bunch of images in the folder and then using it in 1 style sheet. But to me, it seems counter intuitive to have to use the following in all my stylesheets that uses the sprite sheet: @import "icon/*.png"; @include all-icon-sprites; I would prefer to have different images set for each sprite sheet, and then some how mark them for sprite