Filter: update themes to hide all elements when filter_hideFilters is true

It was not hiding filterFormatter elements properly
This commit is contained in:
Mottie 2014-11-05 16:53:06 -06:00
parent da2a0d9958
commit 01aae38671
16 changed files with 21 additions and 21 deletions

4
css/bootstrap.less vendored
View File

@ -164,7 +164,7 @@ Test out these custom less files live
.tablesorter-header.sorter-false {
background-image: none;
cursor: default;
}
.tablesorter-headerAsc {
@ -291,7 +291,7 @@ Test out these custom less files live
line-height: 0;
cursor: pointer;
}
.tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -168,7 +168,7 @@ Test out these custom less files live
.dark-row th, .dark-row td, caption.dark-row {
background-color: darken( @headerBackground, 10% );
}
tbody td, tfoot th, tfoot td {
padding: @overallPadding;
vertical-align: top;
@ -233,7 +233,7 @@ Test out these custom less files live
}
}
/* hovered row colors
you'll need to add additional lines for
rows with more than 2 child rows
@ -326,7 +326,7 @@ Test out these custom less files live
line-height: 0;
cursor: pointer;
}
.tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -146,7 +146,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-blackice .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-blackice .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -181,7 +181,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-blue .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-blue .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -117,7 +117,7 @@
margin: 0;
line-height: 0;
}
.tablesorter-bootstrap .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-bootstrap .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -119,7 +119,7 @@ caption {
margin: 0;
line-height: 0;
}
.tablesorter-bootstrap .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-bootstrap .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -146,7 +146,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-dark .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-dark .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -149,7 +149,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-default .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-default .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -171,7 +171,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-dropbox .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-dropbox .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -163,7 +163,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-green .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-green .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -21,7 +21,7 @@
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555), to(#3c3c3c));
background-image: -webkit-linear-gradient(top, #555, #3c3c3c);
background-image: -o-linear-gradient(top, #555, #3c3c3c);
background-image: linear-gradient(to bottom, #555,#3c3c3c);
background-image: linear-gradient(to bottom, #555,#3c3c3c);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#3c3c3c',GradientType=0 );
background-repeat: repeat-x;
border-right: #555 1px solid;
@ -205,7 +205,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-grey .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-grey .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -161,7 +161,7 @@ caption {
line-height: 0;
cursor: pointer;
}
.tablesorter-ice .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-ice .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -119,7 +119,7 @@
line-height: 0;
cursor: pointer;
}
.tablesorter-jui .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-jui .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -298,7 +298,7 @@ Test out these custom less files live
line-height: 0;
cursor: pointer;
}
.tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -152,7 +152,7 @@ Metro Dark Theme
line-height: 0;
cursor: pointer;
}
.tablesorter-metro-dark .tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-metro-dark .tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;

View File

@ -605,7 +605,7 @@ $.tablesorter.setFilters( $('table'), [ '', '', '', '', '', '', '11' ], true );<
// this binds to the search using "search" and "keyup" and allows using filter_liveSearch
// or delayed search & pressing escape to cancel the search
// pass an optional third parameter (false boolean) to force the inputs to update
// this allows changing the data-column for an input dynamically
// this allows changing the data-column for an input dynamically
$.tablesorter.filter.bindSearch( $table, $('.search'), false );</pre>
If you don't care about the enhanced search filter, then bind to both the &quot;keyup&quot; and &quot;search&quot; events
<pre class="prettyprint lang-javascript">// Basic search binding, alternate to the above
@ -737,7 +737,7 @@ $.extend($.tablesorter.language, {
line-height: 0;
cursor: pointer;
}
.tablesorter-filter-row.hideme .tablesorter-filter {
.tablesorter-filter-row.hideme * {
height: 1px;
min-height: 0;
border: 0;