View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002977 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2011-06-10 16:12 | 2012-12-10 13:33 |
Reporter | tjungcl | Assigned To | |||
Priority | urgent | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.5.1 revision 38045 | ||||
Summary | 0002977: basket summary is "unstyleable" | ||||
Description | the basketsummary in checkout step 1 and 4 (file basketcontents.tpl) is impossible to style with css: all rows are absolutely identical - there are no classes, no attributes, nothing. The last row (total sum) is styled with a bold (< b >) tag. That is a good hint how much the person thought about CSS when writing that html :-) You really should add some classes there like "nettorow", "vatrow", "grossrow" because now everyone who does not want all rows look exactly the same has to modify the template first. | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
i stumbled upon an additional rule, that sets the last row of the summary block to bold, selecting it with .summary table tr:last-child td, .summary table tr:last-child th first-child and last-child are in fact the only possibilities to style here. If however there is a skipped discount, the last tr is ** PAGE_CHECKOUT_BASKETCONTENTS_DISCOUNTS_NOT_APPLIED_FOR_ARTICLES So then this message is made bold. --> as i wrote. The summary block really needs classes for styling! |
|
fixed last row styling. for other rows styling you can style as you want independently, create empty classes is not good practice. |