If any of you are on Linux and using Gedit, I've written a couple of bash scripts to fire up sass<->css conversion thru gedit's external tools plugin. A couple of keystrokes and it's all done, and you can customize the shortcut keys too. Since I work mostly with static pages, I find myself using ctrl+f (my sass2css shortcut) pretty much instead of ctrl+s...
A little off topic, I know, but it seemed like a good chance to share. cheers, chepi On Fri, Aug 28, 2009 at 12:57 AM, Chris Eppstein <[email protected]>wrote: > The problem is not the semi colon, it's the lack of space between the colon > and the value which causes the lines to be interpreted as selectors that > have no properties (warning messages were logged) > If you had had the spaces, you would have gotten a proper error: > > $ sass > tt > background-color: #F8F8FF !important; > border: 1px solid #DEDEDE !important; > color: #444444 !important; > font-size: 90% !important; > padding: 0 0.2em !important; > Syntax error on line 2: Invalid property: "background-color: #F8F8FF > !important;" (no ";" required at end-of-line). > > In the future, you should pass css thru css2sass to convert it for you. In > addition to being easier, it's also less error prone. If you use textmate, I > can point you to a plugin that provides nice access to this feature. > > Chris > > On Thu, Aug 27, 2009 at 8:29 PM, Raj <[email protected]> wrote: > >> >> I copy and pasted this code from some other css file >> >> tt >> background-color:#F8F8FF !important; >> border:1px solid #DEDEDE !important; >> color:#444444 !important; >> font-size:90% !important; >> padding:0 0.2em !important; >> >> >> In the output I did not see tt tag. So I had to look carefully. And >> after 5 minutes I noticed that I have semi colon at the end. >> >> Obviously sass knew that it was error that is why it refused to put tt >> tag in output css. My question is how do I make it blow up in >> development mode. I am using Rails 2.3 and latest version of sass. >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
