Questions tagged [compass]

Compass is a charityware authoring framework. It uses the SASS stylesheet language to create clean and reusable CSS3 code.

720 questions
2
votes
2 answers

locationManagerShouldDisplayHeadingCalibration not called

I have a simple iOS app which uses the heading. However as the accuracy is very bad (10 to 25 degrees), I implemented the locationManagerShouldDisplayHeadingCalibration function. However it never gets called. Here is my code: ... locmanager…
Laurent Crivello
  • 3,809
  • 6
  • 45
  • 89
2
votes
0 answers

sprite-url() returns incorrect path

I am using compass with gulp. I am generating sprites and have the following mixin: $sprite-icons: sprite-map("sprite-icons/*.png"); $sprite-icons-url: sprite-url($sprite-icons); @mixin sprite-icon($name) { background-image: $sprite-icons-url; …
Naor
  • 23,465
  • 48
  • 152
  • 268
2
votes
1 answer

What is $experimental-support-for-svg in sass and why is it needed?

I've just upgraded SASS and Compass to fix a problem where the CSS wasn't compiling. All I did was: gem uninstall sass gem install sass --no-ri --no-rdoc gem install compass After doing that and executing grunt, the CSS now compiles but with the…
Nadine
  • 777
  • 1
  • 11
  • 24
2
votes
1 answer

Error on installing compass on terminal: Connection refused - Connection refused

I was trying to install compass on my OS X terminal using the following command: sudo gem install compass but an error prompt: ERROR: Could not find a valid gem 'compass' (>= 0), here is why: Unable to download data from…
vishnu
  • 730
  • 2
  • 6
  • 26
2
votes
1 answer

gem install compass won't work

When I try to install compass using sudo gem install compass it show me this : Building native extensions. This could take a while... ERROR: Error installing compass: ERROR: Failed to build gem native extension. …
Alcalt
  • 73
  • 3
  • 9
2
votes
1 answer

simple Compass using Magnetometer - Android (Java)

I am using Sensortag CC2541 (connected to Nexus phone) I am using the Magnetometer of this sensor to make a simple compass. I am using the following equations to find North, South, West, and East. Direction (y>0) = 90 -…
Matt
  • 974
  • 1
  • 13
  • 31
2
votes
2 answers

gem install encoding error

I recently install ruby in my computer and when I tried to install sass or compass I encountered this error. Home@HOME-PC ~ $ gem -v 2.2.2 Home@HOME-PC ~ $ gem install compass ERROR: While executing gem ...…
Amit Choukroun
  • 505
  • 5
  • 14
2
votes
2 answers

Sass 3.4 Removing forward slash on a string

is theres a workaround or any other ways to make this work on Sass 3.4 + @mixin icon ($name, $code) { .#{$name}::before { content: str-slice("\x",1,1) + $code;} } @include icon('test', 4556); Code should output .test::before { content: "\4556";…
2
votes
0 answers

Using Compass results in 404 Error

After I used SASS library Compass in my website project, the browser console starts to log 404 Error like this GET http://localhost:63342/Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.1/stylesheets/compass/css3/_animation.scss 404 (Not Found)…
F.S.
  • 21
  • 1
2
votes
1 answer

Compass: Exporting Sprites Positions as Percentages

When using compass' sprite generator, the generator creates CSS rules based on pixels. Example code: @import 'compass/utilities/sprites'; $sprite-2-layout: horizontal; @import "sections/anatomy-sprite-test/sprite-2/*.png"; @include…
Jorge Silva
  • 4,574
  • 1
  • 23
  • 42
2
votes
1 answer

Compass PATH Needs Correcting

I'm trying to play around with Yeoman and I'm trying to use Compass in my scaffold, but the Terminal keeps on throwing up this error when I run grunt. Warning: Couldn't find the `compass` binary. Make sure it's installed and in your $PATH Use…
realph
  • 4,481
  • 13
  • 49
  • 104
1
vote
1 answer

Magnetometer Heading Calculation?

I am using MPU9250 from adafruit (https://learn.adafruit.com/adafruit-tdk-invensense-icm-20948-9-dof-imu) This sensor is outputting raw data of magnetometer. I was able to calibrate data from to where I get calibration number by x offset =…
Park Bo
  • 53
  • 7
1
vote
0 answers

How to Animate Compass in Flutter

I am building a Qibla Finder in flutter, and for that I used this package. I have succeeded to built successfully, but when I change my position, qiblah position also changes abruptly, what I want is slow and animated change. And I am having…
1
vote
0 answers

Android RotateAnimation: rotate compass smoothly

i have a custom compass with 3 image Views first compass direction always to north second always on direction i specify 3 proven, so i want it to rotate smoothly but when i close from reach 0 or 360 degree its like wrap round like it restart or…
1
vote
1 answer

How to Fix NoMethodError Issue with Ruby Compass (1.0.0 and 1.0.3)

I have a Fedora 38 (6.1.29-1) server with Ruby and the Compass gem installed. When I try to execute compass -h or perform any compass compiling, I get a NoMethodError (on different lines of different .rb files, but errors nonetheless). I've looked…
CCIB_8899
  • 15
  • 3