Fixes and Readme updates

This commit is contained in:
Tanner Linsley
2016-10-22 11:56:03 -06:00
parent b47fe1f125
commit 4a6d155e5f
11 changed files with 84 additions and 73 deletions
+3 -3
View File
@@ -261,10 +261,10 @@ export default React.createClass({
<th
key={i}
className={classnames(
sort ? (sort.asc ? 'sort-asc' : 'sort-desc') : '',
sort ? (sort.asc ? '-sort-asc' : '-sort-desc') : '',
{
'cursor-pointer': column.sortable,
'hidden': !show
'-cursor-pointer': column.sortable,
'-hidden': !show
}
)}
onClick={(e) => {
+5 -3
View File
@@ -57,7 +57,7 @@ $easeOutBack = cubic-bezier(0.175, 0.885, 0.320, 1.275)
> *
text-shadow: none
&.hidden
&.-hidden
border:0 !important
opacity: 0 !important
.-th-inner
@@ -89,10 +89,12 @@ $easeOutBack = cubic-bezier(0.175, 0.885, 0.320, 1.275)
border-right: 1px solid alpha(black, .05)
transition box-shadow .3s $easeOutBack
box-shadow:inset 0 0 0 0 transparent
&.sort-asc
&.-sort-asc
box-shadow:inset 0 3px 0 0 alpha(black, .6)
&.sort-desc
&.-sort-desc
box-shadow:inset 0 -3px 0 0 alpha(black, .6)
&.-cursor-pointer
cursor: pointer
tbody
z-index:0