Add chronological streak format to league table column equation generator
This commit is contained in:
@@ -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;
|
||||
|
||||
26
assets/js/admin/colorpicker.js
Normal file
26
assets/js/admin/colorpicker.js
Normal 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();
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user