This is a migrated thread and some comments may be shown as answers.

Background Colors

3 Answers 74 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Bill O'Neil
Top achievements
Rank 1
Bill O'Neil asked on 14 Jun 2013, 12:44 PM
Was curious is there were any predefined CSS for tile colors? - to keep things Theme consistent.  I know radScheduler has these for Appointments - thought it might make sense here as well.
Bill

3 Answers, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 17 Jun 2013, 02:02 PM
Yes, there are predefined tile background colors that are compatible with each theme.

If you would like to override these defaults, implement the classes rtlistSquareTile and rtlistWideTile with the colors you desire.



Jeff
0
Bill O'Neil
Top achievements
Rank 1
answered on 18 Jun 2013, 01:33 AM
Not sure you understood my inquiry.  RadScheduler has predefined CSS classes for several "colors" which all appear subtly different from theme to theme.  i.e. what is "red" for Metro isn't the same color as what is "red" for Windows 7.  Thought this would be a good idea for TileList - allowing you to designate different color tiles w/o hard coding a specific hex (and clashing w/ other theme colors.)

I don't see anything like this in the CSS - or am I missing it?

Bill
0
Marin Bratanov
Telerik team
answered on 18 Jun 2013, 12:20 PM
Hello Bill,

There are not such predefined classes and the backgrounds for each tile are in only one color per skin.
The RadScheduler classes you are referring to (rsCategoryBlue, rsCategoryOrange, rsCategoryGreen) hardly change the colors across skins, a visual difference can come from the surrounding colors (i.e. appointment colors may seem brighter when on darker background, e.g. in the Black skin).
 Nevertheless, I am logging this idea in our feedback portal here: ADD predefined CSS classes for RadTiles that set the background color to several predefined colors like in RadScheduler, so everyone can vote, comment and follow it. If it becomes popular we will consider its implementation.

Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
TileList
Asked by
Bill O'Neil
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Bill O'Neil
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or