mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
3cabe9a6db
New: SCSS base stylesheet with variables for colours New: Pagination styling - DataTables now has the ability to selectively enable different style types by applying different class names to the host table. The options supported are: - hover - show a hover effect over rows - stripe - show odd/even row stripes - row-border - show a vertical border between rows - cell-border - show a border around all four sides of a row (only one of row-border or cell-border should be used) - sort-column - highlighting of the sorting column. I will be adding another class along the lines of `display` which will enable 'hover, stripe, row-border and sort-column' (although this is not yet implemented). The reason for doing this is to encorage developers to style their DataTables more their own way, but making it easier to enable the features they want. - To that end, the DataTables stylesheet will be generated from a SCSS template in future. The SCSS template is included in this comment (although the generated stylesheet is not yet committed). This allows colours to be changed which a trivial amount of effort, while still being able to get row highlighting etc, thanks to SCSS's colour functions. - Pagination styles have been updated to fit in with the new styling of the DataTable. |
||
---|---|---|
.. | ||
css | ||
images | ||
js | ||
src | ||
unit_testing |