Set style for TaskList`s line depends on priority, completed and so on

artem chuguntsev August 24, 2011

Hi! I use Confluence v 3.3.1.

I use tasklist macro in my space, and i want to set its own style for completed task, task with high priority and so on. Here I`ve seen completed tasks and not completed tasks have different style so it is very suitable to recognize task with different status in this pic http://confluence.atlassian.com/download/attachments/224399495/DynamicTasklistProgressBar.png?version=1&modificationDate=1206683502794 (http://confluence.atlassian.com/display/CONF33/Tasklist+Macro).

I wanted to do the same, but I could not. Tell me, please, how I can control styles of TaskList in Confluence?

P.S. I know css class described style of completed task is 'closed unlocked task with medium priority completed'. But i didn`t find any class like this to rewrite it in files located in "css" folder of Confluence.

1 answer

0 votes
BenA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2012

I know css class described style of completed task is 'closed unlocked task with medium priority completed'. But i didn`t find any class like this to rewrite it in files located in "css" folder of Confluence.

Have you tried defining your own, new style rules using those classes? eg:

.task-list .closed.high.priority { /* styles for high priority */ }

.task-list .closed.medium.priority { /* styles for medium priority */ }

...etc? You can put this into your space or global CSS.

(It's a good idea to use .task-list as a form of namespace/scope)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events