Skip to content

Commit fe28f71

Browse files
committed
Add font awesome search icon to new live search feature
1 parent 0eabe4b commit fe28f71

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

css/codeception.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
2+
13
.main-features {
24
margin-top: 10px;
35
}
@@ -302,11 +304,22 @@ ul.navbar-nav {
302304
#searchable > .search {
303305
width: 100%;
304306
height: 45px;
305-
color: #333;
307+
color: #888;
306308
text-indent: 16px;
307309
border-radius: 24px;
308310
border: 1px solid #ddd;
309-
box-shadow: inset 0 1px 1px hsla(0, 0%, 0%, 0.075);
311+
box-shadow: inset 0 1px 1px #ccc;
310312
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
311313
outline: none;
312314
}
315+
316+
#searchable::before {
317+
font-family: "FontAwesome";
318+
content: "\f002";
319+
color: #ccc;
320+
position: absolute;
321+
top: 13px;
322+
right: 40px;
323+
}
324+
325+

0 commit comments

Comments
 (0)