ETA on semantic ui styling :)
ETA on semantic ui styling :)
kmd1970
Posts: 36Questions: 8Answers: 1
Just wanted to inquire on when we might see an official Semantic UI style for Datatables :) or if you could enhance the one I submitted here:
https://datatables.net/forums/discussion/comment/78075/
A recent try:
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
As soon as I'm able to get the time to do it :-). It is nearing the top of my todo list.
Allan
@kmd1970 I'm anxious for a semantic-ui integration, too. I've looked at your demo (not the actual code) and was wondering if you feel there's stuff missing, or maybe not done right? Or something that prevents its usage? Or maybe you're just looking for something official? Just curious how you'd summarize the state of what you posted. Thanks!
@dts_sl
Sadly, I am not a CSS, Javascript, Semantic UI or Datatables guru, but I am always trying to learn.
The demo sample I posted amounts to just few hours of effort trying to duplicate what I saw in the Datatables Bootstrap styling example :
https://www.datatables.net/examples/styling/bootstrap.html
Allan is the Datatables expert, so I seek his input on the proper way to implement changes.
I am currently using my Semantic ui / Datatables stylesheet for a company project and it seems to display properly so far.
When I have more time, i will refine my work and include some JavaScript code to automatically add the
dom:
codes and classes into the paging toolbar, table and wrapper. Eventually I will switch to Allan's official version.Fiddle js, css, html has been updated
https://jsfiddle.net/kmd1970/37enwegd/
I have to say, it looks like a darn nice table the Semantic styled table. Nice work on the integration there.
Allan
Thanks!
I am working on a using your foundation and bootstrap examples to create a Datatables.semantic.js file so I can remove my dom: declaration.
Also, it looks even better with a font family and size change.
font-family:
in semantic.cssfont-size:
from 14px to 12px in semantic.css.http://i.imgur.com/eiyBHCF.jpg
New and Improved!
dom
from datatables initialisation.https://jsfiddle.net/kmd1970/37enwegd/
full_numbers_icon
topagingType
This turns on the semantic ui pointer icons on buttons.
http://jsfiddle.net/kmd1970/37enwegd/
Responsive example:
Add
unstackable
class to the table to disable semantic ui table responsive adjustments.http://jsfiddle.net/kmd1970/1c5uvg0q/