MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 480: Line 480:
         return $.inArray(this, rainbowList) == -1;
         return $.inArray(this, rainbowList) == -1;
     }).children('th');
     }).children('th');
    console.log(headerList);
     headerList.each(function(){
     headerList.each(function(){
         var bgc = $(this).css('background-color');
         var bgc = $(this).css('background-color');
Line 488: Line 487:
     });
     });
     rainbowList.css({
     rainbowList.css({
         'backgroundColor': 'orange'
         'backgroundColor': ''
    });
    $('.section-border').css({
        'borderColor': 'lightblue',
        'borderWidth': '2px',
        'borderStyle': 'solid'
    });
    $('.section-border:first').css({
        'borderTopLeftRadius': '5px',
        'borderTopRightRadius': '5px'
    });
    $('.section-border:last').css({
        'borderBottomLeftRadius': '5px',
        'borderBottomRightRadius': '5px'
     });
     });
});
});