Skip to content

Commit

Permalink
search icon
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget committed Nov 26, 2014
1 parent fca1a3e commit 5e7360a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
20 changes: 16 additions & 4 deletions css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,21 +256,33 @@ body:not(.loading) .stop-button {
vertical-align: bottom;
}

.identity {
.searchselector {
width: 16px;
height: 16px;
margin: 0 6px;
background-position: -16px 0;
background-image: url(../images/shared/Search.png);
background-repeat: no-repeat;
background-position: 1px 1px;
}

.identity:hover {
background-position: 0 0;
@media (min-resolution: 2dppx) {
.searchselector {
background-image: url(../images/shared/[email protected]);
}
}

.identity {
width: 16px;
height: 16px;
margin: 0 6px;
background-position: -16px 0;
background-image: url(../images/shared/identity-icons-generic.png);
}

.identity:hover {
background-position: 0 0;
}

body.ssl .identity {
background-image: url(../images/shared/identity-icons-https.png);
}
Expand Down
Binary file added images/shared/Search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/shared/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<input placeholder="Search or enter address" class="urlinput" flex="1">
</hbox>
<hbox class="searchbar" align="center">
<div class="searchselector"></div>
<input placeholder="Yahoo" class="searchinput">
</hbox>
<button class="menu-button"></button>
Expand Down

0 comments on commit 5e7360a

Please sign in to comment.