Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Sandwolf on October 06, 2009, 12:12:48 AM

Title: Where to change colors for registration process?
Post by: Sandwolf on October 06, 2009, 12:12:48 AM
Hey again!

I have tried to find out myself, but unfortunately could not get it right - can you please tell me where to change the colors for the input fields at the registration process?

Problem is: Before entering i.e. the user name, it is white font on dark grey form - that is good for me.

But then the Forum checks if the name is available and then changes the Color of the Form to white (with white text) - same with the password field.

Of course, I´d like to change this, if anyone should bother to help me :)

bonusbay.net/forum/index.php?action=register is the registering page to check out the problem.

Thanks again in advance!
Title: Re: Where to change colors for registration process?
Post by: shadow82x on October 06, 2009, 12:24:13 AM
In ./Themes/default/scripts/register.js

Code (Modify) Select
    var validColor = '#F5FFF0';
    var invalidColor = '#FFF0F0';


Yes, its a weird file location to edit a color. ;)
Title: Re: Where to change colors for registration process?
Post by: Oldiesmann on October 06, 2009, 02:43:11 AM
That really should be moved to CSS... Anyone feel like reporting that as a bug? :P
Title: Re: Where to change colors for registration process?
Post by: shadow82x on October 06, 2009, 06:41:27 AM
Quote from: Oldiesmann on October 06, 2009, 02:43:11 AM
That really should be moved to CSS... Anyone feel like reporting that as a bug? :P
Agreed. Ill report it when I get home.
Title: Re: Where to change colors for registration process?
Post by: Sandwolf on October 06, 2009, 09:35:13 AM
Works great! :)

Thanks again for your support mates - and glad my issue is something that might have to be improved instead of another mistake ;)
Title: Re: Where to change colors for registration process?
Post by: shadow82x on October 06, 2009, 03:07:22 PM
Logged this into our bug tracker. :)

0003844: var validColor and invalidColor should be moved to css (http://dev.simplemachines.org/mantis/view.php?id=3844)