CC-3360 : timeline css

This commit is contained in:
Naomi Aro 2012-03-23 01:46:45 +01:00
parent f1d76443ab
commit 8af4f052e0
7 changed files with 41 additions and 20 deletions

View file

@ -1,3 +1,7 @@
.lib-content {
}
#library_content { #library_content {
float: left; float: left;
width: 50%; width: 50%;
@ -32,12 +36,12 @@
padding-top:16px; padding-top:16px;
} }
#library_display th.ui-state-default { .lib-content table th.ui-state-default {
border: 1px solid #8f8f8f;
background-color: #a2a2a2;
background: -moz-linear-gradient(top, #b2b2b2 0, #a2a2a2 100%); background: -moz-linear-gradient(top, #b2b2b2 0, #a2a2a2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #b2b2b2), color-stop(100%, #a2a2a2)); background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #b2b2b2), color-stop(100%, #a2a2a2));
color: #363636; background: linear-gradient(top, #b2b2b2 0, #a2a2a2 100%);
border: 1px solid #8F8F8F;
color: #363636;
} }
.paginationControl { .paginationControl {

View file

@ -103,6 +103,11 @@ tr.cursor-selected-row .marker {
opacity: .6; opacity: .6;
} }
.sb-placeholder {
height: 35px;
padding: 5px;
}
.sb-boundry td.sb-image, .sb-boundry td.sb-image,
.sb-boundry td.sb-starts, .sb-boundry td.sb-starts,
.sb-boundry td.sb-ends, .sb-boundry td.sb-ends,

View file

@ -637,10 +637,6 @@ dl.inline-list dd {
background-color:#c7c7c7; background-color:#c7c7c7;
} }
.datatable .show-builder-placeholder {
height: 30px;
}
.datatable tr.even.selected td { .datatable tr.even.selected td {
background-color: #abcfe2; background-color: #abcfe2;
} }
@ -698,15 +694,30 @@ dl.inline-list dd {
line-height:22px; line-height:22px;
} }
.dataTables_filter { .dataTables_filter {
margin:0 0 0 8px; margin:0 0 8px 8px;
} }
.dataTables_filter .auto-search { .dataTables_filter .auto-search {
width:55%; width:55%;
} }
.dt-process-rel {
position: relative;
}
.dataTables_processing { .dataTables_processing {
font-size:11px; opacity: 1 !important;
font-weight:normal; position: absolute;
margin:2px 0 3px 8px; top: 100px;
left: 10%;
width: 80%;
height: 50px;
text-align: center;
font-size:14px;
font-weight:bold;
padding-top: 40px;
background: -moz-linear-gradient(top, #b2b2b2 0, #a2a2a2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #b2b2b2), color-stop(100%, #a2a2a2));
background: linear-gradient(top, #b2b2b2 0, #a2a2a2 100%);
border: 1px solid #8F8F8F;
color: #ffffff;
} }
#library_display_wrapper .ui-widget-header:first-child { #library_display_wrapper .ui-widget-header:first-child {
background:none; background:none;

View file

@ -44,7 +44,7 @@ var AIRTIME = (function(AIRTIME) {
libraryInit = function() { libraryInit = function() {
var oTable, var oTable,
libContentDiv = $("#library_content"), libContentDiv = $("#library_content"),
tableHeight = libContentDiv.height() - 140, tableHeight = libContentDiv.height() - 130,
libLength, libLength,
libType, libType,
libFilter; libFilter;
@ -250,7 +250,7 @@ var AIRTIME = (function(AIRTIME) {
}, },
// R = ColReorder, C = ColVis, T = TableTools // R = ColReorder, C = ColVis, T = TableTools
"sDom": 'Rl<"#library_display_type">fr<"H"T<"library_toolbar"C>><"dataTables_scrolling"t><"F"ip>', "sDom": 'Rl<"#library_display_type">f<"dt-process-rel"r><"H"T<"library_toolbar"C>><"dataTables_scrolling"t><"F"ip>',
"oTableTools": { "oTableTools": {
"sRowSelect": "multi", "sRowSelect": "multi",

View file

@ -140,10 +140,10 @@ function buildScheduleDialog (json) {
//set max heights of datatables. //set max heights of datatables.
dialog.find(".lib-content .dataTables_scrolling") dialog.find(".lib-content .dataTables_scrolling")
.css("max-height", height - 110 - 155); .css("max-height", height - 90 - 155);
dialog.find(".sb-content .dataTables_scrolling") dialog.find(".sb-content .dataTables_scrolling")
.css("max-height", height - 110 - 60); .css("max-height", height - 90 - 60);
dialog.dialog('open'); dialog.dialog('open');
} }

View file

@ -474,7 +474,7 @@ var AIRTIME = (function(AIRTIME){
}, },
// R = ColReorderResize, C = ColVis, T = TableTools // R = ColReorderResize, C = ColVis, T = TableTools
"sDom": 'Rr<"sb-padded"<"H"CT>><"dataTables_scrolling sb-padded"t>', "sDom": 'R<"dt-process-rel"r><"sb-padded"<"H"CT>><"dataTables_scrolling sb-padded"t>',
"sAjaxDataProp": "schedule", "sAjaxDataProp": "schedule",
"sAjaxSource": "/showbuilder/builder-feed" "sAjaxSource": "/showbuilder/builder-feed"
@ -593,8 +593,9 @@ var AIRTIME = (function(AIRTIME){
}; };
return { return {
placeholder: "placeholder show-builder-placeholder ui-state-highlight", placeholder: "sb-placeholder ui-state-highlight",
forcePlaceholderSize: true, forcePlaceholderSize: true,
distance: 10,
helper: function(event, item) { helper: function(event, item) {
var oTT = TableTools.fnGetInstance('show_builder_table'), var oTT = TableTools.fnGetInstance('show_builder_table'),
selected = oTT.fnGetSelectedData(), selected = oTT.fnGetSelectedData(),

View file

@ -4,7 +4,7 @@ $(document).ready(function(){
$lib = $("#library_content"), $lib = $("#library_content"),
$libWrapper, $libWrapper,
$builder = $("#show_builder"), $builder = $("#show_builder"),
widgetHeight = viewport.height - 185, widgetHeight = viewport.height - 180,
screenWidth = Math.floor(viewport.width - 120), screenWidth = Math.floor(viewport.width - 120),
oBaseDatePickerSettings, oBaseDatePickerSettings,
oBaseTimePickerSettings, oBaseTimePickerSettings,
@ -62,7 +62,7 @@ $(document).ready(function(){
$libWrapper = $lib.find("#library_display_wrapper"); $libWrapper = $lib.find("#library_display_wrapper");
$libWrapper.prepend($libClose); $libWrapper.prepend($libClose);
$builder.find('.dataTables_scrolling').css("max-height", widgetHeight - 110); $builder.find('.dataTables_scrolling').css("max-height", widgetHeight - 95);
$builder.on("click", "#sb_submit", function(ev){ $builder.on("click", "#sb_submit", function(ev){
var fn, var fn,