need to remove the nav arrows and today button to clean up the ui, adding background
highlighting to the current month of the current only
.month-nav:hover, .year-nav:hover{
cursor: pointer;
}
-/*.current-date{
+.current-date{
background: #f5822a;
color: white;
-}*/
+}
@media (max-width: 640px) and (min-width: 320px){
.view-select{
float: left;
$('#month-nav-container').empty();
$.each(new_months, function(index, value){
-
- if(value.date == current_month.selector){
- {literal} var option = $('<div>', {class: 'month-nav date-highlight',text: value.name}); {/literal}
+
+ if(value.date == current_month.selector && year === current_year.selector ){
+ {literal} var option = $('<div>', {class: 'month-nav date-highlight current-date',text: value.name}); {/literal}
} else {
{literal} var option = $('<div>', {class: 'month-nav',text: value.name}); {/literal}
}