Skip to content

Commit

Permalink
search styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-oo committed Mar 27, 2018
1 parent 6158297 commit d844fa2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 9 deletions.
26 changes: 18 additions & 8 deletions src/app/map/from-to/from-to.component.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.from-to-container {

position: absolute;

height: 52px;
width: 380px;
background: #f6be0e;
Expand All @@ -10,28 +8,40 @@
top: 40px;
display:flex;
flex-direction: row;
padding: 10px;
padding: 7px 10px 13px;
}

label {
font-size: small;
position: relative;
top: -3px;
}

.from-container input{
width: 141px;
}

input {
line-height: 175%;
width: 150px;
line-height: 25px;
width: 145px;
background: #f3ca44;
border: solid 2px black;
padding: 2px;
padding: 2px 5px;
}

button {
background: #cfa109;
border: solid 2px black;
cursor: pointer;
line-height: 175%;
margin-top: 20px;
line-height: 26px;
margin-top: 21px;
padding: 1px 9px 2px;
}

button:hover {
background: #f6be0e;
}

button:active {
background: #f3ca44;
}
17 changes: 16 additions & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body, html{
height: 100%;
}

body, p, span, button, h1, h2, h3{
body, p, span, button, h1, h2, h3, input{
font-family: 'Roboto', sans-serif;
}

Expand All @@ -18,6 +18,21 @@ body{
display: flex;
}

/* input placeholder */

::placeholder {
color: #333;
opacity: 1;
}

:-ms-input-placeholder {
color: #333;
}

::-ms-input-placeholder {
color: #333;
}

/* disable blue Chrome focus */

*:focus {
Expand Down

0 comments on commit d844fa2

Please sign in to comment.