Documentation
jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file.
Below is the list of CSS classes used by jqxDateTimeInput.
*jqxDateTimeInput internally use the jqxCalendar widget. For additional information about styling jqxCalendar, please take a look at the jqxCalendar's Styling and Appearance help topic.
When you create a custom style with colors and backgrounds for jqxDateTimeInput, you need to do the following:
<script>
$(document).ready(function () {
$("#jqxdatetimeinput").jqxDateTimeInput({ width: '250px', height: '25px', theme: 'summer' });
});
</script> <!DOCTYPE html>
<html lang="en">
<head>
<meta name="keywords" content="jQuery DataTimeInput, DataTimeInput, jqxDateTimeInput, DateTimePicker, jQuery Widgets, jQuery UI, jQuery Plugins" />
<title>jQuery DateTimeInput CSS Styling and Appearance Sample</title>
<link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css"/>
<link rel="stylesheet" href="../../jqwidgets/styles/jqx.summer.css"/>
<script src="../../jqwidgets/jqxcore.js"></script>
<script src="../../jqwidgets/jqxdatetimeinput.js"></script>
<script src="../../jqwidgets/jqxcalendar.js"></script>
<script
src="../../jqwidgets/globalization/globalize.js"></script>
</head>
<body>
<div id='content'>
<script>
$(document).ready(function () {
$("#jqxdatetimeinput").jqxDateTimeInput({ width: '250px', height: '25px', theme: 'summer' });
});
</script>
<div id='jqxdatetimeinput'></div>
</div>
</body>
</html>