All,
Apologies if this message is confusing, it's only because I'm confused.
I've been trying to switch over to the bundled versions of the timeline
code and find that a lot of my stuff breaks.
1. In the code for Timeline.PointHighlightDecorator (in decorators.js) it
says this:
this._width = params.width != null ? params.width : 10;
// Since the width is used to calculate placements (see minPixel, below),
we specify width here, not in css.
but my decorator is not visible unless I include a css rule:
.timeline-highlight-point-decorator {
width: 10px
}
Fine and good, but will this throw off the positioning for any additional
point decorators? and anyway, why is the params.width ignored?
2. In order to get one of my bands back to how I originally set it in the
theme, I've had to mess about with the css. Some css rules seem to apply
if I set them in my own css file, but some seem to be overridden by the
timeline-bundle.css.
For example: I can set properties on .timeline-band-1 .timeline-date-label
{} in my own file, but if I try to set properties on .timeline-band-1
.timeline-date-label-em {} they do not take effect unless I declare them
in the timeline-bundle.css.
Similarly, the .timeline-ether-bg rule in timeline-bundle.css seems to
override anything I put in my own css file. There are other examples but
it doesn't seem to be systematic.
I'd like to be able to keep all of the css that is peculiar to my timeline
in one place and leave the bundle.css alone. There's something about
inheritance here that I'm not understanding? Can anyone clarify?
Jon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" 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/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---