On Fri, Oct 25, 2013 at 11:09 PM, Matt Wilkie <[email protected]> wrote:

> very nice Brian! I think you're on to something.  I've not tried it
> before, or thought of it for that matter, but css can be applied to xml -
> http://edutechwiki.unige.ch/en/CSS_for_XML_tutorial.
>

Oh this is way too cool. I started with your fiddle, pasted in the Leo xml,
and changed one word(!) of the css for the vnode, and it shows the outline
structure!  http://jsfiddle.net/YFsNL/8/

Here is the css:

v {
    background-image: url('
https://raw.github.com/vivainio/leo/master/leo/Icons/box00.GIF');
    background-repeat: no-repeat;
    background-position: 0px 5px;
    padding-left: 27px;
    display:block;
}

so simple!

and for the archives, since I don't know how long a fiddle lasts, a
screenshot of the result follows. It's not as complete as your example
because it doesn't have collapsed nodes or a clone, but very encouraging
all the same.

[image: Inline image 1]

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

<<2013-10-25 23_13_58-Edit fiddle - JSFiddle.png>>

Reply via email to