Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
search field style work
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Glovier committed Aug 15, 2014
1 parent c213642 commit a9e6e6f
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 4 deletions.
35 changes: 35 additions & 0 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,41 @@ body {

}

.site-search-form {
margin: 17px 0;

.form-group {
float: left;
}

input {
height: 50px;
border-radius: 5px 0 0 5px;
padding: 6px 22px;
font-size: 18px;
font-weight: 300;
}

.btn {
background-color: #d2dae3;
border-radius: 0 5px 5px 0;
font-size: 22px;
width: 56px;
height: 50px;
text-shadow: none;
@include transition(opacity);

&:hover {
opacity: .8;
}

.glyphicon {
top: 2px;
right: 1px;
}
}
}

.navbar-nav {

> li {
Expand Down
2 changes: 1 addition & 1 deletion app/templates/navigation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
{{#if allowSearch}}

<div class="navbar-form navbar-left" role="search">
<div class="navbar-form navbar-left site-search-form" role="search">
<div class="form-group">
{{text-search valueBinding="searchText" autofocus="true" placeholder="Search" class="form-control"}}
</div>
Expand Down
24 changes: 24 additions & 0 deletions dist/assets/hospitalrun.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/assets/hospitalrun.css.map

Large diffs are not rendered by default.

Loading

1 comment on commit a9e6e6f

@jglovier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addresses #12

Please sign in to comment.