I need to change all the CSS into SASS... and find that
margin:10px
working in CSS and failing in SASS somewhat disturbing...
It is easy to miss one and you don't what you are missing (what is not working in the final CSS but you don't know)
Pretty much I am grep for /:\S/ (colon by followed by a non-whitespace) to see if there are ...
I am still using the old colon syntax (I prefer it more than the
bracket syntax) and this particular code:
a.button-link
+box($main-color)
+border-radius(5px)
:background
:color $main-color
:color #fff
:padding 5px
generates a warning like so:
DEPRECATION WARNING:
On line 12, character 3 of '/Users/eumir/rail...
I'm trying to figure out how I could bundle a package, written in Ruby (Sass) into a Cocoa application (Objective-C, not Ruby Cocoa) for me to execute (via NSTask is fine, unless there is an easy way to bridge ObjC<->Cocoa that I'm not aware of).
The Sass package is something you have to install, using "gem install" or "rake install" --...
I never used ruby before, I just wanted to play around with HAML and SASS. I downloaded and installed Ruby's Windows installer (v1.9.1). Then, I clicked ruby.exe (the icon with a black window and a multicolored gem in the picture). Finally, I typed gem install haml and pressed Enter. But nothing happened. Am I doing something wrong?
Ref...
I just downloaded a Vim plugin for Sass syntax highlight.
The instructions say:
install details put it into syntax
directory and add sass filetype
au! BufRead,BufNewFile *.sass
setfiletype sass
in your filetype.vim
I already placed sass.vim in vimfiles/syntax/ (using windows).
And created a filetype.vim file with ...
I've been using compass from http://compass-style.org/ to manage my sites css for a long time. I just installed the newest version and I get a rather unpleasant error, that has as a side effect corrupted all my css files. How do I downgrade to an older version of this?
Thanks,
Matt
...
"Watching a file" helps me to automatically update the changes I make in the sass file to the css output.
To watch a Sass file is very simple:
sass --watch input.sass:output.css
but for a Haml file I can't find a similar command
Any suggestions?
...
In the official webpage they say:
Although no longer the primary syntax,
the indented syntax will continue to
be supported.
Doe anybody know why SCSS "partially took over" SASS?
...
meder@dunross:~$ sudo gem install haml
Successfully installed haml-3.0.12
1 gem installed
Installing ri documentation for haml-3.0.12...
Installing RDoc documentation for haml-3.0.12...
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
Could not find main page README.rdoc
meder...
I'd like to be able to update/save both my html and css on-the-fly, but I can't figure out how to watch both HAML and SASS at the same time.
Thanks!
...
This is a theoretical question as much as a practical one. I just can't wrap my head around how all these technologies mesh...
I have heard various things including:
"HAML and SASS are included in Merb"
"SASS is part of HAML"
"HAML works in Merb, but to use SASS you need to add the 'merb-haml' dependency"(?)
"You need Compass to run ...
I'm working on a Python-based project. I want to use some CSS preprocessor language which is based on CSS like LESS or Sass (SCSS), but which one should I use when doing a non-Ruby project?
Sass seem to have a more features, but it is also tightly integrated with Haml package (and rails?).
Are those features worth it?
Are both mature...
I keep getting an error like this:
Sass::SyntaxError: Properties aren't allowed at the root of a
document.
on line 2 of /Users/eumir/rails_apps/neo2/public/stylesheets/sass/
main.sass
main.sass's line 2 starts with
@import mixins
I have a _mixins.sass which has a variable declaration on line 2:
$alt_site_color: #060
$main_s...
#foo {
color:black; }
Is there some sort of option to prefix a newline before the trailing } when a .css file is generated from .sass?
I would appreciate it if someone included an example of combining sass --watch style.scss:style.css, which is what I'm using, along with this newline requirement.
...
I want to convert CSS to SCSS that looks like this:
.top {
margin-top: 1em;
margin-bottom: 1em;
nav {
background: #333;
}
ul {
padding: 0;
display: table-row;
}
li {
display: table-cell;
}
}
Instead, I am getting this:
.top {
margin-top: 1em;
margin-bottom: 1em;
nav {
background: #333; }
ul...
I am using SASS and it has been working, but now I get this...
Syntax error on line 1: Properties aren't allowed at the root of a document.
My file is using variables in the SASS format.
$blue-muted: #222244
$red-muted: #442222
$green-muted: #224422
When I remove the variables (and replace the values with the actual colors), it com...
SASS is not creating the CSS files, but HAML is working just fine.
I ran the following command:
$: sass --watch scss:stylesheets
[true, ["scss", "stylesheets"]]
My main.scss file contains the following:
/* main.scss */
body {
background: #000000;
}
The main.css file never gets generated. So I ran the following:
$: sass --upd...
I'm trying to make a button mixin like this:
=default_button(!lighter, !darker)
:border= 1px !lighter solid
:background-color #e3e3e3
:background= -webkit-gradient(linear, 0 0, 0 100%, from(!lighter), to(!darker)) repeat-x, #d0581e
:background= -moz-linear-gradient(90deg, !darker, !lighter) repeat-x scroll 0 0 #d0581e
:filter...
It doesn't seem to be any HAML and SASS support in Netbeans 6.9.
Is there a way to add this support?
Thanks
...
I am using csscaffold 2.0.7 ("http://github.com/sunny/csscaffold") trying to get this code to work:
@constants {
path: "/images/sprite.png";
}
.my-div{
background: #000 url($path) no-repeat 0px -100px;
}
Trying to make that code work, its outputting:
Missing image - \\css\/images/sprite.png
Directory:
-scaffold
-css
-images
...