Declined
Last Updated: 22 Jul 2016 08:07 by ADMIN
ADMIN
Pavlina
Created on: 23 Jan 2014 14:20
Category: FormDecorator
Type: Feature Request
1
Add option in RadFormDecorator for changing the background color and font-color depending the selected skin

				
		
2 comments
ADMIN
Rumen
Posted on: 22 Jul 2016 08:05
Hi folks,

RadFormDecorator does change the background color, however, if it starts to change the font color of the page, this could easily ruin the text appearance on it. We want to avoid this and we do not plan to change its default behavior since it is not a style builder.

Nevertheless, you can achieve the required functionality and change the decoration for the desired HTML elements using CSS and the following classes 

<style>
		.RadForm_Black {
			color: white; //will change the font to white
		}

		.RadForm_Black a {
			color: yellow;
		}

		.RadForm_Black a:hover {
			color: aqua;
		}
</style> 

The Black string in the class names represents the name of the used Skin. 
Willy
Posted on: 24 Jan 2014 15:21
It would be great if by simply applying a css class like 'radFormDecorated' to a parent div all of its content would be styled to match the selected theme. html tables would match the  radgrid, background and font colors would match a users selected skin. This would make it incredibly easy with minimal custom css to allow users to use any skin they want.