-
-
Notifications
You must be signed in to change notification settings - Fork 1
Style guide
Nathanael CHERRIER edited this page Aug 27, 2017
·
4 revisions
Nativetable is not styled by default. You need to style your generated table yourself.
Nativetable use CSS classes to let you design your table as you want. All CSS selector generated by Nativetable are prefixed with nt-.
-
.nt-tablefor selecting the generated table -
.nt-headfor selecting the table's head -
.nt-iconfor selecting all icons used by Nativetable -
.nt-icon-sort-nonefor selecting sorting icon with status none -
.nt-icon-sort-ascfor selecting sorting icon with status asc (ascendant) -
.nt-icon-sort-descfor selecting sorting icon with status desc (descendant) -
.nt-bodyfor selecting the table's body -
.nt-rowfor selecting the table's rows (they are inside.nt-body) -
.nt-paginationfor selecting pagination block -
.nt-pagination-itemfor selecting an item of pagination block -
.nt-pagination-item-activefor selecting only the active item of pagination block
This is all the classes available with Nativetable.