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

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

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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

462 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you