Changing Pivot table Background

Comments

1 comment

  • Avatar
    Francois Raze

    I've found the solution :)

    ----------------------------------

    widget.on('ready', function(se, ev){
    setTimeout(function(){
    $('.p-head-content, .p-value',element).css('color','white') // change font color
    $(".pivot-body").css('border-color', '#003b5c')
    $('div.p-container td', element).css('background-color','#003b5c')
    $('div.p-foot', element).css('background-color','#003b5c')
    $('div.p-mid', element).css('background-color','#003b5c')
    }, 500)
    })

    widget.on('ready', function(w,e){
    var $widgetTitle = $('widget-title', element.parent());
    var newCSS = {
    'color':'#f2f2f2',
    }
    $widgetTitle.css(newCSS);
    })
    widget.on('ready', function(se, ev){
    $(element).css('background-color','#003b5c');
    $('widget-header' ,element).css('background-color','#003b5c');
    $('widget-header' ,element.parent()).css('background-color','#003b5c');
    })

    0
    Comment actions Permalink

Please sign in to leave a comment.