tag:support.baseworks.nl,2011-05-09:/discussions/sassee/2-extra-semi-colonsBaseworks: Discussion 2011-08-03T19:52:36Ztag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-13T04:40:59Z2011-07-13T06:16:00ZExtra Semi-colons<div><p>This is an amazing add-on. I use Sass and Compass all day long
with the Rails work I am involved in But to see this type of css
parsing tool available paired with EE is yes again amazing.</p>
<p>I am seeing some extra semi-colons in the parsed css file. Is
this something that indicates a bug, improper set up or is this
expected?</p>
<p>Here's a sample of what I see when I view source:</p>
<p>p {<br>
color: red; text-decoration: underline;; } p span {</p>
<pre>
<code>font-weight: bold;;
color: #3399ff;
text-decoration: none;; }</code>
</pre>
<p>Thanks for your attention and contribution to the EE
community.</p></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-13T06:25:05Z2011-07-13T06:25:05ZExtra Semi-colons<div><p>Hi Josh,</p>
<p>This is weird, your message was somehow marked as spam... Thank
you for the ego-boost, it means a lot to me. :)</p>
<p>I'm using the <a href=
"http://code.google.com/p/phamlp">PHAMLP</a> library to parse the
SASS files, so this is something on their end.</p>
<p>Could you perhaps paste the source of your example above, so I
can test it. I'm not getting it and I can't find any bugs regarding
your issue.</p>
<p>Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-15T03:18:46Z2011-07-15T03:18:46ZExtra Semi-colons<div><p>Wouter,</p>
<p>Here's the sass source example test I did:</p>
<p>p {<br>
color: #ff0000; text-decoration: underline; span {</p>
<pre>
<code>font-weight: bold;
color: #3399ff;
text-decoration: none;</code>
</pre>
<p>} }</p>
<p>and the output to my site.css</p>
<p>p {<br>
color: red; text-decoration: underline;; } p span {</p>
<pre>
<code>font-weight: bold;;
color: #3399ff;
text-decoration: none;; }</code>
</pre></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-15T05:30:47Z2011-07-15T05:30:47ZExtra Semi-colons<div><p>Hi Josh,</p>
<p>I think I see what's going on here... you are using the newer
syntax (SCSS), but are parsing it as SASS. Try renaming your source
file to *.scss or specifically setting the syntax to SCSS.</p>
<p>The main difference is that SASS uses indentation to define
blocks and SCSS uses curly braces (just like CSS) to define those
same blocks. You can find some more about it in the <a href=
"http://sass-lang.com/docs/yardoc/file.INDENTED_SYNTAX.html">SASS
documentation</a></p>
<p>I advise you to use SCSS as syntax as it is the 'newer' one and
just easier to use.</p>
<p>Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-15T18:04:11Z2011-07-15T18:04:11ZExtra Semi-colons<div><p>That did the trick.<br>
Thanks :)</p>
<p>BTW is it possible to use Compass with this setup?</p></div>Joshtag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-15T18:07:50Z2011-07-15T18:07:50ZExtra Semi-colons<div><p>Hi Josh, glad it all worked out.</p>
<p>I'm not sure about Compass. I will have to investigate a bit
further, but that'll have to wait till after the weekend.</p>
<p>Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/85762702011-07-16T10:35:28Z2011-07-16T10:35:28ZExtra Semi-colons<div><p>Hi Josh,</p>
<p>I've looked into Compass and decided not to include support for
it. Since Compass is a Ruby specific component you need Ruby
installed on your server to support it. Therefore I cannot
guarantee that it will work with Sassee, so no official support
form my end.</p>
<p>I'm going to close this ticket, but you can reopen it if you
need, or open a new ticket if you have more questions.</p>
<p>Wouter</p></div>Wouter Vervloet