Skip to content

Commit

Permalink
Added search icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Fiedler committed Mar 24, 2012
1 parent 3fbf84d commit 068db46
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 46 deletions.
Binary file added public/images/search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 6 additions & 22 deletions public/stylesheets/application.css
Expand Up @@ -59,16 +59,14 @@ body {
margin: 0 auto; margin: 0 auto;
max-width: 1000px; } max-width: 1000px; }
body header.main { body header.main {
margin: 0 auto 20px; text-align: center;
max-width: 900px; margin-bottom: 40px; }
text-align: left; }
body header.main h1 { body header.main h1 {
font: 72px "ChunkFive", Helvetica, Arial, serif; font: 72px "ChunkFive", Helvetica, Arial, serif;
margin: 80px 0 0; margin: 80px 0 0;
color: #e1553e; } color: #e1553e; }
body header.main p { body header.main p {
font-size: 26px; font-size: 26px;
text-align: center;
padding: 0 60px; padding: 0 60px;
color: #bfbfbf; } color: #bfbfbf; }
body form input[type="text"] { body form input[type="text"] {
Expand All @@ -80,24 +78,10 @@ body {
box-shadow: inset 0 2px 3px #eeeeee; box-shadow: inset 0 2px 3px #eeeeee;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
width: 48.821%; width: 48.821%;
outline: none; } outline: none;
background: url(../images/search.png) 98% center no-repeat; }
body form input[type="text"]:focus { body form input[type="text"]:focus {
border-color: #000; } border-color: #000; }
body form input[type="submit"] {
font: 24px "ChunkFive", Helvetica, Arial, serif;
padding: 8px 14px;
border: 1px solid #333;
-webkit-box-shadow: inset 0 1px 0 #8c8c8c;
-moz-box-shadow: inset 0 1px 0 #8c8c8c;
box-shadow: inset 0 1px 0 #8c8c8c;
line-height: 1em;
background: #595959;
color: #fff;
text-shadow: 0 -1px 0 #262626;
-webkit-font-smoothing: antialiased; }
body form input[type="submit"]:hover {
background: #3f3f3f;
cursor: pointer; }
body section.player { body section.player {
margin-top: 60px; } margin-top: 60px; }
body section.player header { body section.player header {
Expand Down Expand Up @@ -154,8 +138,8 @@ ul.ui-autocomplete {


footer { footer {
color: #bfbfbf; color: #bfbfbf;
margin-top: 20px; } margin: 20px 0; }
footer a { footer a {
color: #8c8c8c; } color: #bfbfbf; }
footer a:hover { footer a:hover {
color: #595959; } color: #595959; }
29 changes: 5 additions & 24 deletions public/stylesheets/sass/_index.scss
Expand Up @@ -8,11 +8,9 @@ body {
margin: 0 auto; margin: 0 auto;
max-width: $fg-max-width; max-width: $fg-max-width;



header.main { header.main {
margin: 0 auto 20px; text-align: center;
max-width: 900px; margin-bottom: 40px;
text-align: left;


h1 { h1 {
font: 72px $header-font-family; font: 72px $header-font-family;
Expand All @@ -22,7 +20,6 @@ body {


p { p {
font-size: 26px; font-size: 26px;
text-align: center;
padding: 0 60px; padding: 0 60px;
color: lighten($dark-gray, 40%); color: lighten($dark-gray, 40%);
} }
Expand All @@ -37,28 +34,12 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
width: flex-grid(6); width: flex-grid(6);
outline: none; outline: none;
background: url(../images/search.png) 98% center no-repeat;


&:focus { &:focus {
border-color: #000; border-color: #000;
} }
} }

input[type="submit"] {
font: 24px $header-font-family;
padding: 8px 14px;
border: 1px solid #333;
@include box-shadow(inset 0 1px 0 lighten($dark-gray, 20%));
line-height: 1em;
background: $dark-gray;
color: #fff;
text-shadow: 0 -1px 0 darken($dark-gray, 20%);
-webkit-font-smoothing: antialiased;

&:hover {
background: darken($dark-gray, 10%);
cursor: pointer;
}
}
} }




Expand Down Expand Up @@ -141,10 +122,10 @@ ul.ui-autocomplete {


footer { footer {
color: lighten($dark-gray, 40%); color: lighten($dark-gray, 40%);
margin-top: 20px; margin: 20px 0;


a { a {
color: lighten($dark-gray, 20%); color: lighten($dark-gray, 40%);


&:hover { &:hover {
color: $dark-gray; color: $dark-gray;
Expand Down

0 comments on commit 068db46

Please sign in to comment.