Compass is a charityware authoring framework. It uses the SASS stylesheet language to create clean and reusable CSS3 code.
Questions tagged [compass]
720 questions
11
votes
3 answers
Installing 'Compass' via the command line receive error "extconf failed, exit code 1"
Couldn't find an answer to this.
Running OS X Yosemite Beta v2
When following compass install guide ensure that your gem is up-to-date
gem update --system
Then run
gem install compass

Andrew M
- 1,083
- 2
- 12
- 15
10
votes
1 answer
change report sample size on MongoDB Compass
I am wondering if there is a way when watching your DB collection with compass and you try to see it as Schema to change the report sample size because my current documents are let's say 5000, and the report is based on 1000.
It would be useful for…

Yordan Kanchelov
- 511
- 9
- 26
10
votes
1 answer
How do I create a reliable compass for iOS and Android in Javascript?
I'm trying to create a reliable compass in Javascript/JQuery (using deviceorientation) so that it works on iOS and Android mobile devices.
I know nearly every (very old) question/answer here in Stackoverflow about this topic. I have created a pretty…

Jonny
- 816
- 10
- 24
10
votes
2 answers
How do I convert raw xyz Magnetometer data to a heading?
I'm using an embedded device with a simple 3-axis Magnetometer on it. I have it currently displaying the X Y Z values in micro Teslas but how do I convert these into a compass heading? I have tried looking it up on Google but everything I find seems…

Cypher236
- 527
- 1
- 4
- 13
10
votes
3 answers
Can't compile rwd skin SCSS in Magento CE 1.9
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…

Tom Griffin
- 435
- 4
- 9
10
votes
6 answers
compass watch compiles once, fails to notice further changes
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…

Yaniv Wainer
- 402
- 1
- 3
- 12
9
votes
2 answers
Deprecation warning on ruby with compass
When I try to run "bundle exec compass watch" as usual on a project, I now have this warning :
DEPRECATION WARNING on line 87 of…

Hedy
- 143
- 1
- 7
9
votes
1 answer
Are there any good alternatives to the Compass sprite generator? (Rails sprite generators)
I was wondering if there are any libraries out there that do what the Compass sprite generator does? I absolutely love that feature of Compass, but I don't want the rest of the framework. I just want something that creates a sprite with a folder…

Ringo
- 5,097
- 3
- 31
- 46
9
votes
1 answer
Android compass accuracy - when to calibrate?
I develop an application which provides some augmented reality features using compass. I found out that sometimes I need to calibrate my compass to make it work well.
How do I know (programatically) that calibration is needed?
I mean I know how to…

Berťák
- 7,143
- 2
- 29
- 38
9
votes
1 answer
Make Compass stop checking/compiling sprites
Is there any way to configure Compass such that it does not recompile or check my sprites on each change of a non-sprite file?
I am trying to make edits to the file lists.scss but I have to wait for compass to check (I believe its checking, maybe…

Paul
- 1,192
- 1
- 11
- 23
9
votes
3 answers
File to import not found or unreadable: compass/css3/animation
I need to use animation wih compass, so I try to use like said in doc: http://compass-style.org/reference/compass/css3/animation/
I put at top of my file:
@import "compass/css3/animation";
but I have error:
File to import not found or unreadable:…

Matrix
- 3,458
- 6
- 40
- 76
8
votes
1 answer
Absolute device orientation
I'm trying to read absolute DeviceOrientation event values to create HTML5 compass Mobile Web App.
If I'm using this code, I can get alpha, beta and gamma values without a problem:
window.addEventListener('deviceorientation', function(event) {
…

Coelacanth
- 597
- 1
- 5
- 18
8
votes
7 answers
Sass watch is detecting changes but not compiling to css
When I run sass --watch app.sass:app.css terminal shows that changes have been detected to sass but won't compile to css. I am using Bourbon so all my .scss and .sass files are imported via mixins.
ex.
>>> Sass is watching for changes. Press Ctrl-C…

tonyynot
- 221
- 1
- 2
- 10
8
votes
7 answers
gem install cannot download from rubygems.org
When I type
gem install sass
I get the following error message
C:>gem install compass
ERROR: Could not find a valid gem 'compass' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1…

user3567761
- 145
- 1
- 2
- 9
8
votes
2 answers
@include font-face SCSS issue
While trying to have my SCSS import some fonts I encountered the following:
I exactly copied the docs from the compass website, but when the CSS is being compiled Compass adds random numbers behind my src URLs. The SCSS code I wrote and the…

Arnold Oosterom
- 127
- 1
- 1
- 8