Bug 650950 - RFE: Allow customization of interactive.css
Summary: RFE: Allow customization of interactive.css
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.3
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-08 13:27 UTC by Ruediger Landmann
Modified: 2010-12-08 03:49 UTC (History)
4 users (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-12-08 03:49:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Ruediger Landmann 2010-11-08 13:27:05 UTC
Description of problem:
The structural pages of Publican-generated websites get their style from interactive.css, which cannot be customized. For example, headings on toc.html and Site_Statistics.html (as well as index.html, which normally people shouldn't see) are in a red-coloured font that doesn't necessarily agree with the style of the rest of the site.

Version-Release number of selected component (if applicable):
2.3

How reproducible:
100%

Steps to Reproduce:
1. Generate a website structure with "publican create_site"
2. Look at toc.html

Actual results:
Language headings are red, which it gets from interactive.css:

h1, h2, h3, h4, h5, th {
	color: #a70000
}

Expected results:
Some way to change the colour of headings

Additional info:
The workaround is simple: edit interactive.css to replace styles. However, these changes get overwritten every time the site is refreshed. It would be nice to have a way to make permanent changes, maybe with an "overrides.css" file placed in the same directory as interactive.css?

Comment 1 Ruediger Landmann 2010-11-24 05:03:11 UTC
I've worked around this by changing the red text to black in the css, which should work with most site designs; certainly all that we've seen so far. I've also removed the (red) coloured background from web_logo.png.

Fixed in 2.3-%{dist}.t52

Comment 2 Jeff Fearn 🐞 2010-12-01 04:22:33 UTC
Added code to handle installing site_overrides.css for site home pages.

Fixed in build. 2.3-0%{?dist}.t59

Comment 3 Jeff Fearn 🐞 2010-12-08 03:49:25 UTC
Publican 2.4 has shipped with a fix for this issue.


Note You need to log in before you can comment on or make changes to this bug.