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

Scheduler table color for "Today"

4 Answers 205 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 18 Mar 2014, 02:08 PM
Hi,

How can I change the background color of the scheduler table for "Today"? I'm using the bootstrap theme, so the background color of "Today" is gray-ish. I like it to be the same color as a normal day.

Kind Regards,

Marco

4 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 19 Mar 2014, 01:57 PM
Hi Marco,

You can modify the background color of the today slot by overriding the k-today CSS class. Similar to the following:

<style>
  .k-scheduler .k-today {
    background: inherit;
  }
</style>


Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Marco
Top achievements
Rank 1
answered on 19 Mar 2014, 02:14 PM
Hi Rosen,

Thanks for your answer. This makes the whole table white with the bootstrap theme. I want the "out of office" cells in the same color as any other day. Is this possible?

Kind Regards,
Marco
0
Accepted
Rosen
Telerik team
answered on 19 Mar 2014, 03:00 PM
Hi Marco,

In order to apply the styling for nonwork hours cells you should add the following CSS:

.k-scheduler .k-today.k-nonwork-hour {
  background: #f5f5f5;
}


Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Marco
Top achievements
Rank 1
answered on 19 Mar 2014, 03:03 PM
Hi Rose,

Thanks for the quick reply! Works fine...

Kind Regards,

Marco
Tags
Scheduler
Asked by
Marco
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Marco
Top achievements
Rank 1
Share this question
or