New features Please use http://kentico.uservoice.com as the primary place to submit your suggestions and allow others to vote for your ideas!
Version 4.x > New features > LogonMiniForm needs CSS Classes on buttons View modes: 
User avatar
Member
Member
Steve-Appetere - 4/28/2009 3:03:37 PM
   
LogonMiniForm needs CSS Classes on buttons
Hello

The LogonMiniForm WebPart could be improved slightly by adding default CSS class names to the Login command buttons.

At the moment there is a CSS class on the text boxes ("LogonField"). It would make formatting the command buttons easier if they too had a default CSS class which could be referred to.

I'll most likely clone the WebPart & make the (minor) changes myself, but could this be added in a future release?

Thanks

Steve

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 5/6/2009 4:51:53 PM
   
RE:LogonMiniForm needs CSS Classes on buttons
Hello,

You can wrap up your Logon mini form with some container (content before/after) and then you can use following CSS styles to refer to 'Logon mini form' inputs:

.orangeBox input[type="submit"]
{
color:red;
}
.orangeBox input[type="text"]
{
color:blue;
}

Please note that these are only examples. Please add desired CSS class properties.

Best regards
Ondrej Vasil

User avatar
Member
Member
Steve-Appetere - 5/7/2009 3:23:16 AM
   
RE:LogonMiniForm needs CSS Classes on buttons
Thanks, but attribute selectors like these are not supported for Internet Explorer version 6 & earlier, so this isn't an ideal cross-browser solution.

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 5/25/2009 8:50:48 AM
   
RE:LogonMiniForm needs CSS Classes on buttons
Hi Steve,

I've passed your suggestion to our Product Manager and he will consider adding default CSS classes for inputs in web part into some of future versions.

Best Regards,

Martin Dobsicek