Mod Name / Version: Remove White Borders Around Checkboxes & Radio Buttons
Description: This mod removes the white borders surrounding form checkboxes and radio buttons for those who find it unappealing. Instead, the border is replaced with transparency so as to show the table color defined in the theme.
However, the desireable white background used by text input boxes is left intact.
Here is an example of what's being altered across the entire messageboard system...
[]
http://mameworld.petr1fied.com/smoothmame/mod.png[/]
Working Under: UBB.Threads 6.2-6.3-6.4
Mod Status: Finished
Any pre-requisites: none
Author(s): Twisty
Date: 11/24/03
Credits: none
Files Altered: - every .css stylesheet
- editbasic.php
- editdisplay.php
- admin/approvepdn.php
- admin/approveuser.php
- admin/createboard.php
- admin/selectusers.php
- admin/showoneuser.php
- admin/showpostip.php
- admin/viewboard.php
- admin/viewunapproved.php
- admin/whichuser.php
- templates/default/editbasic.tmpl
- templates/default/editdisplay.tmpl
- templates/default/editemail.tmpl
New Files: none
Database Altered: no
Info/Instructions: STEP 1
======
In *each* of your .css stylesheets, you'll need to...
A) Change .formboxes to:
.formboxes{
background-color: #transparent;
font-size: 14px;
}
* Adjust font-size as req'd (this is what I happen to use)
B) And also...
ADD IN THIS NEW CLASS:
.formboxesbutton{
background-color: transparent;
}
STEP 2
======
For all the .php & .tmpl files listed above, you'll need to search each file for the word 'radio' (every instance found) and then modify the class listed in that particular line as follows...
CHANGE FROM:
class="formboxes"
CHANGE TO:
class="formboxesbutton"
Voila, you're done
It's a bit of effort, but the results are pretty sweet.
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.