FET Forum

FET Support (English) => General Stuff => Topic started by: Massimo Mancini on September 13, 2009, 03:44:29 PM

Title: a little new option for html/css
Post by: Massimo Mancini on September 13, 2009, 03:44:29 PM
GOAL: to have html timetable with fixed size column
FILE AFFECTED: ./timetables/fet_name_stylesheet.css
TARGET: td.empty {} and td.notAvailable {}

REQUEST: complete the style above with   min-width: NNpx where NN is a new html option  (a 0 value stay for *not such property* in css)

In my case I obtain a good result with

td.empty {
 border-color:silver;
 border-right-style:none;
 border-bottom-style:none;
 border-left-style:dotted;
 border-top-style:dotted;
 min-width: 70px;
}

td.notAvailable {
 border-color:silver;
 border-right-style:none;
 border-bottom-style:none;
 border-left-style:dotted;
 border-top-style:dotted;
 min-width: 70px;
}

the problem is, of course, the rewrite of stilesheet for each generation
Title: Re: a little new option for html/css
Post by: Volker Dirr on September 13, 2009, 04:38:20 PM
i fear there will be to many request like this and it will be pretty much work and a pretty great dialoge if all css values are selectable in FET.
for example i always hide the activity tags. so that is also "needed" in FET settings.

of course you are right, it must be done after generating a timetable but one the other hand you just need to do it if you want to release the timetable. So you need it max one or maybe 2 times a year.

What do other guys think about this request/problem?
Title: Re: a little new option for html/css
Post by: Volker Dirr on September 13, 2009, 04:40:24 PM
by the way:
why don't you just style all cells at once by this:
th.xAxis {
/*width: 8em; */
}
Title: Re: a little new option for html/css
Post by: Massimo Mancini on September 13, 2009, 06:16:07 PM
Quoteby the way:
why don't you just style all cells at once by this:
th.xAxis {
/*width: 8em; */
}

Because my knowledge of css is very poor  :-(
Your suggestion fit my needs! Thanks Volker