Skip to content

Commit 128e0c9

Browse files
committed
Replace the search placeholder with a single unicode sign.
1 parent d3f2534 commit 128e0c9

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

assets/sass/style.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,23 @@ td, th {
234234

235235
#query:focus {
236236
color: #000000;
237+
text-align: left;
238+
}
239+
240+
#query::input-placeholder {
241+
text-align: right;
242+
}
243+
244+
#query::-moz-placeholder {
245+
text-align: right;
246+
}
247+
248+
#query::-webkit-placeholder {
249+
text-align: right;
250+
}
251+
252+
#query::-ms-placeholder {
253+
text-align: right;
237254
}
238255

239256
.ui-autocomplete-category {

html/css/style.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,20 @@ td, th {
195195
color: #777777; }
196196

197197
#query:focus {
198-
color: #000000; }
198+
color: #000000;
199+
text-align: left; }
200+
201+
#query::input-placeholder {
202+
text-align: right; }
203+
204+
#query::-moz-placeholder {
205+
text-align: right; }
206+
207+
#query::-webkit-placeholder {
208+
text-align: right; }
209+
210+
#query::-ms-placeholder {
211+
text-align: right; }
199212

200213
.ui-autocomplete-category {
201214
font-weight: bold;

0 commit comments

Comments
 (0)