CC-3360 : Timeline Css

adding Css to timeline.
This commit is contained in:
Naomi Aro 2012-03-22 18:04:22 +01:00
parent b4e9f9699c
commit 1fdb3cf163
17 changed files with 3182 additions and 2832 deletions

View file

@ -104,7 +104,7 @@ function buildScheduleDialog (json) {
width = Math.floor(viewport.width * 0.96),
fnServer = AIRTIME.showbuilder.fnServerData,
//subtract padding in pixels
widgetWidth = width - 50,
widgetWidth = width - 60,
libWidth = Math.floor(widgetWidth * 0.5),
builderWidth = Math.floor(widgetWidth * 0.5),
libLength,
@ -112,11 +112,11 @@ function buildScheduleDialog (json) {
libFilter;
dialog.find("#library_content")
.height(height - 110)
.height(height - 115)
.width(libWidth);
dialog.find("#show_builder")
.height(height - 110)
.height(height - 115)
.width(builderWidth);
dialog.dialog({
@ -141,9 +141,13 @@ function buildScheduleDialog (json) {
AIRTIME.library.libraryInit();
AIRTIME.showbuilder.builderDataTable();
dialog.find(".dataTables_scrolling")
//set max heights of datatables.
dialog.find(".lib-content .dataTables_scrolling")
.css("max-height", height - 110 - 155);
dialog.find(".sb-content .dataTables_scrolling")
.css("max-height", height - 110 - 60);
dialog.dialog('open');
//calculate dynamically width for the library search input.