PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2013-11-28 19:26:04

curiouscrab
Member
Registered: 2013-11-01
Posts: 30
Website

Style Previewer

Well, when editing styles you can set it up so that you have icon, inew, isticky icon, isticky inew, iclosed icon, and iclosed inew. I noticed that only icon, inew, isticky icon, and iclosed icon are displayed. I think isticky inew and iclosed inew should be added.


My Styles - currently 8 (Note: link leads to outdated stuff; everything at PunBB Resource should be updated)
Style previewer for testing styles out before commiting to them (forum topic)

Offline

 

#2 2013-11-28 19:57:55

curiouscrab
Member
Registered: 2013-11-01
Posts: 30
Website

Re: Style Previewer

Also, maybe give a link to here so users can see what colors the style uses.


My Styles - currently 8 (Note: link leads to outdated stuff; everything at PunBB Resource should be updated)
Style previewer for testing styles out before commiting to them (forum topic)

Offline

 

#3 2013-11-29 12:53:16

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: Style Previewer

You can already do that.

e.g. if your style name is "my_style", you would add this to my_style.css:

Code:

.pun .icon {
    background-image: url(../img/my_style/topic_read.gif);
}

.pun .inew .icon {
    background-image: url(../img/my_style/topic_unread.gif);
}

.pun .isticky .icon {
    background-image: url(../img/my_style/sticky_read.gif);
}

.pun .isticky.inew .icon {
    background-image: url(../img/my_style/sticky_unread.gif);
}

.pun .iclosed .icon {
    background-image: url(../img/my_style/topic_read_locked.gif);
}

.pun .inew.iclosed .icon {
    background-image: url(../img/my_style/topic_unread_locked.gif);
}

You can also check out the Prosilver-black style as an example.

Offline

 

#4 2013-11-29 16:25:03

curiouscrab
Member
Registered: 2013-11-01
Posts: 30
Website

Re: Style Previewer

No, I meant on the style viewer. Right now the style viewer gives examples of iclosed, icon, inew, and isticky, but no combos.


My Styles - currently 8 (Note: link leads to outdated stuff; everything at PunBB Resource should be updated)
Style previewer for testing styles out before commiting to them (forum topic)

Offline

 

#5 2013-12-05 16:42:44

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: Style Previewer

It works. As I said, check out the Prosilver-black style as an example.

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.