Commit e309279b authored by Peter Serwylo's avatar Peter Serwylo

Add search icon to make it clear it is a search input without having to

localize.
parent a61e4bd7
......@@ -350,13 +350,6 @@ body {
.sidebar-widget div.awesomplete {
display: block !important;
input {
padding: 0.4em;
font-size: 1.1em;
box-sizing: border-box;
width: 100%;
}
li:hover, li[aria-selected="true"] {
background: $primary-color !important;
.package-header {
......@@ -365,8 +358,41 @@ body {
}
}
}
.search-input {
width: 100%;
}
}
.search-input {
padding: 0.4em;
margin: 1px;
font-size: 1.1em;
box-sizing: border-box;
max-width: 100%;
width: 300px;
padding-left: 40px;
background: url('../assets/ic_search_black_24px.svg') no-repeat 10px center;
border-radius: 4px;
border: solid 1px #aaa;
}
.post-content {
.search-widget {
margin-bottom: 1em;
}
}
.search-input:focus {
margin: 0;
border: solid 2px $primary-color;
}
.results {
@include reset-ul;
}
/**
* Footer
*/
......@@ -427,4 +453,4 @@ img {
max-width: 100%;
}
}
}
\ No newline at end of file
}
<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
<path d="M0 0h24v24H0z" fill="none"/>
</svg>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment