For this problem IMO the best solution would be use the space name.
For every space, we add in the body element a space class, like '
space-Main', etc.
We could have something like 'space-{$appSpaces}', example:
.space-MoccaCalendar .appBar .calendarIcon {
// extend active styling
}
Thanks,
Caty
2014-03-12 14:49 GMT+01:00 Guillaume "Louis-Marie" Delhumeau <
gdelhumeau(a)xwiki.com>gt;:
Hi guys,
I have pushed a first version of flamingo in platform/XE, but it is
only a
prototype that need a LOT more do be ready for
production.
One of the new things brought by flamingo is the "Applications" left
bar,
which is not exactly the same thing as the
Applications Panel we already
have.
We can see it more as a "dock" with a list of applications, and in the
future, we could make it customizable by the user. Caty has written a
proposal for this [1].
Right now, for the first implementation, I need to make some choices
about
the way we "populate" this bar. We can
create new classes to describe
the
bar entries, or new UI Extensions (maybe not the
good choice regarding
the
recent e-mails...), or by re-using the existing
AddApplicationUIX... It
is
described on
http://design.xwiki.org/xwiki/bin/view/Proposal/AppBar#HImplementationConsi…
.
Other thing: In my draft, I have created a new VM file on the filesystem
for this concept. Maybe I should create it as an extension point stored
in
the database, but it means it won't appear on
an empty wiki. WDYT?
I let you make some comments about this.
Thanks,
Caty & Louis-Marie
[1]
http://design.xwiki.org/xwiki/bin/view/Proposal/AppBar
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs