Changing post status indicators

From PunBB Resource Wiki

Jump to: navigation, search

Changing post status indicators

in yourstyle.css:

/**************************************************/
 
/* 10. POST STATUS INDICATORS */
 
/**************************************************/
 
/* 10.1 These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/
 
DIV.icon {
    FLOAT: left;
    DISPLAY: block;
    width:16px;
    height:16px
}
 
DIV.searchposts DIV.icon {MARGIN-LEFT: 0}
 
/* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The
margin creates space for the post status indicator */
 
TD DIV.tclcon {MARGIN-LEFT: 1.7em}
TD.tcl {padding-left:3px;}


in yourstyle_cs.css:

/******************************************************/
 
/* 5. POST STATUS INDICATORS */
 
/******************************************************/
 
 
/* These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. The default is "icon". By default only .inew is different.*/
 
DIV.icon {background:url(../../img/YOURSTYLE/icon.gif)}
DIV.inew {background:url(../../img/YOURSTYLE/icon_new.gif)}
TR.isticky DIV.icon {background:url(../../img/YOURSTYLE/sticky.gif)} 
TR.isticky DIV.inew {background:url(../../img/YOURSTYLE/sticky_new.gif)}
TR.iclosed DIV.icon {background:url(../../img/YOURSTYLE/closed.gif)}
 
TR.iredirect DIV.icon {background:url(../../img/YOURSTYLE/redirect.gif)}


of course change all the yourstyles to YOUR style's name.

--Mark 20:59, 5 July 2006 (GMT)

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox