Skip to content

Commit

Permalink
simplify search css
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanchandra committed Nov 16, 2017
1 parent 79a81db commit f488e02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
24 changes: 5 additions & 19 deletions _sass/includes/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,36 +50,25 @@
}
}
}

/* --- Search form --- */
form {
width: 130px;
border-bottom: solid #ccc;
border: 0;
border-bottom: 2px solid $search-color;
outline: 0;
border-width: 0 0 2px 0;
text-align: left;
margin-top: -13px;


*:focus {
outline: none;
}

input{
input{
&[type=text] {
width: 90px;
box-sizing: border-box;
border: 0;
outline: 0;
background-color: $brand-color;
padding: 10px 10px 0px 0px;
font-size: 1em;
color: $search-color;
-webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
}


&::-moz-placeholder {
color: $search-color;
opacity: 1;
Expand All @@ -91,13 +80,10 @@
}

button {
padding: 10px 0px 0px 10px;
border: none;
font-size: 0.9em;
background-color: $brand-color;
color: $search-color;
}
}
}

}

1 change: 0 additions & 1 deletion _sass/layouts/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
h1, h2, h3, h4, h5 {
margin-bottom: 0;
}

a.search-link {
&:hover {
text-decoration: none;
Expand Down

0 comments on commit f488e02

Please sign in to comment.