Skip to main content

Questions tagged [sass]

Sass (Syntactically Awesome Style Sheets) is an extension of CSS adding features like nested rules, variables, mixins and class extensions. This enables developers to write structured, manageable and reusable CSS. Sass is compiled into standard CSS. It is primarily a CSS pre-processor language that accepts both the CSS and its personalised syntax of writing visual design codes.

0 votes
1 answer
604 views

How use Blueprint's form styles with password_field

I'd like to have my password_fields styled the same as the Blueprint framework's default style for input fields. What do I need to put in my .sass for this?
srboisvert's user avatar
  • 12.7k
2 votes
1 answer
3k views

Compass blueprint mixins undefined

I am trying to get compass/sass/haml working using blueprint but not having any luck with the blueprint mixins +column(24) just results in Sass syntax error undefined mixin column I'm sure I am ...
srboisvert's user avatar
  • 12.7k
3 votes
3 answers
1k views

SASS files management in Git version control system in Ruby on Rails

I'm using SASS files in Rails development. And I wonder if I should gitignore generated CSS files. The problem with adding CSS files in Git is that they are simply redundant. SASS files at public/...
TK.'s user avatar
  • 27.8k
0 votes
1 answer
2k views

Rails compass libraries

I have installed compass via rubygems doug:aggio davide$ sudo gem list compass * LOCAL GEMS * compass (0.10.0.pre2) compass-colors (0.3.1) * LOCAL GEMS * fancy-buttons (0.3.7) * LOCAL GEMS * ...
Davide Barison's user avatar
3 votes
3 answers
2k views

How can I override blueprint's styles?

Hi I'm using blueprint and for some reason I can't override some of their built-in styling (screen.css). So far I've tried: #asset-index-desc .container div li :border ...
James's user avatar
  • 5,343
7 votes
3 answers
4k views

possible to define an array in Sass?

wondering if it is possible to use an array with Sass as I find my self repeating the following sort of thing: .donkey h2 background-color= !donkey .giraffe h2 background-color= !giraffe ...
Dr. Frankenstein's user avatar
3 votes
3 answers
6k views

How do I enable SASS line numbers in CSS output?

How can I enable line numbers in CSS output if I am using SASS? I found an article but I didn't quite understand where to make the modifications http://pivotallabs.com/users/damon/blog/articles/765-...
hex's user avatar
  • 679
77 votes
12 answers
37k views

SASS implementation for Java? [closed]

I'm looking for SASS implementation in Java (could be used with JSP/JSF). For Python I've found CleverCSS, but there is nothing for Java. Anyone heard something about this sort of tool for generating ...
user213225's user avatar
1 vote
1 answer
518 views

Can I configure Compass to output the CSS on a different drive?

Let's say that I have a Compass project on D:\Compass (this is where I keep my sources) and I want to output my generated stylesheets on E:\CSS, is that possible in any way? I tried changing the --css-...
hex's user avatar
  • 679
3 votes
1 answer
2k views

SASS syntax highlighting does not work when bundle is installed along with HAML's in Textmate?

I've encountered this issue on two different machines and can't figure out what the cause is. SASS syntax highlighting works fine in TextMate when I install a SASS bundle like this. However, when I ...
Hakan Ensari's user avatar
  • 1,969
0 votes
1 answer
1k views

Help with Sass mixin & variables (var is being ignored)

I have the following mixin in a sass partial: =card-list width: 180px min-height: 150px display: -moz-inline-stack display: inline-block vertical-align: top margin: 5px zoom: 1 *...
zenw0lf's user avatar
  • 1,293
5 votes
2 answers
8k views

Changing the output directory of the resulting CSS file in Compass/Webby?

I want my resulting *.css file to land in the output/css directory instead of the stylesheets directory. How would I go about doing this? I've already tried: Compass.configuration do |config| ...
leeand00's user avatar
  • 26.1k
71 votes
4 answers
158k views

SASS and @font-face

I have the following CSS - how would I describe it in SASS? I've tried reverse compiling it with css2sass, and just keep getting errors.... is it my CSS (which works ;-) )? @font-face { font-family:...
Dycey's user avatar
  • 4,613
8 votes
1 answer
5k views

Variables declared inside an if statement results in "undefined variable"

I was hoping that defining variables in an if statement would work in Sass but unfortunately I get errors saying that the variable isn't defined. Here is what I tried: @for !i from 1 through 9 !...
DEfusion's user avatar
  • 5,553
40 votes
6 answers
28k views

Using Haml & Sass with Eclipse

Are there any plugins for eclipse that add syntax highlighting and other niceties for editing Haml and Sass? Google searches only seem to point to a dead project on lucky-dip.net. Note: it's Sass I'm ...
Sam Hasler's user avatar
  • 12.6k

15 30 50 per page