Good point. I'll add this in as soon as I have a minute to spare.
[EMAIL PROTECTED] wrote:
> Wow, that's cool. But it can't be used unless properly documented.
> This present description:
> --------------------------------------
> Loud Comments
>
> "Loud" comments are just as easy as silent ones. These comments output
> to the document as CSS comments, and thus use the same opening
> sequence: "/*". For example:
>
> /* A very awesome rule.
> #awesome.rule
> /* An equally awesome attribute.
> :awesomeness very
> --------------------------------------
> >From which I can't figure that multiline work.
>
> On Dec 8, 11:44 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
>> #main
>> :color red
>> /* No, multiline comments also work;
>> you just nest text beneath the first line
>> and it automatically renders it nicely
>> (see below).
>> :background-color blue
>>
>> This renders as
>>
>> #main {
>> color: red;
>> /* No, multiline comments also work;
>> * you just nest text beneath the first line
>> * and it automatically renders it nicely
>> * (see below). */
>> background-color: blue; }
>>
>> (Note that in Haml 1.7.x, the comment won't be as nicely indented).
>>
>> - Nathan
>>
>> [EMAIL PROTECTED] wrote:
>>
>>> ups, yes, you are right. ok, so first bug is fixed, so that's it.
>>>
>>> BTW, why don't we close /* with */
>>> If it closes automatically at the end of line then it is same as //
>>>
>>> So, now there is no way to write multiline comments?
>>>
>>> On Dec 7, 10:03 pm, "Jason Ronallo" <[EMAIL PROTECTED]> wrote:
>>>
>>>> # is not for commenting but for ids. #foo is really shorthand for
>>>> saying div#foo. You can't have a selector nested within the :border
>>>> attribute.
>>>>
>>>> You don't want this css, but it's what you're asking sass to do:
>>>> table.service, table.invoice, table.invoice_item {
>>>> border-color: black;
>>>> border-style: solid;
>>>> border-div#:collapse: collapse; /* This is the line that goes wrong */
>>>> border-width: 1px;
>>>> border-spacing: 0px;
>>>> empty-cells: show;
>>>>
>>>> }
>>>>
>>>> --Jason
>>>>
>>>> On Dec 7, 2007 3:39 PM, [EMAIL PROTECTED]
>>>>
>>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> I don't know if you checked, but # also wasn't working:
>>>>>
>>>>> Sass::SyntaxError: Illegal nesting: Only attributes may be nested
>>>>> beneath attributes.
>>>>> on line 173 of script/../config/../public/stylesheets/sass/
>>>>> swiftwill.sass
>>>>>
>>>>> 169: table.service, table.invoice, table.invoice_item
>>>>> 170: :border
>>>>> 171: :color = !border_color
>>>>> 172: :style solid
>>>>> 173: # :collapse collapse
>>>>> 174: :width 1px
>>>>> 175: :spacing 0px
>>>>> 176: :empty-cells show
>>>>> 177: /*:width 100%
>>>>> 178: # test 2
>>>>> 179: :table-layout fixed
>>>>>
>>>>> Backtrace:
>>>>> script/../config/../public/stylesheets/sass/swiftwill.sass:173
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/tree/node.rb:
>>>>> 15:in `<<'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/engine.rb:202:in
>>>>> `build_tree'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/engine.rb:194:in
>>>>> `build_tree'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/engine.rb:101:in
>>>>> `render_to_tree'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/engine.rb:78:in
>>>>> `render'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/plugin.rb:55:in
>>>>> `update_stylesheets'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/plugin.rb:40:in
>>>>> `each'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/plugin.rb:40:in
>>>>> `update_stylesheets'
>>>>> ./script/../config/../vendor/plugins/stable/lib/sass/plugin.rb:123:in
>>>>> `process'
>>>>>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---