Add chronological streak format to league table column equation generator

This commit is contained in:
Brian Miyaji
2016-12-09 15:12:07 +11:00
parent 3f6272f4b0
commit f42ee4ead9
8 changed files with 172 additions and 18 deletions

View File

@@ -417,6 +417,24 @@
font-size: 36px;
}
/* Event Form */
.sp-form-events {
text-align: left;
}
.sp-form-event-link {
display: inline-block;
text-align: center;
width: 1.5em;
margin: 0 0 0.25em;
color: #fff;
font-weight: normal;
}
.sp-form-event-link:hover {
color: #fff;
}
/* Countdowns */
.sp-template-countdown .event-name {
clear: both;

View File

@@ -0,0 +1,26 @@
jQuery(document).ready(function($){
// Color picker
$('.colorpick').iris( {
change: function(event, ui){
$(this).css( { backgroundColor: ui.color.toString() } );
},
hide: true,
border: true
} ).each( function() {
$(this).css( { backgroundColor: $(this).val() } );
})
.click(function(){
$('.iris-picker').hide();
$(this).closest('.sp-color-box, td').find('.iris-picker').show();
});
$('body').click(function() {
$('.iris-picker').hide();
});
$('.sp-color-box, .colorpick').click(function(event){
event.stopPropagation();
});
});