Skip to content

Commit

Permalink
Home preparada.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkuri committed Apr 18, 2010
1 parent ecac1ec commit 8fab505
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form class="initial_search" action="/search">
<label for="city_search">Ver presus de...</label>
<input id="city_search" autofocus type='text' placeholder='Escribe un municipio...'>
<input id="city_search" autofocus type='text' placeholder='Escribe un municipio...'/>
<button class="btn">Ver</button>
</form>
Binary file modified design/psd/index.psd
Binary file not shown.
Binary file added public/images/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 36 additions & 3 deletions public/stylesheets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -421,20 +421,53 @@ a::selection

.initial_search
{

background: url(/images/home.png) no-repeat;
height: 163px;
margin: 0 auto 40px auto;
padding: 260px 0 0 70px;
width: 449px;
}

.initial_search label,
.initial_search input,
.initial_search button
{
display: inline-block;
font-size: 24px;
}

.initial_search label
{
display: none;
}

.initial_search input
{

-moz-box-shadow: none;
-webkitbox-box-shadow: none;
box-shadow: none;
background-color: transparent;
border: none;
font-family: 'LeagueGothicRegular', Impact, Arial, sans-serif;
font-size: 40px;
text-transform: uppercase;
width: 200px;
}

input[type="text"]:hover,
select:hover,
textarea:hover
{
border-color: none;
}

input[type="text"]:focus,
select:focus,
textarea:focus
{
-moz-box-shadow: none;
-webkitbox-box-shadow: none;
box-shadow: none;
border-color: none;
}

.initial_search button
Expand Down

0 comments on commit 8fab505

Please sign in to comment.