Skip to content

Commit 35ca21a

Browse files
committed
make search icons better.
1 parent dfc5801 commit 35ca21a

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,11 @@ Attribute | Options | Default | Description
8484
`previoustitle` | *String* | undefined | title for previous page clicker
8585
`nexttitle` | *String* | undefined | title for next page clicker
8686
`lasttitle` | *String* | undefined | title for last page clicker
87-
`copyclass` | *String* | undefined | customized class for copy handler
88-
`removeclass` | *String* | undefined | customized class for remove handler
89-
`hintclass` | *String* | undefined | customized class for hint element in header
9087
`pagetext` | *String* | undefined | text before current page number
9188
`pageoftext` | *String* | undefined | text between page range and total page number
9289
`pagesizetext` | *String* | undefined | text before page size dropdown
9390
`summarytitle` | *String* | undefined | text before pagination summary
9491
`itemoftext` | *String* | undefined | text between item count range and total item number
95-
`filtershownclass` | *String* | undefined | customized class of filterrow when filter row is shown
96-
`filterhiddenclass` | *String* | undefined | customized class of filterrow when filter row is hidden
9792

9893

9994
## Events

demo/theme-shim.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@
5858
background-color: #eee;
5959
}
6060
#themed .hint,
61-
#themed .filterrow,
61+
#themed .search,
62+
#themed .nosearch,
6263
#themed .copy-er i,
6364
#themed .remove-er i
6465
{
66+
border: 0;
6567
display: inline-block;
6668
font-family: FontAwesome;
6769
font-style: normal;
@@ -73,7 +75,10 @@
7375
#themed .hint:before {
7476
content:"\f05a";
7577
}
76-
#themed .filterrow:before {
78+
#themed .search:before {
79+
content:"\f00e";
80+
}
81+
#themed .nosearch:before {
7782
content:"\f010";
7883
}
7984
#themed .copy-er i:before {

demo/theme.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@
5858
background-color: #eee;
5959
}
6060
#themed::shadow .hint,
61-
#themed::shadow .filterrow,
61+
#themed::shadow .search,
62+
#themed::shadow .nosearch,
6263
#themed::shadow .copy-er i,
6364
#themed::shadow .remove-er i
6465
{
66+
border: 0;
6567
display: inline-block;
6668
font-family: FontAwesome;
6769
font-style: normal;
@@ -73,7 +75,10 @@
7375
#themed::shadow .hint:before {
7476
content:"\f05a";
7577
}
76-
#themed::shadow .filterrow:before {
78+
#themed::shadow .search:before {
79+
content:"\f00e";
80+
}
81+
#themed::shadow .nosearch:before {
7782
content:"\f010";
7883
}
7984
#themed::shadow .copy-er i:before {

src/aha-table.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,20 @@
7979
text-decoration: underline;
8080
}
8181
.arrow-up,
82-
.arrow-down {
82+
.arrow-down,
83+
.search,
84+
.nosearch {
8385
width: 0;
8486
height: 0;
8587
border-left: 5px solid transparent;
8688
border-right: 5px solid transparent;
8789
}
88-
.arrow-up {
90+
.arrow-up,
91+
.search {
8992
border-bottom: 5px solid black;
9093
}
91-
.arrow-down {
94+
.arrow-down,
95+
.nosearch {
9296
border-top: 5px solid black;
9397
}
9498
.copy-er,
@@ -149,7 +153,7 @@
149153
class="{{ selectable ? '' : 'hide'}}"/>
150154
<div
151155
title="{{searchtitle}}"
152-
class="filterrow {{ searchable ? 'arrow-up' : 'arrow-down'}}"
156+
class="filterrow {{ searchable ? 'search' : 'nosearch'}}"
153157
on-click="{{ toggleFilters }}"></div>
154158
</th>
155159
<th template

0 commit comments

Comments
 (0)