Compass is a charityware authoring framework. It uses the SASS stylesheet language to create clean and reusable CSS3 code.
Questions tagged [compass]
720 questions
-1
votes
1 answer
how can I integrate sails.js with compass?
first excuse my English, I would like to have all the compilation power of compass in sails, compass is able to watch many directories and compile the files that doesn't begin with _, and it creates he same directory structure for the compiled…

Julio Gonzalez
- 3
- 2
-1
votes
1 answer
How to select only first two children of a parent in a mixin with nth-child?, not every first and second
How to select only first two children of a parent (not every first and every second child). In a .scss mixin using nth:child selector?
Here is my code and it doesn't work because it selects every second div. But I need to select only col_l as a…

Green
- 28,742
- 61
- 158
- 247
-1
votes
1 answer
scss & compass - keeps ordering?
Is compiled scss using compass keeping the order of declarations?
Is compass (because I guess it's the way compass works that decides that) guaranteeing the order of properties?
Of course it matters only for cases where 2 or more definitions have…

lajarre
- 4,910
- 6
- 42
- 69
-1
votes
3 answers
How to add CSS styles to element via other CSS
I have a certain question about applying styles to an element through another CSS class. To be more specific, lets have a look at following. I have div:
with some styles:
.main {
background: red;
display: inline;
/*…

supersize
- 13,764
- 18
- 74
- 133
-1
votes
1 answer
How to use magneticHeading in Swift?
I'm trying to make a simple by feet navigator, using a arrow image, rotating to indicate the direction to follow with a constant refresh.
Using magneticHeading i found error unexpectedly found nil while unwrapping an Optional value, maybe i forgot…

Antonio Viscomi
- 227
- 2
- 5
- 15
-1
votes
1 answer
Broken zen-grids with external compass and codekit
I'm using drupal and Zen grids with compass. Till the last week all works fantastic. I'm using Codekit with an external gem compass in my native OS ruby install since my rvm doesn't work.
So I upgrade my Codekitt app to the version 2.1.5 and now…

Russo
- 301
- 3
- 12
-1
votes
1 answer
Error when compiling with compass , File to import not found or unreadable
When I run compass compile I get:
error sass/styles.scss (Line 39 of sass/wh-base/_imports.scss: File to import not found or unreadable: components/productNavigation.
Load paths:
Compass::SpriteImporter
/var/www/web/styles/sass
…

Javier Cobos
- 1,172
- 10
- 22
-1
votes
1 answer
How to specify line_comments in compass compile?
I am using Eclipse IDE and I use compass to compile my .scss file. For this I have created a builder which I manually trigger whenever required. But each time I run this builder it adds lots of comments in generated .css file. I see we can use…

Rakesh Juyal
- 35,919
- 68
- 173
- 214
-2
votes
1 answer
Identify Geometric Constructions
I'm looking for some methodology/algorithm to identify geometry constructions doing with compass and straightedge.
In more sophisticated tools, constructing a perpendicular bisector, could be done with a specific tool.
In my case I will get a…

bswije
- 1
- 2
-2
votes
1 answer
Get compass direction in c
I calculated the distance between two coordinates and the angle between them using harvesine formula, I want to get the direction of the compass but Im having problems, I found this code to get direction but i cant get the index.
Please help fixing…

dragon200
- 3
- 1
-2
votes
1 answer
How would I refactor this bit of code into sass?
#table_1
tr:nth-child(odd) td:nth-child(even),
#table_1
tr:nth-child(even) td:nth-child(odd)
background: #ccc
background: -moz-linear-gradient(top, #ccc, #eee)
background: -webkit-gradient(linear,0 0, 0 100%, from(#ccc), to(#eee))
box-shadow:…

Edward K.
- 173
- 1
- 2
- 8
-2
votes
1 answer
What is the difference between _dir and _path and http_ options in Compass Configuration Properties?
The description of Configuration Properties of Compass is very vague and ambiguous (http://compass-style.org/help/documentation/configuration-reference/). Absolutely not clear and no any additional explanation or examples. Here they are:
What is the…

Green
- 28,742
- 61
- 158
- 247
-3
votes
1 answer
Why i cant run npm in ruby console, but in node console works good?
i need to run npm in ruby console to run grunt with compass, but when i typing npm in ruby console says "npm is not a command" but when i typing in node console works good. some help? thanks!

Mateo Guizado
- 15
- 2
-3
votes
1 answer
Sass and Compass
I started working with compass today. I have created a project using sass (that's atleast what I entered in the cmd).
It made my project, all good. All files are good etc, made them .sass extensions.
File Structure: http://prntscr.com/9m2i7s
But now…

peer
- 1,001
- 4
- 13
- 29
-5
votes
1 answer
CSS3 animation delay using nth-child - Sass/Compass
I'm looking to animate some panels without any JS. The effect I want to create is similar to this: http://www.sequence.co.uk/case-studies/
I've got the animation about right and I can see in fire-bug that each li has its own delay using nth-child…

vibesniper
- 100
- 1
- 6