Questions tagged [compass]

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

720 questions
5
votes
1 answer

SASS Mixin Rewrite & (ampersand)

I'm trying to write a mixin that will modify the parent selector on output. The idea is that in cases where a mixin is called, the parent selector will need to have a string replacement done on it. I have most of this working, but I can't figure out…
cjbarth
  • 4,189
  • 6
  • 43
  • 62
5
votes
2 answers

Getting "undefined method `this' for # (NoMethodError)" when running "compass compile"

I’m using Rails 4.2.3. I’m trying to get this import to work in my “app/assets/stylesheets/profile.css.scss” file @import "compass/css3"; but I read that I have to install the compass gem and then compile things. So after installing the gem, I…
Dave
  • 15,639
  • 133
  • 442
  • 830
5
votes
1 answer

file to import not found or unreadable: util/util in my switch from foundation 5 to foundation 6

I used to use foundation 5 which uses compass to do the sass thing. but now i switch to foundation 6, I always cannot make it right. when running gulp,it show error: file to import not found or unreadable: util/util there is one answer i found…
5
votes
2 answers

SCSS mixin, how to concatenate units? (px,%,em)

I want to define classes like .bg-1 { width: 1% } .bg-2 { width: 2% } And I'm trying with this: @for $i from 1 through 100 { .bg-#{$i} { width: #{$i}; } } This at least compiles, but prints out .bg-1 { width: 1; } …
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
5
votes
2 answers

Google Maps Javascript - computeHeading and compass direction to calculate direction of facing

Using the computeHeading() function against my currentPosition and a destinationPosition i can get the angle returned (tis currently between -180 and +180). heading = google.maps.geometry.spherical.computeHeading( currentLocation, …
5
votes
1 answer

Codeship to run grunt with compass

I'm trying to setup continuous integration with codeship. Our project is a Rails API with an angular app which, for now, is in public directory. In order to work, grunt needs to find compass executable. I would say that setup commands should be: rvm…
Waiting for Dev...
  • 12,629
  • 5
  • 47
  • 57
5
votes
1 answer

compass not working with mithril yeoman generator

I am trying to run the Mithril yeoman generator unfortunately it falls over on grunt serve with the error Warning: Running "compass:server" (compass) task Warning: Couldn't find the compass binary. Make sure it's installed ... I can of course use…
svnm
  • 22,878
  • 21
  • 90
  • 105
5
votes
2 answers

"Cannot determine the opposite position of: to" error in Compass 0.12.7

Running Compass 0.12.7 (Alnilam) I'm running into this error several times repeated: Running "compass:dev" (compass) task Cannot determine the opposite position of: to Cannot determine the opposite position of: to Cannot determine the opposite…
superSlumbo
  • 101
  • 4
5
votes
2 answers

Keep @import at the end of CSS after SCSS compile

We need to put @import at the end of my CSS file. For example: SCSS: @import "reset.css"; Body { font: 0.8em arial; } @import "customation.css" compile to: @import "reset.css";body{font: 0.8em arial;}@import "customation.css" but after compile…
Amin Mousavi
  • 668
  • 1
  • 8
  • 17
5
votes
3 answers

Gulp Compass broke down after Sass update 3.4.6

When my gulp runs compass over my sass file I run into the following error: error src/scss/site/style.scss (/Library/Ruby/Gems/2.0.0/gems/sass-3.4.6/lib/sass/selector/abstract_sequence.rb:96:in `block in _specificity': undefined method `specificity'…
Dani
  • 2,448
  • 8
  • 27
  • 44
5
votes
2 answers

Error "Compass can't find any Sass files to compile." on compass create

I am getting the following error when running compass create my-theme -r bootstrap-sass --using bootstrap: $ compass create my-theme -r bootstrap-sass --using bootstrap directory my-theme/ create my-theme/config.rb Compass can't find any Sass…
GhitaB
  • 3,275
  • 3
  • 33
  • 62
5
votes
1 answer

Configure compass browser support (Compass 1.x syntax)

With 0.12.x version of Compass, I was defining support for oldies that way: @import "compass/support" $legacy-support-for-ie6: false; $legacy-support-for-ie7: true; $legacy-support-for-ie8: true; $legacy-support-for-mozilla: false; @if…
4
votes
1 answer

3D Physical Compass in Unity (Handling Rotation)

Looking for help towards Rotation in Unity, I have a hand held 3D Compass and I have the hand pointing 'north' which is an empty transform. I'm trying to lock the rotation of the hand so when the compass is tilted, the hand still accurately looks…
Calloom
  • 53
  • 3
4
votes
1 answer

Fedora 29 MongoDB Compass install Segmentation fault Core dump

I tried installing MongoDB Compass but got Segmentation fault core dump. Installed an earlier version which got me up and running. (1) wget https://downloads.mongodb.com/compass/mongodb-compass-1.14.1.x86_64.rpm (2) sudo dnf install…
hreinn
  • 185
  • 5
  • 10
4
votes
0 answers

Access Privacy > Location Services > System Services > Compass Calibration from app

ARKit has a big problem in that if "Compass Calibration" is disabled in user settings, GravityAndHeading breaks, and there's no way to guide a user to turning it back on. Further, it seems that for whatever reason, iPhone X's running iOS 12 have…
Aidan Wolf
  • 131
  • 4