[英]JQuery Week Calendar: CSS to control header
I can't find the CSS in the jquery.weekcalendar.css file that controls the size of the text in the header, ie June 17, 2013 - June 21, 2013. 我在控制标题中文本大小的jquery.weekcalendar.css文件中找不到CSS,即2013年6月17日至2013年6月21日。
I have to squeeze my calendar into a small space and so I'd like to change the font size of this code (and remove the 2013). 我必须将日历压缩到一个很小的空间,所以我想更改此代码的字体大小(并删除2013)。
Thanks for any helpful tips! 感谢您提供任何有用的提示!
JSFiddle: http://jsfiddle.net/5bBwW/ (still looking to get jquery week calendar css/js files as CDN). JSFiddle: http : //jsfiddle.net/5bBwW/ (仍希望将jquery周日历css / js文件作为CDN来获得)。
Here's my calendar init code: 这是我的日历初始化代码:
$('#week-calendar').weekCalendar({
firstDayOfWeek: 1,
daysToShow: 5,
useShortDayNames: true,
showHeader: true,
timeslotsPerHour: 4,
scrollToHourMillis: 0,
businessHours:{start: 8, end: 18, limitDisplay: false },
height: function(data){
return $(window).height() - $('h1').outerHeight(true);
},
data: eventData,
eventRender : function( calEvent, $event ) {
if( calEvent.end.getTime() < new Date().getTime() ) {
$event.css( "backgroundColor", "#aaa" );
$event.css( "font-size", "1" );
$event.find( ".time" ).css( {"backgroundColor": "#999", "border":"1px solid #888" } );
}
},
eventClick : function( calEvent, $event ) {
window.location.href = 'lobby?meetingId='+calEvent.id;
},
});
Found it: 找到了:
.wc-title
It's in jquery-weekcalendar.css and there is no font-size set. 它在jquery-weekcalendar.css中,没有设置字体大小。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.