I reworked, mostly under the hood, the experimental
http://sndbxy1.tiddlyspace.com into what should be a proper theme at
http://triptych-theme.tiddlyspace.com. It is based on Mario's NeUIem
theme. It features a clickable central image map, and left and right
sidebars that can be unlocked (expanding upon mouse hover) and locked
(which makes them resizable).
Some remaining issues, help appreciated:
0a.
It's more a theme template than a fully-upholstered theme. I decided
this is the best option since it requires some user customisation in any
case for the image map [1]. I will add some guidelines for customisation
in About. Also, [2].
1.
I would like the user of the theme to be able to set different values
for the width of TiddlerDisplay (now 94% of browser window width) and
the height of the sidebars (now 85% of window height).
* the 0.85 value is currently hard-coded in three different plugins used
by the theme; (how) can I use a global variable of sorts for this?
* how to make an interface so that the theme-user can set these values
without digging into the code?
2.
For overlap reduction reasons, I need to have the backstage icon trimmed
and moved. In my custom StyleSheetTriptych I have:
#backstageShow {
height: 35px;
width: 40px;
}
#backstageShow .svgIcon {
left: -12px;
top: -5px;
}
While height and width 'work', left and top don't. As it is now I've
altered these directly in StyleSheetBackstage. That works, but since it
created a Triptych-specific copy of StyleSheetBackstage, future updates
by Osmosoft to that tiddler won't percolate, I suppose. Any ideas?
3a.
The theme uses its own StyleSheetTriptych which is linked to by its own
(otherwise empty) StyleSheet. This is fine if the including space has no
custom StyleSheet of its own yet, but not if it does. What's the way to
deal with this?
3b.
Same thing for the About tiddler.
4. @Mario
Can/should I rename the NeUIemTheme tiddler somehow to make clear it is
a modified version?
cheers,
Kosmaton
[1] This theme is kind of a template, and will require a bit of
customisation from the user. If anyone can write a wizard for the
process of uploading images and choosing clickable areas for the image
map, go for it.
[2] Since the plugins are built on top of NeUI-em and the modified
PageTemplate, you can't just import them in any TW to get the funky
sidebar behaviour. This is unfortunate. Feel free to improve on this,
somehow!
Eric, good call, I imported the MapMaker part of your plugin into the
theme to make editing easier.
Mario, roger on all of that! Made changes as needed.
I wrote a detailed customisation guide at
http://triptych-theme.tiddlyspace.com/#[[About%20Triptych]]. All looks
well now except for that pesky backstage icon, cf. issue 2 in my
original post.
Anyone got thoughts on the latter? How come StyleSheetBackstage
overrules my custom style sheet for #backstageShow .svgIcon {...} but
not for #backstageShow {...} ?
cheers,
Kosmaton