compass-sass

Installing gems on node heroku projects

巧了我就是萌 提交于 2019-12-23 09:55:35
问题 I'm writing a node app on heroku, and the app requires a gem, compass to be installed, for node-compass. However, I can't seem to work out how you install gems in a node application on heroku. I have a Gemfile, which looks like so. source "https://rubygems.org" gem 'compass' Have you managed to do this successfully before? 回答1: According to an official reply from Heroku for this question: You would need to use the heroku multi buildpack in order to have both the Ruby buildpack and the Node

Can I calculate and use element height with SASS \ Compass

谁说我不能喝 提交于 2019-12-23 07:38:32
问题 I use sass and compass in my RoR project. I need to assign to the top CSS property of an element the value, which is element height divide by -2. Can I do it with SASS \ Compass? 回答1: You seem to have got the XY problem. You have a task to solve, and instead of asking us about the task, you ask about a solution that you tried and already found inappropriate. Why do you want to apply the top property equal to half of element's height and negated? Because you want to move an absolutely

Compass plugins to work with GRUNT

有些话、适合烂在心里 提交于 2019-12-23 06:12:54
问题 Using terminal to compile my sass/compass works perfectly, Ive used it for a few projects now and have started using compass plugins within these projects. However I also need to start automating my projects using GRUNT but I havent been able to get compass plugins to work with the GRUNT sass plugin "grunt-contrib-sass".. I dont have to use this plugin its just the first I found - does anyone know how to get this to work or suggest another plugin? All help is very much appreciated.. • I want

ruby on rails 3.1 web design

孤者浪人 提交于 2019-12-22 18:09:36
问题 May I ask you how to make rails web design more efficient? Is compass plus blueprint the perfect match? Is the current version of compass support rails3.1 Are there any other frameworks that will make rails web deign easier? Thanks 回答1: Definitely a framework like compass is awesome, it includes a lot of helpers, and provides a good solid base. For form-styling I would recommend using a gem like [formtastic][1], which not only greatly simplifies making forms, but also provides a standard css

Grunt compass task not compatible with this directory structure?

主宰稳场 提交于 2019-12-22 12:48:29
问题 I have the following directory structure (only showing the relevant bits for illustration purposes): proj \ \ Gruntfile.js \ package.json \ test \ (all my tests are in this folder structure) \ app \ \ index.html \ scripts \ (all my scripts are in here) \ views \ (all views are in here) \ styles \ \ style.css \ oldie.css \ print.css \ images \ \ hires \ (all high resolution images are here) \ lowres \ (all low resolution images are here) The compass section of my Gruntfile.js file looks like

How to use sass --precision?

余生长醉 提交于 2019-12-22 08:39:03
问题 I am trying to use sass + compass to make a fluid grid and I need my %'s to have at least 8 digits when compute them out but right now sass + compass is rounding my decimals to 3-digits. I found that if use --precision you can tell sass to round to how ever many digits you want, my issue is that i can seem to figure out how to get --precision to work from the terminal on my project. Please help 回答1: According to this answer, configuring @precision in SASS's numbers.rb will achieve this result

Sencha touch 2.4.0 SASS compile error

人盡茶涼 提交于 2019-12-22 08:09:19
问题 Environment: Mac OSX Mavericks 10.9.4 Compass 1.0.1 (Polaris) Compass-blueprint (1.0.0) Sass 3.4.5 (Selective Steve) sencha app build testing command no error When I compile app.scss file in the ./resources/sass/ directory, an error happened. compass compile app.scss error app.scss (Line 209 of /Users/icese7en/Sites/Demos/Sencha/Practice/WeatherApp/touch/resources/themes/stylesheets/sencha-touch/base/src/_Class.scss: File not found or cannot be read: /Users/icese7en/Sites/Demos/Sencha

Compass/SASS - not all files are compiled

限于喜欢 提交于 2019-12-22 07:25:23
问题 I don't know if I can explain the issue without pasting the whole code of all files but I'll try. EDIT I've added the whole code to Github Account - My Sass structure I use Windows 8.1 and Compass 0.12.6 In my public_html folder I have config.rb file and stylesheets folder. In stylesheets folder I have directory sass where I keep all sass files. CSS files are generated into stylesheets/preview folder (for development purposes) and into stylesheets folder (for production purposes). I run

Problems when creating Compass project (EACCES on line [“891”])

烈酒焚心 提交于 2019-12-22 03:35:09
问题 I am having problems when creating a new compass project (Windows 7). I get this: C:\>compass create a create config.rb Errno::EACCES on line ["891"] of C: Permission denied - (C:/a/config.rb20140321-6828-1g0ytlc, C:/a/config.rb) Run with --trace to see the full backtrace I have tried to start cmd with "Run as administrator", I have tried to delete compass, sass and ruby, and reinstalled without any luck. Anyone else having problems or know a solution to this irritating problem? 回答1: I was

Creating a Data URI's from SCSS

爱⌒轻易说出口 提交于 2019-12-22 01:19:09
问题 I am trying to get a SVG to process into a DATA URI, It would make my code a lot easier to maintain, rather than reams of code. $white:rgb(255,255,255); background:$white inline_image("/images/select-arrows.svg") no-repeat 92% center; This is what I have to far, I am using modernizr for fallback however I am manually using an online converter, I am running scss with compass installed. These are being complied by codekit 2. Compass Config: require 'compass/import-once/activate' http_path = "/"