Skip to content

Commit 66b40a0

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

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

demo/theme-shim.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
line-height: 1;
7272
-webkit-font-smoothing: antialiased;
7373
-moz-osx-font-smoothing: grayscale;
74+
min-width: 15px;
75+
min-height: 20px;
7476
}
7577
#themed .hint:before {
7678
content:"\f05a";

demo/theme.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
line-height: 1;
7272
-webkit-font-smoothing: antialiased;
7373
-moz-osx-font-smoothing: grayscale;
74+
min-width: 15px;
75+
min-height: 20px;
7476
}
7577
#themed::shadow .hint:before {
7678
content:"\f05a";

dist/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)