compass

Compass CSS framework - using Bootstrap with SASS

大城市里の小女人 提交于 2019-12-04 06:02:19
问题 I want to use Bootstrap with SASS, but I can't find any tutorials or explanation how one can use Bootstrap with SASS. The only thing I find is installatio trough a ruby gem: compass create my-new-project -r bootstrap-sass --using bootstrap Which creates the following tree in my folder: Is this enough for Bootstrap to use its own Grid, because I don't see the bootstrap.scss file, neither any Grid related files. However, I find the grid classes and all in a styles.css file. Isn't there a

The Future of Compass & ElasticSearch

大兔子大兔子 提交于 2019-12-03 14:14:14
Posted by: Shay Banon on 07/07/2010 Its been a long time since I blogged about Compass, and I guess its about time to discuss Compass , ElasticSearch , and how they relate to one another. I started Compass six years ago with a real belief that search is something that any application should have (and search here is not just full text search), and the aim was to have search integrated into a Java application as simple as possible. Compass has pioneered some really exciting features, including the ability to map your domain model to a search engine ( OSEM ), later also XML and JSON support, and

Can't compile rwd skin SCSS in Magento CE 1.9

元气小坏坏 提交于 2019-12-03 12:25:42
问题 I am attempting to create a Magento skin based off of the rwd skin provided in CE 1.9 / EE 1.14. However when I attempt to compile the SCSS (on a clean install, after deleting the files in /skin/frontend/rwd/default/css ), I get the following error: $ compass compile scss write css/madisonisland-ie8.css write css/madisonisland.css write css/scaffold-forms.css error scss/styles-ie8.scss (Line 541 of scss/core/_common.scss: Invalid CSS after "a:not(": expected ")", was "".button")") Sass:

compass watch compiles once, fails to notice further changes

我与影子孤独终老i 提交于 2019-12-03 12:04:42
I work with SASS + Compass on Windows 7. I recently upgraded SASS from 3.2.10 to 3.4.2 and Compass from 0.12.2 to 1.0.1. I did the upgrade by uninstalling the old versions and install the new versions using gem uninstall/install in the command prompt. Now when I make changes to an SCSS file after running compass watch, only the first set of changes is noticed and compiled. After that compass watch just looks like it's watching for changes but in reality no other changes after the first are noticed. I have to terminate (Ctrl+C) and rerun compass watch. Adding --poll to the command doesn't seem

Error: “compass:dist” Fatal error: spawn /usr/bin/compass ENOENT

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Guys, I'm generating build my application with the grunt, it uses the compass. I set some variables: export GEM_PATH =/usr/local/rvm/gems/ruby-2.1.2:/usr/local/rvm/gems/ruby-2.1.2@global export PATH=$PATH:/usr/local/rvm/gems/ruby-2.1.2/bin export PATH=$PATH:/usr/local/rvm/rubies/ruby-2.1.2/bin; export PATH=$PATH:$GEM_PATH; export PATH=$PATH:node_modules/grunt-cli/bin; and perform the build grunt. The following Fatal error is : 4mRunning "compass:dist" (compass) task[24m 31mFatal error: spawn /usr/bin/compass ENOENT[39m Could someone help me

unable to install compass

匿名 (未验证) 提交于 2019-12-03 08:36:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Last week I made an update in cygwin because of the bash "vulnerable problem". After that I couldn't compile sass anymore. I tried to reinstall ruby, after some install fails and reinstalling cygwin I installed it and updated with "gem update --system" it run, but when I tried to install compass I got following message: > /usr/ bin / ruby . exe - r ./ siteconf20141006 - 7856 - 1td7wzb . rb extconf . rb > checking for ffi . h ... *** extconf . rb failed *** Could not create > Makefile due to some reason , probably lack of necessary

How to make a customized compass view in android

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am working with a simple compass application. I need to set the compass view with the sensor activity for that i choose a compass view class. But it is only drawing a circle and a line for the compass view. I need to customize this view by replacing this circle and line with my own drawable images somebody please help me to fix this. My view class import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.View; public class MyCompassView extends View {

How to replace Glyphicons with FontAwesome in Bootstrap 3 without changing HTML?

我的梦境 提交于 2019-12-03 05:36:35
I'm using Bootstrap 3 in my project and I'm using FontAwesome icons library instead of bundled Glyphicons . The problem is that I have some third-party components that rely on Glyphicons and I don't want to change their HTML. I'm including font-awesome via Bower and SASS + Compass (SCSS). Is it possible to replace Glyphicons with FontAwesome without changing the HTML and applying another CSS classes? You can use the following approach to overload Glyphicon CSS classes with FontAwesome ones using SCSS: // Overloading "glyphicon" class with "fa". .glyphicon { @extend .fa; // Overloading

Can't compile rwd skin SCSS in Magento CE 1.9

你离开我真会死。 提交于 2019-12-03 03:43:13
I am attempting to create a Magento skin based off of the rwd skin provided in CE 1.9 / EE 1.14. However when I attempt to compile the SCSS (on a clean install, after deleting the files in /skin/frontend/rwd/default/css ), I get the following error: $ compass compile scss write css/madisonisland-ie8.css write css/madisonisland.css write css/scaffold-forms.css error scss/styles-ie8.scss (Line 541 of scss/core/_common.scss: Invalid CSS after "a:not(": expected ")", was "".button")") Sass::SyntaxError on line ["541"] of /var/www/development/magento-mirror/skin/frontend/rwd/default/scss/core/

zurb foundation - many duplicate css entries

匿名 (未验证) 提交于 2019-12-03 03:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 选择语言 中文(简体) 日语 英语 中文(繁体) 由 翻译 强力驱动 问题: I've been using zurb foundation for quite a while now. I'm using a bower + compass setup as described here http://foundation.zurb.com/docs/sass.html Today while working I noticed that a page was taking a while to load and while attempting to trouble shoot an issue I noticed that there are a many duplicate directives in the generated css file. I'm sure this is probably me doing something wrong, but I don't know where to start looking and I don't even know what information to provide that might help narrow