On Fri, Oct 18, 2013 at 11:09 AM, j. van den hoff <veedeeh...@googlemail.com > wrote:
> question 1: I understand that some customization (font size colors) is > possible but don't know anything specific of CSS adjustment. is it possible > to integrate the date with the time info for each checkin (2013-10-17, > 11:01) by modifying the CSS? if yes, how would this be achieved? > i'm not aware of any pure CSS solutions which allow inclusion of dynamic content (CSS3 has some facility for prepending/appending static content, IIRC), but applying a CSS class (e.g. timeline-date) to those fields (which currently don't have such a CSS tag) would allow one to use JavaScript to retroactively change them. e.g. using jQuery that might look like: jQuery('.timeline-date').css({fontSize: '0.5em'}) would set the text to half of the default size. Getting the effect you want (less wasted space) would be more involved, but would essentially follow the same path. That said, some of the current HTML structure might not be trivial to change with JS. e.g. not all browsers handle removing a TD element elegantly, and may (or may not) leave a big gap where the TD used to be. question 2: if this can't be achieved easily via CSS modification, might it > be possible to add a further switch to the timeline configuration whether > or not to "inline the date information with the time in order to allow a > less "loose" display? i _think_ the JS code and the C code are a bit intertwined/co-dependent there, but i'll have to take a look at that before i can answer definitively. In any case, i'll get some CSS markers added to the output so that this sort of customization is more feasible. i'm off work today, so i'll get on this now. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users