Bug 704776 - Style the topic output based on the topic lifecycle (Topic Lifestyle)
Summary: Style the topic output based on the topic lifecycle (Topic Lifestyle)
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Joshua Wulf
QA Contact:
URL:
Whiteboard:
Depends On: 704777 704778
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-14 20:54 UTC by Joshua Wulf
Modified: 2014-10-19 22:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-03 07:25:07 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2011-05-14 20:54:32 UTC
By giving the topic's root <section> element a "role" attribute, an html div class will be generated on output.

There can be two EAP6 brand packages for publican. One, the development one, styles the output html based on the lifestyle div, to visually communicate the topic's lifecycle phase. The other, the production one, does not visually alter the output based on this attribute.

The difference between the two, of course, is in the css.

Comment 1 Joshua Wulf 2011-05-23 04:12:35 UTC
OK, it's pretty easy to do - just need to figure out the best visual vocabulary to use. 


In the overrides.css for the brand do the following:

.IAProposed{
        background-color: #c2bfbf;
}

That one, for example, makes the background of IA_PROPOSED content grey.


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