Background Colors

4 posts, 0 answers
  1. Bill O'Neil
    Bill O'Neil avatar
    111 posts
    Member since:
    Nov 2004

    Posted 14 Jun 2013 Link to this post

    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
  2. Jeff
    Jeff avatar
    4 posts
    Member since:
    Jan 2013

    Posted 17 Jun 2013 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bill O'Neil
    Bill O'Neil avatar
    111 posts
    Member since:
    Nov 2004

    Posted 17 Jun 2013 Link to this post

    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
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 18 Jun 2013 Link to this post

    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.
Back to Top