2011-09-07, 01:59 PM
It's been a long time since I've been here, but before i "left" i wrote quite a bit off CSS that just needs to be placed in the global.css. This CSS will round all the main table parts of MyBB.
There were some problems with the calendar but i never got around to fixing them.
I hope you like it, Use as you will.
Thank you.
/* Use a find and replace to change the amount of border-radius you want to use */
thead tr:only-child td:first-child,
tr:first-child td:first-child {
-moz-border-radius:5px 0 0 0;
border-radius:5px 0 0 0;
}
thead tr:only-child td:last-child,
tr:first-child td:last-child {
-moz-border-radius:0 5px 0 0;
border-radius:0 5px 0 0;
}
tr:last-child td:last-child {
-moz-border-radius:0 0 5px 0;
border-radius:0 0 5px 0;
}
tr:last-child td:first-child {
-moz-border-radius:0 0 0 5px;
border-radius:0 0 0 5px;
}
tr:only-child td:first-child {
-moz-border-radius:5px 0 0 5px;
border-radius:5px 0 0 5px;
}
tr:only-child td:last-child {
-moz-border-radius:0 5px 5px 0;
border-radius:0 5px 5px 0;
}
.tborder,
tr:only-child td:only-child {
-moz-border-radius:5px;
border-radius:5px;
}
tr:last-child td:only-child,
thead ~ tbody tr:only-child td,
#posts .tborder[style*="border-top-width"],
.tborder[style*="border-top-width"],
.tborder[style*="border-top-width"] tbody tr td.tfoot {
-moz-border-radius:0 0 5px 5px;
border-radius:0 0 5px 5px;
}
tr:first-child td:only-child,
thead tr:only-child td:only-child,
.tborder[style*="border-bottom-width"],
.tborder[style*="border-bottom-width"] tbody tr td,
#posts .tborder[style*="top: 5"]:last-child {
-moz-border-radius:5px 5px 0 0;
border-radius:5px 5px 0 0;
}
thead ~ tbody tr:first-child td:only-child,
thead ~ tbody tr:first-child td:first-child,
thead ~ tbody tr:first-child td:last-child,
#posts .tborder[style*="border-top-width"] tbody tr:first-child td:only-child,
#posts .tborder[style*="top: 5"] tbody tr:last-child td:only-child {
-moz-border-radius:0;
border-radius:0;
}
There were some problems with the calendar but i never got around to fixing them.
I hope you like it, Use as you will.
Thank you.